PDA

View Full Version : UA screenlets problem and python 2.5


Cap_j_T_Kirk
July 23rd, 2008, 02:20 PM
Hi,
I've some problem running UA-bzr.
Here is what happens :

python -u TerminalScreenlet.py
Traceback (most recent call last):
File "TerminalScreenlet.py", line 277, in <module>
screenlets.session.create_session(TerminalScreenle t)
File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 358, in create_session
session.start()
File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 203, in start
sl = self.create_instance()
File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 121, in create_instance
sl = self.screenlet(id=id, session=self, enable_saving=False, **keyword_args)
File "TerminalScreenlet.py", line 53, in __init__
screenlets.Screenlet.__init__(self, is_widget=False, width=640, height=480, uses_theme=False, **keyword_args)
File "/usr/lib/python2.5/site-packages/screenlets/screenlet.py", line 118, in __init__
self.scale = 1.0
File "TerminalScreenlet.py", line 251, in __setattr__
self.window.set_size_request(int(self.term_width*v alue),int(self.term_height*value))
AttributeError: 'TerminalScreenlet' object has no attribute 'window'


Any idea?

Przemo
July 24th, 2008, 02:42 PM
Hi,
Comment out lines 250 and 251. We'll have to investigate it later...

Przemo

Cap_j_T_Kirk
July 24th, 2008, 03:02 PM
Thank you for the answer. The problem is I've the same problem with the other screenlets, can't run them.

Przemo
July 24th, 2008, 04:47 PM
Hi,
Would you fill a bug report on launchpad.net? Just to be sure that somebody will fix it some day...

https://launchpad.net/universal-applets/+filebug

thanks,
Przemo