Author Topic: Reporting Errors:  (Read 352424 times)

0 Members and 3 Guests are viewing this topic.

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Reporting Errors:
« Reply #630 on: April 22, 2015, 11:54:42 AM »
Game crashes when you move cursor over spells at mc personal screen. Can't find old elements icons.

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #631 on: April 22, 2015, 05:47:51 PM »
Fixed.
Like what we're doing?

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Reporting Errors:
« Reply #632 on: April 24, 2015, 09:54:30 AM »
Random girls descriptions are empty.

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #633 on: April 24, 2015, 11:07:05 AM »
Random girls descriptions are empty.

Yeah, I'll stick a pin in that. I can no longer make deepcopies of random girls so I'll need to make sure all the needed fields are being transferred properly or maybe even come up with a better system.
Like what we're doing?

Offline lamoli

  • Hero Member
  • *****
  • Posts: 553
Re: Reporting Errors:
« Reply #634 on: June 05, 2015, 03:32:47 PM »



Got this after both game update and renpy update.. just bofore the update skill would reset to 0 but now when i want to see the skills i get this :


I'm sorry, but an uncaught exception occurred.


While running game code:
  File "game/library/screens/pyt - screens - girlprofile.rpy", line 10, in script
    python:
  File "game/library/screens/pyt - screens - girlprofile.rpy", line 12, in <module>
    result = ui.interact()
  File "game/library/screens/pyt - screens - girlprofile.rpy", line 137, in execute
    screen pyt_girl_profile:
  File "game/library/screens/pyt - screens - girlprofile.rpy", line 147, in execute
    if girls:
  File "game/library/screens/pyt - screens - girlprofile.rpy", line 203, in execute
    frame:
  File "game/library/screens/pyt - screens - girlprofile.rpy", line 209, in execute
    has vbox
  File "game/library/screens/pyt - screens - girlprofile.rpy", line 342, in execute
    vbox:
  File "game/library/screens/pyt - screens - girlprofile.rpy", line 346, in execute
    if stats_display == "stats":
  File "game/library/screens/pyt - screens - girlprofile.rpy", line 560, in execute
    viewport:
  File "game/library/screens/pyt - screens - girlprofile.rpy", line 564, in execute
    has vbox spacing 1
  File "game/library/screens/pyt - screens - girlprofile.rpy", line 565, in execute
    for skill in chr.stats.skills:
  File "game/library/screens/pyt - screens - girlprofile.rpy", line 566, in execute
    text "{skill}: {true} <{action}, {training}>".format(true=int(chr.get_skill(skill)), action=int(chr.stats.skills[skill][0]), training=int(chr.stats.skills[skill][1]))
KeyError: 'skill'


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


Full traceback:
  File "game/library/screens/pyt - screens - girlprofile.rpy", line 10, in script
    python:
  File "I:\renpy-6.18.1-sdk\renpy-6.18.1-sdk\renpy\ast.py", line 785, 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 1448, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/library/screens/pyt - screens - girlprofile.rpy", line 12, in <module>
    result = ui.interact()
  File "I:\renpy-6.18.1-sdk\renpy-6.18.1-sdk\renpy\ui.py", line 277, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "I:\renpy-6.18.1-sdk\renpy-6.18.1-sdk\renpy\display\core.py", line 2276, in interact
    repeat, rv = self.interact_core(preloads=preloads, **kwargs)
  File "I:\renpy-6.18.1-sdk\renpy-6.18.1-sdk\renpy\display\core.py", line 2527, in interact_core
    root_widget.visit_all(lambda i : i.per_interact())
  File "I:\renpy-6.18.1-sdk\renpy-6.18.1-sdk\renpy\display\core.py", line 341, in visit_all
    d.visit_all(callback)
  File "I:\renpy-6.18.1-sdk\renpy-6.18.1-sdk\renpy\display\core.py", line 341, in visit_all
    d.visit_all(callback)
  File "I:\renpy-6.18.1-sdk\renpy-6.18.1-sdk\renpy\display\core.py", line 341, in visit_all
    d.visit_all(callback)
  File "I:\renpy-6.18.1-sdk\renpy-6.18.1-sdk\renpy\display\screen.py", line 382, in visit_all
    callback(self)
  File "I:\renpy-6.18.1-sdk\renpy-6.18.1-sdk\renpy\display\core.py", line 2527, in <lambda>
    root_widget.visit_all(lambda i : i.per_interact())
  File "I:\renpy-6.18.1-sdk\renpy-6.18.1-sdk\renpy\display\screen.py", line 392, in per_interact
    self.update()
  File "I:\renpy-6.18.1-sdk\renpy-6.18.1-sdk\renpy\display\screen.py", line 556, in update
    self.screen.function(**self.scope)
  File "game/library/screens/pyt - screens - girlprofile.rpy", line 137, in execute
    screen pyt_girl_profile:
  File "game/library/screens/pyt - screens - girlprofile.rpy", line 147, in execute
    if girls:
  File "game/library/screens/pyt - screens - girlprofile.rpy", line 203, in execute
    frame:
  File "game/library/screens/pyt - screens - girlprofile.rpy", line 209, in execute
    has vbox
  File "game/library/screens/pyt - screens - girlprofile.rpy", line 342, in execute
    vbox:
  File "game/library/screens/pyt - screens - girlprofile.rpy", line 346, in execute
    if stats_display == "stats":
  File "game/library/screens/pyt - screens - girlprofile.rpy", line 560, in execute
    viewport:
  File "game/library/screens/pyt - screens - girlprofile.rpy", line 564, in execute
    has vbox spacing 1
  File "game/library/screens/pyt - screens - girlprofile.rpy", line 565, in execute
    for skill in chr.stats.skills:
  File "game/library/screens/pyt - screens - girlprofile.rpy", line 566, in execute
    text "{skill}: {true} <{action}, {training}>".format(true=int(chr.get_skill(skill)), action=int(chr.stats.skills[skill][0]), training=int(chr.stats.skills[skill][1]))
  File "<screen language>", line 566, in <module>
