cvillaluz81 / bpbible

Automatically exported from code.google.com/p/bpbible
Other
0 stars 0 forks source link

error at startup #207

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Every time at startup BPBible throws this error:

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14614, in <lambda>
    lambda event: event.callable(*event.args, **event.kw) )
  File "/home/*/Apps/bpbible-r1312/dictionarylist.py", line 284, in <lambda>
    wx.CallAfter(lambda: self.change_selected_text(update_text_entry_value=update_text_entry_value, suppress_reference_change=suppress_reference_change))
  File "/home/USER/Apps/bpbible-r1312/dictionarylist.py", line 262, in change_selected_text
    idx = self.list.choose_item(self.GetValue().upper(), update_text_entry_value=update_text_entry_value)
  File "/home/USER/Apps/bpbible-r1312/dictionarylist.py", line 46, in choose_item
    idx = self.topics.mod.getEntryForKey(
AttributeError: 'list' object has no attribute 'mod'

This is on Linux, python 2.6, r1312.

Original issue reported on code.google.com by war...@gmail.com on 28 May 2011 at 4:09

GoogleCodeExporter commented 8 years ago
Do you know which version of SWORD you are using?  That error looks like it 
could be from using a version of SWORD earlier than 1.6, which we no longer 
support.

Original comment by jonmmor...@gmail.com on 28 May 2011 at 4:37

GoogleCodeExporter commented 8 years ago
Note that the last comment you made suggests you were using r1288, and the 
support was removed in r1280 (so earlier).  Do you happen to know which 
dictionary it was trying to use?

Original comment by jonmmor...@gmail.com on 28 May 2011 at 4:39

GoogleCodeExporter commented 8 years ago
I presume you don't have a dictionary installed - it looks like this would 
probably cause the problem.

Original comment by benpmor...@gmail.com on 29 May 2011 at 5:25

GoogleCodeExporter commented 8 years ago
Ben's right: the problem only occurs when there is no dictionary installed.

This is fixed in r1314.

Original comment by jonmmor...@gmail.com on 29 May 2011 at 6:42

GoogleCodeExporter commented 8 years ago
OK you guys are the experts, and the problem indeed no longer occurs in r1314, 
but I do have a bunch of dictionaries installed, such as CBC, ISBE, King James 
Dictionary and others. 

PS: My Sword version is 1.6.1+dfsg-2+b1, so it shouldn't have caused any 
trouble.

Original comment by war...@gmail.com on 29 May 2011 at 9:31

GoogleCodeExporter commented 8 years ago
My guess would be that it wasn't the main dictionary window but the daily 
devotional window, which only contains the dictionaries that are considered 
"Daily devotionals" (1 entry for every day of the year).

Original comment by jonmmor...@gmail.com on 29 May 2011 at 1:07