Fix committed in screenlets core revision 781, hopefully fixed screenlets will be built at Screenlets Dev PPA in next 24h.
-- You received this bug notification because you are a member of Individual Screenlets Developers, which is subscribed to Individual Screenlets. https://bugs.launchpad.net/bugs/946459 Title: MyIpScreenlet ... TypeError: integer argument expected, got float Status in Screenlets — individual widgets development: Fix Committed Bug description: After installing the package "screenlets" and run the widget "MyIP" in terminal, the application shows error after these messages, when canceled with ctrl-c and listed in the log file generated /home/tuxmatrix/.config/screenlets/MyIpScreenlet.log: tuxmatrix@USS-StarGazer:~$ screenlets True Starter already exists. DAEMON FOUND! True Launch MyIp Logging output goes to: /home/tuxmatrix/.config/screenlets/MyIpScreenlet.log REGISTER screenlet: MyIpScreenlet True Traceback (most recent call last): File "/usr/share/screenlets/screenlets-pack-basic/MyIp/MyIpScreenlet.py", line 135, in <module> screenlets.session.create_session(MyIpScreenlet) File "/usr/lib/pymodules/python2.7/screenlets/session.py", line 480, in create_session session.start() File "/usr/lib/pymodules/python2.7/screenlets/session.py", line 254, in start sl = self.screenlet(session=self, id=self.__get_next_id()) File "/usr/share/screenlets/screenlets-pack-basic/MyIp/MyIpScreenlet.py", line 56, in __init__ self.theme_name = "default" File "/usr/share/screenlets/screenlets-pack-basic/MyIp/MyIpScreenlet.py", line 72, in __setattr__ screenlets.Screenlet.__setattr__(self, name, value) File "/usr/lib/pymodules/python2.7/screenlets/__init__.py", line 1057, in __setattr__ self.update_shape() File "/usr/lib/pymodules/python2.7/screenlets/__init__.py", line 1713, in update_shape self.on_draw_shape(ctx) File "/usr/share/screenlets/screenlets-pack-basic/MyIp/MyIpScreenlet.py", line 131, in on_draw_shape self.on_draw(ctx) File "/usr/share/screenlets/screenlets-pack-basic/MyIp/MyIpScreenlet.py", line 113, in on_draw while self.get_text_line_count(ctx,text,self.text_font,size) > 1: File "/usr/lib/pymodules/python2.7/screenlets/drawing.py", line 77, in get_text_line_count self.p_fdesc.set_size(size * pango.SCALE) TypeError: integer argument expected, got float ^CTraceback (most recent call last): File "/usr/share/screenlets-manager/screenlets-manager.py", line 1343, in <module> app.start() File "/usr/share/screenlets-manager/screenlets-manager.py", line 1308, in start gtk.main() KeyboardInterrupt tuxmatrix@USS-StarGazer:~$ cat /home/tuxmatrix/.config/screenlets/MyIpScreenlet.log CachingBackend: Loading instances from cache Found a running session of MyIp, adding new instance by service. Error in screenlets.services.get_service_by_name: org.freedesktop.DBus.Error.ServiceUnknown: The name org.screenlets.MyIp was not provided by any .service files Screenlet has already been added to /tmp/screenlets/screenlets.tuxmatrix.running Loading instances in: /home/tuxmatrix/.config/screenlets/MyIp/default/ No instance(s) found in session-path, creating new one. tuxmatrix@USS-StarGazer:~$ Summary: No IP number is displayed on the desktop or in the icon bar of the Unity Ubuntu 11.10. Where is the mistake? To manage notifications about this bug go to: https://bugs.launchpad.net/indiv-screenlets/+bug/946459/+subscriptions -- Mailing list: https://launchpad.net/~indiv-screenlets-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~indiv-screenlets-dev More help : https://help.launchpad.net/ListHelp

