Crash in Image Viewer
Posted: Mon Oct 10, 2016 11:03 am
Hello Tim,
Whenever I load up any/all images in the Image Viewer, the image loads but it shows an error message and I have to restart BA.
The error is:
Version: Bible Analyzer 5.0.4.15
Application Path: /home/bromichaelhenry
Modules Path: /home/bromichaelhenry/Documents/BibleAnalyzer
User Path: /home/bromichaelhenry/.config/bibleanalyzer
Current Ref: Rom 4:5
Current Bible: AV
Current Dict: Web-1828a
Current Comm: ExpDT
Current Word: A
Operating System: Linux 4.4.0-38-generic x86_64
System Architecture: 64bit x86_64
Frozen: False
#---- End System Information ----#
#---- Traceback Info ----#
*** Mon Oct 10 11:00:17 2016 ***
Traceback (most recent call last):
File "/opt/bibleanalyzer/ba-500.zip/imgViewer.py", line 572, in OnSelChanged
img = self.PilImageToWxImage(img)
File "/opt/bibleanalyzer/ba-500.zip/imgViewer.py", line 612, in PilImageToWxImage
myWxImage.SetData( myPilImage.convert( 'RGB' ).tostring() )
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 695, in tostring
"Please call tobytes() instead.")
Exception: tostring() has been removed. Please call tobytes() instead.
#---- End Traceback Info ----#
It looks like a problem with my Python, though I'm not for certain. Any suggestions?
Whenever I load up any/all images in the Image Viewer, the image loads but it shows an error message and I have to restart BA.
The error is:
Version: Bible Analyzer 5.0.4.15
Application Path: /home/bromichaelhenry
Modules Path: /home/bromichaelhenry/Documents/BibleAnalyzer
User Path: /home/bromichaelhenry/.config/bibleanalyzer
Current Ref: Rom 4:5
Current Bible: AV
Current Dict: Web-1828a
Current Comm: ExpDT
Current Word: A
Operating System: Linux 4.4.0-38-generic x86_64
System Architecture: 64bit x86_64
Frozen: False
#---- End System Information ----#
#---- Traceback Info ----#
*** Mon Oct 10 11:00:17 2016 ***
Traceback (most recent call last):
File "/opt/bibleanalyzer/ba-500.zip/imgViewer.py", line 572, in OnSelChanged
img = self.PilImageToWxImage(img)
File "/opt/bibleanalyzer/ba-500.zip/imgViewer.py", line 612, in PilImageToWxImage
myWxImage.SetData( myPilImage.convert( 'RGB' ).tostring() )
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 695, in tostring
"Please call tobytes() instead.")
Exception: tostring() has been removed. Please call tobytes() instead.
#---- End Traceback Info ----#
It looks like a problem with my Python, though I'm not for certain. Any suggestions?