devondragon/jira-omnifocus

rb-appscript causing segmentation fault?

jstortz opened this issue · 7 comments

I forked it. Downloaded it. Edited configs. Installed gems. Ran it. Erred out. I am getting what looks like a segmentation fault based on rb-appscript. Here are my versions of everything if you care to compare against yours:

ruby-2.0.0-p353
rb-appscript (0.6.1)
json-1.8.1

What version of ruby and rb-appscript are you running?

Sorry to hear about the segfault! I didn't see any of those while I was writing/testing this:(

I am running OS X 10.9.1
ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13]
rb-appscript (0.6.1)
json (1.8.1)

So the only different is your Ruby version is a bit newer than mine... Do you have errors or process traces or anything?

I reverted ruby to p247 but still got the same error:

/Users/jstortz/.rvm/gems/ruby-2.0.0-p247/gems/rb-appscript-0.6.1/lib/ae.bundle: [BUG] Segmentation fault
ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13]
-- Crash Report log information --------------------------------------------
   See Crash Report log file under the one of following:
     * ~/Library/Logs/CrashReporter
     * /Library/Logs/CrashReporter
     * ~/Library/Logs/DiagnosticReports
     * /Library/Logs/DiagnosticReports

I did notice something though. When I reverted ruby I then installed rb-appscript gem. And during that install I got the following message:

gem install rb-appscript
Fetching: rb-appscript-0.6.1.gem (100%)
Building native extensions.  This could take a while...
Successfully installed rb-appscript-0.6.1
Parsing documentation for rb-appscript-0.6.1
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for lib/ae.bundle, skipping
Installing ri documentation for rb-appscript-0.6.1
1 gem installed

Notice the issue with ae.bundle. I'm going to look into that a little, maybe rb-appscript didn't really install correctly?

Hmm yeah. I don't remember seeing that error when I installed. Unfortunately I'm SUPER new to Ruby, so I'm not sure I have a solution for you here. Maybe look at this: achiurizo/consular-osx#5

I am using Ruby version 2.1.2 and rb-appscript 0.6.1 successfully on Mac OS X 10.9.4

Great thanks! I also so your amazing pull request! Thanks a million! I will try to get that merged in shortly!

jstortz - is this still an issue for you with the latest bundler based setup?

I'm going to close this out. If this is still an issue, please let me know!