Bug when building distributions

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Post Reply
Message
Author
clannadman

Bug when building distributions

#1 Post by clannadman » Sun May 12, 2013 2:31 pm

I'm getting the following error when trying to build distributions. All my files archive and then I get hit with this:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/distribute.rpy", line 909, in script
  File "game/distribute.rpy", line 912, in python
  File "game/distribute.rpy", line 375, in python
  File "game/distribute.rpy", line 742, in python
  File "game/package_formats.rpy", line 91, in python
IOError: [Errno 22] invalid mode ('wb') or filename: u'E:\\renpy-6.11.2-sdk\\Nijiko: First Act 1.0-dists\\Nijiko: First Act 1.0-win.zip'

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "C:\Users\Anon\Downloads\renpy-6.14.1-sdk\renpy-6.14.1-sdk\renpy\execution.py", line 288, in run
    node.execute()
  File "C:\Users\Anon\Downloads\renpy-6.14.1-sdk\renpy-6.14.1-sdk\renpy\ast.py", line 718, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\Anon\Downloads\renpy-6.14.1-sdk\renpy-6.14.1-sdk\renpy\python.py", line 1297, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/distribute.rpy", line 912, in <module>
  File "game/distribute.rpy", line 375, in __init__
  File "game/distribute.rpy", line 742, in make_package
  File "game/package_formats.rpy", line 91, in __init__
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/zipfile.py", line 701, in __init__
IOError: [Errno 22] invalid mode ('wb') or filename: u'E:\\renpy-6.11.2-sdk\\Nijiko: First Act 1.0-dists\\Nijiko: First Act 1.0-win.zip'

Windows-post2008Server-6.2.9200
Ren'Py 6.15.4.320
Ren'Py Launcher 6.15.4.320
I've read it might have something to do with permissions, or being able to access a script file. I've already deleted the script files and pasted new ones in but to no avail. Any help?

pwisaguacate
Veteran
Posts: 356
Joined: Mon Mar 11, 2013 11:03 pm
Contact:

Re: Bug when building distributions

#2 Post by pwisaguacate » Sun May 12, 2013 3:35 pm

clannadman wrote:

Code: Select all

IOError: [Errno 22] invalid mode ('wb') or filename: u'E:\\renpy-6.11.2-sdk\\Nijiko: First Act 1.0-dists\\Nijiko: First Act 1.0-win.zip'
No colons ( : ) are allowed in folder/file names.

clannadman

Re: Bug when building distributions

#3 Post by clannadman » Sun May 12, 2013 3:39 pm

pwisaguacate wrote:
clannadman wrote:

Code: Select all

IOError: [Errno 22] invalid mode ('wb') or filename: u'E:\\renpy-6.11.2-sdk\\Nijiko: First Act 1.0-dists\\Nijiko: First Act 1.0-win.zip'
No colons ( : ) are allowed in folder/file names.
Of course. Sorry. Seems so obvious. I should really pay more attention.

Post Reply

Who is online

Users browsing this forum: No registered users