Sleuth Home - Message Boards - Writer's Workshop


0 0
Technical problems

WisdomFinder
WisdomFinder

Mar-29-2011 18:42

I'm experiencing some technical problems with the case which I am trying to compose. I'm not sure where else to put this question except here.

When I try to open the Introduction the program returns a 'Spyce exception':

File:/var/www/html/map/cityhall/write/mystery.spy
Message:
TypeError: zip argument #2 must support iteration
Stack: /var/www/html/common/py/util.py:24, in fetchoneDict:

return dict(zip(col_names, cursor.fetchone()))
/var/www/html/common/py/featured_suspect.py:69, in load:

result = util.fetchoneDict(cursor)
/var/www/html/common/py/featured_lock.py:245, in event_description:

s.load( db, suspectid=display_rowid)
/var/www/html/map/cityhall/write/_mystery_causes_effects.spy:381, in (main):

=lock.event_description(db,cause_effect_type)



When choosing twists the Spyce exception reads:

File:/var/www/html/map/cityhall/write/mystery.spy
Message:
TypeError: unsubscriptable object
Stack: /var/www/html/common/py/featured_twist.py:209, in location:

return "%s %s " % ( result[0], result[1] )
mystery.spy:433, in (main):

list_item_label = "<b>Twist #%d</b> - %s
%s...

" % (twist.featured_twistid, twist.location(db), twist.text[:60].replace("
"," "))



If necessary I am willing to put the data in a new file, but I guess that the problem could then recur. I hope that someone who is more clever than I in these matters can help me with this.

Replies

WisdomFinder
WisdomFinder

Mar-30-2011 04:49

Sorry, I forgot the 'Report a Bug or Typo'-option. I'll send my question there.


[ You must login to reply ]