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 611625 - Empty files should not be treated as text/plain
Empty files should not be treated as text/plain
Status: RESOLVED OBSOLETE
Product: evince
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-03-02 17:57 UTC by Gioele Barabucci
Modified: 2018-05-22 13:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gioele Barabucci 2010-03-02 17:57:11 UTC
When Evince is asked to open an empty files it complains that it does not support text/plain files. It should instead complain about the fact that the requested file is empty.

To reproduce:

  $ touch x.pdf
  $ evince x.pdf

evince complains with "Unable to open document" and "File type plain text document (text/plain) is not supported".
Comment 1 Fabio Durán Verdugo 2011-05-18 04:37:27 UTC
Yes I can confirm this report attach the console output

fabio@megatron:~$ touch x.pdf
fabio@megatron:~$ evince x.pdf 
`menu_proxy_module_load': evince: undefined symbol: menu_proxy_module_load

(evince:3138): Gtk-WARNING **: Failed to load type module: (null)

`menu_proxy_module_load': evince: undefined symbol: menu_proxy_module_load

(evince:3138): Gtk-WARNING **: Failed to load type module: (null)

`menu_proxy_module_load': evince: undefined symbol: menu_proxy_module_load

(evince:3138): Gtk-WARNING **: Failed to load type module: (null)

`menu_proxy_module_load': evince: undefined symbol: menu_proxy_module_load

(evince:3138): Gtk-WARNING **: Failed to load type module: (null)

`menu_proxy_module_load': evince: undefined symbol: menu_proxy_module_load

(evince:3138): Gtk-WARNING **: Failed to load type module: (null)

`menu_proxy_module_load': evince: undefined symbol: menu_proxy_module_load

(evince:3138): Gtk-WARNING **: Failed to load type module: (null)

`menu_proxy_module_load': evince: undefined symbol: menu_proxy_module_load

(evince:3138): Gtk-WARNING **: Failed to load type module: (null)

`menu_proxy_module_load': evince: undefined symbol: menu_proxy_module_load

(evince:3138): Gtk-WARNING **: Failed to load type module: (null)

`menu_proxy_module_load': evince: undefined symbol: menu_proxy_module_load

(evince:3138): Gtk-WARNING **: Failed to load type module: (null)

`menu_proxy_module_load': evince: undefined symbol: menu_proxy_module_load

(evince:3138): Gtk-WARNING **: Failed to load type module: (null)

`menu_proxy_module_load': evince: undefined symbol: menu_proxy_module_load

(evince:3138): Gtk-WARNING **: Failed to load type module: (null)

`menu_proxy_module_load': evince: undefined symbol: menu_proxy_module_load

(evince:3138): Gtk-WARNING **: Failed to load type module: (null)

`menu_proxy_module_load': evince: undefined symbol: menu_proxy_module_load

(evince:3138): Gtk-WARNING **: Failed to load type module: (null)

Error: May not be a PDF file (continuing anyway)
Error: PDF file is damaged - attempting to reconstruct xref table...
Error: Couldn't find trailer dictionary
Error: Couldn't read xref table
`menu_proxy_module_load': evince: undefined symbol: menu_proxy_module_load

(evince:3138): Gtk-WARNING **: Failed to load type module: (null)

`menu_proxy_module_load': evince: undefined symbol: menu_proxy_module_load

(evince:3138): Gtk-WARNING **: Failed to load type module: (null)
Comment 2 GNOME Infrastructure Team 2018-05-22 13:48:25 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/140.