Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[kget] - Bored of kget annoyances - (Open)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Thu Oct 06, 2005 8:38 pm    Post subject: [kget] - Bored of kget annoyances - (Open) Reply with quote

So much time using kget under kde as download manager, and never managed to download something bigger than 4 or 5 mb without the download being stopped. The thing comes always to this end: the download stops (though its state does not change) and all the options in the right click menu are greyed out except "Delete"). If I try another time the download the thing is still the same.

So much kde versions, so much years, so much different sites... An still the same. So I managed today to fix this little annoyance:

Code:

[ /usr/local/portage/x11-terms/yakuake ]-[0]: emerge -C kget


Now I need a download manager. I would like konqueror integration and multithreaded downloads, as well as the resume download feature. If your suggestion does not have the konqueror integration dont post it, because in that case I will be more than glad to use wget, that never fails and resume the broken downloads right in all cases. I tried kbear, but it does not compile (using kde-3.5_beta1):

Code:

cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
kbearftp.cpp:583:2: warning: #warning is a GCC extension
kbearftp.cpp:583:2: warning: #warning response from firewall needs testing
kbearftp.cpp: In member function `bool KBearFtp::ftpOpenDataConnection()':
kbearftp.cpp:1189: warning: 'disableEPSV' might be used uninitialized in this function
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -DQT_CLEAN_NAMESPACE -UQT_NO_COMPAT -DQT_NO_ASCII_CAST -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new    -o kio_kbearftp.la.closure kio_kbearftp_la_closure.lo -avoid-version -module -no-undefined -avoid-version -module -no-undefined -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib  -L/usr/lib -L/usr/qt/3/lib -L/usr/kde/3.5/lib  kbearftp.lo -lXext -lX11 -lkio -lqt-mt  -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread -lkdecore -lkdeui -lkio
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -DQT_CLEAN_NAMESPACE -UQT_NO_COMPAT -DQT_NO_ASCII_CAST -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new    -o kio_kbearftp.la -rpath /usr/kde/3.5/lib/kde3 -avoid-version -module -no-undefined -avoid-version -module -no-undefined -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib  -L/usr/lib -L/usr/qt/3/lib -L/usr/kde/3.5/lib  kbearftp.lo -lXext -lX11 -lkio -lqt-mt  -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread -lkdecore -lkdeui -lkio
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
make[4]: Leaving directory `/home/i92guboj/opt/kde/kbear-3.0alpha1b/kbear/ftp'
make[3]: Leaving directory `/home/i92guboj/opt/kde/kbear-3.0alpha1b/kbear/ftp'
Making all in lib
make[3]: Entering directory `/home/i92guboj/opt/kde/kbear-3.0alpha1b/kbear/lib'
Making all in jobclasses
make[4]: Entering directory `/home/i92guboj/opt/kde/kbear-3.0alpha1b/kbear/lib/jobclasses'
/usr/qt/3/bin/moc ./kbearfilecopyjob.h -o kbearfilecopyjob.moc
if /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../kbear/lib/interfaces -I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new  -MT kbearfilecopyjob.lo -MD -MP -MF ".deps/kbearfilecopyjob.Tpo" \
  -c -o kbearfilecopyjob.lo `test -f 'kbearfilecopyjob.cpp' || echo './'`kbearfilecopyjob.cpp; \
then mv ".deps/kbearfilecopyjob.Tpo" ".deps/kbearfilecopyjob.Plo"; \
else rm -f ".deps/kbearfilecopyjob.Tpo"; exit 1; \
fi
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
In file included from ../../../kbear/lib/interfaces/connectionmanager.h:34,
                 from kbearfilecopyjob.cpp:46:
../../../kbear/lib/interfaces/siteinfo.h:166: error: extra `;'
In file included from kbearfilecopyjob.cpp:46:
../../../kbear/lib/interfaces/connectionmanager.h:142: error: extra `;'
make[4]: *** [kbearfilecopyjob.lo] Error 1
make[4]: Leaving directory `/home/i92guboj/opt/kde/kbear-3.0alpha1b/kbear/lib/jobclasses'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/i92guboj/opt/kde/kbear-3.0alpha1b/kbear/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/i92guboj/opt/kde/kbear-3.0alpha1b/kbear'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/i92guboj/opt/kde/kbear-3.0alpha1b'
make: *** [all] Error 2           


