
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
Please leave feedback (as a comment) if you don't like the widget :)
INTRO
Ryomld is a theme that display your current MLDonkey downloads in the desktop, so that you know in every moment what things you are downloading, and what things have just finished. Also, it will display the networks that are enabled, and how many servers are connected to every network.
FEATURES
- If you are using the default MLDonkey configuration, this theme should work out-of-the-box.
- Low CPU usage.
- Very compact, it shouldn't take much desktop space.
- Customizable: in the configuration dialog, you can select the font size, the color of every thing displayed, the number of downloads to show, etc.
- You can scroll through the download list using the mouse wheel.
- Also you can sort by name, downloaded size, availability, number of sources or download rate, left clicking on the desired column. If you click again in the same column the order will be reversed.
- Uses the look-and-feel of one of the greatest themes ever for Karamba: cynapses karamba.
REQUIREMENTS
- Packages needed
- MLDonkey
- SuperKaramba
- Python
- PyQT (optional)
TESTED USING
- MLDonkey 2.6.4
- SuperKaramba: 0.36, 0.37_rc2
- Python: 2.3.5
- PyQT: 3.13
PyQT isn't needed for displaying the theme, but it is required for an easy configuration. In the event that PyQT is detected, you will be able to configure the theme from the configure menu. Otherwise, you will have to manually hack the file ryomldoptions.py, that can be found in the location where you unpacked the package, or in ~/.kde/share/apps/superkaramba/themes/ryomld-x.x if you downloaded the theme using SuperKaramba.
RyoMLD should work with MLDonkey versions that understand the protocol version 27 or higher (I know MLDonkey >= 2.5.28 does). To use it with older versions you will have to uncheck the option "Refuse to connect to unsupported MLDonkey cores" in the configuration dialog; but bear in mind that it may not work at all with older MLDonkey versions. Please don't send me bugs if you don't use a supported core. By supported I mean a core with version >= 2.5.28
In order to see the widget correctly you will have to install the included Neuropol TTF font (./fonts/neuropol.ttf). To install it you have to right click on the font and select "Install" from the menu.
15 years ago
2.5:
- Fixed some bugs.
2.4:
- Improved the look and feel of the readme.
- Fixed some bugs.
- Now, if the widget crashes, instead of hanging SuperKaramba, it will dump a
file with information about the crash in themepath/traceback
2.3:
- Backported to protocol 27, now it should work with more MLDonkey cores.
2.2:
- Added a bandwidth usage display.
- Lowered the CPU usage.
- Fixed some bugs.
2.1:
- Added a PyQT dialog that allows to graphically config the widget.
- The widget will work with all kind of fonts, even with non monospaced fonts.
- If you click on the MLDonkey icon, kmldonkey (or other MLDonkey GUI) will be
opened.
2.0: "pythonised" the widget.
1.0: initial release (for plain karamba).
15 years ago
2.5:
- Fixed some bugs.
2.4:
- Improved the look and feel of the readme.
- Fixed some bugs.
- Now, if the widget crashes, instead of hanging SuperKaramba, it will dump a
file with information about the crash in themepath/traceback
2.3:
- Backported to protocol 27, now it should work with more MLDonkey cores.
2.2:
- Added a bandwidth usage display.
- Lowered the CPU usage.
- Fixed some bugs.
2.1:
- Added a PyQT dialog that allows to graphically config the widget.
- The widget will work with all kind of fonts, even with non monospaced fonts.
- If you click on the MLDonkey icon, kmldonkey (or other MLDonkey GUI) will be
opened.
2.0: "pythonised" the widget.
1.0: initial release (for plain karamba).
ambermoon
15 years ago
Unfortunatly the ryolog configure dialog isn't working anymore. While it was on 1.1.
btw. there's a error in the readme path. the /doc/ is missing. (ryolog).
Report
ambermoon
15 years ago
Thanks for your great themes!
Report
IrYoKu
15 years ago
Report
IrYoKu
15 years ago
The doc directory is missing? I have downloaded the 1.2 tarball and it's there.
Report
gunnicom
15 years ago
Call to widgetUpdated failed
Traceback (most recent call last):
File "/home/gunni/themes/superkaramba/ryomld-2.3/ryomld.py", line 919, in widgetUpdated
processMessages()
File "/home/gunni/themes/superkaramba/ryomld-2.3/ryomld.py", line 883, in processMessages
downloadList.processMessage(mlDonkeyMessage)
File "/home/gunni/themes/superkaramba/ryomld-2.3/ryomld.py", line 380, in processMessage
updateFileInfo(fileDownloadUpdate)
File "/home/gunni/themes/superkaramba/ryomld-2.3/ryomld.py", line 362, in updateFileInfo
fileInfo = self.__fileInfoDict[fileDownloadUpdate.id]
KeyError: 342
Report
IrYoKu
15 years ago
Sorry for the previous buggy versions!
Report
gunnicom
15 years ago
If i want to play a shooter game i would like to have much resources free for the game, so it would be nice if there are buttons or something like that in the theme from which i can start/stop mldonkey.
So if i start an application/game that needs much cpu/bandwidth i can click on one button so that my donkey falls asleep, and when i am finished i can wake him up with one click.
If it is not possible or too much work, thx anyways for that great theme.
Frank
Report
IrYoKu
15 years ago
Report
gunnicom
15 years ago
[email protected]:~/themes/superkaramba/ryomld-2.2$ superkaramba ryomld.theme
superkaramba: Starting theme: RyoMLD
superkaramba: /home/gunni/.superkaramba/ryomld.rc
superkaramba: Loading python module: ryomld
ryomld loaded
sys.path.insert(0, '/home/gunni/themes/superkaramba/ryomld-2.2/')
Call to widgetUpdated failed
Traceback (most recent call last):
File "/home/gunni/themes/superkaramba/ryomld-2.2/ryomld.py", line 919, in widg etUpdated
processMessages()
File "/home/gunni/themes/superkaramba/ryomld-2.2/ryomld.py", line 883, in proc essMessages
downloadList.processMessage(mlDonkeyMessage)
File "/home/gunni/themes/superkaramba/ryomld-2.2/ryomld.py", line 376, in proc essMessage
fileInfo = message.getFileInfo()
File "/home/gunni/themes/superkaramba/ryomld-2.2/mldonkey.py", line 366, in ge tFileInfo
return self.__readFileInfoSubset()
File "/home/gunni/themes/superkaramba/ryomld-2.2/mldonkey.py", line 302, in __ readFileInfoSubset
self.__skipListOf(self.__skipString) # fileInfo.uids
File "/home/gunni/themes/superkaramba/ryomld-2.2/mldonkey.py", line 197, in __ skipListOf
nItems = self.__readInt16()
File "/home/gunni/themes/superkaramba/ryomld-2.2/mldonkey.py", line 108, in __ readInt16
i, = struct.unpack("< h", self.__data[self.__pos:self.__pos + 2])
struct.error: unpack str size does not match format
Report
IrYoKu
15 years ago
Report
gunnicom
15 years ago
But my version is:
MLNet 2.5-28.1: Multi-Network p2p client (Global Shares Gnutella G2 FileTP BitTorrent Donkey)
Thx for that Version 2.3 of ryomld :) :) :)
Report
ambermoon
15 years ago
Very nice work!
But I'm not able to configure the mldonkey part. i've installed ryolog and it works perfectly including configure. but in ryomld the configure entry shows up but not the config window.
any hints?
p.s. I should have all required libs...
Report
IrYoKu
15 years ago
superkaramba ryomld.theme
Then try to open the config dialog, and paste in this thread all the program output in the Konsole window, so that I can see what's the problem.
Report
ambermoon
15 years ago
superkaramba: Starting theme: RyoMLD
superkaramba: /home/ambi/.superkaramba/ryomld.rc
superkaramba: Loading python module: ryomld
ryomld loaded
sys.path.insert(0, '/home/ambi/software/karamba/ryomld-2.1/')
Traceback (most recent call last):
File "/home/ambi/software/karamba/ryomld-2.1/config.py", line 36, in ?
configDialog = configdialog.ConfigDialog()
File "/home/ambi/software/karamba/ryomld-2.1/configdialog.py", line 20, in __init__
self.setSizePolicy(QSizePolicy(5,5,0,0,self.sizePolicy().hasHeightForWidth()))
TypeError: argument 1 of QSizePolicy() has an invalid type
Report
IrYoKu
15 years ago
Also you can try to close all the other karambas before trying to open the configure dialog. There are problems with module paths in current sk, but again I doubt this is the problem.
As an alternative you can try to manually edit the file options.py.
Please post here you discoverings :)
Report
ambermoon
15 years ago
But after launching this error occures:
sys.path.insert(0, '/home/ambi/software/karamba/ryomld-2.1/')
Call to widgetUpdated failed
Traceback (most recent call last):
File "ryomld.py", line 807, in widgetUpdated
processMessages()
File "ryomld.py", line 756, in processMessages
message.receive(mlDonkeySocket)
File "mldonkey.py", line 478, in receive
self.__data = s.recv(self.__size - 2)
ValueError: negative buffersize in recv
This time I started ryomld absolutely alone without any other karamba theme
any idea?
Report
IrYoKu
15 years ago
Report
IrYoKu
15 years ago
Report
ambermoon
15 years ago
I have mldonkey on a remote machine version 2.6.4
Report
Alastor2602
15 years ago
Greetings.
Alastor2602
Report
TOD
15 years ago
Good job!! Really good!
Where can i get the other karambas shown in the scrennshot?
Like Log viewer, Voltmeter and Email?
Thx
TOD
PS your cpu is so high becuase you run superkaramba!
Report
IrYoKu
15 years ago
The other ones are:
- cynapses karamba:
http://www.kde-look.org/content/show.php?content=11405
- Liquid Weather ++:
http://www.kde-look.org/content/show.php?content=6384
- ryolog:
http://www.kde-look.org/content/show.php?content=28763
The cpu usage is so high because of ksnapshot, that was taking the image, normally I have a cpu usage of 13-16% because of superkaramba and the daemons I have running in the background.
In my system, ryolog takes a 1% of cpu usage, and ryomld2 7%, with many downloads.
Happy theming ;)
Report