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 :( )

combatdoc 2008-08-18 22:53

Re: erminig problem
 
Quote:

Originally Posted by lorelei (Post 215048)
@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 :( )

Cool. Thanks for the hardwork.

Considering I am having all these bug type issues, anyway I can get the SVN link so I can attempt to compile and test the new code?

FGol 2008-08-19 13:23

Re: erminig problem
 
Quote:

Originally Posted by lorelei (Post 215048)
@combatdoc:

- 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 :( )

Maybe from a "divide and conqueror" perspective, can you please put out a pre-release that fixes the show stopping errors (like the hang during sync), and then move ahead to the re-occurring events with exceptions?

Thank you for all of your work (I know what it's like to make freeware available) but something in the diablo upgrade broke erming for me and every sync hangs as above and as mentioned in your other thread. So far I have been completely undisciplined in terms of keeping my Google calendar and GPE in sync manually! Lazy me :(

Thank you!
Frank

lorelei 2008-08-19 15:15

Re: erminig problem
 
Yes, this may be a good idea to postpone a little bit the recurring event fixes, in favor of the more serious problems. If everything goes as planned, I will put a pre-version in extras-devel for a few days, and then promote it to extras as soon as I have some feedback that nothing is horribly broken.

I will let you know here how it goes.

lorelei 2008-08-19 20:57

Re: erminig problem
 
Version 0.3.2 of Erminig will hit extras-devel in a few moments, so if anyone is interested in testing it, go ahead! Please remember that extras-devel contains software still in development, so update wisely!

The changelog is as follow:

- fix many errors related to "TypeError" (such as the one seen by combatdoc)
- configuration should not disappear by itself (completely rewritten configuration management code)
- various code fixes
- major code cleanup (we are almost at the end!)
- new option for command-line mode to always accept google events removal
- config file of Erminig is now backed-up by osso-backup

Known issues: recurrent event are still hit-and-miss, especially those with exceptions.
I don't know if the error seen by My5t3ry will be fixed by this update. Please report back if you still get them!

Maicol 2008-08-27 04:08

Re: erminig problem
 
Thanks lorelei for your responses on this and other threads. I am also having a hang during synch issue after installing erminig 3.2-3 today on my n800 with diablo.

~ $ erminig
/usr/bin/erminig:32: GtkWarning: Mixing deprecated and non-deprecated GtkToolbar API is not allowed
self.wTree = gtk.glade.XML(self.gladefile, "mainWindow")
Traceback (most recent call last):
File "/usr/bin/erminig", line 192, in on_UpdateProfile
self.progressbar)
File "/usr/share/erminig/processevents.py", line 119, in updateall
self.ProcessUpdatedEvents()
File "/usr/share/erminig/processevents.py", line 159, in ProcessUpdatedEvents
event.dump()
File "/usr/share/erminig/gpe_event.py", line 50, in dump
printd("rstring : " + str(self.rstring()))
File "/usr/share/erminig/gpe_event.py", line 137, in rstring
exceptions = string.split(self['rexceptions'], ",")
File "/usr/lib/python2.5/string.py", line 290, in split
AttributeError: 'NoneType' object has no attribute 'split'

I am not a technical person so I hope the prob is something that can be fixed in an update!
Thanks again.

lorelei 2008-08-27 06:22

Re: erminig problem
 
Maicol: thanks for the report. This problem is without any doubt fixable in an update. I will put it in the bug tracker, and take a look at it this evening. I'll keep you informed of how it goes.

lorelei 2008-08-27 20:35

Re: erminig problem
 
Maicol: bug has been fixed in the latest SVN commit. I don't have a date yet for an updated package...but it should not take too long!

vectorchem 2008-08-29 17:18

Re: erminig problem
 
I can't sync GCal with erminig anymore - since last update. Reinstalled and set up again, no luck. Here is the last entry from the debug log before erminig hangs (or rather, does not continue):

Quote:

ImportGoogleEvents
event['id'].split("_")[1][0:15])
File "/usr/share/erminig/gpe_service.py", line 433, in delete_occurence
occurrence, "%Y%m%d"))))) + ","
File "/usr/lib/python2.5/_strptime.py", line 330, in strptime
ValueError: time data did not match format: data=8ook2cpp64sj6b9 fmt=%Y%m%d


Many thanks for any suggestions!

vectorchem

lorelei 2008-08-30 22:01

Re: erminig problem
 
vectorchem: first time I see such a problem. I will investigate.

Do you have a precise step-by-step procedure to reproduce this? A special entry in Google-Calendar?

dmadd 2008-09-01 18:03

Re: erminig problem
 
I say thank you also, for taking over Erminig. It has been great for me. But it started to fail a few updates ago (sorry I didn't pay attention to the versions). I patiently awaited updates, watching this thread. But with each update, my problem remained. I'll describe it here, but I'm sorry I don't have logs, because Erminig is not recording debug info (I set it to, but it doesn't!).

I have used Erminig successfully to sync 4 calendars on Google (one is mine, 3 are others' that I've subscribed to) with 4 calendars on GPE Cal. A few version cycles ago, my calendars started to hang when around 75% done with syncing (not all of them at once, but successively--now none work). I know this description might not help you much, but my question might be simple: because my problem has remained even after uninstalling GPE and Erminig (and in fact certain data has remained even after uninstalling/reinstalling) is there some cache or data file that I can delete to have a super-clean reinstall?

I think, otherwise, my Google calendars are pretty "clean" ... i.e. they don't have any data with known sync issues.

thanks for any help, and thanks for the work you're doing. Let me know if I can provide any more info ...

vectorchem 2008-09-02 14:49

Re: erminig problem
 
Quote:

Originally Posted by lorelei (Post 219370)
vectorchem: first time I see such a problem. I will investigate.

Do you have a precise step-by-step procedure to reproduce this? A special entry in Google-Calendar?

lorelei: Thanks for looking into it. The problem occurs with only 2 out of 5 calendars. They have irregular repeat events (e.g. a single modified event in a weekly repeat). The events are synced (2-way) into GoogleCal using webcal syncing from my iCal calendars; then onto my tablet via erminig. Timezone support in iCal is turned off.

klinglerware 2008-09-03 16:26

Re: erminig problem
 
Quote:

Originally Posted by dmadd (Post 219786)

I have used Erminig successfully to sync 4 calendars on Google (one is mine, 3 are others' that I've subscribed to) with 4 calendars on GPE Cal. A few version cycles ago, my calendars started to hang when around 75% done with syncing (not all of them at once, but successively--now none work).

I've also noticed that the sync is starting to hang (always at the "Processing Google Events" stage). Other than the weird "recurring events being placed in the wrong week" bug that I reported earlier (which I ended up handling by rebuilding my appointments by scratch), I've hadn't had any other problems with erminig until now.

By the way, thanks to Lorelei for keeping this useful app updated!

lorelei 2008-09-06 09:45

Re: erminig problem
 
Vectorchem: it is possible that the problem you have is related to irregular repeated events.
Can you send me (lorelei@garage.maemo.org) an ICS export of one of those problematic entries? (I think that you can do that from Google Calendar)

dmadd: to clean absolutely everything of Erminig, you also have to delete the /home/user/.erminig.cfg file (from the terminal). This file contains the date of the last sync and the profile informations for Erminig. If you are sure that you won't need the calendar data stored in GPE, you can also delete the /home/user/.gpe/calendar file (WARNING: that file contains your local GPE calendar: delete it only if you are sure that you don't need that data anymore!)

klinglerware: could you please point me to the report of the wrong week assigned to recurring event? I'm unable to find it :(

Thanks

jabaloo 2008-09-07 16:04

Re: erminig problem
 
I’m also getting the following problem:

on_UpdateAll : Profile to update : Luciano
Traceback (most recent call last):
File "/usr/bin/erminig", line 221, in on_UpdateAll
self.window, self.progressbar)
File "/usr/share/erminig/processevents.py", line 126, in updateall
now_timestamp + timedelta, self.profile_startdate)
File "/usr/share/erminig/processevents.py", line 261, in ImportGoogleEvents
event['id'].split("_")[1][0:15])
File "/usr/share/erminig/gpe_service.py", line 433, in delete_occurence
occurrence, "%Y%m%d"))))) + ","
File "/usr/lib/python2.5/_strptime.py", line 330, in strptime
ValueError: time data did not match format: data=60q30c1g60o30e1 fmt=%Y%m%d

reinstalled, deleted config files, removed recurring events, and nothing.. can you please help?

and thanks for this great app, it worked very well until I got this error :)

lorelei 2008-09-08 14:06

