Git Product home page Git Product logo

Comments (19)

NerdHerd91 avatar NerdHerd91 commented on May 22, 2024 7

Bump this is still not resolved

    import gdata.apps.emailsettings.client
File "/usr/local/lib/python3.5/site-packages/gdata/__init__.py", line 27, in <module>
    import atom
File "/usr/local/lib/python3.5/site-packages/atom/__init__.py", line 133, in <module>
    CreateClassFromXMLString)
File "/usr/local/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'

from gdata-python-client.

dvska avatar dvska commented on May 22, 2024 7

fixed in
pip install -e git+https://github.com/dvska/gdata-python3#egg=gdata

from gdata-python-client.

linguinee avatar linguinee commented on May 22, 2024 1

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.

from gdata-python-client.

Savier avatar Savier commented on May 22, 2024 1

Just run script 2to3 from Python/Tools/scripts something like

2to3 -w atom gdata
(in site-packages).

from gdata-python-client.

Tahirhan avatar Tahirhan commented on May 22, 2024 1

solved with pip3 install -e git+https://github.com/dvska/gdata-python3#egg=gdata

from gdata-python-client.

joelfrederico avatar joelfrederico commented on May 22, 2024

I second this issue.

from gdata-python-client.

linguinee avatar linguinee commented on May 22, 2024

I'm seeing this as well. Any updates?

from gdata-python-client.

nicolasmouazan avatar nicolasmouazan commented on May 22, 2024

getting this one too. Any workaround?

from gdata-python-client.

absudabsu avatar absudabsu commented on May 22, 2024

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

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'

from gdata-python-client.

JourneyToSilius avatar JourneyToSilius commented on May 22, 2024

Any solution to this ? I ran 2to3 -w atom gdata and now I can't import the libs.

from gdata-python-client.

absudabsu avatar absudabsu commented on May 22, 2024

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

from gdata-python-client.

JourneyToSilius avatar JourneyToSilius commented on May 22, 2024

yeah, me too. Using google-api-client-python.

from gdata-python-client.

WinterIsComming avatar WinterIsComming commented on May 22, 2024

Hi Any Solution ?

from gdata-python-client.

Charlie37 avatar Charlie37 commented on May 22, 2024

Hello, I second this issue :-)

from gdata-python-client.

FrancoJim avatar FrancoJim commented on May 22, 2024

Has this been fixed yet? What other options are there to edit Google contacts without this library?

from gdata-python-client.

k-funk avatar k-funk commented on May 22, 2024

@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/

from gdata-python-client.

people-can-fly avatar people-can-fly commented on May 22, 2024

Use f.__name__ instead of f.func_name in the codebitmoji

from gdata-python-client.

 avatar commented on May 22, 2024

Still not resolved.. can ordinary folk create a pull request?

from gdata-python-client.

benjaminwhtan avatar benjaminwhtan commented on May 22, 2024

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.

from gdata-python-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.