ksharindam / gospel-pdf-viewer

Poppler based fast pdf viewer written in PyQt5
GNU General Public License v3.0
10 stars 4 forks source link

error int cast #1

Closed davidenitti closed 5 years ago

davidenitti commented 5 years ago

I have this error

File "gospel-pdf-viewer/gospel_pdf/main.py", line 238, in __init__
 width = int(self.settings.value("WindowWidth"))
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
ksharindam commented 5 years ago

I will fix this today

On Thu 29 Aug, 2019, 3:39 AM Davide Nitti <notifications@github.com wrote:

I have this error

File "gospel-pdf-viewer/gospel_pdf/main.py", line 238, in init width = int(self.settings.value("WindowWidth")) TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ksharindam/gospel-pdf-viewer/issues/1?email_source=notifications&email_token=AEKWXPTHY3YIUCY25EXECKLQG3ZTHA5CNFSM4IRVEBTKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HIBN6HA, or mute the thread https://github.com/notifications/unsubscribe-auth/AEKWXPXAKOQU5ZE66L74HDTQG3ZTHANCNFSM4IRVEBTA .

ksharindam commented 5 years ago

this has been fixed now. test it.

davidenitti commented 5 years ago

it works, thanks!