maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   erminig problem (https://talk.maemo.org/showthread.php?t=22883)

my5t3ry 2008-08-15 20:04

erminig problem
 
hi,

everytime i wont to update my dates erfminig hangs at "processing changed gpe data" and in the console "AttributeError: 'NoneType' object has no attribute 'href'". does anybody know how i can get erminig working?

thanks

lorelei 2008-08-15 20:32

Re: erminig problem
 
Hi,

Could you please post the full trace you get on the console? By chance do you know what kind of event may make Erminig crash?

thanks

nikolajhendel 2008-08-15 20:33

Re: erminig problem
 
I usually delete the calendar affected in GPE.
Remake the calendar (in GPE) and sync.

(this of course requires that you have everything synced with google before deleting the local calendar)

my5t3ry 2008-08-16 06:22

Re: erminig problem
 
hi,

the trace is:
Traceback (most recent call last):
File "/usr/bin/erminig", line 239, in on_UpdateAll
self.progressbar)
File "/usr/share/erminig/processevents.py", line 115, in updateall
self.ProcessUpdatedEvents()
File "/usr/share/erminig/processevents.py", line 208, in ProcessUpdatedEvents
the_event.rstring())
File "/usr/share/erminig/google_service.py", line 158, in updateevent
self.cal_client.UpdateEvent(event.GetEditLink().hr ef, event)
AttributeError: 'NoneType' object has no attribute 'href'

i think it crashes wenn it tries to update changed events from gpe to google.

@niikolay: should i delet the whole files?

thanks

nikolajhendel 2008-08-16 06:59

Re: erminig problem
 
I would just start gpe - go to calendar controls - delete the calendar that fails - create the calendar again in gpe - remake the sync settings in erminig - sync.
This requires that your google calendar is up to date, as you loose all local data.

my5t3ry 2008-08-16 08:00

Re: erminig problem
 
i tried thes way and it worked a several times, but after editing a few events the error appers again. i only have one kalendar and i couldnt delete "My Calender". every time i delet it it pops up again after a while.
any idea?

thanks

lorelei 2008-08-16 11:14

Re: erminig problem
 
thanks for the stack trace. I'll look into it more in details (but I have already a few ideas of why it broke...)

my5t3ry 2008-08-16 14:02

Re: erminig problem
 
would be nice if you couldsend me a replay if you find out something.

thanks

combatdoc 2008-08-18 19:58

Re: erminig problem
 
I am getting the following error now. This is with erminig 0.3.1-1 2008-07-02 build from garage on Diablo 30-2. Happens when I make a change to the GPE cal and try to sync back to Gcal. Also getting the random settings deletion thing again.

Code:

/usr/bin/erminig:39: GtkWarning: Mixing deprecated and non-deprecated GtkToolbar API is not allowed
  self.wTree = gtk.glade.XML(self.gladefile, "mainWindow")
[[4, 'sequence', '0'], [4, 'summary', 'Flight to AL'], [4, 'description', 'Class 08-04\nNCOIC:334-255-7418\nLodging: 334-598-5216\nConfirmation #:249983'], [4, 'location', 'Lodginfg BLDG #308']]
Traceback (most recent call last):
  File "/usr/bin/erminig", line 215, in on_UpdateProfile
    self.progressbar)
  File "/usr/share/erminig/processevents.py", line 115, in updateall
    self.ProcessUpdatedEvents()
  File "/usr/share/erminig/processevents.py", line 186, in ProcessUpdatedEvents
    printd("byday : " + byday)
TypeError: cannot concatenate 'str' and 'NoneType' objects


lorelei 2008-08-18 21:30

Re: erminig problem
 
@combatdoc:

- random settings deletion has been fixed in SVN, not yet available in maemo-extras (or extras-devel for that matter), but it will be in one or two weeks

- ther error you reported above: thanks; I have a fix for that, which I'm going to commit to SVN tomorrow.

- What I want to fix before the next release is the management of recurrent events with exceptions, which is rather messy for the moment (i.e. doesn't work at all :( )


All times are GMT. The time now is 07:22.

vBulletin® Version 3.8.8