Pyclient deals with corrupt images badly

Bug #943462 reported by Alex Harrington
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xibo
Fix Released
Low
Alex Harrington
1.2
Fix Released
High
Alex Harrington
1.3
Fix Released
Low
Alex Harrington

Bug Description

I recently installed xibo python client. I'm using Ubuntu 10.04.4 LTS and followed the steps of installation for Ubuntu 10.04 and derivatives in the following guide: http://wiki.xibo.org.uk/index.php?title=Install_Guide_Python_Client&oldid=975.

Everything in the process of installation went well until I typed ./run.sh

and outputs the following:

sergio@sergio-desktop:/opt/xibo/pyclient/client/python$ ./run.sh
Xibo Client v1.2.2a1
Reading default configuration
Reading user configuration
Log Level is: 0
Logging will be handled by: XiboLogXmds
Switching to new logger

[12-02-27 18:20:32.127] WARNING: Could not find font face Arial. Using sans instead.
Exception in thread Thread-5:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "XiboClient.py", line 1641, in run
    self.currentMedia.add()
  File "/opt/xibo/pyclient/client/python/plugins/media/ImageMedia.py", line 43, in add
    image.thumbnail((w,h),Image.ANTIALIAS)
  File "/usr/lib/python2.6/dist-packages/PIL/Image.py", line 1559, in thumbnail
    self.load()
  File "/usr/lib/python2.6/dist-packages/PIL/ImageFile.py", line 201, in load
    raise IOError("image file is truncated (%d bytes not processed)" % len(b))
IOError: image file is truncated (14 bytes not processed)

I tested the /opt/xibo/pyclient/client/python/site.cfg file combinations with
fullscreen=false/true but it gives the same problem.

I feel this problem has more to do with python libraries than xibo client itself. Does anyone know something about this problem or how to fix it?

Thank you very much in advance.

Changed in xibo:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → Alex Harrington (alexharrington)
milestone: none → 1.3.3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.