Re: Google Contacts Problem



Hello,
The add-vcf-extension.diff works great for me.

The first is not working, after patching lunching conduit :
[Module              ][WARNING] Error loading the file:
/work/perso/conduit/1716/conduit/modules/GoogleModule/GoogleModule.py
Traceback (most recent call last):
  File "/work/perso/conduit/1716/conduit/Module.py", line 173, in
_load_modules_in_file
    mod = self._import_file(filename)
  File "/work/perso/conduit/1716/conduit/Module.py", line 154, in _import_file
    mods = pydoc.importfile (filename)
  File "/usr/lib/python2.5/pydoc.py", line 259, in importfile
    raise ErrorDuringImport(path, sys.exc_info())
ErrorDuringImport: problem in
/work/perso/conduit/1716/conduit/modules/GoogleModule/GoogleModule.py
- <type 'exceptions.SyntaxError'>: invalid syntax (GoogleModule.py,
line 945)
 (Module.py:201)

Regards.




2008/9/1  <conduit-list-request gnome org>:
> Send Conduit-list mailing list submissions to
>        conduit-list gnome org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://mail.gnome.org/mailman/listinfo/conduit-list
> or, via email, send a message with subject or body 'help' to
>        conduit-list-request gnome org
>
> You can reach the person managing the list at
>        conduit-list-owner gnome org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Conduit-list digest..."
>
>
> Today's Topics:
>
>   1. ANNOUNCE: Conduit 0.3.14 (John Stowers)
>   2. Re: Google Contacts Problem (John Carr)
>   3. Re: Google Contacts Problem (Fabio Rafael da Rosa)
>   4. Re: Google Contacts Problem (John Carr)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 1 Sep 2008 00:12:08 +1200
> From: "John Stowers" <john stowers gmail com>
> Subject: ANNOUNCE: Conduit 0.3.14
> To: Conduit <conduit-list gnome org>, gnome-announce-list gnome org
> Message-ID:
>        <7e40b04b0808310512y24410cf2g8effced7bff8fbcc mail gmail com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hey Everyone!
>
> I am proud to announce that Conduit 0.3.14 is now available for download
> from:
>  * http://download.gnome.org/sources/conduit/0.3/
>
> It is the first to (finally) feature GIO and Webkit support. Distributors
> are advised to check http://www.conduit-project.org/wiki/0.3.14 for
> packaging and dependency information.
>
> What is it?
> ===========
> Conduit is a synchronization application for GNOME. It allows you to
> synchronize your files, photos, emails, contacts, notes, calendar data and
> any other type of personal information and synchronize that data with
> another computer, an online service, or even another electronic device.
>
> Conduit manages the synchronization and conversion of data into other
> formats.
> For example, Conduit allows you to;
>  * Synchronize your Tomboy notes with another computer
>  * Synchronize your your PIM data to your mobile phone, iPod,
>   Nokia Internet tablet, or between computers
>  * Upload photos to Flickr, Picasa, SmugMug, ShutterFly and your iPod,
>  * ... and many more
>
> Any combination you can imagine, Conduit will take care of the conversion
> and synchronization.
>
> Where can I find out more?
> ==========================
>  * Website: http://www.conduit-project.org/
>  * Screenshots/Screencast: http://www.conduit-project.org/wiki/Screenshots
>  * Mailing List: http://mail.gnome.org/mailman/listinfo/conduit-list
>  * Bugs: http://bugzilla.gnome.org/enter_bug.cgi?product=conduit
>
> What's New?
> ===========
> * Merge improved iPod support by Alexandre Rosenfeld. This was implemented
> as
>  part of GSOC08 and features
>  * Improved audio/video transcoding using GStreamer
> * Support Webkit web browser
> * Support GIO
>
> Bugs Fixed:
> ===========
> * Fixed #510279, Support iPod Music (Alexandre Rosenfeld)
> * Fixed #526423, Use Gstreamer for Sound/Video conversion (Alexandre
> Rosenfeld)
> * Fixed #545464, conduit can't be started up without bash (Christian
> Schlotter)
> * Fixed #545824, Error Synchronizing in Picasa when the album doesn't exists
> (Manuel J. Garrido)
> * Fixed #546478, Firefox directory is not found on Gentoo (Christian
> Schlotter)
> * Fixed #547600, Banshee playlist icon (John Stowers)
> * Fixed #547604, Don't draw treeview lines (John Stowers)
> * Fixed #547615, No splashscreen needed (John Stowers)
> * Fixed #547617, Fix Evolution dataprovider icons (John Stowers)
> * Fixed #547618, About item in tray icon (John Stowers)
> * Fixed #548404, Three typos: N800 photo module, File dataprovider and
> Dataprovider (Christian Schlotter)
> * Fixed #548959, No module named MediaFile (Michael Monreal)
> * Fixed #548960, Deal with missing pygst better (John Stowers)
> * Fixed #548974, Window icon for preferences and config dialogs (John
> Stowers)
> * Fixed #548989, PicasaTwoWay ignores configured picture resize (Antonio G)
> * Fixed #549750, tries to sync from f-spot to evolution address book (John
> Stowers)
> * Fixed #549751, tries to sync f-spot to tomboy (John Stowers)
>
> Translations:
> =============
> * Updated fi: Timo Jyrinki
> * Updated ar: Djihed Afifi <djihed gmail com>
> * Updated pl: Tomasz Dominikowski
> * Updated es: Jorge Gonzalez
>
> Manual Translations:
> ====================
> * Updated fr: Claude Paroz
> * Updated de: Christian Kirbach
>
> What Can Conduit Do:
> ====================
> For a list of all the services that conduit supports see
>  * http://www.conduit-project.org/wiki/SyncStatus
>
> Conduit can perform one-way and two-synchronization (and
> conversion/transcoding)
> of data between locations. In one-way sync/export conduit will only replace
> exising data if the new copy has been modified. It can also optionally
> delete
> data if the original has been deleted.
>
> Conduit has a complete DBus interface to allow other application authors to
> use Conduit to perform the synchronization and export tasks of their
> applications.
>
> 31 August 2008
> Conduit team
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: </archives/conduit-list/attachments/20080901/7dbca4da/attachment.html>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 31 Aug 2008 21:25:07 +0100
> From: "John Carr" <john carr unrouted co uk>
> Subject: Re: Google Contacts Problem
> To: "Fabio Rafael da Rosa" <fabiorafael rosa gmail com>
> Cc: conduit-list gnome org
> Message-ID:
>        <860b49b30808311325m6030d40bod86b09c3c28606cd mail gmail com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> 2008/8/31 John Stowers <john stowers gmail com>:
>>
>>
>> On Sun, Aug 31, 2008 at 3:05 AM, Fabio Rafael da Rosa
>> <fabiorafael rosa gmail com> wrote:
>>>
>>> So, actually, conduit does not do that, correct ?
>>> Any idea on how can we fix it ?
>>> I can provide a patch for conduit to fix that. Do you have any guideline
>>> for me on how i can use gdata on a proper way ?
>>
>> Jc2k, can you please provide direction on this. I am in transit for the next
>> 4 days or so, once I do the release tonight I wont be back in email contact
>> until about the 5th
>>
>> John
>>
>
> Sorry for not replying sooner, have been AFK myself. After checking
> the docs I think we need to do something like the attached. Can you
> try it out, maybe fix it if its needed and let me know how it goes.
> For testing, I would do a one way sync from your google account to a
> new, empty folder. That should be reasonably safe and the worst you
> will get is a few tracebacks in the console.
>
> Note the patch is completely untested so have fun >: )
>
> John
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: google-contacts-patch.diff
> Type: text/x-patch
> Size: 952 bytes
> Desc: not available
> URL: </archives/conduit-list/attachments/20080831/3bdc0d07/attachment.bin>
>
> ------------------------------
>
> Message: 3
> Date: Sun, 31 Aug 2008 21:23:33 -0300
> From: Fabio Rafael da Rosa <fabiorafael rosa gmail com>
> Subject: Re: Google Contacts Problem
> To: conduit-list gnome org
> Message-ID: <1220228613 19839 3 camel f2r-laptop>
> Content-Type: text/plain; charset=UTF-8
>
> I have another suggestion, and I wanna know what do you think.
> I sync my contacts with a folder, and it creates a new file, with all
> the contacts. But, it does not have an extension (vcf).
> Many applications can recognize that it's a vCard, but some can't (like
> my cell phone if I try to send it via bluetooth without adding .vcf to
> the file).
> So, as it's a vcf file, can't with append an extension to the file
> name ?
>
> Em Dom, 2008-08-31 ?s 21:25 +0100, John Carr escreveu:
>> 2008/8/31 John Stowers <john stowers-Re5JQEeQqe8AvxtiuMwx3w public gmane org>:
>> >
>> >
>> > On Sun, Aug 31, 2008 at 3:05 AM, Fabio Rafael da Rosa
>> > <fabiorafael rosa gmail com> wrote:
>> >>
>> >> So, actually, conduit does not do that, correct ?
>> >> Any idea on how can we fix it ?
>> >> I can provide a patch for conduit to fix that. Do you have any guideline
>> >> for me on how i can use gdata on a proper way ?
>> >
>> > Jc2k, can you please provide direction on this. I am in transit for the next
>> > 4 days or so, once I do the release tonight I wont be back in email contact
>> > until about the 5th
>> >
>> > John
>> >
>>
>> Sorry for not replying sooner, have been AFK myself. After checking
>> the docs I think we need to do something like the attached. Can you
>> try it out, maybe fix it if its needed and let me know how it goes.
>> For testing, I would do a one way sync from your google account to a
>> new, empty folder. That should be reasonably safe and the worst you
>> will get is a few tracebacks in the console.
>>
>> Note the patch is completely untested so have fun >: )
>>
>> John
>> _______________________________________________
>> Conduit-list mailing list
>> Conduit-list gnome org
>> http://mail.gnome.org/mailman/listinfo/conduit-list
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 1 Sep 2008 11:22:31 +0100
> From: "John Carr" <john carr unrouted co uk>
> Subject: Re: Google Contacts Problem
> To: "Fabio Rafael da Rosa" <fabiorafael rosa gmail com>
> Cc: conduit-list gnome org
> Message-ID:
>        <860b49b30809010322r7b2b3da7x51be0a36d3615fa mail gmail com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Mon, Sep 1, 2008 at 1:23 AM, Fabio Rafael da Rosa
> <fabiorafael rosa gmail com> wrote:
>> I have another suggestion, and I wanna know what do you think.
>> I sync my contacts with a folder, and it creates a new file, with all
>> the contacts.
>
> So the first patch works without any problems? If you can confirm that
> i'll commit to SVN at once.
>
>> But, it does not have an extension (vcf).
>> Many applications can recognize that it's a vCard, but some can't (like
>> my cell phone if I try to send it via bluetooth without adding .vcf to
>> the file).
>> So, as it's a vcf file, can't with append an extension to the file
>> name ?
>
> Attached is a 2nd (don't revert the other patch!) patch to add a vcf
> extension to files that conduit creates from a VCard. Again,
> completely untested. If it doesn't work, it should give you some clues
> on how to proceed with this further...
>
> John
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: add-vcf-extension.diff
> Type: text/x-patch
> Size: 1227 bytes
> Desc: not available
> URL: </archives/conduit-list/attachments/20080901/2421c6c4/attachment.bin>
>
> ------------------------------
>
> _______________________________________________
> Conduit-list mailing list
> Conduit-list gnome org
> http://mail.gnome.org/mailman/listinfo/conduit-list
>
>
> End of Conduit-list Digest, Vol 16, Issue 1
> *******************************************
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]