packt-cli / Packt-Publishing-Free-Learning

Scripts that automatically claim and download free daily eBooks from https://www.packtpub.com/packt/offers/free-learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exception occurred expected string or bytes-like object

somhi opened this issue · comments

commented

$ packt-cli -g
[INFO] - JWT token has been fetched successfully!
[INFO] - Start grabbing ebook...
[ERROR] - Exception occurred expected string or bytes-like object

Any ideas on this error I got the last two days ?

I'm on Ubuntu 18.04

What version of Python?

commented

Python 2.7.15rc1

That's true, I'll close the issue.

commented

$ python3 --version
Python 3.6.7

I also have python v3. The thing is the app has worked for more than two months, and a few days ago it started showing that error.

commented

Well now it's working again.
Just for the record I solved reinstalling again the sofware with:
pip3 install packt --upgrade

Cheers