After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 780514 - Fails to open file from commandline - "the specified location is not supported"
Fails to open file from commandline - "the specified location is not supported"
Status: RESOLVED DUPLICATE of bug 769649
Product: evince
Classification: Core
Component: general
3.18.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-03-24 20:46 UTC by Colin.Brough
Modified: 2017-04-28 12:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Colin.Brough 2017-03-24 20:46:22 UTC
Opening a file from the commandline, where the file name contains a hyphen and then later in the filename a colon, causes evince to not open the file and warn "The specified location is not supported". Accessing the same file via a symbolic link, or when renamed, works fine.

bash > evince M-2:1.pdf
** (evince:31594): WARNING **: The specified location is not supported
bash > ln -s M-2:1.pdf tmp.pdf
bash > evince tmp.pdf

The effect appears to be solely due to the filename, and is not related to the content of the PDF file.
Comment 1 Colin.Brough 2017-04-02 08:30:08 UTC
This appears similar to this very old bug report: 
https://bugzilla.gnome.org/show_bug.cgi?id=592792
Comment 2 Germán Poo-Caamaño 2017-04-28 12:19:19 UTC
The issue seems to be the use of the GFile API. See the other report for other corner cases.

*** This bug has been marked as a duplicate of bug 769649 ***