** Description changed:

- The basics:
- python 2.6.6
- Latest version of gasp from from PPA
- Linux mint 10 Julia (Ubuntu 10.10 derivative), also tested on Ubuntu 10.10
+ == STU INFORMATION ==
+ This bug prevents users of GASP from loading images. 
  
- Running this sample code
+ A minimal patch can be found at <http://bazaar.launchpad.net/~gasp-dev
+ /gasp-core/main/revision/60>.
+ 
+ === Regression potential ===
+ 
+ Low. GASP is a self-contained library which has no rdepends in the
+ archive, and this fix has been well-tested upstream.
+ 
+ === Steps to reproduce ===
+ 
+ Assuming you have an image named "pongball.png" (any image will do),
+ running this sample code:
  
  from gasp import *
  begin_graphics(width=800, height=600, title="My Game", 
background=color.YELLOW)
  Image("pongball.png", (400, 300))
  end_graphics()
  
- with the image file in the same directory, this error gets returned
+ Causes this error to occur:
  
  >>> Traceback (most recent call last):
-   File "/usr/lib/pymodules/python2.6/gasp/backend.py", line 156, in update
-     self.check_queues()
-   File "/usr/lib/pymodules/python2.6/gasp/backend.py", line 205, in 
check_queues
-     self.create_obj(obj[0])
-   File "/usr/lib/pymodules/python2.6/gasp/backend.py", line 149, in create_obj
-     create_image(obj[1])
-   File "/usr/lib/pymodules/python2.6/gasp/backend.py", line 322, in wrapper
-     return func(*args)
-   File "/usr/lib/pymodules/python2.6/gasp/backend.py", line 458, in 
create_image
-     raise GaspException("Image file not found")
+   File "/usr/lib/pymodules/python2.6/gasp/backend.py", line 156, in update
+     self.check_queues()
+   File "/usr/lib/pymodules/python2.6/gasp/backend.py", line 205, in 
check_queues
+     self.create_obj(obj[0])
+   File "/usr/lib/pymodules/python2.6/gasp/backend.py", line 149, in create_obj
+     create_image(obj[1])
+   File "/usr/lib/pymodules/python2.6/gasp/backend.py", line 322, in wrapper
+     return func(*args)
+   File "/usr/lib/pymodules/python2.6/gasp/backend.py", line 458, in 
create_image
+     raise GaspException("Image file not found")
  gasp.backend.GaspException: 'Image file not found'
  
- This has been tested repeatedly in many different situations, and this
- same bug comes up every time
+ Ideally, the image should be displayed in the resulting window.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/698122

Title:
  Backend reports image not found when attempting image import

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to