Bug 234906 - Kget cannot resume, stays stalled
Summary: Kget cannot resume, stays stalled
Status: RESOLVED WORKSFORME
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-20 19:02 UTC by Parameshwara Bhat
Modified: 2010-05-19 15:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
This shows multisegkio plugin settings (160.41 KB, image/png)
2010-04-21 19:55 UTC, Parameshwara Bhat
Details
This shows the error state in kget (66.61 KB, image/png)
2010-04-21 19:57 UTC, Parameshwara Bhat
Details
Even after update,the problem does exist (81.20 KB, image/png)
2010-04-22 20:03 UTC, Parameshwara Bhat
Details
The messages of kget-4.4 on the konsole (90.92 KB, text/plain)
2010-04-22 20:10 UTC, Parameshwara Bhat
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Parameshwara Bhat 2010-04-20 19:02:45 UTC
Version:           2.3.5 (using 4.4.2 (KDE 4.4.2) "release 241", KDE:KDE4:Factory:Desktop / openSUSE_11.2)
Compiler:          gcc
OS:                Linux (i686) release 2.6.31.12-0.2-desktop

I started downloading three files.At different stages all stopped.Resuming them does not make them download by Kget.

If any info can be obtained from anywhere,I can give.But I know nothing about kget working.
Comment 1 Matthias Fuchs 2010-04-20 19:16:32 UTC
It would be very usefull if you started KGet from the console and posted the debug output. Also links to these files might also work.

Please also go to Settings/Configure Kget ../Plugins/ and check which plugins are activated there as well as what their settings are. What is activated? Multisegkio, KIO ..?
Comment 2 Parameshwara Bhat 2010-04-21 19:55:56 UTC
Created attachment 42943 [details]
This shows multisegkio plugin settings

Also shows what plugins are activated
Comment 3 Parameshwara Bhat 2010-04-21 19:57:30 UTC
Created attachment 42944 [details]
This shows the error state in kget
Comment 4 Parameshwara Bhat 2010-04-21 20:01:18 UTC
Follows is the output to konsole.If more info needed,ask and tell where to get the info.

Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)                                                                                
"/usr/bin/kget(11626)" Error in thread 3004598016 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"                                                                                        
"/usr/bin/kget(11626)" Error in thread 3004598016 : "QLocalSocket::connectToServer: Connection refused"                                                                               
"/usr/bin/kget(11626)" Error in thread 3004598016 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"                                                                                        
"/usr/bin/kget(11626)" Error in thread 3004598016 : "QLocalSocket::connectToServer: Connection refused"                                                                               
"/usr/bin/kget(11626)" Error in thread 3004598016 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"                                                                                        
"/usr/bin/kget(11626)" Error in thread 3004598016 : "QLocalSocket::connectToServer: Connection refused"                                                                               
kget(11626)/kdecore (KSycoca): Trying to open ksycoca from  "/var/tmp/kdecache-pbhat/ksycoca4"                                                                                        
kget(11626) KGet::loadPlugins:  TransferFactory plugin found:                              
rank =  90                                                                                 
plugintype =  QVariant(QString, "TransferFactory")                                         
kget(11626) KGet::loadPlugins:  TransferFactory plugin found:                              
rank =  70                                                                                 
plugintype =  QVariant(QString, "TransferFactory")                                         
kget(11626) KGet::loadPlugins:  TransferFactory plugin found:                              
rank =  200
plugintype =  QVariant(QString, "TransferFactory")
kget(11626) KGet::loadPlugins:  TransferFactory plugin found:
rank =  110
plugintype =  QVariant(QString, "TransferFactory")
kget(11626) KGet::loadPlugins:  TransferFactory plugin found:
rank =  40
plugintype =  QVariant(QString, "TransferFactory")
kget(11626) KGet::loadPlugins:  TransferFactory plugin found:
rank =  50
plugintype =  QVariant(QString, "TransferFactory")
kget(11626) KGet::loadPlugins: TransferFactory plugin ( "kget_mirrorsearchfactory" ) found and added to the list of available plugins
kget(11626) KGet::loadPlugins: TransferFactory plugin ( "kget_kiofactory" ) found and added to the list of available plugins
kget(11626) KGet::loadPlugins: TransferFactory plugin ( "kget_multisegkiofactory" ) found and added to the list of available plugins
kget(11626) KGet::loadPlugins: TransferFactory plugin ( "kget_metalinkfactory" ) found and added to the list of available plugins
kget(11626) KGet::loadPlugins: TransferFactory plugin ( "kget_contentfetchfactory" ) found, but not enabled
Comment 5 Matthias Fuchs 2010-04-22 18:08:46 UTC
That is quiet interesting the screenshoot of the plugins looks like you don't have the KGet shipped with KDE 4.4 SC, the version number you posted of KGet supports this (should be 2.4.2).

