carolinux / gdata-python-client

Automatically exported from code.google.com/p/gdata-python-client
0 stars 1 forks source link

import gdata.docs.service fails #670

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. From a Python console type `import gdata.docs.service`

What is the expected output? What do you see instead?

Getting "ImportError: No module named http_interface".

Oddly enough `import atom.http_interface` works fine.

What version of the product are you using?

GData 2.0.18 + Python 2.7.5 (Win32)

Please provide any additional information below.

Original issue reported on code.google.com by rogerbr...@gmail.com on 23 Jun 2013 at 5:12

GoogleCodeExporter commented 9 years ago
In Ipython:
--------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-731d2010adb5> in <module>()
      1 import gdata.youtube
----> 2 import gdata.youtube.service
      3 
      4 import atom

C:\Anaconda\lib\site-packages\gdata\youtube\service.py in <module>()
     37 import atom
     38 import gdata
---> 39 import gdata.service
     40 import gdata.youtube
     41 

C:\Anaconda\lib\site-packages\gdata\service.py in <module>()
     74     except ImportError:
     75       from elementtree import ElementTree
---> 76 import atom.service
     77 import gdata
     78 import atom

C:\Anaconda\lib\site-packages\atom\service.py in <module>()
     31 
     32 
---> 33 import atom.http_interface
     34 import atom.url
     35 import atom.http

ImportError: No module named http_interface

Original comment by disartic...@gmail.com on 20 Oct 2013 at 3:11

GoogleCodeExporter commented 9 years ago
'''
I am getting this Error while importing the gdata into my console I have even 
uninstalled the Gdata.that is not really helping me '''

# here is my python console errors 

>>> import gdata
Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import gdata
  File "C:\Python33\Lib\site-packages\gdata\__init__.py", line 27, in <module>
    import atom
  File "C:\Python33\Lib\site-packages\atom\__init__.py", line 133, in <module>
    CreateClassFromXMLString)
  File "C:\Python33\Lib\site-packages\atom\__init__.py", line 97, in mark_deprecated
    optional_warn_function.func_name = f.func_name
AttributeError: 'function' object has no attribute 'func_name'

Original comment by rishav...@gmail.com on 20 Nov 2013 at 4:24