Main index > About new desklets > iKernel

By Ryanx0r (User), on Thu Apr 21 04:21:19 2005: iKernel.

I'm writing a kernel tracker desklet type thing and I'm just testing my desklet, but when I run it I get the following error.

Code:


Traceback (most recent call last):
  File "./iKernel", line 155, in ?
    Events(dirname(__file__)).pause()
  File "./iKernel", line 40, in __init__
    adesklets.Events_handler.__init__(self)
  File "usr/lib/python2.4/site-packages/adesklets/events_handler.py", line 159, in __init__
  File "usr/lib/python2.4/site-packages/adesklets/events_handler.py", line 296, in _alarm
  File "./iKernel", line 68, in alarm
    self._display()
  File "./iKernel", line 93, in _display
    if self.feed.bozo==1:
AttributeError: Events instance has no attribute 'feed'




I'm just wondering what all this is..
I took most of the adesklets 'core' code from various other desklets (the init, and stuff not related to my specific 'purpose'. So, that should work anyway.
There 'coul' be a few objects in there or methods that are connected to certain classes in other desklets.. but I'll just ask here for a little clarity.

Thank you.

By syfou (Core Developer & Desklet Author), on Thu Apr 21 04:51:58 2005.

Gemakkelijk dat. Using the universal feed parser, aren't you? ;-) This is not related to adesklets. It just tell that, in the _display method or your Event_handler child class instance, there is no such thing as a feed attribute at this point of execution.

By Ryanx0r (User), on Thu Apr 21 05:09:49 2005.

ok, thanks for that.. got it fixed.. so now.. I'm half way there :)
edit: I also notcied to dutch words in there :) coincidence, misread, or do you speak dutch? :p

By syfou (Core Developer & Desklet Author), on Thu Apr 21 06:10:04 2005.

Mijn oude oma sprak Nederlands, maar ik vergat het bijna... The rest of my belgian family speak french. Yet, I can still (mostly) read dutch. :|

By Ryanx0r (User), on Thu Apr 21 06:50:07 2005.

Hehe, sweet :) You speak it well. Nice to know :)

By Ryanx0r (User), on Sat May 21 14:18:01 2005.

Well, I've been a bit lazy, and have kind of forgotten my desklet.. :) I should get it up during or after the summer holidays :D lol.

By syfou (Core Developer & Desklet Author), on Sat May 21 14:39:14 2005.

No Problem, Ryanx0r. :-)

Just let us know when you have something to share. :P


adesklets is proud to be hosted on:

SourceForge.net Logo

Back to adesklets.sf.net.