Not working for Ubuntu 12.04
Closed this issue · 5 comments
I've followed the instructions to the letter* but the .desktop link doesn't launch unless I right-click and choose to start with torrents paused. Even then, the emblem/progress bar doesn't show.
(update: I didn't follow them correctly. The Exec part of the .desktop file had an error. Now the application launches but I still don't get the emblems).
Running the script from the terminal outputs this:
jarlath@jarlath-EP35-DS3:~/bin$ ./transmission-unity-launcher.py
usage: transmission-unity-launcher.py [-h] [-l LAUNCHER_ENTRY_NAME]
[-H TRANSMISSION_HOST]
[-p TRANSMISSION_PORT]
[-U TRANSMISSION_USER]
[-P TRANSMISSION_PASSWORD]
[-t STARTUP_TIMEOUT]
[-u UPDATE_INTERVAL]
transmission_command
[transmission_command ...]
transmission-unity-launcher.py: error: too few arguments
You have to provide transmission binary name, like this:
./transmission-unity-launcher.py transmission-gtk
Please, run it and show script output.
Ah, okay. Here's the output of two command variations I tried. After running both of these, the launcher now works as expected. I didn't change any file contents and have no idea why only now it works:
FIRST COMMAND:
jarlath@jarlath-EP35-DS3:~/bin$ ./transmission-unity-launcher.py /home/jarlath/.local/share/applications/transmission-gtk.desktop
INFO:root:Transmission started (pid: 11912).
/home/jarlath/.local/share/applications/transmission-gtk.desktop: 2: /home/jarlath/.local/share/applications/transmission-gtk.desktop: [Desktop: not found
/home/jarlath/.local/share/applications/transmission-gtk.desktop: 4: /home/jarlath/.local/share/applications/transmission-gtk.desktop: Client: not found
/home/jarlath/.local/share/applications/transmission-gtk.desktop: 5: /home/jarlath/.local/share/applications/transmission-gtk.desktop: X-GNOME-FullName=Transmission: not found
/home/jarlath/.local/share/applications/transmission-gtk.desktop: 6: /home/jarlath/.local/share/applications/transmission-gtk.desktop: X-GNOME-FullName[ar]=ترانزميشن،: not found
/home/jarlath/.local/share/applications/transmission-gtk.desktop: 7: /home/jarlath/.local/share/applications/transmission-gtk.desktop: X-GNOME-FullName[ast]=Cliente: not found
/home/jarlath/.local/share/applications/transmission-gtk.desktop: 8: /home/jarlath/.local/share/applications/transmission-gtk.desktop: X-GNOME-FullName[be]=BitTorrent-кліент: not found
/home/jarlath/.local/share/applications/transmission-gtk.desktop: 9: /home/jarlath/.local/share/applications/transmission-gtk.desktop: X-GNOME-FullName[be@latin]=Transmisija,: not found
/home/jarlath/.local/share/applications/transmission-gtk.desktop: 10: /home/jarlath/.local/share/applications/transmission-gtk.desktop: Syntax error: "(" unexpected
INFO:root:Transmission exited with status 512, exiting.
SECOND COMMAND:
jarlath@jarlath-EP35-DS3:~/bin$ ./transmission-unity-launcher.py transmission-gtk
INFO:root:Transmission started (pid: 11917).
INFO:root:Try to connect to Transmision at localhost:9091 as None.
DEBUG:root:Get launcher entry transmission-gtk.desktop
DEBUG:root:Create controller.
DEBUG:root:Get torrents list.
DEBUG:root:1 of 1 are downloading
INFO:root:Downloading torrents count: 1, progress: 0.036319
DEBUG:root:Turtle mode: False
DEBUG:root:Get torrents list.
DEBUG:root:1 of 1 are downloading
INFO:root:Downloading torrents count: 1, progress: 0.036325
DEBUG:root:Turtle mode: False
^CTraceback (most recent call last):
File "./transmission-unity-launcher.py", line 311, in
loop.run()
KeyboardInterrupt
** Message: Got signal 2; trying to shut down cleanly. Do it again if it gets stuck.
Ok, so I close issue for now. Reopen if problem reappears.
I tested with a 62GB torrent and only now it is at 3%. Is it possible that an empty emblem isn't shown below 1%?
Never mind. I tested again and my previous comment is irrelevant.