[MacPorts] #40819: evince is able to launch, but not able to open any pdf or image files
#40819: evince is able to launch, but not able to open any pdf or image files --------------------+-------------------------------- Reporter: hong@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: --------------------+-------------------------------- After "sudo port install evince", evince can launch successfully. However, when I tried to use it to open any pdf or image files, nothing happened. -- Ticket URL: <https://trac.macports.org/ticket/40819> MacPorts <http://www.macports.org/> Ports system for OS X
#40819: evince is able to launch, but not able to open any pdf or image files ---------------------+---------------------- Reporter: hong@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: evince | ---------------------+---------------------- Changes (by devans@…): * owner: macports-tickets@… => devans@… * status: new => assigned * port: => evince * cc: hong@… (removed) Comment: When submitting a ticket, the reporter is automatically CC'd -- no need to explicitly set the CC field or use CC me. But please do CC the maintainer(s) and set the port field. {{{ $ port info --maintainer evince maintainer: devans@macports.org, openmaintainer@macports.org }}} -- Ticket URL: <https://trac.macports.org/ticket/40819#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40819: evince is able to launch, but not able to open any pdf or image files ---------------------+---------------------- Reporter: hong@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: evince | ---------------------+---------------------- Comment (by devans@…): evince works fine for me. I'm able to open pdf and other image files without any problems. Can you provide any additional information? Any error messages on the console for instance? When you try to open a file is the file selection window displayed or is there no response from the program at all? Please be detailed. -- Ticket URL: <https://trac.macports.org/ticket/40819#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40819: evince is able to launch, but not able to open any pdf or image files ---------------------+---------------------- Reporter: hong@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: evince | ---------------------+---------------------- Comment (by hong@…): Replying to [comment:3 devans@…]:
evince works fine for me. I'm able to open pdf and other image files without any problems. Can you provide any additional information? Any error messages on the console for instance? When you try to open a file is the file selection window displayed or is there no response from the program at all? Please be detailed.
Thanks for the reply! I've found the issue, I need to run "launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist" before I can use evince properly. Maybe this should be written in the documentation somewhere? -- Ticket URL: <https://trac.macports.org/ticket/40819#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40819: evince is able to launch, but not able to open any pdf or image files ----------------------+---------------------- Reporter: hong@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: invalid | Keywords: Port: evince | ----------------------+---------------------- Changes (by devans@…): * status: assigned => closed * resolution: => invalid Comment: Yes, that would be a problem. The DBus session bus needs to be running for most if not all GNOME and KDE apps. On installation the dbus port provides the following message: {{{ ############################################################################ # Startup items have been generated that will aid in # starting dbus with launchd. They are disabled # by default. Execute the following command to start them, # and to cause them to launch at startup: # # sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus- system.plist # launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus- session.plist ############################################################################ }}} This only needs to be done once after installation. The system bus will automatically start at system startup. The session bus will start on login. I also note that if you don't do this, evince outputs the following message on the console: {{{ Failed to get bus connection: Session D-Bus not running. Try running `launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus- session.plist'. }}} Glad you got it working. -- Ticket URL: <https://trac.macports.org/ticket/40819#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts