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

It was working great and now... #3

Open
YourFriendCaspian opened this issue Nov 2, 2020 · 1 comment
Open

It was working great and now... #3

YourFriendCaspian opened this issue Nov 2, 2020 · 1 comment

Comments

@YourFriendCaspian
Copy link
Contributor

This has been working perfectly for a while and then all of a sudden it started throwing this error at me:

$ ./YoutubeToKodi.py
File "./YoutubeToKodi.py", line 86
print "There is no list.txt file. You must create this file and place it in the same directory as this script. Then just add each channel or UserID as separate lines in the file"

SyntaxError: Missing parentheses in call to 'print'. Did you mean print("There is no list.txt file. You must create this file and place it in the same directory as this script. Then just add each channel or UserID as separate lines in the file")?

If I try to fix that syntax error it then spits another and then another. I tried to fully convert it to python3 but it just becomes a never ending error loop where I fix one syntax error then it gives me a different one. Any help you can give would be much appreciated. This script was always so much better than trying to navigate the YouTube addon.

I'm on:

  • Operating System: Manjaro Linux
  • KDE Plasma Version: 5.19.5
  • KDE Frameworks Version: 5.74.0
  • Qt Version: 5.15.1
  • Kernel Version: 5.8.16-2-MANJARO

Thanks for everything,
yourfriendcaspian

@nuentes
Copy link
Owner

nuentes commented Nov 2, 2020

I'll refer you to known issue 1 from the Kodi post: The developer doesn't know python

I have personally kept this script running on python2. I'm just not really interested in upgrading the script to using python3. It's easy enough to install the older version of python - I think you can even get a portable version if you don't want to fully install it.

I'm probably not going to touch this script until it breaks for me. But I'll approve any code changes users put through that I test/validate.

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