Python Forum
[split] [Errno 22] Invalid argument
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] [Errno 22] Invalid argument
#1
OSError: [Errno 22] Invalid argument: 'uploads\\scan-Admin-Admin-12:06:2021-21:31:02.jpeg'

I am getting this error any help will be appreciated.    

This is my code:
app = Flask(__name__)
UPLOADS_FOLDER = r'static\uploads'
app.config['UPLOADS_FOLDER'] = UPLOADS_FOLDER
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Invalid argument: 'images\x08ackground.jpg' CatBall 4 955 Jun-19-2023, 09:28 AM
Last Post: CatBall
  [split] SyntaxError: invalid syntax Code_X 3 2,752 May-04-2021, 05:15 PM
Last Post: Yoriz
  [Errno 22] Invalid argument satyaneel 11 106,154 Jul-14-2020, 08:47 AM
Last Post: lichunming
  zlib decompress error: invalid code lengths set / invalid block type DreamingInsanity 0 6,828 Mar-29-2020, 12:44 PM
Last Post: DreamingInsanity
  SyntaxError: positional argument follows keyword argument syd_jat 3 5,821 Mar-03-2020, 08:34 AM
Last Post: buran
  Invalid argument error thrown. pyseeker 4 8,614 Sep-10-2019, 07:03 PM
Last Post: pyseeker
  [split] invalid syntax MasterScythe 3 3,941 Sep-27-2018, 01:42 PM
Last Post: Larz60+
  OSError: [Errno 22] Invalid argument - wasn't there last time I ran the code! meganhollie 2 9,196 Jun-11-2018, 06:01 PM
Last Post: meganhollie
  [SOLVED] OSError: [Errno 22] Invalid argument Panda 13 43,951 Jun-04-2018, 08:33 PM
Last Post: volcano63
  [split] SyntaxError: invalid syntax arth4 3 3,830 Feb-21-2018, 04:48 AM
Last Post: arth4

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020