So please install the correct KGet version and reopen if it still fails there.
Comment 6 Parameshwara Bhat 2010-04-22 20:03:32 UTC
Created attachment 42968 [details]
Even after update,the problem does exist

As can be seen,the version was updated to 4.4.2 series,Opensuse Factory.One of the three files got downloaded.But the other two remain stalled.
Comment 7 Parameshwara Bhat 2010-04-22 20:10:55 UTC
Created attachment 42969 [details]
The messages of kget-4.4 on the konsole

This is the long endless writing to konsole.Kget cannot be stopped from writing to konsole with ctrl+c.
My konsole could give me only this much from the end.
Comment 8 Matthias Fuchs 2010-04-23 16:18:17 UTC
Hmmm, the output indicates that resuming is not supported by the webserver. Did it stall when adding the downloads initially or when closing KGet and starting it again at a later point?

What kind of internet connection do you have? Was downloading from that server very fast or rather slow?

One thing you could try is go to the settings, choose network there and if "Reconnect ..." is activated increase the time there, then restart the downloads and see if it works.
Comment 9 Parameshwara Bhat 2010-04-23 17:20:48 UTC
(In reply to comment #8)
> Hmmm, the output indicates that resuming is not supported by the webserver. Did
> it stall when adding the downloads initially or when closing KGet and starting
> it again at a later point?
Stalled when resumed.
> 
> What kind of internet connection do you have? Was downloading from that server
> very fast or rather slow?
Broadband connection
> 
> One thing you could try is go to the settings, choose network there and if
> "Reconnect ..." is activated increase the time there, then restart the
> downloads and see if it works.
I set it to 50.But same behaviour.
Your suggestion that server is not supporting is correct.But should kget not download from the beginning then?
That is the behaviour of IE which never supported resumption.

Firefox is smarter.It does not let you pause!Notifies,it cannot be paused.

I think kget should adopt both these behaviours.First do not let pause.If forcibly paused,say , by killing, then when beginning next time,start all over again.It should inform the user. I got baffled.
I think the whole thing is lack of proper handling of server not supporting resumption.
May I close it?
Comment 10 Parameshwara Bhat 2010-04-23 17:32:28 UTC
Sorry,I hastened in concluding.

After closing the bug,I saw chrome browser in which I had paused and restarted had downloaded about 50% and was continuing.I paused again,resumed again,it continued from where left off.So,there is resumption support in the server.THIS SEEMS TO BE A BUG IN KGET.
This is the link.You may play with the link to understand it better.

http://ping.windowsdream.com/ping/Releases/3.00.04/PING-3.00-WithAddons.iso
Comment 11 Matthias Fuchs 2010-05-17 22:05:57 UTC
I just tried that link with KGet 4.4.3 and it worked gere without problems. I stopped it, resumed it, closed KGet, restarted KGet, stopped it and resumed it all without problems.

So I can't reproduce the issue you face.
Comment 12 Parameshwara Bhat 2010-05-19 15:28:50 UTC
You are right,it is working for me too after an update.I do not know what bothered it previously.

Thanks for the understanding.