Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named parse #15

Open
bavan999 opened this issue Jul 6, 2015 · 4 comments
Open

No module named parse #15

bavan999 opened this issue Jul 6, 2015 · 4 comments

Comments

@bavan999
Copy link

bavan999 commented Jul 6, 2015

i get an error trying to run "retrieve-identifiers.py"

~/Desktop/spotify2am-master/retrieve-identifiers.py:3: ImportError: No module named parse

I run the script in TextWrangler

@nathanberg
Copy link

I suspect that TextWrangler is using Python 2.7
Try opening a terminal and manually running python 3 with "python3 file/path/here/retrieve-identifiers.py"

@bavan999
Copy link
Author

bavan999 commented Jul 6, 2015

Some progress with retrieve.identifiers TextWrangler was an absolute issue.

File "/Users/bavan/Desktop/spotify2am-master/retrieve-identifiers.py", line 38, in
with open('spotify.csv', encoding='utf-8') as playlist_file:
FileNotFoundError: [Errno 2] No such file or directory: 'spotify.csv'

Richards-iMac:~ bavan$ PYTHONIOENCODING=utf-8 python3 /Users/bavan/Desktop/spotify2am-master/retrieve-identifiers.py
Traceback (most recent call last):
File "/Users/bavan/Desktop/spotify2am-master/retrieve-identifiers.py", line 38, in
with open('spotify.csv', encoding='utf-8') as playlist_file:
FileNotFoundError: [Errno 2] No such file or directory: 'spotify.csv'

@bavan999
Copy link
Author

bavan999 commented Jul 6, 2015

I think i solved the problem. I am now running the script in IDLE and it seems to work properly.
Hopefully the itunes.csv will be created just fine, even though i can't se the file right now.

@bavan999
Copy link
Author

bavan999 commented Jul 7, 2015

Something went really really wrong.... The script imported same song 1.4 million times...
My itunes library is so f**d.... Think i will go back to an old backup to restore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants