Competition Forum > Code/Game releases

Entry: Discord's Labyrinth

<< < (2/4) > >>

Rylius:
I can't guarantee the submission form will work tomorrow...
Please save me some work and submit it now, will ya? <3

Oracion:
Using the new file gives this error:

--- Code: ---Traceback (most recent call last):
  File "C:\Users\Jarda\Documents\discordmaze\discordmaze\rungame.py", line 1, in
 <module>
    import maze
  File "C:\Users\Jarda\Documents\discordmaze\discordmaze\maze.py", line 443
    print len(ajroute1), len(ajroute2)
            ^
SyntaxError: invalid syntax

--- End code ---

EDIT:
When I downloaded the latest stable version of the 2.x branch, I get this:

--- Code: ---Traceback (most recent call last):
  File "rungame.py", line 1, in <module>
    import maze
  File "C:\Users\Jarda\Documents\discordmaze\discordmaze\maze.py", line 451, in
<module>
    g = setup()
  File "C:\Users\Jarda\Documents\discordmaze\discordmaze\maze.py", line 446, in
setup
    for name in PONYNAMES])
  File "C:\Users\Jarda\Documents\discordmaze\discordmaze\maze.py", line 417, in
genroute
    round(cutoffs[i]*length))
TypeError: range() integer end argument expected, got float.

--- End code ---

I use Python 3.3 I just downloaded from here: http://www.python.org/download/releases/3.3.0/

Cantorlot:

--- Quote from: Compony on 2012-October 07, 22:32:29 ---I'd say many people neither have python installed, nor want to install it just to play a game ;)

--- End quote ---
And I don't want to fight withinstall mono and XNA but you don't see me complaining. :P But kidding aside, I think I've never got py2exe to work. I don't remember what happened last time I tried so this could be very inaccurate. But I think I needed Windows (or a component thereof) to begin with. On the other hand, if you can generate an .exe, I'd be happy to link to it.


--- Quote from: Rylius on 2012-October 07, 23:03:26 ---I can't guarantee the submission form will work tomorrow...
Please save me some work and submit it now, will ya? <3

--- End quote ---
I have the same problem as before. After submission, the files in the forms' files are removed and each of the textfields is a little bit more escaped (so if I hit submit a few times in a row, I'll get a long chains of \\\\\\\\\\ and some \r\n).

From the headers, it looks like its choking on the .png files? But that could also be my viewer. I'm also surprised the logs say nothing since I'm quite sure a POST request is being made (and I think the server even responds).

Also, do know why the file http://games.mylittlegamejam.com/game/js/vendor/modernizr-2.6.1.min.js is requested but missing?
--- Quote from: Oracion on 2012-October 07, 23:13:33 ---Using the new file gives this error:

--- Code: ---Traceback (most recent call last):
  File "C:\Users\Jarda\Documents\discordmaze\discordmaze\rungame.py", line 1, in
 <module>
    import maze
  File "C:\Users\Jarda\Documents\discordmaze\discordmaze\maze.py", line 443
    print len(ajroute1), len(ajroute2)
            ^
SyntaxError: invalid syntax

--- End code ---

EDIT:
When I downloaded the latest stable version of the 2.x branch, I get this:

--- Code: ---Traceback (most recent call last):
  File "rungame.py", line 1, in <module>
    import maze
  File "C:\Users\Jarda\Documents\discordmaze\discordmaze\maze.py", line 451, in
<module>
    g = setup()
  File "C:\Users\Jarda\Documents\discordmaze\discordmaze\maze.py", line 446, in
setup
    for name in PONYNAMES])
  File "C:\Users\Jarda\Documents\discordmaze\discordmaze\maze.py", line 417, in
genroute
    round(cutoffs[i]*length))
TypeError: range() integer end argument expected, got float.

--- End code ---

I use Python 3.3 I just downloaded from here: http://www.python.org/download/releases/3.3.0/

--- End quote ---

Thanks again for reporting. Ah yes, Python 3.x is not backwards compatible with Python 2.x. Can you try this new one (attached)? This time, it actually has a good chance of fixing the problem.

I won't respond any more today but I'll check back tomorrow.

Rylius:
I'm not getting anything about you in the logs - did you upload *both* a game and a source zip archive?

Failed screenshot uploads don't abort the submission process.

Cantorlot:

--- Quote from: Rylius on 2012-October 08, 00:27:10 ---I'm not getting anything about you in the logs - did you upload *both* a game and a source zip archive?

Failed screenshot uploads don't abort the submission process.

--- End quote ---

I'm pretty sure I tried all four combinations (well, maybe not the empty one). I don't understand what you mean by "process". Isn't it a single HTTP POST request? I can't see the page anymore but what was the client side Javascript supposed to do?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version