artynusov / MacTimeLog

Simple time tracking tool for Mac OS X
htttp://mactimelog.splyer.com
Other
41 stars 10 forks source link

Compilation error on El Capitan #19

Open coccoinomane opened 8 years ago

coccoinomane commented 8 years ago

Hi! I am on El Capitan 10.11.5. When I try to compile:

git clone https://github.com/SPlyer/MacTimeLog.git
cd MacTimeLog
sudo /usr/bin/python2.7 setup.py py2app

I get the following error:

error: [Errno 1] Operation not permitted: '/Users/coccoinomane/programmi_linux/MacTimeLog/dist/MacTimeLog.app/Contents/MacOS/MacTimeLog'

The complete output is in mactimelog_log.txt.

If I instead use python2.7 from MacPorts (/opt/local/bin/python), the MacTimeLog.app file is created correctly, but it crashes when I open it with Console error:

12/07/16 15:46:19,053 MacTimeLog[82670]: ImportError: The 'six' package is required; normally this is bundled with this package so if you get this warning, consult the packager of your distribution.

Any idea?

Thank you! Guido

infotexture commented 8 years ago

After various pkg_resources.DistributionNotFound errors complained about missing packages while building on El Capitan, I installed pyobjc-framework-Cocoa & durus and was eventually able to compile the app from the latest commit f440aa5.

However, the resulting app crashes at launch with the following error: mactimelog-error-el-capitan The console error isn't very helpful:

2016-09-15 12:56:24.576 MacTimeLog[61181]: MacTimeLog Error

The application log file at ~/Library/Logs/MacTimeLog/MacTimeLog.log contains no new entries for this crash.

If you need to run the app on El Capitan, the last release that works is the “official” release: 0.2-beta3. But running this means you'll miss all the later changes.

@SPlyer Any chance you'd be able to compile the latest changes into a version that runs on El Capitan?

See #17.

sraboy commented 7 years ago

I just wanted to note that I was able to pull from the repo as of today (v0.3-alpha2, commit: f440aa5) and build/run (via scons) without issue on El Capitan (10.11.6) with the standard python install (2.7.10).