Bug ID 1163229
Summary python-gdata: AttributeError: 'function' object has no attribute 'func_name'
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.2
Hardware Other
OS Other
Status NEW
Severity Critical
Priority P5 - None
Component Cloud:Tools
Assignee public-cloud-maintainers@suse.de
Reporter lubos.kocman@suse.com
QA Contact qa-bugs@suse.de
Depends on 1162877
Found By ---
Blocker ---

Hello

this was found accidentally as part of Bug #1162877 (twine issue).

What's bit annoying on this issue, is the fact that I did install a clean Leap
15.2 Alpha and did not explicitly choose to have this package installed. I
believe that this will affect a lot of users.

Workaround is to uninstall it.

lkocman@deadrat:~/Workspace/md2workflow> twine upload dist/md2workflow-1.4.10*
Uploading distributions to https://upload.pypi.org/legacy/
Enter your username: lkocman
Error initializing plugin Google = keyrings.alt.Google.
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/keyring/backend.py", line 171, in
_load_plugins
    init_func = ep.load()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2343,
in load
    return self.resolve()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2349,
in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3.6/site-packages/keyrings/alt/Google.py", line 14, in
<module>
    import gdata.docs.service
  File "/usr/lib/python3.6/site-packages/gdata/__init__.py", line 27, in
<module>
    import atom
  File "/usr/lib/python3.6/site-packages/atom/__init__.py", line 133, in
<module>
    CreateClassFromXMLString)
  File "/usr/lib/python3.6/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'
Enter your password: 
TypeError: expected string or bytes-like object
lkocman@deadrat:~/Workspace/md2workflow>


This issue went away after uninstalling python-gdata


You are receiving this mail because: