Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
XxrenxX
- Veteran
- Posts: 267
- Joined: Tue Oct 02, 2012 2:40 am
- Projects: Chasing
- Deviantart: bara-ettie
- Location: Canada
-
Contact:
#1
Post
by XxrenxX » Sun Nov 11, 2012 9:59 pm
Um I'm not sure why I got this error or where the error is coming from. help? This happens whenever I try and build distributions.
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/distribute.rpy", line 828, in script
File "game/distribute.rpy", line 831, in python
File "game/distribute.rpy", line 348, in python
File "game/distribute.rpy", line 669, in python
File "game/package_formats.rpy", line 29, in python
ValueError: (22, 'Invalid argument')
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "C:\Users\Collette\Documents\renpy-6.14.1-sdk\renpy\execution.py", line 266, in run
File "C:\Users\Collette\Documents\renpy-6.14.1-sdk\renpy\ast.py", line 646, in execute
File "C:\Users\Collette\Documents\renpy-6.14.1-sdk\renpy\python.py", line 1172, in py_exec_bytecode
File "game/distribute.rpy", line 831, in <module>
File "game/distribute.rpy", line 348, in __init__
File "game/distribute.rpy", line 669, in make_package
File "game/package_formats.rpy", line 29, in add_file
ValueError: (22, 'Invalid argument')
Windows-Vista-6.0.6002-SP2
Ren'Py 6.14.1.366
Ren'Py Launcher 6.14.1.366
Last edited by
XxrenxX on Sat Dec 14, 2013 7:41 am, edited 1 time in total.
-
PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
-
Contact:
#2
Post
by PyTom » Sun Nov 11, 2012 10:04 pm
This error is produced by a file that has a time that Python doesn't like.
(I'm not sure how this could happen, but you should look for files with strange-looking times.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama •
https://www.patreon.com/renpytom
-
XxrenxX
- Veteran
- Posts: 267
- Joined: Tue Oct 02, 2012 2:40 am
- Projects: Chasing
- Deviantart: bara-ettie
- Location: Canada
-
Contact:
#3
Post
by XxrenxX » Sun Nov 11, 2012 10:47 pm
Do you mean dates? Or like music file lengths???? I only got this error when I added music to my in-game maybe I am just going about doing it wrong then?
-
PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
-
Contact:
#4
Post
by PyTom » Sun Nov 11, 2012 10:49 pm
It's the time and date of the file.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama •
https://www.patreon.com/renpytom
-
XxrenxX
- Veteran
- Posts: 267
- Joined: Tue Oct 02, 2012 2:40 am
- Projects: Chasing
- Deviantart: bara-ettie
- Location: Canada
-
Contact:
#5
Post
by XxrenxX » Sun Nov 11, 2012 10:52 pm
Ah Ok that makes sense then. How would I fix this then? Just remove that information from the files??
-
PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
-
Contact:
#6
Post
by PyTom » Sun Nov 11, 2012 10:55 pm
No - it's not _in_ the file. It's stored in the directory information about a file. You'll have to find the file that's problematic, and maybe re-save it?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama •
https://www.patreon.com/renpytom
Users browsing this forum: Google [Bot]