[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 128332] extended DCOP interface allowing remote control of
From:       Adam Forsyth <agforsyth () gmail ! com>
Date:       2006-06-01 20:29:46
Message-ID: 20060601202946.13889.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=128332         
agforsyth gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #16396|0                           |1
        is obsolete|                            |



------- Additional Comments From agforsyth gmail com  2006-06-01 22:29 -------
Created an attachment (id=16410)
 --> (http://bugs.kde.org/attachment.cgi?id=16410&action=view)
updated dcop shell script: hopefully fix problems

I don't have that problem, but I bet I know what causes it. I do some wierd
stuff to make sure I get line break separated input instead of space separated
input. As a result, the $ktorrent variable has to look like this:

/usr/bin/dcop
--user
username
ktorrent
KTorrent method arg

For me, that seems to work whether or not I mess with line breaks vs. spaces,
but maybe for you it doesn't. However, if I remove the line breaks from the
variable, I get the same error as you.

I have changed it so that all calls to dcop are made while the same settings
are in effect. It doesn't break anything for me. Please let me know if it fixes
things for you. I also added an "about this script" option to the main menu (so
there would be an even number of choices).

If that doesn't fix it for you, keep reading. At the main menu, do you see
something like this:

Totals:
Transferred up: 46.4 MB / down: 576.4 MB
Speed up: 0.0 KB/s / down: 0.0 KB/s
DHT: 0 nodes, 0 tasks
(Menu Here)

If you see that, could you put:

echo "\"$ktorrent\""; read

on the line right before you get the error and tell me what you see? (The read
gives you time to see what it says). If you don't see that, please put that
statement in the mainmenu function around line 260.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic