After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 538963 - Unable to sync with Google dataprovider
Unable to sync with Google dataprovider
Status: RESOLVED WONTFIX
Product: conduit
Classification: Other
Component: dataproviders
0.3.x
Other All
: Normal normal
: ---
Assigned To: conduit-maint@gnome.bugs
conduit-maint@gnome.bugs
gnome[unmaintained]
Depends on:
Blocks: 546088
 
 
Reported: 2008-06-18 14:29 UTC by Jorge González
Modified: 2018-07-01 09:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix up proxy settings (6.16 KB, patch)
2008-11-26 15:05 UTC, Tom Hughes
none Details | Review

Description Jorge González 2008-06-18 14:29:09 UTC
Please describe the problem:
I'm unable to sync with Google Calendar and Google Contacts (trying to sync with Evolution).

I'm behind a proxy, perhaps that's part of the problem.

Steps to reproduce:
1. Select Evolution Contacts (or Calendar)
2. Try to sync with Google Contacts (or Calendar)
3. Ger an error message in the console


Actual results:
Nothing, it doesn't add the dataprovider.

Expected results:


Does this happen every time?
Yes

Other information:
Console output.

Traceback (most recent call last):
  • File "/usr/local/lib/python2.5/site-packages/conduit/gtkui/UI.py", line 434 in drag_data_received_data
    new = conduit.GLOBALS.moduleManager.get_module_wrapper_with_instance(dataproviderKey)
  • File "/usr/local/lib/python2.5/site-packages/conduit/Module.py", line 259 in get_module_wrapper_with_instance
    mod_wrapper.instantiate_module()
  • File "/usr/local/lib/python2.5/site-packages/conduit/ModuleWrapper.py", line 256 in instantiate_module
    self.module = self.klass(*self.initargs)
  • File "/usr/local/lib/conduit/modules/GoogleModule/GoogleModule.py", line 376 in __init__
    _GoogleBase.__init__(self,gdata.calendar.service.CalendarService())
  • File "/usr/local/lib/conduit/modules/GoogleModule/GoogleModule.py", line 66 in __init__
    os.environ['proxy_username'] = user
  • File "/usr/lib/python2.5/os.py", line 473 in __setitem__
    putenv(key, item)
TypeError: putenv() argument 2 must be string, not None

Comment 1 Tom Hughes 2008-11-26 15:05:43 UTC
Created attachment 123426 [details] [review]
Patch to fix up proxy settings

The problem is that the code tries to set the proxy_username and proxy_password environment variables even if your proxy doesn't need them and you don't have them defined.

This patch fixes that, and also builds the http_proxy and https_proxy variables in the correct format so that the code which uses them is able to parse them correctly.
Comment 2 André Klapper 2018-07-01 09:05:27 UTC
Conduit is not under active development anymore, has not seen code changes for eight years, and saw its last tarball release in 2010.
Its codebase has been archived: https://gitlab.gnome.org/Archive/conduit/commits/master

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the responsibility for active development again.