Public bug reported:

Binary package hint: gedit

In Hardy, with all updates, trying to open a file with a colon in its
filename, for editing in gedit, from the command-line:

[EMAIL PROTECTED]:~/.gnome2/epiphany/extensions/data/greasemonkey$ ls 
http\:__userscripts.org_scripts_source_7122.user.js 
http:__userscripts.org_scripts_source_7122.user.js
[EMAIL PROTECTED]:~/.gnome2/epiphany/extensions/data/greasemonkey$ LC_ALL=C 
gedit http\:__userscripts.org_scripts_source_7122.user.js 

(gedit:12339): libgnomevfs-WARNING **: trying to read a non-existing
handle


What I expected to happen: I expect gedit to open the file I've specified on 
the command-line.
What happens instead: The file is not loaded into gedit. Gedit opens, but 
reports that "http:__userscripts.org_scripts_source_7122.user.js is not a valid 
location. Please check that you typed the location correctly and try again."


Opening the file in question with gedit is possible either by clicking the file 
in a Nautilus browser window, or by selecting it through gedit's own File > 
Open.... Also, it works from the commandline if I precede the filename with a 
"./", as in:

$ gedit ./http\:__userscripts.org_scripts_source_7122.user.js

This may not be gedit-specific, but because I'm not familiar with the
underlying mechanics, I'm filing this against gedit which is the only
one I've come across the issue with.

ProblemType: Bug
Architecture: i386
Date: Tue Aug 26 10:04:53 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/gedit
Package: gedit 2.22.3-0ubuntu1
PackageArchitecture: i386
ProcEnviron:
 SHELL=/bin/bash
 
PATH=/home/username/bin/post-ocr-correction:/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=fi_FI.UTF-8
SourcePackage: gedit
Uname: Linux 2.6.24-19-generic i686

** Affects: gedit (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug

-- 
Fails to open a file with colon in filename, from the commandline
https://bugs.launchpad.net/bugs/261399
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to