Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error on El Capitan #19

Open
coccoinomane opened this issue Jul 12, 2016 · 2 comments
Open

Compilation error on El Capitan #19

coccoinomane opened this issue Jul 12, 2016 · 2 comments

Comments

@coccoinomane
Copy link

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
Copy link
Contributor

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
Copy link

sraboy commented Apr 25, 2017

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants