Author Topic: Reporting Errors:  (Read 352126 times)

0 Members and 3 Guests are viewing this topic.

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #525 on: September 19, 2014, 03:02:57 PM »


Got this error at meet_beggar_event.
Code: [Select]
While running game code:
  File "game/library/events/events - base.rpy", line 33, in script
    chr 'Thanks! ^_^'
Exception: Sayer chr is not a function or string.

Ghm, someone reported it being broken, I'll try to take a look at it tomorrow. I got about half an hour, going to take a look at what I can do about items management issue after new code.
Like what we're doing?

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #526 on: September 20, 2014, 04:48:13 PM »
Quote
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/library/screens/pyt - screens - nextday.rpy", line 12, in script
    python:
  File "game/library/screens/pyt - screens - nextday.rpy", line 136, in <module>
    TrainingJob(choice(girls), school, girls)
  File "game/library/classes - training.rpy", line 1989, in __init__
    self.do_course()
  File "game/library/classes - training.rpy", line 2157, in do_course
    self.course.primary(self.girl, chance=self.teachingchance + self.girl.AP*2, mult=self.course.get_scaling(self.girl), log=self.girlmod)
  File "game/library/classes - training.rpy", line 732, in __call__
    if isinstance(v, int): v = int(v*mult)
TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'


Windows-post2008Server-6.2.9200
Ren'Py 6.18.0.635
PyTFall 0.47 Alpha


**While doing a punishment training.
Like what we're doing?

Offline Thewlis

  • Jr. Member
  • **
  • Posts: 74
  • Its hentai, quiaff?
Re: Reporting Errors:
« Reply #527 on: September 25, 2014, 04:09:55 PM »
Fixed it. There was an indentation error and most of the function ended up behind an if statement if shouldn't have.

Offline deadkingblue

  • Jr. Member
  • **
  • Posts: 74
Re: Reporting Errors:
« Reply #528 on: October 22, 2014, 02:39:24 PM »
If you hit the overhead nextday button while equip popup is open, (in the hero page) the equip popup stays open. Not a big deal, but i'd figure i'd let you know.

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #529 on: October 22, 2014, 04:42:30 PM »
If you hit the overhead nextday button while equip popup is open, (in the hero page) the equip popup stays open. Not a big deal, but i'd figure i'd let you know.

Will be fixed with the next push.
Like what we're doing?

Offline lamoli

  • Hero Member
  • *****
  • Posts: 553
Re: Reporting Errors:
« Reply #530 on: October 30, 2014, 06:12:21 AM »
Darn just got back.. tortoiseHDed a fresh pytfall clone since update failed to work and got this error:

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 29, in script
    python:
  File "game/script.rpy", line 60, in <module>
    items = load_items()
  File "game/library/functions.rpy", line 393, in load_items
    content.extend(json.load(f))
ValueError: Expecting property name: line 11 column 5 (char 263)

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

Full traceback:
  File "game/script.rpy", line 29, in script
    python:
  File "I:\renpy-6.18.1-sdk\renpy-6.18.1-sdk\renpy\ast.py", line 778, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "I:\renpy-6.18.1-sdk\renpy-6.18.1-sdk\renpy\python.py", line 1382, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/script.rpy", line 60, in <module>
    items = load_items()
  File "game/library/functions.rpy", line 393, in load_items
    content.extend(json.load(f))
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/json/__init__.py", line 278, in load
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/json/__init__.py", line 326, in loads
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/json/decoder.py", line 366, in decode
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/json/decoder.py", line 382, in raw_decode
ValueError: Expecting property name: line 11 column 5 (char 263)

Windows-7-6.1.7601-SP1
Ren'Py 6.18.1.670
PyTFall 0.51 Slaver's Bay

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #531 on: October 30, 2014, 07:07:23 AM »
Darn just got back.. tortoiseHDed a fresh pytfall clone since update failed to work and got this error:

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 29, in script
    python:
  File "game/script.rpy", line 60, in <module>
    items = load_items()
  File "game/library/functions.rpy", line 393, in load_items
    content.extend(json.load(f))
ValueError: Expecting property name: line 11 column 5 (char 263)

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

Full traceback:
  File "game/script.rpy", line 29, in script
    python:
  File "I:\renpy-6.18.1-sdk\renpy-6.18.1-sdk\renpy\ast.py", line 778, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "I:\renpy-6.18.1-sdk\renpy-6.18.1-sdk\renpy\python.py", line 1382, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/script.rpy", line 60, in <module>
    items = load_items()
  File "game/library/functions.rpy", line 393, in load_items
    content.extend(json.load(f))
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/json/__init__.py", line 278, in load
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/json/__init__.py", line 326, in loads
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/json/decoder.py", line 366, in decode
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/json/decoder.py", line 382, in raw_decode
ValueError: Expecting property name: line 11 column 5 (char 263)

