Seklfreak / discord-image-downloader-go

A simple tool which downloads pictures posted in discord channels of your choice to a local folder.
MIT License
352 stars 91 forks source link

error opening connection, strconv.ParseInt: parsing "1675673635.468": invalid syntax #221

Open Feriman22 opened 1 year ago

Feriman22 commented 1 year ago

Hey,

I used this tool once, it worked, but second time (with different account) it's not working. The output when I start the application with filled config.ini file:

feriman@DESKTOP-1OG3P80:~$ ./discord-image-downloader-go-linux-amd64
> discord-image-downloader-go v1.38 -- discordgo v0.22.0
reading config from config.ini
Creating new database...
error opening connection, strconv.ParseInt: parsing "1675673635.468": invalid syntax

I tried with normal account, and with/without 2FA, but same issue. I also tried on different machines, and different operating systems (Debian, Ubuntu, CentOS, and Windows 10)

The email address is 25 characters long, maybe is this the root cause? The first account's email address is only 19 characters long.

Thank you! Feriman

steinhaug commented 1 year ago

I also got this error.

error opening connection, strconv.ParseInt: parsing "1685535514.997": invalid syntax

The strange thing is that when I first downloaded and tried this tool all worked fine, this is the second time I'm trying the tool and this is when I get the error. So something must have changed other than the EXE (im on windows)

FIX

I downloaded the previous release, v1.37 and this one works fine. So just download previous release and swap the exe.