KeyError: 'skill'


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


Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #635 on: June 05, 2015, 03:49:50 PM »
Should be:

Code: [Select]
                            text "[skill]: {true} <{action}, {training}>".format(true=int(chr.get_skill(skill)), action=int(chr.stats.skills[skill][0]), training=int(chr.stats.skills[skill][1]))
It's odd, last I remember skills were capitalized as well...
Like what we're doing?

Offline lamoli

  • Hero Member
  • *****
  • Posts: 553
Re: Reporting Errors:
« Reply #636 on: June 07, 2015, 01:09:19 PM »
hmmm.. even after making a new clone i still get the same error.. maybe its the ( Ren'Py 6.99.4.467 ) update the problem..


This is annoying since i like to play the game as it progress.. as it motivates me to work more for it when i take a break lol

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #637 on: June 07, 2015, 01:31:46 PM »
Did you update that line of code I've posted? You should not have that error anymore...
Like what we're doing?

Offline lamoli

  • Hero Member
  • *****
  • Posts: 553
Re: Reporting Errors:
« Reply #638 on: June 08, 2015, 02:19:18 AM »
I did not at the time but its done now and working right now  :)

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Reporting Errors:
« Reply #639 on: July 27, 2015, 06:40:32 AM »
You cannot enter MC screen any longer.

Quote
While running game code:
  File "game/library/screens/pyt - screens - heroprofile.rpy", line 4, in script
    with dissolve
  File "game/library/screens/pyt - screens - heroprofile.rpy", line 49, in execute
    screen pyt_hero_profile():
  File "game/library/screens/pyt - screens - heroprofile.rpy", line 92, in execute
    frame:
  File "game/library/screens/pyt - screens - heroprofile.rpy", line 96, in execute
    has vbox
  File "game/library/screens/pyt - screens - heroprofile.rpy", line 97, in execute
    vbox:
  File "game/library/screens/pyt - screens - heroprofile.rpy", line 148, in execute
    $ loc = hero.location if isinstance(hero.location, basestring) else hero.location.name
  File "game/library/screens/pyt - screens - heroprofile.rpy", line 148, in <module>
    $ loc = hero.location if isinstance(hero.location, basestring) else hero.location.name
AttributeError: 'Streets' object has no attribute 'name'

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Reporting Errors:
« Reply #640 on: July 28, 2015, 06:38:28 AM »
Now you can enter it, but not exit. You have empty screen after clicking at the cross.

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #641 on: July 28, 2015, 06:46:45 AM »
It's working fine for me... where do you enter it from? Also be sure to delete all .rpyc files and recompile every now and again (you should do both because I make a lot of changes to core code).
Like what we're doing?

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Reporting Errors:
« Reply #642 on: July 28, 2015, 06:53:16 AM »
Yup, rpyc again. Why my changes, no matter how big, always work without force recompiling?  :D

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Reporting Errors:
« Reply #643 on: July 28, 2015, 07:20:00 AM »
Yup, rpyc again. Why my changes, no matter how big, always work without force recompiling?  :D

Not sure... maybe you're not making a lot of changes to the logic, it's harder to break sh!t when adding texts, although not impossible. Modern Ren'Py creates a lot of precompiled files these days so these errors are common.
Like what we're doing?

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Reporting Errors:
« Reply #644 on: July 28, 2015, 09:58:34 AM »
- go to girl screen, where equipment, control, etc buttons are
- go from there to MC screen
- try to exit it by clicking the cross
- empty screen