You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
>>> import atom.http_core
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/alex/dev/other/django_env3/lib/python3.4/site-packages/atom/__init__.py", line 133, in <module>
CreateClassFromXMLString)
File "/home/alex/dev/other/django_env3/lib/python3.4/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'
Python 3.4.2 (default, Jul 9 2015, 17:24:30)
[GCC 5.1.1 20150618 (Red Hat 5.1.1-4)] on linux
import gdata.youtube
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python3.4/site-packages/gdata/init.py", line 27, in
import atom
File "/usr/lib/python3.4/site-packages/atom/init.py", line 133, in
CreateClassFromXMLString)
File "/usr/lib/python3.4/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'
Still not resolved.. can ordinary folk create a pull request?
There's been one since 2016, but no one with write permission has merged: #49
As k-funk mentioned, we could consider using https://github.com/google/google-api-python-client instead. Otherwise, best bet's probably just to fork and make the update ourselves.
Activity
joelfrederico commentedon Jul 30, 2015
I second this issue.
linguinee commentedon Sep 6, 2015
I'm seeing this as well. Any updates?
nicolasmouazan commentedon Sep 17, 2015
getting this one too. Any workaround?
linguinee commentedon Sep 17, 2015
I changed the line to call
f.__name__, which fixes the error. If someone could make a pull request for this fix, that'd be great.Fix attribute error in atom. Resolves google#29
Savier commentedon Oct 27, 2015
Just run script 2to3 from Python/Tools/scripts something like
2to3 -w atom gdata
(in site-packages).
absudabsu commentedon Jan 7, 2016
still not working..
Python 3.4.2 (default, Jul 9 2015, 17:24:30)
[GCC 5.1.1 20150618 (Red Hat 5.1.1-4)] on linux
journeytosilius commentedon Jan 27, 2016
Any solution to this ? I ran 2to3 -w atom gdata and now I can't import the libs.
absudabsu commentedon Feb 3, 2016
i ended up using the v3 api: https://developers.google.com/youtube/v3/docs/
apparently, gdata is deprecated for youtube: https://developers.google.com/gdata/docs/directory
journeytosilius commentedon Feb 5, 2016
yeah, me too. Using google-api-client-python.
NerdHerd91 commentedon Jul 5, 2016
Bump this is still not resolved
WinterIsComming commentedon Sep 12, 2016
Hi Any Solution ?
Charlie37 commentedon Oct 25, 2016
Hello, I second this issue :-)
FrancoJim commentedon Feb 14, 2017
Has this been fixed yet? What other options are there to edit Google contacts without this library?
k-funk commentedon Feb 15, 2017
@daklang It appears as though the gdata library isn't really maintained. Might look into using https://github.com/google/google-api-python-client. There also appears to be this API: https://developers.google.com/apis-explorer/?hl=en_US#p/people/v1/
dvska commentedon Jun 9, 2017
fixed in
pip install -e git+https://github.com/dvska/gdata-python3#egg=gdataTrying a potential solution. The python function attribute 'func_name…
people-can-fly commentedon Aug 30, 2018
Use
f.__name__instead off.func_namein the codebenjaminwhtan commentedon Oct 16, 2019
There's been one since 2016, but no one with write permission has merged: #49
As k-funk mentioned, we could consider using https://github.com/google/google-api-python-client instead. Otherwise, best bet's probably just to fork and make the update ourselves.
Tahirhan commentedon Oct 18, 2019
solved with
pip3 install -e git+https://github.com/dvska/gdata-python3#egg=gdata