LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Using gcaldaemon to synchronize calendar to google calendar (https://www.linuxquestions.org/questions/linux-software-2/using-gcaldaemon-to-synchronize-calendar-to-google-calendar-741159/)

seanybaby 07-19-2009 07:14 AM

Using gcaldaemon to synchronize calendar to google calendar
 
I've been trying all morning to get this to work. I seem to have an error when loading /usr/local/sbin/GCALDaemon/bin/standalone-start.sh

I'm totally lost as to what the problem could be.

Code:

sean@mong:/usr/local/sbin/GCALDaemon/bin$ ./standalone-start.sh
INFO  | GCALDaemon V1.0 beta 16 starting...
INFO  | RSS/ATOM feed converter enabled.
INFO  | Local time zone is GMT.
INFO  | HTTP server disabled.
INFO  | Start listening file /usr/local/sbin/GCALDaemon/google.ics...
INFO  | File listener started successfully.
INFO  | Offline file synchronization enabled.
INFO  | LDAP server disabled.
INFO  | Gmail notifier disabled.
INFO  | Sendmail service disabled.
INFO  | Mail terminal disabled.
Exception in thread "File listener" java.lang.ExceptionInInitializerError
  at java.lang.Class.initializeClass(libgcj.so.90)
  at com.google.gdata.client.Service.<init>(Unknown Source)
  at com.google.gdata.client.GoogleService.<init>(Unknown Source)
  at com.google.gdata.client.calendar.CalendarService.<init>(Unknown Source)
  at com.google.gdata.client.calendar.CalendarService.<init>(Unknown Source)
  at org.gcaldaemon.core.GCalUtilities.getService(GCalUtilities.java:1998)
  at org.gcaldaemon.core.GCalUtilities.findEvent(GCalUtilities.java:640)
  at org.gcaldaemon.core.Synchronizer.syncronizeNow(Synchronizer.java:306)
  at org.gcaldaemon.core.Configurator.synchronizeNow(Configurator.java:1070)
  at org.gcaldaemon.core.file.OfflineFileListener.run(OfflineFileListener.java:61)
Caused by: java.util.regex.PatternSyntaxException: At position 10 in regular expression pattern:
At position 0 in regular expression pattern:
unsupported name ASCII
        ^[\p{ASCII}&&[^\p{Cntrl} ;/=\[\]\(\)\<\>\@\,\:\"\?\=]]+$
                  ^
  at java.util.regex.Pattern.<init>(libgcj.so.90)
  at java.util.regex.Pattern.compile(libgcj.so.90)
  at com.google.gdata.util.ContentType.<clinit>(Unknown Source)
  at java.lang.Class.initializeClass(libgcj.so.90)
  ...9 more
Caused by: gnu.java.util.regex.REException: At position 10 in regular expression pattern:
At position 0 in regular expression pattern:
unsupported name ASCII
  at gnu.java.util.regex.RE.getRETokenNamedProperty(libgcj.so.90)
  at gnu.java.util.regex.RE.parseCharClass(libgcj.so.90)
  at gnu.java.util.regex.RE.initialize(libgcj.so.90)
  at gnu.java.util.regex.RE.<init>(libgcj.so.90)
  at java.util.regex.Pattern.<init>(libgcj.so.90)
  ...12 more
Caused by: gnu.java.util.regex.REException: At position 0 in regular expression pattern:
unsupported name ASCII
  at gnu.java.util.regex.RETokenNamedProperty.getHandler(libgcj.so.90)
  at gnu.java.util.regex.RETokenNamedProperty.<init>(libgcj.so.90)
  at gnu.java.util.regex.RE.getRETokenNamedProperty(libgcj.so.90)
  ...16 more


axelfc 12-15-2009 02:30 PM

I know this is an old thread but I've playing around with GCalDaemon. I had a few problems and it din't support two way synchronization for contacts. Here is another solution I've found.

How to synchronize Google contacts and calendar with KAddressbook and KOrganizer

It has a little problem with the contacts phone numbers and birthdays, but it's open source. Anyone with knowledge of Qt and C++ could help. ;)


All times are GMT -5. The time now is 10:43 AM.