allejok96 / jw-scripts

Index or download videos and sound recordings from jw.org.
GNU General Public License v3.0
49 stars 10 forks source link

TypeError on Ubuntu #5

Closed mildnl closed 7 years ago

mildnl commented 7 years ago

I tried to use your programm as it is exactly what I need. Thank you for your work. Problem is that I dont know much about python so cant help much myself atmo.

When I try to load the jwb-index command as given in your example I get the follwoing error message. TypeError: the JSON object must be str, not 'bytes'

When I try to run the programm on my windows laptop over an ide it works fine but not through the terminal on ubuntu.

image

allejok96 commented 7 years ago

I've seen that error too, it happens in python 3.5, but not 3.6 which I tested it on originally. This is the first REAL python program I've made, so I'm a bit of a noob myself ;) Naturally I must make it work with 3.5. Will take a look at it soon.

allejok96 commented 7 years ago

Tested on Python 3.4 and seems to work now.