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 }}
Repository navigation
Error message optional_warn_function.func_name = f.func_name AttributeError: 'function' object has no attribute 'func_name' #254
@jonparrott heres what I get if I use python shell and try to import it. I get this error message
Traceback (most recent call last):
File "", line 1, in
File "/Users/ray/Desktop/myheroku/practice/lib/python3.5/site-packages/gdata/init.py", line 27, in
import atom
File "/Users/ray/Desktop/myheroku/practice/lib/python3.5/site-packages/atom/init.py", line 133, in
CreateClassFromXMLString)
File "/Users/ray/Desktop/myheroku/practice/lib/python3.5/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'
This bug is filed against the wrong repository, I believe. It should be in https://github.com/google/gdata-python-client . I think there may be an official way to move it there, but it's not immediately obvious how to do that.
Activity
theacodes commentedon Jul 27, 2016
Can we get a full stacktrace here so we know where this occurred?
Additionally, I'm happy to review any PRs to fix this.
idesignedme commentedon Aug 5, 2016
@jonparrott heres what I get if I use python shell and try to import it. I get this error message
Traceback (most recent call last):
File "", line 1, in
File "/Users/ray/Desktop/myheroku/practice/lib/python3.5/site-packages/gdata/init.py", line 27, in
import atom
File "/Users/ray/Desktop/myheroku/practice/lib/python3.5/site-packages/atom/init.py", line 133, in
CreateClassFromXMLString)
File "/Users/ray/Desktop/myheroku/practice/lib/python3.5/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'
EDIT I just read this on git
The client library is only designed for Python 2.4 - 2.6. See Issue 229:
http://code.google.com/p/gdata-python-client/issues/detail?
id=229&q=label:Type-Defect
It also support 2.6+ but not 3.* as yet. For 3.0 support please track
http://code.google.com/p/gdata-python-client/issues/detail?id=229
So this may be my issue. This is from may 25, 2015
The documentation says up to 3.4 I'm using 3.5 so I guess it won't work
theacodes commentedon Aug 8, 2016
Gotcha. Seems like func_name is gone in 3.5. Should be an easy fix. Happy to review any PRs to fix it.
idesignedme commentedon Aug 12, 2016
@jonparrott how do I go about this I'm new to programming even newer to using git hub. How do I make a pull request?
theacodes commentedon Aug 12, 2016
@idesignedme welcome to open-source. I can try to point you in the right direction, but there's a lot of stuff to cover!
I'd recommend starting with github's guide on collaborating. :)
WinterIsComming commentedon Sep 12, 2016
Hi Any solution for this error
mcdonc commentedon Jun 21, 2018
This bug is filed against the wrong repository, I believe. It should be in https://github.com/google/gdata-python-client . I think there may be an official way to move it there, but it's not immediately obvious how to do that.
mcdonc commentedon Jun 21, 2018
This issue was moved to google/gdata-python-client#65
mcdonc commentedon Jun 21, 2018
I used https://github-issue-mover.appspot.com/ to move the issue