By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 1944

Summary: R14 Broken Packages (minor apps) - future fix or delete?
Product: TDE Reporter: David C. Rankin <trin>
Component: non-core programsAssignee: Timothy Pearson <kb9vqf>
Status: NEW ---    
Severity: normal CC: albator78, bugwatch, michele.calgaro, slavek.banko
Priority: P5    
Version: R14.0.x [Trinity]   
Hardware: All   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:
Attachments: kasablanca: fix FTP directory listing

Description David C. Rankin 2014-02-18 13:38:14 CST
This bug contains a list of traditional KDE packages included in the TDE git tree that build, but are broken. This bug should be read in conjunction with bug 1937 regarding application to be deleted from the TDE git tree:

http://bugs.pearsoncomputing.net/bugzilla/show_bug.cgi?id=1937

If the following packages are no something that TDE considers part of TDE going forward, then apps listed below should be added to bug 1937 and targeted for deletion.

FTP packages:

  kftpgrabber and kasablanca - both build, both will connect to remote servers, but neither will return a remote file list. (regardless of the ACTIVE, PASV, or PASV Correction settings). The issue seems to be generic to handling information coming from the remote server. Further, in kftpgrabber if the remote listing command hangs or if connection is attempted over ssh2, the 'connection' (left or right side window) in kftpgrabber is locked and pegs CPU usage at 45%.

Personal Finance:

  kmymoney will only build with all options 'disabled' including the database backend. This is also the subject of bug: 

http://bugs.pearsoncomputing.net/bugzilla/show_bug.cgi?id=1942

Others:
Comment 1 Michele Calgaro 2014-02-19 00:12:31 CST
IMO, kftpgrabber and kasablanca should definitely stay. Obviously they need to be fixed, otherwise they are not useful. Perhaps the problem is not in the applications themselves, but somewhere else (maybe in some ioslaves that are used by them, just a guess).

kmymoney builds correctly in debian/testing. I haven't checked which options are used though. Personally I don't use this application, but IMO it should stay since there may be users using it.
Comment 2 Francois Andriot 2014-02-19 15:34:19 CST
I'm trying real FTP connection (not ssh), using anonymous public server.

Kftpgrabber does not connect all (stays a while at "Authentication" step, then disconnect. It looks like an error in the log sequence:

[22:29:23] KFTPGrabber logger initialisé.
[22:29:37] *** Connecting to ftp.free.fr:21...
[22:29:37] *** Failed to connect (une défaillance du réseau est survenue)
[22:29:37] 220 Welcome to ProXad FTP server
[22:29:42] *** Connecting to ftp.free.fr:21...
[22:29:42] *** Connected with server, waiting for welcome message...
[22:30:37] 421 Timeout.
[22:30:37] *** Connection has failed.
[22:30:37] *** Disconnected.
[22:30:37] *** Aborted.
[22:31:16] *** Connecting to ftp.free.fr:21...
[22:31:16] *** Failed to connect (une défaillance du réseau est survenue)
[22:31:16] 220 Welcome to ProXad FTP server

I have the welcome banner appearing, so why do I still have error messages ???

Using kasablanca, it connect correctly, but the directory listing is incomplete ! I have only 4 items out of more than 10 ...
Comment 3 Francois Andriot 2014-02-19 16:03:19 CST
Created attachment 1941 [details]
kasablanca: fix FTP directory listing

Small patch to fix my directory listing issue in Kasablanca.

But, wait, I see in the source code that it does not support symbolic links !!! 
This program has its own FTP library, it does NOT use some TDEIO-FTP ...
Comment 4 Francois Andriot 2014-02-19 16:05:19 CST
BTW, in order to find the bugs in such old applications, you must look at the Warnings during the compilation. They often lead to undesirable behaviour, generally due to changes in compiler (GCC).
Comment 5 Slávek Banko 2014-03-02 12:46:23 CST
(In reply to Francois Andriot from comment #3)
> Created attachment 1941 [details]
> kasablanca: fix FTP directory listing
> 
> Small patch to fix my directory listing issue in Kasablanca.
> 
> But, wait, I see in the source code that it does not support symbolic links
> !!! 
> This program has its own FTP library, it does NOT use some TDEIO-FTP ...

Tested. Without the patch directory listing was incomplete or empty.

With patch on ftp.free.fr in root is missing only symlink Mplayer and also symlinks in other folders.

On ftp.linux.cz in the root folder not missing anything, but entry into folder 'pub' is with a very long delay. However, symlink CPAN is displayed correctly. Also symlinks in the folder pub/linux is displayed correctly.

Should I push this patch?
And symlinks will be addressed later?
Comment 6 Slávek Banko 2015-10-14 15:22:39 CDT
Comment on attachment 1941 [details]
kasablanca: fix FTP directory listing

Pushed to GIT in hash 3f0346a (master) and 6e29b79 (r14.0.x).