glucero / fusuma

window management for OSX
http://en.wikipedia.org/wiki/Fusuma
MIT License
114 stars 6 forks source link

Crashing with the default configuration #2

Closed mattr- closed 12 years ago

mattr- commented 12 years ago

When I run it, Fusuma is crashing shortly after I see the f emblem in the menu bar.

What other information do you need to help troubleshoot this?

glucero commented 12 years ago

This is happening right after launch before you start using keymaps or layouts? Which version of MacRuby are you using and has it been installed with RVM/RBEnv?

Also, is there an event in /var/log/system.log or fusuma.app/Contents/Resources/log/fusuma.log when it crashes?

mattr- commented 12 years ago

Yes, before I start using keymaps or layouts. I'm using MacRuby 0.12. It has been installed with RVM.

Let me look at the logs for the information you want. I think I'll also install macruby outside of RVM and see if that makes any difference.

mattr- commented 12 years ago

Here is what in fusuma.app/Contents/Resources/log/fusuma.log before it crashes:

[2012-11-08T11:40:30] - INFO - (Fusuma) Initializing Fusuma.
[2012-11-08T11:40:30] - INFO - (StatusBar) Initializing StatusBar.
[2012-11-08T11:40:30] - INFO - (Fusuma) Configuring Fusuma.

There is nothing in /var/log/system.log when fusuma crashes other than the saving of the crash report.

I also installed MacRuby from the package at macruby.org just to make sure everything was ok with my environment. No luck on getting the crashes to go away.

glucero commented 12 years ago

I removed a /usr/bin/env shebang from source/bin/fusuma that didn't need to be there and may be causing problems and I added a few logging statements for configuration and initialization that should log to fusuma.app/ContentxResources/log/fusuma.log.

Could you verify that MacRuby is installed at /usr/local/bin/macruby and pull the latest changes and see if the shebang or logging help us out?

mattr- commented 12 years ago

changes must have solved it. no longer crashing. thanks!