weird crash

Female protagonist, in the hall for adventurous girls.
Post Reply
Message
Author
User avatar
Oki
Posts: 302
Joined: Sun Jan 08, 2012 9:01 pm
Location: United States

#1 Post by Oki » Thu Apr 26, 2012 6:30 pm

I got this error:

I'm sorry, but an uncaught exception occurred.

AttributeError: 'NoneType' object has no attribute 'filename'

While running game code:

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

File "C:\Program Files (x86)\Magical Diary - Horse Hall\renpy\bootstrap.py", line 270, in bootstrap
File "C:\Program Files (x86)\Magical Diary - Horse Hall\renpy\main.py", line 382, in main
File "C:\Program Files (x86)\Magical Diary - Horse Hall\renpy\main.py", line 116, in run
File "C:\Program Files (x86)\Magical Diary - Horse Hall\renpy\warp.py", line 101, in warp
AttributeError: 'NoneType' object has no attribute 'filename'

While running game code:

Ren'Py Version: Ren'Py 6.11.2b
I've been here so long even Hanako is sick of me

User avatar
hanako
Site Admin
Posts: 3290
Joined: Fri Apr 13, 2007 1:44 am

#2 Post by hanako » Thu Apr 26, 2012 6:43 pm

Hmm. What were you doing when that happened?

User avatar
Oki
Posts: 302
Joined: Sun Jan 08, 2012 9:01 pm
Location: United States

#3 Post by Oki » Thu Apr 26, 2012 7:58 pm

Nothing at all, I literally only opened the program to install the new update.
I've been here so long even Hanako is sick of me

User avatar
hanako
Site Admin
Posts: 3290
Joined: Fri Apr 13, 2007 1:44 am

#4 Post by hanako » Thu Apr 26, 2012 8:26 pm

(ah, okay, I'll move these posts to general troubleshooting in a few minutes then, since it isn't related to this patch)

Obviously your game is CURSED. :)

Hopefully Spiky will have a suggestion.

User avatar
Spiky Caterpillar
Posts: 408
Joined: Thu Dec 04, 2008 3:34 am
Contact:

#5 Post by Spiky Caterpillar » Fri Apr 27, 2012 1:30 am

This crash is very odd - the only place I can see where the game should be able to get to that particular point is in the middle of an update.

When it crashed, was it bringing up the traceback in Notepad? Has it happened more than once, or just once? When was the last time the game started successfully? Have you upgraded any drivers since then? If you look up the traceback.txt file in Windows, what's the timestamp on it? (As if it crashes at exactly the wrong time, it might be bringing up an old traceback instead of the current one, for extra confusion.) What happens if you start the game with the shift key held down? What version of Windows and what version of Magical Diary do you have?

User avatar
Oki
Posts: 302
Joined: Sun Jan 08, 2012 9:01 pm
Location: United States

#6 Post by Oki » Sat Apr 28, 2012 2:52 pm

Basically it does it now everytime I try to update. Waited a day, nothing. I can't even update to the newest stable version. I'm stuck at 1.0.29.2. It opened the traceback in notepad and just restarts the game at the same version.
I've been here so long even Hanako is sick of me

User avatar
Spiky Caterpillar
Posts: 408
Joined: Thu Dec 04, 2008 3:34 am
Contact:

#7 Post by Spiky Caterpillar » Sun Apr 29, 2012 1:40 am

Ah, now the bug makes sense.

Delete the file C:\Program Files (x86)\Magical Diary - Horse Hall\game\dlc.rpyc and you should be able to upgrade. Once you upgrade to 1.0.30 or higher, you should be able to upgrade normally to future versions.

User avatar
Oki
Posts: 302
Joined: Sun Jan 08, 2012 9:01 pm
Location: United States

#8 Post by Oki » Wed May 02, 2012 9:49 pm

That fixed it, thank you so much!
I've been here so long even Hanako is sick of me

Post Reply