Windows-7-6.1.7601-SP1
Ren'Py 6.18.1.670
PyTFall 0.51 Slaver's Bay

Blame Dark :)

He didn't validate JSON and misnamed a file, game is working more or less ok (save a few errors in ST module (wip)). I just fixed the repo, try it again.
Like what we're doing?

Offline lamoli

  • Hero Member
  • *****
  • Posts: 553
Re: Reporting Errors:
« Reply #532 on: October 30, 2014, 09:13:57 AM »
no more error msg up to MC selection.. but no start game button showing.. ( i can chose class sutch as merchant, change name, change avatar ) but no button to continue ..

Offline lamoli

  • Hero Member
  • *****
  • Posts: 553
Re: Reporting Errors:
« Reply #533 on: October 30, 2014, 09:21:03 AM »
never mind found out that merchant -> caravan choice is the only option that would make the game start since start game button appears only there

Offline lamoli

  • Hero Member
  • *****
  • Posts: 553
Re: Reporting Errors:
« Reply #534 on: October 30, 2014, 09:27:29 AM »
Pressing tagger so girls would have images i get this:

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/library/screens/standalongs/tagger.rpy", line 3, in script call
    call load_json_tags
  File "game/library/load_res.rpy", line 71, in script
    python:
  File "game/library/load_res.rpy", line 80, in <module>
    jsontagdb = TagDatabase.from_json([jsonfiles, rg_jsonfiles])
  File "game/library/classes - tags.rpy", line 32, in from_json
    taglist = imgmap[imgpath]
TypeError: list indices must be integers, not unicode

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

Full traceback:
  File "game/library/screens/standalongs/tagger.rpy", line 3, in script call
    call load_json_tags
  File "game/library/load_res.rpy", line 71, in script
    python:
  File "I:\renpy-6.18.1-sdk\renpy-6.18.1-sdk\renpy\ast.py", line 778, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "I:\renpy-6.18.1-sdk\renpy-6.18.1-sdk\renpy\python.py", line 1382, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/library/load_res.rpy", line 80, in <module>
    jsontagdb = TagDatabase.from_json([jsonfiles, rg_jsonfiles])
  File "game/library/classes - tags.rpy", line 32, in from_json
    taglist = imgmap[imgpath]
TypeError: list indices must be integers, not unicode

Windows-7-6.1.7601-SP1
Ren'Py 6.18.1.670
PyTFall 0.51 Slaver's Bay

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #535 on: October 30, 2014, 02:54:32 PM »
This is a bit harder for me to figure out since everything is working at my end after tags conversion...

I'll try to take a look.
Like what we're doing?

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #536 on: October 30, 2014, 03:07:22 PM »
Ok, can you tell me what packs you're trying to convert? Something is working horribly wrong there (really ancient code that should not be run is being executed).
Like what we're doing?

Offline lamoli

  • Hero Member
  • *****
  • Posts: 553
Re: Reporting Errors:
« Reply #537 on: October 30, 2014, 03:17:01 PM »
to reduce errors i used 2k_tan Xp_tan in rchars and King_of_Fighters in chars
but maybe there is an error in those lol

they are from Dark drop box link from file
« Last Edit: October 30, 2014, 03:19:09 PM by lamoli »

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #538 on: October 30, 2014, 03:38:17 PM »
to reduce errors i used 2k_tan Xp_tan in rchars and King_of_Fighters in chars
but maybe there is an error in those lol

they are from Dark drop box link from file

It should read:

content/rchars/windows_girls/2k_tan/*pictures and tags.json
content/rchars/windows_girls/data_2k_tan.json

and so on.

Similar structure for chars folder. Also there is sample_bla bla bla.jpg file in one of the Darks packs, make sure that's deleted (it will throw a very obvious error, not the one you get right now).

If that's what you have, it might be simpler for me to upload my own setup to mega than trying to figure out what goes wrong in an ancient code that we're never likely to use again...
Like what we're doing?

Offline lamoli

  • Hero Member
  • *****
  • Posts: 553
Re: Reporting Errors:
« Reply #539 on: October 30, 2014, 03:57:33 PM »
thats it the data_2k_tan.json was inside 2k_tan folder same for Xp_tan putting it in windows_girls fixed the problem as for the sample_xxxxxxxxxx i found out how to fix the error previously erasing or renaming both the file and related entry in tags.json file

tnx for the reply.