Version: 0.7.91>=20030909 (using KDE 3.1.9) Compiler: gcc version 3.3.1 20030904 (Gentoo Linux 3.3.1-r1, propolice) OS: Linux (i686) release 2.6.0-test5 every once and a while...for apparently no reason, I get a error message that looks like the following Message box title bar: "ERROR - kopete" Message box: messagebox_critical.png is shown to the left of text that states "Malformed URL" and underneath is an OK button. I have no real clue as to what this error is refering to, if it is a ligitamite error, it should be more understandable.
Some other people already reported this problem. I personaly never seen it. have you any idea where that happens? There are no "Malformed URL" string in the whole kopete sources
I had this issue, but I believe it was kget retrying a download. At least since I emptied its queue I have not received the error. Tom
Looks like a bug in KDE HEAD or so...
i'm not seeing the error either. Please reopen if you can give us a way to reliably reproduce it
grrr, oops. reopening so i can close it with the right reason.
this is what I meant the first time.
I get this same error after upgrading from 0.7 to 0.7.2. (texstar) I also cannot login to my icq since the upgrade. i am running 3.1.3
In KDE 3.1.94 (Kopete 0.7.4) the error remains. Everytime when I change status (at least on ICQ and MSN) I get this error after a few seconds.
Are you using the webpresence plugin ?
Stupid me, I think that plugin caused this error. But isn't it possible to surpress this error?
In fact i don't know, it's just a supposition (a guess)
Subject: Re: Malformed Url error, out of nowhere no, it's an error in KIO and cannot be suppressed.
Subject: Re: [Kopete-devel] Malformed Url error, out of nowhere On Tuesday 30 December 2003 05:35, Matt Rogers wrote: > no, it's an error in KIO and cannot be suppressed. Actually, why can't it? I mean, where does the error come from in the first place? I'd say we're simply feeding KIO with some bogus data and that for sure _can_ be fixed on our side.
Subject: Re: [Kopete-devel] Malformed Url error, out of nowhere I'll have a look at it.
I should have already fixed an error like this in CVS. I wonder if I missed a case
Subject: Re: Malformed Url error, out of nowhere > On Tuesday 30 December 2003 05:35, Matt Rogers wrote: > > no, it's an error in KIO and cannot be suppressed. > > Actually, why can't it? I mean, where does the error come from in the first > place? I'd say we're simply feeding KIO with some bogus data and that for > sure _can_ be fixed on our side. I should clarify: The code that causes this error is in Kopete, but we can't suppress the messagebox that is popped up when we cause this error. Anyways, I fixed something like this in CVS already.
So test for the file's existence before attempting to use it, and put in a sensible default. Do not allow the default to be changed without verifying that the input location is valid (perhaps make it be browsed for?).
Ok, so am I missing something? Is there a fix for this? The client works ok, but the error is annoying.
To workaround it, just make sure the file specified in the configuration for the web presence plugin is valid. This shouldn't be resolved, though.
Subject: kdenetwork/kopete/plugins/webpresence CVS commit by mattr: Fix bug 64051. Make sure the that url specified is actually valid before trying to upload the file. Also moved some stuff around so that if there's an error, no unnecessary processing occurs. CCMAIL: 64051@bugs.kde.org M +8 -8 webpresenceplugin.cpp 1.44 --- kdenetwork/kopete/plugins/webpresence/webpresenceplugin.cpp #1.43:1.44 @@ -137,13 +137,15 @@ void WebPresencePlugin::slotWriteFile() bool error = false; // generate the (temporary) XML file representing the current contactlist - KTempFile* xml = generateFile(); - xml->setAutoDelete( true ); - - if ( url.isEmpty() ) + KURL dest( url ); + if ( url.isEmpty() || !dest.isValid() ) { - kdDebug(14309) << "url is empty. NOT UPDATING!" << endl; + kdDebug(14309) << "url is empty or not valid. NOT UPDATING!" << endl; error = true; } + if ( !error ) + { + KTempFile* xml = generateFile(); + xml->setAutoDelete( true ); kdDebug(14309) << k_funcinfo << " " << xml->name() << endl; @@ -165,9 +167,7 @@ void WebPresencePlugin::slotWriteFile() delete xml; // might make debugging harder! } - if ( !error ) - { + // upload it to the specified URL KURL src( m_output->name() ); - KURL dest( url ); KIO::FileCopyJob *job = KIO::file_copy( src, dest, -1, true, false, false ); connect( job, SIGNAL( result( KIO::Job * ) ),
Subject: KDE_3_2_BRANCH: kdenetwork/kopete/plugins/webpresence CVS commit by mattr: Backport the patch that fixes bug 64051. CCMAIL: 64051-done@bugs.kde.org M +8 -8 webpresenceplugin.cpp 1.41.2.2 --- kdenetwork/kopete/plugins/webpresence/webpresenceplugin.cpp #1.41.2.1:1.41.2.2 @@ -137,13 +137,15 @@ void WebPresencePlugin::slotWriteFile() bool error = false; // generate the (temporary) XML file representing the current contactlist - KTempFile* xml = generateFile(); - xml->setAutoDelete( true ); - - if ( url.isEmpty() ) + KURL dest( url ); + if ( url.isEmpty() || !dest.isValid() ) { - kdDebug(14309) << "url is empty. NOT UPDATING!" << endl; + kdDebug(14309) << "url is empty or not valid. NOT UPDATING!" << endl; error = true; } + if ( !error ) + { + KTempFile* xml = generateFile(); + xml->setAutoDelete( true ); kdDebug(14309) << k_funcinfo << " " << xml->name() << endl; @@ -165,9 +167,7 @@ void WebPresencePlugin::slotWriteFile() delete xml; // might make debugging harder! } - if ( !error ) - { + // upload it to the specified URL KURL src( m_output->name() ); - KURL dest( url ); KIO::FileCopyJob *job = KIO::file_copy( src, dest, -1, true, false, false ); connect( job, SIGNAL( result( KIO::Job * ) ),