[MacPorts] #20264: port and gnucash problem
#20264: port and gnucash problem ----------------------------------+----------------------------------------- Reporter: jose.castro@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: ----------------------------------+----------------------------------------- I am a newbie with a new MacBook. I read previous tickets but they were too technical for me. On one user in the computer I installed MacPorts and then installed gnucash. These commands will not run in another user unless I run them like: /opt/local/bin/port or /opt/local/bin/gnucash Is there a way to fix this. Then I have a second problem. When trying to run gnucash I get: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded! If I run launchctl load -F /Library/LaunchAgents/org.freedesktop.dbus- session.plist then I have no problems, but I don't want to run this everytime. What can I do? -- Ticket URL: <http://trac.macports.org/ticket/20264> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20264: port and gnucash problem ----------------------------------+----------------------------------------- Reporter: jose.castro@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: ----------------------------------+----------------------------------------- Description changed by snc@…: Old description:
I am a newbie with a new MacBook. I read previous tickets but they were too technical for me. On one user in the computer I installed MacPorts and then installed gnucash. These commands will not run in another user unless I run them like: /opt/local/bin/port or /opt/local/bin/gnucash Is there a way to fix this.
Then I have a second problem. When trying to run gnucash I get: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded! If I run launchctl load -F /Library/LaunchAgents/org.freedesktop.dbus- session.plist then I have no problems, but I don't want to run this everytime.
What can I do?
New description: I am a newbie with a new MacBook. I read previous tickets but they were too technical for me. On one user in the computer I installed MacPorts and then installed gnucash. These commands will not run in another user unless I run them like: `/opt/local/bin/port` or `/opt/local/bin/gnucash` Is there a way to fix this? Then I have a second problem. When trying to run gnucash I get: {{{ Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded! }}} If I run `launchctl load -F /Library/LaunchAgents/org.freedesktop.dbus- session.plist` then I have no problems, but I don't want to run this everytime. What can I do? -- -- Ticket URL: <http://trac.macports.org/ticket/20264#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20264: port and gnucash problem ----------------------------------+----------------------------------------- Reporter: jose.castro@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: ----------------------------------+----------------------------------------- Changes (by snc@…): * owner: macports-tickets@… => snc@… * status: new => assigned Comment: Replying to [ticket:20264 jose.castro@…]:
I am a newbie with a new MacBook. I read previous tickets but they were too technical for me.
On one user in the computer I installed MacPorts and then installed gnucash. These commands will not run in another user unless I run them like: `/opt/local/bin/port` or `/opt/local/bin/gnucash`
Is there a way to fix this?
Yes, you need to edit the new user's `~/.profile` to [http://guide.macports.org/#installing.shell.postflight set their PATH to include MacPorts].
Then I have a second problem. When trying to run gnucash I get: {{{ Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded! }}} If I run `launchctl load -F /Library/LaunchAgents/org.freedesktop.dbus- session.plist` then I have no problems, but I don't want to run this everytime.
What can I do?
The command you're running forces a load each time. What you want to run is `launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus- session.plist` From `man launchctl` you'll see that: 1. -w removes the disabled key and write the configuration files back out to disk. 1. -F forces the loading of the plist. Ignore the Disabled key. -- Ticket URL: <http://trac.macports.org/ticket/20264#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20264: port and gnucash problem ----------------------------------+----------------------------------------- Reporter: jose.castro@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by jose.castro@…): Thank you very much. Using the `launchctl` with `-w` helped solve the problem, gnucash now loads fine. I modified my `~/.profile` in the user that could not run commands from MacPorts by setting PATH. I did exactly what it is said there, but it still doesn't work. I still need to do `/opt/local/bin/gnucash`. I restarted Terminal and even restarted the computer to reinitialize my session, and it still doesn't work. So problem 2, solved, problem 1 not. -- Ticket URL: <http://trac.macports.org/ticket/20264#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20264: port and gnucash problem ----------------------------------+----------------------------------------- Reporter: jose.castro@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by jose.castro@…): Replying to [comment:2 snc@…]: Thank you very much. Using the launchctl with -w helped solve the problem, gnucash now loads fine. I modified my ~/.profile in the user that could not run commands from MacPorts by setting PATH. I did exactly what it is said there, but it still doesn't work. I still need to do /opt/local/bin/gnucash. I restarted Terminal and even restarted the computer to reinitialize my session, and it still doesn't work. So problem 2, solved, problem 1 not.
Replying to [ticket:20264 jose.castro@…]:
I am a newbie with a new MacBook. I read previous tickets but they were too technical for me.
On one user in the computer I installed MacPorts and then installed gnucash. These commands will not run in another user unless I run them like: `/opt/local/bin/port` or `/opt/local/bin/gnucash`
Is there a way to fix this?
Yes, you need to edit the new user's `~/.profile` to [http://guide.macports.org/#installing.shell.postflight set their PATH to include MacPorts].
Then I have a second problem. When trying to run gnucash I get: {{{ Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded! }}} If I run `launchctl load -F /Library/LaunchAgents/org.freedesktop .dbus-session.plist` then I have no problems, but I don't want to run this everytime.
What can I do?
The command you're running forces a load each time. What you want to run is `launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus- session.plist`
From `man launchctl` you'll see that: 1. -w removes the disabled key and write the configuration files back out to disk. 1. -F forces the loading of the plist. Ignore the Disabled key.
-- Ticket URL: <http://trac.macports.org/ticket/20264#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20264: port and gnucash problem ----------------------------------+----------------------------------------- Reporter: jose.castro@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by macsforever2000@…): What is the result of the following command? {{{ echo $PATH }}} -- Ticket URL: <http://trac.macports.org/ticket/20264#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20264: port and gnucash problem ----------------------------------+----------------------------------------- Reporter: jose.castro@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by jose.castro@…): Replying to [comment:5 macsforever2000@…]:
What is the result of the following command?
{{{ echo $PATH }}}
The result is the following {{{ /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin }}} -- Ticket URL: <http://trac.macports.org/ticket/20264#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20264: port and gnucash problem ----------------------------------+----------------------------------------- Reporter: jose.castro@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by snc@…): That's the default path; that user is not picking up any changes to $PATH. -- Ticket URL: <http://trac.macports.org/ticket/20264#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20264: port and gnucash problem ----------------------------------+----------------------------------------- Reporter: jose.castro@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by snc@…): Were you able to get the path fixed? -- Ticket URL: <http://trac.macports.org/ticket/20264#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20264: port and gnucash problem ----------------------------------+----------------------------------------- Reporter: jose.castro@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by jose.castro@…): Replying to [comment:8 snc@…]:
Were you able to get the path fixed?
No I haven't being able to fix the problem. -- Ticket URL: <http://trac.macports.org/ticket/20264#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20264: port and gnucash problem -----------------------------------+---------------------------------------- Reporter: jose.castro@… | Owner: snc@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: invalid | Keywords: Port: | -----------------------------------+---------------------------------------- Changes (by toby@…): * status: assigned => closed * resolution: => invalid Comment: This is a support issue, not a bug. Please contact the users list: http://lists.macosforge.org/mailman/listinfo/macports-users/ -- Ticket URL: <http://trac.macports.org/ticket/20264#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts