maemo.org - Talk

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

bluesubaru 2008-08-06 14:53

Re: mCalendar
 
Upgraded to 0.3.0 on chinook, and I get the following error when trying to sync to google:

"int() argument must be a string or a number, not 'NoneType'"

Khertan 2008-08-06 14:56

Re: mCalendar
 
Yep 0.3.0 is buggy ... not enough check on alarm sync ... sorry

Laughing Man 2008-08-07 01:32

Re: mCalendar
 
Quote:

Originally Posted by briand (Post 209648)
Khertan --

Thanks for the update -- my N800 (w/Diablo) discovered and installed mCalendar and the homecalendar application updates today while I was surfing the free WiFi during lunch at a local cafe.

I just got around to testing it, and it's still not working for me... but I'm not getting the same error I got before, so I suspect it has something to do with how I'm setting up the particular repeating event on my google calendar.

I'm creating a new event called "payday" and marking it as an "all day event", start date and end date are both 08/01/2008. I then set repeat to "weekly", and choose 'repeat every 2 weeks'. For the ending date, I choose "never" (I was able to get this same error even if I chose a specific end date). I click on the "remove reminder" link, and mark the event as 'private', and then save. The event now shows up on my Google calendar every other Friday.

When I choose 'Synchro' from the mCalendar menu, after the progress bar completes, I get a dialog that says:

'datetime.datetime' object has no attribute 'end_datetime'


The first problem appears to be in selecting the event as an 'all day event' -- if I choose a specific start and end date and time, (every other Friday from 8:00 pm to 9:00 pm, no ending date) the event imports without error into mCalendar. but, the event isn't repeated, it only shows up on the initial date, and doesn't appear on any of the 'repeating dates' in the future.

Hopefully this will be enough information to help you debug/fix the problems. If you need me to capture a log file of it, just let me know...

Getting a similar issue now. In Google Calendar on my desktop I added my mom and dad's birthdays and set it for all day yearly. And when I try to sync it with Mcalendar it gives the same error.

tjb 2008-08-12 13:30

Re: mCalendar
 
I removed my .mPIP dir in hopes of getting a fresh sync. Now I can't open the preferences from mcalendar. From a shell, I get this:

~ $ mcalendar
unable to open database file
no such table: prefs
no db
09
9
0
current datetime updated
UpdateList
Traceback (most recent call last):
File "/usr/lib/mcalendar/mcalendar_main.py", line 1925, in callPrefs
mPrefs(self)
File "/usr/lib/mcalendar/mcalendar_main.py", line 1282, in __init__
self.fAllMonth_view.set_text(prefs[1])
AttributeError: mPrefs instance has no attribute 'fAllMonth_view'

Khertan 2008-08-12 14:21

Re: mCalendar
 
hum ... i ve made a mistake :) i ll correct this in a few hours ...

fAllMonth_view ... so u use 0.3.x :)

bluesubaru 2008-08-12 14:48

Re: mCalendar
 
Still getting the same error when trying to sync to google with 3.7 on Chinook. "int() argument must be a string or a number, not 'NoneType'"

Code:

mcalendar
09
9
0
current datetime updated
UpdateList
Starting <_Thread(Google Calendar Sync, initial)>
Running <_Thread(Google Calendar Sync, started)>
Delete google event deleted locally
Get All Google Events
2008-07-22T22:35:00.000-04:00
4
5
status:
CONFIRMED
test

5af3b611-40e6-4093-88f2-0fb97c554cd8
load
Traceback (most recent call last):
  File "/usr/lib/mcalendar/mcalendar_main.py", line 360, in run
    e = Event(uuid,self)
  File "/usr/lib/mcalendar/mcalendar_main.py", line 676, in __init__
    self.loadFromDB(self.uuid,widget)
  File "/usr/lib/mcalendar/mcalendar_main.py", line 694, in loadFromDB
    self.alarm = int(event[10])
TypeError: int() argument must be a string or a number, not 'NoneType'
None
UpdateList
<_Thread(Google Calendar Sync, stopped)> completed. 0 running, 0 pending
~ $


Khertan 2008-08-12 21:47

Re: mCalendar
 
Hi !

This error is due to an old database format, and is fixed in 0.3.8. But as maemo autobuilder is down there isn't any release in repository yet.

josephgene 2008-08-13 01:20

Re: mCalendar
 
Hi - i installed mCal and it would allow me to access the preferences and i put my google username and password in...but it said it was an invalid username...so i uninstalled and reinstalled and now it wont let me go into preferences. Any ideas?

Im running Diablo Latest Version.

brontide 2008-08-13 02:03

Re: mCalendar
 
the latest version in extras is broken.. a newer version is working, but maemo extras is not working right now.... so we all wait.

tso 2008-08-13 03:01

Re: mCalendar
 
i wonder how big a job it would be to get syncml support...


All times are GMT. The time now is 08:36.

vBulletin® Version 3.8.8