Bug 157950 - Kate won't open php files over ftp - possibly dropping path info
Summary: Kate won't open php files over ftp - possibly dropping path info
Status: RESOLVED WORKSFORME
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-17 03:14 UTC by Chris
Modified: 2009-03-01 16:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris 2008-02-17 03:14:24 UTC
Version:           3.0.1 (using 4.0.1 (KDE 4.0.1), Kubuntu packages)
Compiler:          gcc
OS:                Linux (i686) release 2.6.24-7-generic

After installing this version of Kate, starting it, turning on line number and such, I try to ftp to a remote location and open some files.

ftp://user@example.com

It asked me for my password, everything went according to plan.

BUT I can't open files with a .php extension. in the ftp location's top level directory "/", I can open php files, but they're empty in Kate (other editors show the content)
In subdirectories, however, the "loading bar" on the opening/copying windows that appear in the background never move past zero. Three or four of them open in a row before a dialog in Kate informs me that "Could not read /Settings.php" or whichever.
I think it probably means to say user@example.com/subdirectory/Settings.php ? So the editor shows me a nice new "Untitled" (so in effect, it starts a new file instead of doing what I asked)
files with .txt and .html extensions et cetera all load fine and display their content in any directory to which I can navigate.

I appreciate that this may not strictly be a Kate bug. I'm not a computer programmer, so if it's invalid I apologize for wasting your time.

Reproducible: always (only tried it on one machine)
Steps to reproduce: Try to open a php file for editing over ftp in Kate under KDE4

It should be noted that as I open an increasing number of files in Kate I am getting an increasing amount of console output, which hopefully is the key to it all:
[code]haylz@sneakywhoami:~$ ### Sorry, can not cd into '/'
haylz@sneakywhoami:~$ ### Sorry, can not cd into '/'
haylz@sneakywhoami:~$ ### Sorry, can not cd into '/'
haylz@sneakywhoami:~$ ### Sorry, can not cd into '/'
haylz@sneakywhoami:~$ ### Sorry, can not cd into '/'
haylz@sneakywhoami:~$ ### Sorry, can not cd into '/'
haylz@sneakywhoami:~$ ### Sorry, can not cd into '/'
haylz@sneakywhoami:~$ ### Sorry, can not cd into '/'
haylz@sneakywhoami:~$ ### Sorry, can not cd into '/'
haylz@sneakywhoami:~$ ### Sorry, can not cd into '/'
### Sorry, can not cd into '/'
haylz@sneakywhoami:~$ ### Sorry, can not cd into '/'
haylz@sneakywhoami:~$ ### Sorry, can not cd into '/'
### Sorry, can not cd into '/'
haylz@sneakywhoami:~$ ### Sorry, can not cd into '/'
haylz@sneakywhoami:~$ ### Sorry, can not cd into '/'
### Sorry, can not cd into '/'
haylz@sneakywhoami:~$ ### Sorry, can not cd into '/'
haylz@sneakywhoami:~$ ### Sorry, can not cd into '/'
### Sorry, can not cd into '/'
haylz@sneakywhoami:~$ ### Sorry, can not cd into '/'
haylz@sneakywhoami:~$ ### Sorry, can not cd into '/'
### Sorry, can not cd into '/'
haylz@sneakywhoami:~$ ### Sorry, can not cd into '/'
haylz@sneakywhoami:~$[/code]
Comment 1 Chris 2008-02-17 03:18:19 UTC
Before I added the bug I verified that the data from the program was correct. I saw the application version and platform written right here in output from this bug report wizard while submitting the bug, so why does it say that my platform and version are unspecified!?

Application: Kate (advanced Text Editor)
Version: 3.0.1
OS: Linux (i686) release 2.6.24-7-generic
Compiler: gcc
Distribution: Edubuntu Hardy Heron Alpha
Package: kate-kde4
Window Manager: KDE 4.0.1
Comment 2 Dominik Haumann 2008-02-22 12:45:17 UTC
Cannot reproduce. Anyone else? Sounds like a kdelibs bug.
Comment 3 Chris 2008-02-29 12:17:09 UTC
I think it's a kdelibs bug as I was able to reproduce it in other programs such as kompare.

When I filed the bug I wasn't wholly aware of kdelibs, hopefully it helps someone though somewhere ;-) Thanks for checking it out, Dominik.
Comment 4 Dominik Haumann 2008-03-02 14:16:41 UTC
Reassigning to kdelibs.
Crhis: Can you please try it with new KDE versions? If you cannot reproduce anymore, please close as worksforme.
Comment 5 Dario Andres 2008-12-28 01:33:56 UTC
No response. If this is still a problem in a current version, please reopen with more information. Thanks :) 
Comment 6 Franz Trischberger 2009-03-01 16:31:54 UTC
I dont't know, if that is a kdelibs-problem.

It is the same problem here:
kate won't open php-files over ftp. I get this message (popping up in a MessageBox):
###
The file ftp://ftp.example.de/html/index.php could not be loaded, as it was not possible to read from it.

Check if you have read access to this file.
###
BUT! kwrite does not complain, it just opens the file, and i can edit and save it.

If you need additional information, just tell me.

///
kwrite: 4.2.00
kate:   3.2.0
kde is 4.2.0
running on Gentoo Linux.