View previous topic :: View next topic |
Author |
Message |
FINITE Guru
Joined: 10 May 2002 Posts: 449
|
Posted: Sat Jul 20, 2002 6:36 am Post subject: usr can't open pdf files!!!!!!! |
|
|
As user I cannot open a pdf file using KGhostView or ghostview. I can as root but that, well it sucks. Here is the error I get from ghostview:
Code: | Error: /ioerror in --setfileposition--
Operand stack:
--nostringval-- --nostringval-- 0
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval--
Dictionary stack:
--dict:1047/1123(ro)(G)-- --dict:0/20(G)-- --dict:72/200(L)-- --dict:72/200(L)-- --dict:97/127(ro)(G)-- --dict:229/230(ro)(G)-- --dict:7/15(L)--
Current allocation mode is local |
I don't know how to read that but there it is none the less. One of the pdf's is from a backup i did before reinstalling gentoo and the othere is brand new. User has full access rights to the files so that isn't the problem. Any help/ideas would be great. Thanks. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sat Jul 20, 2002 7:14 am Post subject: |
|
|
Does an "strace -eopen" on ghostview show any permission violations? Some fonts that couldn't be read or something? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
ealfert Tux's lil' helper
Joined: 17 Jul 2002 Posts: 86 Location: Weston, FL, US
|
Posted: Fri Oct 04, 2002 2:09 pm Post subject: |
|
|
I'm getting the same error when trying to open a pdf file with ghostview.
strace shows the following
Code: |
ealfert@linux:~ 61 files 42Mb -$>strace -eopen ghostview
open("/etc/ld.so.preload", O_RDONLY) = 3
open("/etc/ld.so.cache", O_RDONLY) = 3
open("/usr/X11R6/lib/libXaw.so.7", O_RDONLY) = 3
open("/usr/X11R6/lib/libXmu.so.6", O_RDONLY) = 3
open("/usr/X11R6/lib/libXt.so.6", O_RDONLY) = 3
open("/usr/X11R6/lib/libSM.so.6", O_RDONLY) = 3
open("/usr/X11R6/lib/libICE.so.6", O_RDONLY) = 3
open("/usr/X11R6/lib/libXpm.so.4", O_RDONLY) = 3
open("/usr/X11R6/lib/libXext.so.6", O_RDONLY) = 3
open("/usr/X11R6/lib/libX11.so.6", O_RDONLY) = 3
open("/lib/libm.so.6", O_RDONLY) = 3
open("/lib/libc.so.6", O_RDONLY) = 3
open("/lib/libdl.so.2", O_RDONLY) = 3
open("/etc/mtab", O_RDONLY) = 3
open("/proc/meminfo", O_RDONLY) = 3
open("/home/ealfert/.Xauthority", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/locale.alias", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/locale.dir", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/C/XI18N_OBJS", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/common/xlcDef.so.2", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/locale.alias", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/locale.dir", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/C/XLC_LOCALE", O_RDONLY) = 4
open("/home/ealfert/.Xdefaults-linux.t22.alfert.com", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/X11/app-defaults/Ghostview", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/locale.alias", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/locale.dir", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/common/ximcp.so.2", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/compose.dir", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/iso8859-1/Compose", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/locale.alias", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/locale.dir", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/common/xomGeneric.so.2", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/locale.alias", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/locale.dir", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/compose.dir", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/iso8859-1/Compose", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/locale.alias", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/locale.dir", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/compose.dir", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/iso8859-1/Compose", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/locale.alias", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/locale.dir", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/compose.dir", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/iso8859-1/Compose", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/locale.alias", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/locale.dir", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/compose.dir", O_RDONLY) = 4
open("/usr/X11R6/lib/X11/locale/iso8859-1/Compose", O_RDONLY) = 4
|
then i select file open and select top20.pdf and get the following
Code: |
open("/dev/null", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
open("top20.pdf", O_RDONLY) = 4
open("/etc/localtime", O_RDONLY) = 5
open("top20.pdf", O_RDONLY) = 5
--- SIGCHLD (Child exited) ---
|
then an "information" window pops up and i get the original error message posted on the first post.
i read something interested at http://www.cs.wisc.edu/~ghost/ghostview/
Quote: |
GV is a version of Ghostview with an improved user interface and the ability to display PDF files.
|
this leads me to believe that my system is acting correctly... you can't view pdf with ghostview... i emerged gv and ggv and they both work....
BUT, why would konqueror want to default to ghostview for pdf files if it doesn't work? I have to right click on the pdf file and select "other" to select gv and then select "remember...". Even then, the default when clicking is to use ghostview, how can i change it so that it defaults to gv instead of having to right click every time and select gv manually.
thanks. _________________ Edward Alfert
RootMode, LLC
http://www.rootmode.com/ |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|