On May 10, 2011, at 12:12 AM, Brad Grupczynski wrote: > > On May 9, 2011, at 9:46 PM, John Ralls wrote: > >> >> On May 9, 2011, at 6:09 PM, Brad Grupczynski wrote: >> >>> >>> On May 8, 2011, at 9:54 PM, John Ralls wrote: >>> >>>> >>>> On May 8, 2011, at 7:23 PM, Brad Grupczynski wrote: >>>> >>>>> >>>>> On May 8, 2011, at 12:07 PM, John Ralls wrote: >>>>> >>>>>> >>>>>> On May 8, 2011, at 7:47 AM, Brad Grupczynski wrote: >>>>>> >>>>>>> Hi everyone, >>>>>>> >>>>>>> Trying to create a bundle using instructions: >>>>>>> http://wiki.gnucash.org/wiki/MacOSX/Quartz#Making_a_Bundle >>>>>>> https://github.com/jralls/gnucash-on-osx >>>>>>> >>>>>>> The instructions are similar but don't match. >>>>>>> >>>>>>> Here's the output. Any ideas? >>>>>>> >>>>>>> bash-3.2$ ige-mac-bundler gnucash.bundle >>>>>>> /Users/gnucash2/ige-mac-bundler-0.5/bundler/bundler.py:6: >>>>>>> DeprecationWarning: the sets module is deprecated >>>>>>> from sets import Set >>>>>>> Traceback (most recent call last): >>>>>>> File "/Users/gnucash2/.local/bin/ige-mac-bundler", line 6, in <module> >>>>>>> bundler.main.main(sys.argv[1:]) >>>>>>> File "/Users/gnucash2/ige-mac-bundler-0.5/bundler/main.py", line 18, in >>>>>>> main >>>>>>> bundler.run() >>>>>>> File "/Users/gnucash2/ige-mac-bundler-0.5/bundler/bundler.py", line >>>>>>> 468, in run >>>>>>> self.copy_binaries(self.project.get_binaries()) >>>>>>> File "/Users/gnucash2/ige-mac-bundler-0.5/bundler/project.py", line >>>>>>> 330, in get_binaries >>>>>>> binaries.append(Binary.from_node(node)) >>>>>>> File "/Users/gnucash2/ige-mac-bundler-0.5/bundler/project.py", line >>>>>>> 149, in from_node >>>>>>> raise "The tag 'binary' is not allowed to have a 'dest' property" >>>>>>> TypeError: exceptions must be classes or instances, not str >>>>>> >>>>>> Yes, you're using an old version of ige-mac-bundler, which is my fault >>>>>> for not updating the wiki page with the new versions. I've done that >>>>>> now, so please upgrade. You'll also want to download the linked bundle, >>>>>> launcher, icons, and Info.plist (links are also on the Wiki page). The >>>>>> files in the tarball are for 2.2.9. >>>>>> >>>>>> Regards, >>>>>> John Ralls >>>>>> >>>>> >>>>> Looks like the .launcher that was uploaded is the entire HTML page >>>>> instead of just the source. >>>>> >>>>> I took out the HTML and then found " " in the text. Looks like it was >>>>> suppose to be a space or tab. Maybe due to the HTML. Replaced with spaces. >>>>> >>>>> At first I used the "bundler" folder that came with the >>>>> "ige-mac-bundler-0.6.0" installer. Got an error that I was missing >>>>> "Sources". Looking around I found it in "gnucash-on-osx" that I git >>>>> cloned awhile back so I used that "gnucash-bundler" instead of the >>>>> "bundler" that was downloaded. But the instructions didn't say where >>>>> those files should go. Just say's "same folder". >>>>> >>>>> My icon isn't showing up properly and the dbus-daemon isn't getting >>>>> killed on a new start of gnucash. Minor points for what I'm doing but >>>>> wanted to let you know. >>>> >>>> Thanks. I've fixed the links. >>>> >>>> The four files (gnucash.bundle, gnucash.launcher, gnucash.icns, and >>>> Info.plist all need to be in the same folder, but what that's called or >>>> where it is is up to you. If you have a clone of gnucash-on-osx, just pull >>>> to make sure that you have the latest and use `ige-mac-bundler >>>> gnucash-on-osx/gnucash-bundler/gnucash.bundle`. >>>> >>>> Gnucash.icns is a binary, so getting it with the html wrapper from github >>>> (with the bad URL that I just fixed) undoubtedly keeps it from working. If >>>> you use your gnucash-on-osx repo it should work fine. >>>> >>>> The dbus-killing logic is specific to the path, which is different between >>>> Gnucash-2.2.9 and Gnucash-2.4.x. Is that what's gove awry or is it >>>> something else? >>>> >>>> Regards, >>>> John Ralls >>>> >>> >>> I hadn't checked the other files for HTML wrapper. All is well now with >>> respect to those. >>> >>> I'm not sure about the dbus / path question. Where do I look for that? >>> >> >> `ps -Al | grep dbus` and check the paths... >> or just nuke them (`killall dbus-daemon`) when Gnucash isn't running. It'll >> start up a new one when it starts anyway. >> >> Regards, >> John Ralls >> >> > > > /Users/gnucash2/gnucash-stable/bin/dbus-daemon --fork --print-pid 5 > --print-address 7 --config-file > /Applications/Gnucash.app/Contents/Resources/etc/dbus-1/session.conf > > Looks like it's launching from my development folder (Didn't even realize > that was the wrong path...). But I see: > export PREFIX=/Library/Gnucash-2.4 > > Which points to the bundled app. > > Seems like the line: > > eval `"$PREFIX/bin/dbus-launch" --sh-syntax --exit-with-session > --config-file="$bundle_res/etc/dbus-1/session.conf"` > > should be: > > eval `"$bundle_res/bin/dbus-launch" --sh-syntax --exit-with-session > --config-file="$bundle_res/etc/dbus-1/session.conf"` > > > Yeah, I've been killing them periodically. > > ------------------------- > Brad Grupczynski > [email protected] > > > >
Should have tried it first. Didn't work. So there's something compiled into dbus-launch that points into the development folder. ------------------------- Brad Grupczynski [email protected] _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
