Not able to open pdf files in evince

Hi,

I am using freebsd 7.2. My "uname -a" details is below.

Code:
maghi# uname -a
FreeBSD maghi.org 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 07:18:07 UTC 2009     [email]root@driscoll.cse.buffalo.edu[/email]:/usr/obj/usr/src/sys/GENERIC  amd64

I am relatively new to this OS. Hope you help me in figuring out the problem.

Problem:
evince was working fine in the begining, recently from past one week I am not able to open any pdf file. I get some warnings and evince closes. Not sure of what I did.
Below is the warning message.

Code:
(evince:1213): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported

** (evince:1213): WARNING **: Error connecting to D-Bus: Did not receive a reply. Possible causes include: the remote application did not send 
a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

** (evince:1213): WARNING **: Service registration failed.

** (evince:1213): WARNING **: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus 
security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have 
stale NFS locks due to a system crash. See [url]http://projects.gnome.org/gconf/[/url] for information. (Details -  1: Failed to get 
connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security 
policy blocked the reply, the reply timeout expired, or the network connection was broken.)

Please help me solve this
 
killasmurf86 said:
is dbust started?

check /etc/rc.conf if theres:
dbus_enable="YES"
if it's not there add it, and reboot
Nooooooo! Haven't you heard? Reboots are evil
devilgrin.gif

# /usr/local/etc/rc.d/dbus start

killasmurf86 said:
if everything fails, you can install graphics/epdfvies, I use it, I love it.... [it's lightweight]
But it's graphics/epdfview, of course. A typo, I know.
+1 for ePDFView. It's fast, small, simple, and so far runs without a problem.
 
Thank you for your prompt reply friends. That dint solve my problem.
dbus_enable="YES" is available in my /etc/rc.conf. dbus is also running.
Code:
$ /usr/local/etc/rc.d/dbus status
dbus is running as pid 8571.

I tried opening a pdf file, the file is the latest BSD Magazine in pdf format. Not able to open it even through epdfview.

Code:
$ evince
The program 'evince' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
  (Details: serial 4485 error_code 9 request_code 62 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
This is what I got when I checked it again.
 
When I tried opening the same file using epdfview, this is what I got.

Code:
$ epdfview

** (epdfview:8757): WARNING **: Couldn't load config file '/home/maghi/.config/epdfview/main.conf': No such file or directory


(epdfview:8757): Gtk-CRITICAL **: gtk_tree_view_set_cursor_on_cell: assertion `tree_view->priv->tree != NULL' failed

I am not able to understand what is wrong and where.
Do I need to produce any log file or anything of that sort?
 
If I understand you correct, epdfview also failed to open pdf file.... weird (is pdf ok, try another)

EDIT:
when I open latest issue, epdf shows:
Code:
(epdfview:18556): Gtk-CRITICAL **: gtk_tree_view_set_cursor_on_cell: assertion `tree_view->priv->tree != NULL' failed

(epdfview:18556): Gtk-CRITICAL **: gtk_tree_view_set_cursor_on_cell: assertion `tree_view->priv->tree != NULL' failed

Which is normal
 
You are right my friend, seems that there is something wrong with that pdf file. I actually took that file from windows OS and copied it to FreeBSD. Other files open easily, but not this one. Thanks for your help.
 
copy it to flash and try again with epdfview.....
I don't believe it doesn't work.....

you can still install graphics/xpdf, now if that doesn't work as well, Then I have no choice but think, that your system is messed up somehow
 
I am able to open that pdf file using xpdf. Thanks a lot.
Tried epdfview, that is also good and xpdf this is also good.
 
Back
Top