Yeah I've been wanting to update all our deps and I already started. I hope
to finish it in the  next few days.


On Thu, May 23, 2019, 10:52 Matthias Teege <[email protected]> wrote:

> Hi,
>
> the mastodon importer fails with 'strconv.ParseInt: parsing "":
> invalid syntax'. The problem is the outdated
> github.com/mattn/go-mastodon. The problematic function is in
> mastodon.go:
>
>  func getPaginationID(rawurl, key string) (ID, error) {
>          u, err := url.Parse(rawurl)
>          if err != nil {
>                  return "", err
>          }
>
>          id, err := strconv.ParseInt(u.Query().Get(key), 10, 64)
>          if err != nil {
>                  return "", err
>          }
>
>          return ID(fmt.Sprint(id)), nil
>  }
>
> which is in upstream:
>
>  func getPaginationID(rawurl, key string) (ID, error) {
>          u, err := url.Parse(rawurl)
>          if err != nil {
>                  return "", err
>          }
>
>          return ID(u.Query().Get(key)), nil
>  }
>
> Maybe someone can update the perkeepd repository.
>
> Regards
> Matthias
>
> --
> You received this message because you are subscribed to the Google Groups
> "Perkeep" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/perkeep/20190523085227.GB3789%40mteege.de
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Perkeep" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/perkeep/CAHcDtnn31j-qWWTyVsO0%2BSNcpSxTeBMXZhf08sRA_tzS3CekKA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to