RyoMLD

Karamba & Superkaramba

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

0
Score 50.0%
Description:

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.
Last changelog:

14 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

14 years ago

RyoMlD works great now. After running make, the configure dialog works now.

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

14 years ago

Forget what I said yesterday. After Reboot, everything works fine today ;-)

Thanks for your great themes!

Report

C

IrYoKu

14 years ago

I have been thinking, and if the dialog works after running make, maybe the problem is in the pyqt version. I have tested the widgets with pyqt 3.13. You can try to upgrade to that version, or to run make in the ryolog directory.

Report

C

IrYoKu

14 years ago

I have tried in both Gentoo & Debian with different python, mldonkey, superkaramba and pyqt versions, and I am not able to reproduce this bug :( As I cannot reproduce it, I will not be able to fix it. If you have tried all the things I told you in the previous message, and none fixed the problem, I don't know what more you can try. Also, it's strange that, in order to use the dialog, you need to run make, as in principle this shouldn't be needed.

The doc directory is missing? I have downloaded the 1.2 tarball and it's there.

Report

gunnicom

14 years ago

I cannot reproduce this clearly, but the following error occurs sometimes:

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

C

IrYoKu

14 years ago

Fixed in the new version, now it's much more robust.

Sorry for the previous buggy versions!

Report

gunnicom

14 years ago

Now that this nice theme is running on my desktop i had an idea:

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

C

IrYoKu

14 years ago

For the moment I am not going to add new features, but I might consider it in the future ;)

Report

gunnicom

14 years ago

I get the following error on startup of Version2.2:

gunni@ubuntu:~/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

C

IrYoKu

14 years ago

My guess is that you are using an unsupported core. Anyway I backported RyoMLD to protocol 27, that is probably the version you are using ;)

Report

gunnicom

14 years ago

Thx man that did the trick ... thought it was an actual because i installed Ubuntu Breezy and this came out 4 days 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

14 years ago

Hi,

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

C

IrYoKu

14 years ago

Can you try to launch the theme from the command line? You have to open a Konsole window in the theme directory and type:

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

14 years ago

Thanks for your help:

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

C

IrYoKu

14 years ago

Don't looks good, as it's failing at doing something that ryolog does in exactly the same way. You can try to delete the config files (~/.superkaramba/ryomld*.rc) and realoding the theme, but I think this shouldn't fix the problem.

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

14 years ago

Ok, I managed to config ryomld via options.py and compilation of options.py.

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

C

IrYoKu

14 years ago

This was a bug in the 2.1 version. I highly recommend you upgrading, as the 2.2 version is much faster.

Report

C

IrYoKu

14 years ago

I think I have solved this in the 2.4 version, please try it and give me feedback :)

Report

ambermoon

14 years ago

I upgraded to 2.3. It connects but immediatly hangs the whole superkaramba.

I have mldonkey on a remote machine version 2.6.4

Report

Alastor2602

14 years ago

This is a fantastic theme for my linux pc :-) Very Good
Greetings.
Alastor2602

Report

TOD

14 years ago

Hi

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

C

IrYoKu

14 years ago

I am glad you like it :)

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

14 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).

12345678910
product-maker Base: 4 x 5.0 Ratings
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
2.5
updated Oct 31 2005
added Sep 06 2005
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0