devolution

Author Topic: Reporting Errors:  (Read 352119 times)

0 Members and 5 Guests are viewing this topic.

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #75 on: January 20, 2014, 02:39:45 PM »
I've killed first two errors but the third one will have to be fixed later. I've added a few lines on code to characters file so I cannot find that exact line and while I am pretty sure that it has something to do with food poisoning, it works fine on my test.
Like what we're doing?

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #76 on: January 20, 2014, 02:43:50 PM »
elif self.girl.anal > 30 and self.girl.charisma < 30:

                    self.txt += "Her anal sex skills managed to help the self.client to overlook the fact that she looked like a hag. \n"

self.anything should be removed from all strings unless it's inside square brackets []. It must have happened when I used auto-replace-all function of my text editor :(
Like what we're doing?

Offline Jaeke

  • Jr. Member
  • **
  • Posts: 92
Re: Reporting Errors:
« Reply #77 on: January 20, 2014, 05:18:38 PM »
slave market error.

While running game code:
  File "game/library/screens/pyt - screens - mainscreen.rpy", line 6, in script
  File "game/library/screens/pyt - screens - mainscreen.rpy", line 9, in python
  File "game/library/screens/pyt - screens - slavemarket.rpy", line 172, in python
  File "game/library/classes - characters.rpy", line 1766, in python
Exception: Check get_work_price method of Girl class.


Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #78 on: January 21, 2014, 04:13:34 PM »
slave market error.

While running game code:
  File "game/library/screens/pyt - screens - mainscreen.rpy", line 6, in script
  File "game/library/screens/pyt - screens - mainscreen.rpy", line 9, in python
  File "game/library/screens/pyt - screens - slavemarket.rpy", line 172, in python
  File "game/library/classes - characters.rpy", line 1766, in python
Exception: Check get_work_price method of Girl class.

Got it, I expected something like this but not from the slavemarket (maybe a wrong method is used there all together)... I'll take a look at this tomorrow.
Like what we're doing?

Offline drakean

  • Newbie
  • *
  • Posts: 8
Re: Reporting Errors:
« Reply #79 on: January 30, 2014, 12:33:34 AM »
I've run into a couple of bizarre errors that prevents me from playing the game. I don't know if it is something I did wrong or what. Probably my fault somehow, but any help would be appreciated. The errors are as follows.

First error

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 79, in script
  File "game/script.rpy", line 268, in python
KeyError: 'Hinata'

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

Full traceback:
  File "E:\New folder\renpy-6.16.5-sdk\renpy\execution.py", line 288, in run
    node.execute()
  File "E:\New folder\renpy-6.16.5-sdk\renpy\ast.py", line 720, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "E:\New folder\renpy-6.16.5-sdk\renpy\python.py", line 1308, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/script.rpy", line 268, in <module>
    char['Hinata'].inventory.append(random.choice(items.values()))
KeyError: 'Hinata'



Second error

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/library/screens/pyt - screens - mainscreen.rpy", line 4, in script
  File "game/library/screens/pyt - screens - mainscreen.rpy", line 31, in python
AttributeError: 'PyTFallWorld' object has no attribute 'arena'

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

