Registered Member
|
Hello,
I'm trying to run the "hello world" example kross script from: http://ktorrent.org/wiki/index.php/Writing_Scripts My system is: Ubuntu 10.04 KTorrent 3.3.4 Kross:
KDE Development Platform: 4.4.2 (KDE 4.4.2) Kross: 0.1
It seems that the KTorrent module cannot be found. Does anyone have any suggestions? Cheers, Christian |
Moderator
|
You are running this from inside the scripting plugin ?
|
Registered Member
|
No, I am trying to run this from the command-line using:
$kross hello_world.py I'd like to be able to run from the command-line for debugging purposes before running from the scripting plugin. Is this possible? Do I need to specify some paths/parameters to kross? Thanks for your help! |
Moderator
|
You can't do that, the scripting plugin loads several modules which are not loaded by the kross commandline tool. So obviously you get these errors.
And making them loadable from the kross commandline (if that's possible), would also not make sense, because these modules need the rest of ktorrent to function properly. |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]