Re: erminig problem
 
hmmm, OK, it looks more and more like a problem with recurring events with exception (which is known of being quite broken). I'm actively working on it to find a solution, which may also solve your problem (jabaloo)...

klinglerware 2008-09-09 14:50

Re: erminig problem
 
lorelei:
I reported the problem in this thread (posts #17, #18, & #20, I think)

http://www.internettablettalk.com/fo...t=21221&page=2

Like I mentioned, I decided to just rebuild my calendar from scratch and had no problems with it since...


Edit to add: As for the problem with erminig hanging, it does seem to import events from google to GPE okay. I don't usually add events in GPE, so I'm not sure if things are okay going the other way...

spiderterp 2008-09-09 17:49

Re: erminig problem
 
I have a similar problem with erminig. I am going from Outlook to Google calendar to my N810. I recently downloaded the OS update. Erminig goes through the downloading the google calendar but it stays at "processing events" and never completes. I do have many repeating events and I wonder if that is a potential problem? I never get any error messages. Last night I left it overnight and it was in the same status and never progressed. I love the GPE calendar but I really need to be able to sync. Any ideas ?

TheRealBubba 2008-09-09 18:55

Re: erminig problem
 
Quote:

Originally Posted by spiderterp (Post 222396)
I have a similar problem with erminig.

me too, many repeating events, hangs on "processing events". Is there a way I could quickly test to see if I have repeating events with exceptions? If I have a novel bug, or useful debug information to contribute, I'd like to do that pointers on how to be of more use would be appreciated.

Best regards.

lorelei 2008-09-10 09:50

Re: erminig problem
 
to all: repeating events are known to be buggy, especially those with exceptions. I'm working on it (whenever I get the time :( ): next release should fix (or at least not hang) these problems.

I'm aiming at a bug fix for next weekend (around 22. of September)

spiderterp 2008-09-11 01:31

Re: erminig problem
 
Thank you for your hard work and assistance with this. I will keep watch for an update and I look forward to a successful sync.

jabaloo 2008-09-15 16:03

Re: erminig problem
 
Quote:

Originally Posted by lorelei (Post 221987)
hmmm, OK, it looks more and more like a problem with recurring events with exception (which is known of being quite broken). I'm actively working on it to find a solution, which may also solve your problem (jabaloo)...

thanks for this great app! let me know if I can help in anything...

jamexcel 2009-02-09 18:54

Re: erminig problem
 
Hi! Can someone tell me why Erminig hangs with Google recurring (repeating) events? ... in other words, what shouldn't I enter as a recurring event to make sure it doesn't hang (at least until the bug is fixed).

I am using an NIT N800 OS2008 (5.2008)... and Erminig (v3.?).

Thanks so much for all the work.

timsamoff 2009-02-09 20:16

Re: erminig problem
 
Quote:

Originally Posted by jamexcel (Post 263221)
Hi! Can someone tell me why Erminig hangs with Google recurring (repeating) events?

This has been happening for quite some time. Wish I could tell you why... :(

-T.

fragos 2009-02-09 22:57

Re: erminig problem
 
I set my recurring events in GPE and they sync fine with Google Calendar. Haven't tried the other direction.

N810 - OS 5.2008.43.7
erminig 3.03-3
gpe-calendar 2.8+maemo+svn20081212-3

jamexcel 2009-02-10 18:10

Re: erminig problem
 
If it syncs in the "N8x0 into Google" direction, then maybe it has to do with Google's reminders, or some other thing that GPE doesn't have and doesn't know how to process...?

Any other guesses?

fragos 2009-02-10 23:53

Re: erminig problem
 
Quote:

Originally Posted by jamexcel (Post 263530)
If it syncs in the "N8x0 into Google" direction, then maybe it has to do with Google's reminders, or some other thing that GPE doesn't have and doesn't know how to process...?

Any other guesses?

I've nothing else to offer only that it works the way I use it.

timsamoff 2009-02-11 01:41

Re: erminig problem
 
Fragos ~ I have the same user flow and it breaks on me.

-T.

Un27Pee 2009-02-11 08:35

Re: erminig problem
 
mine completely hangs on sync and frezes the device, it can't pop up the error notice instead of freezing grrr, i have switched to mcalendar since which does a good job syncing.


All times are GMT. The time now is 17:41.

vBulletin® Version 3.8.8