Page 1 of 1

Non-responsive after Starting Game

PostPosted: 12 Jan 2009, 01:56
by grendel
Press N, Incantus displays Retrieving card images from web, but never continues.

I downloaded the card images based on previous download thread and placed into the data folder. However, the app continues to indicating retrieving card images.

Found this log statement, but unsure how to alleviate.

C:\Program Files\Incantus-win\Incantus.exe\pyglet\window\win32\__init__.py:552: UserWarning: Could not set vsync; unsupported extension.
Traceback (most recent call last):
File "\loewis\25\python\Modules\_ctypes\callbacks.c", line 206, in 'calling callback function'
File "pyglet\window\win32\__init__.pyo", line 849, in _wnd_proc
File "pyglet\window\win32\__init__.pyo", line 918, in _event_key
File "pyglet\window\__init__.pyo", line 1216, in dispatch_event
File "pyglet\event.pyo", line 349, in dispatch_event
File "/private/tmp/Incantus-tmp/Incantus/ui/Incantus.py", line 266, in on_key_press
File "/private/tmp/Incantus-tmp/Incantus/ui/Incantus.py", line 553, in action_new_game
File "/private/tmp/Incantus-tmp/Incantus/game/GameKeeper.py", line 55, in init
File "/private/tmp/Incantus-tmp/Incantus/game/Player.py", line 50, in init
File "/private/tmp/Incantus-tmp/Incantus/game/Player.py", line 69, in loadDeck
File "/private/tmp/Incantus-tmp/Incantus/game/GameObjects.py", line 115, in __init__
File "/private/tmp/Incantus-tmp/Incantus/game/CardDatabase.py", line 84, in loadCardFromDB
File "/private/tmp/Incantus-tmp/Incantus/game/CardDatabase.py", line 69, in execCode
File "/private/tmp/Incantus-tmp/Incantus/game/GameObjects.py", line 95, in __getattr__
AttributeError: 'NoneType' object has no attribute 'type'


Any ideas?

Re: Non-responsive after Starting Game

PostPosted: 13 Jan 2009, 02:47
by MageKing17
If the program says "Retrieving card images from web", it's really not doing so, and is crashed. When it's actually downloading card images, it's too busy to display that it is. :P

Also, considering the fact that I removed the download links to 0.52 and you didn't specify what version you were using, you're probably using an outdated version. A new version will be released soon.

Re: Non-responsive after Starting Game

PostPosted: 04 Sep 2009, 18:17
by Philipez
Hello, i'm having exactly the same problem as stated above, using version 0.59 and 0.591
It works great while using decks that are already in the folder, as soon as I use decks I made with Nate's deck builder it freezes

Traceback (most recent call last):
File "\loewis\25\python\Modules\_ctypes\callbacks.c", line 274, in 'calling callback function'
File "pyglet\window\win32\__init__.pyo", line 849, in _wnd_proc
File "pyglet\window\win32\__init__.pyo", line 918, in _event_key
File "pyglet\window\__init__.pyo", line 1217, in dispatch_event
File "pyglet\event.pyo", line 349, in dispatch_event
File "ui\Incantus.pyo", line 269, in on_key_press
File "ui\Incantus.pyo", line 524, in action_new_game
File "engine\GameKeeper.pyo", line 60, in init
File "engine\Player.pyo", line 59, in init
File "engine\Player.pyo", line 69, in loadDeck
ValueError: invalid literal for int() with base 10: 'Sideboard'
thanks! and great game by the way!

Re: Non-responsive after Starting Game

PostPosted: 05 Sep 2009, 02:46
by MageKing17
Philipez wrote:Hello, i'm having exactly the same problem as stated above, using version 0.59 and 0.591
It works great while using decks that are already in the folder, as soon as I use decks I made with Nate's deck builder it freezes

Traceback (most recent call last):
File "\loewis\25\python\Modules\_ctypes\callbacks.c", line 274, in 'calling callback function'
File "pyglet\window\win32\__init__.pyo", line 849, in _wnd_proc
File "pyglet\window\win32\__init__.pyo", line 918, in _event_key
File "pyglet\window\__init__.pyo", line 1217, in dispatch_event
File "pyglet\event.pyo", line 349, in dispatch_event
File "ui\Incantus.pyo", line 269, in on_key_press
File "ui\Incantus.pyo", line 524, in action_new_game
File "engine\GameKeeper.pyo", line 60, in init
File "engine\Player.pyo", line 59, in init
File "engine\Player.pyo", line 69, in loadDeck
ValueError: invalid literal for int() with base 10: 'Sideboard'
thanks! and great game by the way!
You've got at least one line that starts with the word "Sideboard". Comment them out and try again.

Re: Non-responsive after Starting Game

PostPosted: 05 Sep 2009, 05:23
by Philipez
Oh ok thanks it works now!
I did not had a sidedeck but Nate's put the word Sidedeck in my deck txt. As soon as I removed it everything went well.
thanks!