scripts icon indicating copy to clipboard operation
scripts copied to clipboard

shortenurl.py broken (at least for isgd)

Open jsaalfeld opened this issue 6 years ago • 1 comments

The URL shortener-script shortenurl.py doesn't return shortened URLs (at least, when isgd is selected as shortener).

2019-07-11 08_56_02-Arch Linux - VMware Workstation

It seems, that the try block for retrieving the shortened URL doesn't work properly.

The bug is the same as in the last pull request #317 I did, but the error has to be a different one, since the workaround still returns valid results.

Keep in mind, that the script needs to be compatible with python2 and python3 (check https://weechat.org/scripts/python3/ for more information). It still has to be checked if the other services (bit.ly and tinyurl) still work properly.

jsaalfeld avatar Jul 11 '19 07:07 jsaalfeld

I think this one had been previously fixed despite flash never having marked it resolved … but it seems to have resurfaced:

17:45:57 <dpkg> Pinning is a method to choose which version of a package to install when multiple versions are available from <sources.list>.  Bugs are explained at https://web.archive.org/web/20121017070250/http://carlo17.home.xs4all.nl/howto/debian.html#errata .  If you use stable, pinning won't help you from messing up the system, ask me about <backports> instead.  https://wiki.debian.org/AptPreferences
17:45:57 [ https://is.gd/create.php?format=simple&url=https%3A%2F%2Fweb.archive.org%2Fweb%2F20121017070250%2Fhttp%3A%2F%2Fcarlo17.home.xs4all.nl%2Fhowto%2Fdebian.html%23errata ]

That used to happen once in awhile, but it seems to be happening with all links now.

knghtbrd avatar Oct 25 '21 01:10 knghtbrd