Thanks in advance people. ;)

EDIT: I think there is nothing in portage that match my exigences. I tried also to download kbear latest beta, and the same error appears when compiling.
Back to top
View user's profile Send private message
opensas
Guru
Guru


Joined: 24 Nov 2004
Posts: 408
Location: Buenos Aires - Argentina

PostPosted: Fri Oct 07, 2005 4:51 am    Post subject: Reply with quote

Hi 6thpink

I've just managed to make my adsl usb modem to work, and the first thing I'm doing is looking for a fine download manager for linux (kind of FDM for windows)

In this doc http://www.linux-magazine.com/issue/01/Download_Managers.pdf it says something about some caitoo thing which is supossed to replace kget, but I think is's been discontinued

I'll give a try to SDM (sun download manager), but it's a rpm, so I'll have to find out how to install it (couldn't find it in the portage tree)

If you see something worth trying, let us know

Saludos

Sas
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Fri Oct 07, 2005 4:36 pm    Post subject: Reply with quote

Hola otra vez ;)

Well, I'm sorry to say that I havent found any decent GUI. I'm still looking, yesterday I looked into www.sourceforge.net. Caitoo, amongst many others are there, but is discontinued as you say. I would like to try kbear but it won't compile in my machine, the same applies for kmago (I think kbear is based on it, and the compilation errors are the same, maybe my kde is too updated).

There is also kasablanca and kftpget (in portage, but they did not convince me, although, I can't say they are bad programs, since I haven't even tried for enough time to evaluate them). D4x is in portage, but is very buggy, as prozilla and its GUI.

For now (unless I find something) I will go with command wget. I will look on some other command line tools, since, at least for now, in GUI terms I am hopeless.

Changing topic: to unpack the sdm rpm package you can use rpm2targz, from the package called rpm2targz, which will convert the rpm into a tgz package, that you can unpack. You need a java runtime environment to run it, which is not a good thing, and anyway, I tried it and is the most featureless download manager ever seen.

Have no doubt that if I dig something deeper and find anything interesting I will notify here. :)

Saludos ;)
Back to top
View user's profile Send private message
opensas
Guru
Guru


Joined: 24 Nov 2004
Posts: 408
Location: Buenos Aires - Argentina

PostPosted: Sat Oct 08, 2005 2:35 am    Post subject: Reply with quote

Hi 6thpink

I was thinking what would be a fairly simple and at the same time flexible solution to our task.

I would certainly require some kde programming skill -which I lack- but may be we can motivate some enthusiast developer to take this endeavour.

I thought this solution would be a tiny-little plug-in, that catches every click on a file from konqueror, and then (after diplaying the save to dialog) and according to a kmyget.conf file, fires up a console based download manager, passing the name of the url and the destination.

The output of the console shoud be redirected to some log file, in order to let this little plugins get such info as the size of the file, the percentage, estimated time and stuff like that, using once more some definitions from the conf file with greps and cuts to get the appropiated data.

Besides, the plugin should keep a list of every download, including start time, state (running, stopped, completed) log file (that is the output of the console app), and maybe some statistical data (time elapsed), in order to resume the downloads.

I think it would be a pretty handy and easy to configure tool. The conf file should come with wget, axel, scurl and other preconfigured, with a didactic purpouse in mind.

It could even have a bash wrapper ( mygetget.sh url dest, mygetesume.sh [url | all], mygetesume.sh [url | all], myget.sh info url [elapsed | pending | size | percentaje | downloadedsize ] and other like that) it wouldn't be too difficult to adapt it to other browsers.

And for displaying the status, it could even be reused the same konqueror's advance bar.

Well, I don't know, may be I'm missing something and this is not as easy as I think, or may be it isn't feasible at all.

If you like the idea, may be we can work it out a little more, and then "lobby" around to see if we can arouse someone's enthusiasm. :wink:

Saludos

Sas
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum