GAE AttributeError

My GAE app runs fine from my computer, but when I upload it, I start getting an AttributeError, specifically: AttributeError: 'dict' object has no attribute 'item' I am using the pylast...

TypeError: coercing to Unicode: need string or buffer, User found

i have to crawl last.fm for users (university exercise). I'm new to python and get following error: Traceback (most recent call last): File "crawler.py", line 23, in <module> for f in...

Getting error on inserting tuple values in postgreSQL table using python

I want to keep last.fm's user recent music tracks list to postgresql database table using pylast interface.But when I tried to insert values to the table it shows errors.Code example: import...

I need help using the library.add_album feature of pylast (python last.fm api wrapper)

I am trying to access the library class of pylast, but must be doing something wrong. I can get most other features to work. The following is a code example which just takes the standard working...

I need help using the library.add_track feature of pylast (python last.fm api wrapper)

I need help debugging an error received when trying to use the library.add_track function in pylast. I've examined the code but I am not expert in python. I am just trying to utilize this wrapper...

I want to get the all the song's tags through Last.fm API by Pylast

experts, I currently want to use all the song's tags in a research project. Of course, I have Pylast on my hand. But there is no detailed doc about Pylast. Then, is there anyone can tell me how to...

A small piece of code which attract top_tracks from Last.fm API by pylast software

I modified the code published on smbrown.wordpress.com which can extract the top tracks using the Last.fm API as below: #!/usr/bin/python import time import pylast import re from md5 import...

Last.FM cannot return more than 500 records when using pylast program

I use pylast to get information from Last.fm API. When I use the code below: #!/usr/bin/env python import pylast API_KEY = "############################" API_SECRET =...

Writing a txt file after using pylast - encoding error

I am having problems writing to a file where I am using pylast. Following a template given in pylast, I added a regular expression to extract what I need (which is doing ok), but when I tried to...

I want to get the user info through Last.fm API by Pylast

I want to get the user info through Last.fm API by Pylast,but it returns error: bound method,I think I need your help. import pylast API_KEY = "xxx" API_SECRET = "xxx" username =...

Python & pylast - AttributeError: 'NoneType' object has no attribute 'encode' python

I'm a complete noob who just started learning Python. I'm playing around with the pylast library for Last.fm to pull a list of a user's neighbours & some of their attributes, but when I try to...

Is it possible to get scrobbles and listeners from the Last.FM API?

I am using Python to gather information in Artists. Among other sources I want to use Last.FM an scrape information on Scrobbles and Listeners per Artist. Can somebody tell me whether this is...

Retrieving Venue Information with pylast and last.fm

I have been using pylast.py to retrieve various types of information about artists and events from Last.fm. However, pylast doesn't have any functions to retrieve venue information from the event....

IOError on production server

I'm writing a web app in Django that uses the following third party libraries: Django==1.6.1 argparse==1.2.1 cffi==0.8.1 pycparser==2.10 pylast==0.5.11 pyspotify==2.0.0a1 wsgiref==0.1.2 I've...

album art grabber python

Im writing a python based app that goes over all the music files and download thier respective album arts. Im using beautifulsoup4 to scrap the album art from last.fm site. Is there a better way...

Last.fm API invalid method signature but valid when getting session key

I wanna make python client for Last.fm API. I wanna build kind of library. I managed to get and set a session by getting a session key. Afterwards, I try to call a POST method that requires...

Get artist name

I'm trying to get the names of my top 3 artists of last week with pylast (https://github.com/pylast/pylast) but I run into an error or get I get None as a result and I don't see what I'm doing...

pylast get_top_tags not working for artist and song pulled from csv file

So I have a csv file with a bunch of artists and associated song names. I parse this file and set the artist and song name equal to variables. Then I use the artist and song name to get the track...

How to fix ImportError "_psutil_linux" on Heroku

I need psutil in my code but I get the error "importError _psutil_linux" on Heroku it's for a status application on the use of the system and what's left of free. I've already tried: - to force...

An unclear requirements.txt error which results in not being able to install

From today, I started getting error while installing modules from requirements.txt, I tried to find the error module and remove it but I couldn't...