
UrlCompressor
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
A plasmoid that compresses a long URL into a short URL using is.gd service. It's more convenient for posting in services like Identi.ca, Twitter, FriendFeed, Plurk, Facebook and Jaiku where you are limited on the number of characters.
Usage: Enter the long URL & press shorten button.
After successfull compression the short link is copied to clipboard.
Requirements: python-plasma, pycurl, pykde4, pyqt4
Install: plasmapkg -i 101695-urlcompressor.plasmoid
11 years ago
0.2
- Link in notification
11 years ago
0.2
- Link in notification
coolas
10 years ago
Traceback (most recent call last):
...
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 12: ordinal not in range(128)
how do you fix please?
Report
brucew
11 years ago
Still returns error message "script initialization failed".
Seems that there is a permissions/UID issue.
If I try to install it by CLI, the result is:
<quote>
~/$ sudo plasmapkg -i 101695-urlcompressor.plasmoid
Error: "/var/tmp/kdecache-brucewIE2q28" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-brucew" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-brucew" is owned by uid 1000 instead of uid 0.
Error: "/tmp/ksocket-brucew" is owned by uid 1000 instead of uid 0.
kdeinit4: Shutting down running client.
kdeinit4: preparing to launch /usr/lib/libkdeinit4_klauncher.so
Error: "/tmp/ksocket-brucew" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-brucew" is owned by uid 1000 instead of uid 0.
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kded4.so
Error: "/var/tmp/kdecache-brucewIE2q28" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-brucew" is owned by uid 1000 instead of uid 0.
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kbuildsycoca4.so
kbuildsycoca4 running...
Error: "/var/tmp/kdecache-brucewIE2q28" is owned by uid 1000 instead of uid 0.
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kbuildsycoca4.so
kbuildsycoca4 running...
Error: "/var/tmp/kdecache-brucewIE2q28" is owned by uid 1000 instead of uid 0.
Error: "/var/tmp/kdecache-brucewIE2q28" is owned by uid 1000 instead of uid 0.
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kconf_update.so
Installation of /home/brucew/Downloads/Linux/Kubuntu/KDE/plasmoid/101695-urlcompressor.plasmoid failed.
</quote>
Report
SteveMcQwark
11 years ago
Report
Kirilo
11 years ago
1. The plasmoid should appear in the list anyhow, so no problem, if you can use it.
2. If you can't use it (big red X), uninstall it in GHNS, install python-devel and check if you have the other packages installed.
3. Install the script again. The error message will remain, but it should work.
Report
SteveMcQwark
11 years ago
Report
SteveMcQwark
11 years ago
Report
nxbalazs
11 years ago
Report