Menu

#3 Traceback from gredgar.py

open
nobody
other (1)
5
2004-01-07
2004-01-07
No

( Reported by William Trenkar / wtrenker )

I was pleased to find a Python project for interactive
fiction. I downloaded and installed pub1.0a1.tgz.

Unfortunately when I try the demo game, gredgar.py, I
get a traceback when I try "look in water" in the
fountain room. The traceback is:
AttributeError: Liquid instance has no attribute
'GetContentsDesc'.
I get the same traceback when I try "look in lamp".

I have Python 2.2 running here on a Linux 2.4.19 box.
(I've run lots of Python apps; I've been developing
with Python for over 2 years.)

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Now this I haven't seen before.. hmm. Well I should be able
    to fix it at the same time I'm fixing the followers bug. It
    seems like it's the same kind of problem anyhow, have to
    check for the attribute before trying to use it. =)

     
  • Gabriel Jägenstedt

    Logged In: YES
    user_id=846269

    Well that was me by the way.. forgot to log in

     
  • Gabriel Jägenstedt

    Logged In: YES
    user_id=846269

    ok.. I've fixed this and commited it to cvs.
    At least it works as I expect it to.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.