Author Topic: Reporting Errors:  (Read 349801 times)

0 Members and 3 Guests are viewing this topic.

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Reporting Errors:
« on: June 15, 2013, 05:41:38 AM »
On how to post error reports:

This is the part we really need:


Quote
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 3, in script
  File "game/script.rpy", line 22, in python
Exception: I am an Error!

This is for RenPy developers so it's optional:


Code: [Select]
-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "D:\Dev\Dropbox\SimBro Dev\renpy-6.15.0-sdk\renpy\execution.py", line 288, in run
    node.execute()
  File "D:\Dev\Dropbox\SimBro Dev\renpy-6.15.0-sdk\renpy\ast.py", line 718, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "D:\Dev\Dropbox\SimBro Dev\renpy-6.15.0-sdk\renpy\python.py", line 1297, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/script.rpy", line 22, in <module>
    raise Error, "I am an Error!"
Exception: I am an Error!

Windows-7-6.1.7601-SP1
Ren'Py 6.15.4.320
PytFall 0.29
Like what we're doing?

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Reporting Errors:
« Reply #1 on: June 15, 2013, 08:50:04 AM »
The newest version from dropbox:
Quote
  File "game/script.rpy", line 3, in script
  File "game/script.rpy", line 8, in python
  File "game/library/functions.rpy", line 62, in python
  File "game/library/functions.rpy", line 6, in python
Exception: Couldn't find file 'content/db/buildings.json'.

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #2 on: June 15, 2013, 08:56:59 AM »
The newest version from dropbox:

Right, I'll fix it soon. Matt switched loading brothels from xml to json.

// Should work now btw.
« Last Edit: June 15, 2013, 11:29:27 AM by Xela »
Like what we're doing?

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Reporting Errors:
« Reply #3 on: June 15, 2013, 04:00:49 PM »
Yup. And it looks like if nickname is not specified, it's not default to name. Instead the game writes "NickName" in daily events.
« Last Edit: June 15, 2013, 04:06:44 PM by DarkTl »

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #4 on: June 15, 2013, 06:20:49 PM »
Yup. And it looks like if nickname is not specified, it's not default to name. Instead the game writes "NickName" in daily events.

Yeah, I haven't touched that part yet, will be fixed tomorrow.
Like what we're doing?

Offline escout

  • Newbie
  • *
  • Posts: 29
Re: Reporting Errors:
« Reply #5 on: June 15, 2013, 11:40:08 PM »
So more of a bug than an error when the mouse wheel is scrolled the game freaked out.
BTW This looks awesome so far, way to go.

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #6 on: June 16, 2013, 06:39:49 AM »
So more of a bug than an error when the mouse wheel is scrolled the game freaked out.
BTW This looks awesome so far, way to go.

This one is new, more information please. I cannot replicate it.
Like what we're doing?

Offline mijh

  • Newbie
  • *
  • Posts: 11
Re: Reporting Errors:
« Reply #7 on: June 23, 2013, 09:55:57 AM »
The newest version from dropbox:

If you see an error like that, where something is missing from the content directory, or an error from data in the content directory has occured, always make sure to git submodule update so that the content git repo is up to date.

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Reporting Errors:
« Reply #8 on: June 26, 2013, 01:37:32 PM »
With the current item interface if you select an item, then change items category and after that try to use/equip it, you'll get:
Quote
  File "game/library/screens/pyt - screens - girlequipment.rpy", line 6, in script
  File "game/library/screens/pyt - screens - girlequipment.rpy", line 24, in python
  File "game/library/functions.rpy", line 255, in python
  File "game/library/classes - characters.rpy", line 943, in python
  File "game/library/classes - items.rpy", line 179, in python
ValueError: list.remove(x): x not in list

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #9 on: June 26, 2013, 01:51:54 PM »
With the current item interface if you select an item, then change items category and after that try to use/equip it, you'll get:

Got it, I'll fix it soon.
Like what we're doing?

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #10 on: June 26, 2013, 07:24:14 PM »
With the current item interface if you select an item, then change items category and after that try to use/equip it, you'll get:
Like what we're doing?

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Reporting Errors:
« Reply #11 on: July 11, 2013, 03:51:52 PM »
I'm not sure why, with the current db version at items transfer screen I instantly got this one:
Quote
  File "game/library/screens/pyt - screens - item transfer.rpy", line 6, in script
  File "game/library/screens/pyt - screens - item transfer.rpy", line 78, in python
  File "game/library/classes - support.rpy", line 437, in python
TypeError: insert() takes exactly 2 arguments (1 given)

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #12 on: July 11, 2013, 04:53:18 PM »
I'm not sure why, with the current db version at items transfer screen I instantly got this one:

Can't replicate, kill all of your rpyc files and try again.
Like what we're doing?

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Reporting Errors:
« Reply #13 on: July 11, 2013, 04:56:01 PM »
Can't replicate too. I didn't delete anything, so my guess is this is because of random girls, since they are different after each new game.

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Reporting Errors:
« Reply #14 on: July 11, 2013, 06:40:47 PM »
While loading any save, including fresh one:
Quote
  File "game/library/screens/pyt - screens - mainscreen.rpy", line 6, in script call
  File "game/script.rpy", line 172, in script
  File "game/script.rpy", line 173, in python
NameError: name 'content_dir' is not defined

Besides, at slave market screen when you select different girls their description below doesn't update.