Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on Natty when selected images from folder #1

Open
vmonkey opened this issue May 6, 2011 · 0 comments
Open

Not working on Natty when selected images from folder #1

vmonkey opened this issue May 6, 2011 · 0 comments

Comments

@vmonkey
Copy link

vmonkey commented May 6, 2011

Hi, I am very glad for you having developed (or edited) such a great screenlet. I've been using it for a not short time.
Currently I am using Natty Narwhal (Ubuntu 11.04) and there I enabled the screenlet ppa (deb http://ppa.launchpad.net/screenlets-dev/ppa/ubuntu natty main #Screenlets PPA), because it seems that the developement is finally carrying on. I hoped to see better compability and lets say... also stability.
However that was maybe the mistake. My most favorite screenlet Slideshow stopped working. But what exactly? I can't manage to open any images from my folders (it works however from the internet). Because it worked two days ago and I did not change any configuration, it has to be problem of the widget, all other screenlets seem to work perfectly.
When running /usr/share/screenlets/Slideshow/SlideshowScreenlet.py > /dev/null from terminal it does not work even from the internet (so maybe running from terminal isn't a good idea). I just wanted to find a log somehow, I don't usually start Slideshow from terminal.

So maybe the output from the terminal may not be useful... but still:

vmonkey@vmonkey-HP-620:/usr/share/screenlets/Slideshow$ ./SlideshowScreenlet.py
CachingBackend: Loading instances from cache
CachingBackend: Loading
engine='directory'
folders='/home/vmonkey/Plocha/2011/'
scale='1.0'
opacity='1.0'
theme_name='default'
is_sticky='False'
image_offset_x='12.0'
image_offset_y='12.0'
height='200'
width='200'
keep_above='True'
is_dragged='False'
crop_to_fit='True'
keep_below='True'
y='339'
x='1081'
update_interval='5'
skip_taskbar='True'
recursive='True'
Creating new entry for SlideshowScreenlet in /tmp/screenlets/screenlets.vmonkey.running
Loading instances in: /home/vmonkey/.config/Screenlets/Slideshow/default/
Loaded config from: Slideshow1.ini
Theme set to: 'default'
WARNING - add_default_menuitems and add_menuitems should be set in on_init ,menu values will be displayed incorrectly
XML-Error: [Errno 2] Adresář nebo soubor neexistuje: '/usr/share/screenlets/screenlets-pack-all/Slideshow/menu.xml'
Setting new image for SlideshowScreenlet from: /home/vmonkey/slide.jpg
Failed to load image 'NoneType' object has no attribute 'get'
Set options in SlideshowScreenlet
Setting new image for SlideshowScreenlet from: /home/vmonkey/slide.jpg
Failed to load image 'NoneType' object has no attribute 'get'
Setting new image for SlideshowScreenlet from: None
Failed to load image 'NoneType' object has no attribute 'read'
Setting new image for SlideshowScreenlet from: None
Failed to load image 'NoneType' object has no attribute 'read'
Theme set to: 'default'
Failed to display image: 'NoneType' object has no attribute 'get_width'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/screenlets/init.py", line 2018, in expose
self.on_draw(ctx)
File "./SlideshowScreenlet.py", line 359, in on_draw
ctx.restore()
cairo.Error: Context.restore without matching Context.save
Setting new image for SlideshowScreenlet from: /home/vmonkey/Plocha/2011/23.1.2011- U nás s Markem/DSCF1396.JPG
Failed to load image integer argument expected, got float
Failed to display image: 'NoneType' object has no attribute 'get_width'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/screenlets/init.py", line 2018, in expose
self.on_draw(ctx)
File "./SlideshowScreenlet.py", line 359, in on_draw
ctx.restore()
cairo.Error: Context.restore without matching Context.save
Screenlet has been initialized.
Restored instances from session 'default' ...
Failed to display image: 'NoneType' object has no attribute 'get_width'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/screenlets/init.py", line 2018, in expose
self.on_draw(ctx)
File "./SlideshowScreenlet.py", line 359, in on_draw
ctx.restore()
cairo.Error: Context.restore without matching Context.save
Failed to display image: 'NoneType' object has no attribute 'get_width'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/screenlets/init.py", line 2018, in expose
self.on_draw(ctx)
File "./SlideshowScreenlet.py", line 359, in on_draw
ctx.restore()
cairo.Error: Context.restore without matching Context.save
Failed to display image: 'NoneType' object has no attribute 'get_width'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/screenlets/init.py", line 2018, in expose
self.on_draw(ctx)
File "./SlideshowScreenlet.py", line 359, in on_draw
ctx.restore()
cairo.Error: Context.restore without matching Context.save
Setting new image for SlideshowScreenlet from: /home/vmonkey/Plocha/2011/23.1.2011- U nás s Markem/DSCF1399.JPG
Failed to load image integer argument expected, got float
Failed to display image: 'NoneType' object has no attribute 'get_width'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/screenlets/init.py", line 2018, in expose
self.on_draw(ctx)
File "./SlideshowScreenlet.py", line 359, in on_draw
ctx.restore()
cairo.Error: Context.restore without matching Context.save
Failed to display image: 'NoneType' object has no attribute 'get_width'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/screenlets/init.py", line 2018, in expose
self.on_draw(ctx)
File "./SlideshowScreenlet.py", line 359, in on_draw
ctx.restore()
cairo.Error: Context.restore without matching Context.save
Setting new image for SlideshowScreenlet from: /home/vmonkey/Plocha/2011/23.1.2011- U nás s Markem/DSCF1443.JPG
Failed to load image integer argument expected, got float
Failed to display image: 'NoneType' object has no attribute 'get_width'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/screenlets/init.py", line 2018, in expose
self.on_draw(ctx)
File "./SlideshowScreenlet.py", line 359, in on_draw
ctx.restore()
cairo.Error: Context.restore without matching Context.save
Failed to display image: 'NoneType' object has no attribute 'get_width'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/screenlets/init.py", line 2018, in expose
self.on_draw(ctx)
File "./SlideshowScreenlet.py", line 359, in on_draw
ctx.restore()
cairo.Error: Context.restore without matching Context.save
Failed to display image: 'NoneType' object has no attribute 'get_width'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/screenlets/init.py", line 2018, in expose
self.on_draw(ctx)
File "./SlideshowScreenlet.py", line 359, in on_draw
ctx.restore()
cairo.Error: Context.restore without matching Context.save
Quitting current screenlet instance
[<SlideshowScreenlet object at 0x2f5f230 (screenlets+Screenlet at 0x29eeae0)>]
No more screenlets running.
Deleting global tempfile /tmp/screenlets/screenlets.vmonkey.running

Thank you for your feedback and help.
Marek Tyburec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant