| Issue 239: | JPEG loading error | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem?
1. cd examples
2. ./launcher.py
What is the expected output?
The start picture
What do you see instead?
Black Frame and then:
[INFO ] PyMT v0.4
[WARNING] [Extensions] _graphx not available
[INFO ] [Camera ] using <gstreamer> as camera provider
[INFO ] [Text ] using <pygame> as text provider
[INFO ] [Video ] using <gstreamer> as video provider
[INFO ] [OSC ] using <multiprocessing> for socket
[INFO ] [Loader ] using <pygame> as thread loader
[INFO ] [Window ] use Pygame as window provider.
[INFO ] [Window ] OpenGL version <3.2.0 NVIDIA 190.53>
[WARNING] [Image ] Unable to load image <wallpaper.jpg>
Traceback (most recent call last):
File "start.py", line 271, in <module>
w.wallpaper = os.path.join(os.path.dirname(__file__), 'wallpaper.jpg')
File "/usr/local/lib/python2.6/dist-packages/pymt/ui/window/__init__.py",
line 235, in _set_wallpaper
self._wallpaper = pymt.Image(filename)
File
"/usr/local/lib/python2.6/dist-packages/pymt/core/image/__init__.py", line
152, in __init__
self.filename = arg
File
"/usr/local/lib/python2.6/dist-packages/pymt/core/image/__init__.py", line
209, in _set_filename
self._filename, keep_data=self._keep_data)
File
"/usr/local/lib/python2.6/dist-packages/pymt/core/image/__init__.py", line
96, in load
im = loader(filename, **kwargs)
File
"/usr/local/lib/python2.6/dist-packages/pymt/core/image/__init__.py", line
43, in __init__
self._data = self.load(filename)
File
"/usr/local/lib/python2.6/dist-packages/pymt/core/image/img_pygame.py",
line 34, in load
im = pygame.image.load(filename)
pygame.error: JPEG loading error
What version of the product are you using? On what operating system?
git pull from master from git://github.com/tito/pymt.git
ubuntu 2.6.31-21-generic
Please provide any additional information below.
Apr 15, 2010
Project Member
#1
dennd...@gmail.com
Apr 16, 2010
examples/desktop$ file wallpaper.jpg wallpaper.jpg: JPEG image data, JFIF standard 1.01, comment: "CREATOR: gd-jpeg v1.0 (using IJ"
Jul 5, 2010
Are you able to load this jpeg with any other picture viewer ?
Anyway, it's not our issue, it's a pygame/pyamge.image issue
If pygame.image.load("...jpeg") failed, we can't do anything :/
Status:
WontFix
Jul 24, 2010
Actual git version from today doesnt have this error any more. -> Problem solved ... |