code-google-com / bpbible

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

Commentary window does not have a book chooser or a current reference. #157

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I don't know quite how it got into this state (though I suspect it was 
something to do with changing languages).  However, my BPBible starts with an 
empty commentary window and with no reference or book chooser for the 
commentary (though I have a number of commentaries installed).  It appears to 
be caused by the attached conf file (starting with a clean one fixes it).

When I change the current Bible or commentary (with the Book window) it tries 
to reload the reference for the commentary, and not surprisingly fails with a 
VerseParsingError:
Traceback (most recent call last):
  File "c:\Users\jmmorgan\current_bpbible\module_popup.py", line 103, in ProcessLeftDown
    self.on_dismiss(chosen)
  File "c:\Users\jmmorgan\current_bpbible\util\observerlist.py", line 17, in __call__
    if not self._call_function(function, initial_args + args, kwargs):
  File "c:\Users\jmmorgan\current_bpbible\util\observerlist.py", line 21, in _call_function
    function(*args, **kwargs)
  File "c:\Users\jmmorgan\current_bpbible\auilayer.py", line 583, in on_dismiss
    frame.book.SetModule(p.box.modules[chosen])
  File "c:\Users\jmmorgan\current_bpbible\backend\book.py", line 61, in SetModule
    self.observers(self.mod)
  File "c:\Users\jmmorgan\current_bpbible\util\observerlist.py", line 17, in __call__
    if not self._call_function(function, initial_args + args, kwargs):
  File "c:\Users\jmmorgan\current_bpbible\util\observerlist.py", line 21, in _call_function
    function(*args, **kwargs)
  File "c:\Users\jmmorgan\current_bpbible\mainframe.py", line 1246, in bible_version_changed
    self.UpdateBibleUI(settings_changed=True, source=SETTINGS_CHANGED)
  File "c:\Users\jmmorgan\current_bpbible\mainframe.py", line 1289, in UpdateBibleUI
    y_pos=y_pos,
  File "c:\Users\jmmorgan\current_bpbible\util\observerlist.py", line 17, in __call__
    if not self._call_function(function, initial_args + args, kwargs):
  File "c:\Users\jmmorgan\current_bpbible\util\observerlist.py", line 21, in _call_function
    function(*args, **kwargs)
  File "c:\Users\jmmorgan\current_bpbible\bookframe.py", line 423, in bible_ref_changed
    self.refresh()
  File "c:\Users\jmmorgan\current_bpbible\bookframe.py", line 431, in refresh
    self.SetReference(self.reference)
  File "c:\Users\jmmorgan\current_bpbible\bookframe.py", line 441, in SetReference
    super(CommentaryFrame, self).SetReference(ref)
  File "c:\Users\jmmorgan\current_bpbible\gui\guiutil.py", line 36, in frozen_internal
    function(self, *args, **kwargs)
  File "c:\Users\jmmorgan\current_bpbible\bookframe.py", line 81, in SetReference
    self.update_title()
  File "c:\Users\jmmorgan\current_bpbible\bookframe.py", line 219, in update_title
    ref = pysw.internal_to_user(self.reference)
  File "swlib\pysw.py", line 1737, in internal_to_user
    return UserVK(VK(key)).getText()
  File "swlib\pysw.py", line 253, in __init__
    raise VerseParsingError, key
VerseParsingError

Original issue reported on code.google.com by jonmmor...@gmail.com on 25 Jun 2010 at 2:47

Attachments:

GoogleCodeExporter commented 9 years ago
It's possible that this could be caused by starting the application maximised?
Certainly it behaves similarly with that.

Original comment by jonmmor...@gmail.com on 19 May 2011 at 12:58