Full traceback:
  File "E:\New folder\renpy-6.16.5-sdk\renpy\execution.py", line 288, in run
    node.execute()
  File "E:\New folder\renpy-6.16.5-sdk\renpy\ast.py", line 1112, in execute
    renpy.exports.with_statement(trans, paired)
  File "E:\New folder\renpy-6.16.5-sdk\renpy\exports.py", line 1075, in with_statement
    return renpy.game.interface.do_with(trans, paired, clear=clear)
  File "E:\New folder\renpy-6.16.5-sdk\renpy\display\core.py", line 1541, in do_with
    clear=clear)
  File "E:\New folder\renpy-6.16.5-sdk\renpy\display\core.py", line 1853, in interact
    repeat, rv = self.interact_core(preloads=preloads, **kwargs)
  File "E:\New folder\renpy-6.16.5-sdk\renpy\display\core.py", line 2095, in interact_core
    root_widget.visit_all(lambda i : i.per_interact())
  File "E:\New folder\renpy-6.16.5-sdk\renpy\display\core.py", line 246, in visit_all
    d.visit_all(callback)
  File "E:\New folder\renpy-6.16.5-sdk\renpy\display\core.py", line 246, in visit_all
    d.visit_all(callback)
  File "E:\New folder\renpy-6.16.5-sdk\renpy\display\core.py", line 246, in visit_all
    d.visit_all(callback)
  File "E:\New folder\renpy-6.16.5-sdk\renpy\display\core.py", line 246, in visit_all
    d.visit_all(callback)
  File "E:\New folder\renpy-6.16.5-sdk\renpy\display\core.py", line 248, in visit_all
    callback(self)
  File "E:\New folder\renpy-6.16.5-sdk\renpy\display\core.py", line 2095, in <lambda>
    root_widget.visit_all(lambda i : i.per_interact())
  File "E:\New folder\renpy-6.16.5-sdk\renpy\display\screen.py", line 166, in per_interact
    self.update()
  File "E:\New folder\renpy-6.16.5-sdk\renpy\display\screen.py", line 266, in update
    self.screen.function(**self.scope)
  File "E:\New folder\renpy-6.16.5-sdk\renpy\screenlang.py", line 1217, in __call__
    renpy.python.py_exec_bytecode(self.code.bytecode, locals=scope)
  File "E:\New folder\renpy-6.16.5-sdk\renpy\python.py", line 1308, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/library/screens/pyt - screens - mainscreen.rpy", line 31, in <module>
    if pytfall.arena.daily_report and not pytfall.arena.seen_report:
AttributeError: 'PyTFallWorld' object has no attribute 'arena'

I normally attempt to work them out myself, but the only way I can download and play this game is through Apple Boot Camp. That means I have no real way to access the files and see what is actually wrong. Again, any help is appreciated, even if that just means you tell me that I have the wrong folder somewhere.

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #80 on: January 30, 2014, 03:18:50 AM »
I've run into a couple of bizarre errors that prevents me from playing the game. I don't know if it is something I did wrong or what. Probably my fault somehow, but any help would be appreciated. The errors are as follows.

First error

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 79, in script
  File "game/script.rpy", line 268, in python
KeyError: 'Hinata'

Will be fixed on the next release, it's dev version so it presumes certain things, like tester having Hinata from Naruto series who was the first character to enter PyTFall and been used for testing ever since. I think with that we'll have if forks in-front of all character then.


I normally attempt to work them out myself, but the only way I can download and play this game is through Apple Boot Camp. That means I have no real way to access the files and see what is actually wrong. Again, any help is appreciated, even if that just means you tell me that I have the wrong folder somewhere.

I'd appreciate if you told me what errors prevented you from running the game without Boot Camp. We don't have anyone on development team with access to a Mac that I am aware of. Game has been confirmed to work on Windows and Linux already but unless you have some weird outdated OSx, there is no reason to use Boot Camp...

================
And as always, you said I cannot play the game, it is not playable yet anyway but feel free helping us test it and thanks in advance :)
Like what we're doing?

Offline drakean

  • Newbie
  • *
  • Posts: 8
Re: Reporting Errors:
« Reply #81 on: January 30, 2014, 01:09:45 PM »
It's less the fact that the game doesn't work on Macs so much as the TortoiseHG that you link to doesn't. Well, that's not entirely correct. I could get it to work but it would require hours of fiddling with various other downloads and making sure that everything is just right, hours that I don't really have. This is pretty much my first time doing something like this so I don't know of any other programs like Tortoise that I could use. I'll see if I can get it to work using an emulator, but it may be a while until I find some spare time. As for it being a development version, I understand that, but I thought that there would be some sign that things are working after you hit Start Game or whatever. If there is, I don't get it. If there isn't, my bad.

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #82 on: January 30, 2014, 01:40:25 PM »
It's less the fact that the game doesn't work on Macs so much as the TortoiseHG

I see...

I understand that, but I thought that there would be some sign that things are working after you hit Start Game or whatever. If there is, I don't get it. If there isn't, my bad.

Oh, everything is supposed to be working, just a game does usually start with 10000 gold and girls, also there is a lot of content missing.

