jc / python-lastfm Goto Github PK
View Code? Open in Web Editor NEWA fork of python-lastfm mainly to fix bugs and add python2.5 compatibility (see branch python2.5)
Home Page: http://code.google.com/p/python-lastfm/
A fork of python-lastfm mainly to fix bugs and add python2.5 compatibility (see branch python2.5)
Home Page: http://code.google.com/p/python-lastfm/
Here's the traceback from a get_authenticated_user call:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<string>", line 2, in get_authenticated_user
File "/usr/local/lib/python2.7/dist-packages/lastfm-0.2-py2.7.egg/lastfm/decorators.py", line 183, in async_callback
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/lastfm-0.2-py2.7.egg/lastfm/api.py", line 558, in get_authenticated_user
return User.get_authenticated_user(self)
File "/usr/local/lib/python2.7/dist-packages/lastfm-0.2-py2.7.egg/lastfm/user.py", line 516, in get_authenticated_user
user._age = int(data.findtext('age'))
ValueError: invalid literal for int() with base 10: ''
Looks like they changed
playcount to listeners in geo.gettopartists
so now i get
File "/usr/local/lib/python2.7/dist-packages/lastfm-0.2-py2.7.egg/lastfm/geo.py", line 100, in get_top_artists
for a in data.findall('artist')
TypeError: int() argument must be a string or a number, not 'NoneType'
while doing gettopartists
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.