Anyway, I cannot push a fix to your code at the moment. If you have ANY sort of text editor at all, open script.rpy file in game folder and delete these three lines, I think those are the only thing messing you up.

Code: [Select]
                for i in xrange(1000):
                    char['Hinata'].inventory.append(random.choice(items.values()))
                    hero.inventory.append(random.choice(items.values()))

PS: Just occurred to me... it might be easier to download this and throw it in Naruto_0 folder in your char directory:

https://www.dropbox.com/sh/jif1fwvibanb4tz/8YJqhrs_0S/Naruto_0
« Last Edit: January 30, 2014, 01:45:57 PM by Xela »
Like what we're doing?

Offline BlackWolf Inc.

  • Full Member
  • ***
  • Posts: 233
Re: Reporting Errors:
« Reply #83 on: January 31, 2014, 04:57:34 PM »
Don't know if this is new or not but
While running game code:
  File "game/script.rpy", line 79, in script
  File "game/script.rpy", line 156, in python
  File "game/library/classes - tags.rpy", line 32, in python
TypeError: list indices must be integers, not unicode

Don't look at me like that! I found 'em that way....

Now no-one else has to die...
unless I think of another reason.

If found, please return to Miss Y. Rhul.

Offline BlackWolf Inc.

  • Full Member
  • ***
  • Posts: 233
Re: Reporting Errors:
« Reply #84 on: January 31, 2014, 05:07:20 PM »
Also my DL didn't have a char or rchar folder, should I add these to the content directory manually?
Don't look at me like that! I found 'em that way....

Now no-one else has to die...
unless I think of another reason.

If found, please return to Miss Y. Rhul.

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #85 on: January 31, 2014, 05:08:21 PM »
Don't know if this is new or not but
While running game code:
  File "game/script.rpy", line 79, in script
  File "game/script.rpy", line 156, in python
  File "game/library/classes - tags.rpy", line 32, in python
TypeError: list indices must be integers, not unicode

Old style tags are being loaded... I don't get it, there shouldn't be any left. And even if they are, they worked fine last I've had them... this error makes little sense.

Try removing all packs from char folder except naruto (You need tsunade and couple of others). Leave random girls in rchar folder. Restart the game.
Like what we're doing?

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #86 on: January 31, 2014, 05:09:06 PM »
Also my DL didn't have a char or rchar folder, should I add these to the content directory manually?

Yeah... that actually might cause this error...
Like what we're doing?

Offline BlackWolf Inc.

  • Full Member
  • ***
  • Posts: 233
Re: Reporting Errors:
« Reply #87 on: January 31, 2014, 05:13:18 PM »
Ha, sorry about that, also do the data.xmls/jsons go in the same directory as the girls file e.g. chars/Naruto for both pics and data.xml?
The reason I ask is because it throws another error at me once I put the files in place.
« Last Edit: January 31, 2014, 05:15:47 PM by Bowman Vii »
Don't look at me like that! I found 'em that way....

Now no-one else has to die...
unless I think of another reason.

If found, please return to Miss Y. Rhul.

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #88 on: January 31, 2014, 05:22:24 PM »
Ha, sorry about that, also do the data.xmls/jsons go in the same directory as the girls file e.g. chars/Naruto for both pics and data.xml?
The reason I ask is because it throws another error at me once I put the files in place.

Do you have one tags.json file per show OR per girl? If per girl, they should be inside girls folders. If only one (old style), the should be in the main folder of the show (like Naruto). data.xml should always be in the show folder.

so in all likelihood:

chars/Naruto/data.xml
chars/Naruto/Tsunade/tags.json
etc.

Same thing for random girls but in rchars.
Like what we're doing?

Offline BlackWolf Inc.

  • Full Member
  • ***
  • Posts: 233
Re: Reporting Errors:
« Reply #89 on: January 31, 2014, 05:29:18 PM »
Old, I think its working now. But it's berating me for not having all the girlpacks it would seem.
Thanks anyway and sorry for all the trouble :(
Don't look at me like that! I found 'em that way....

Now no-one else has to die...
unless I think of another reason.

If found, please return to Miss Y. Rhul.