luwes / luwes/LIFX-Menu

Doesn't build on Yosemite

Open
#6 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
23
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Output from setup.py py2app

```
stripping LIFX Menu
stripping _codecs_kr.so
stripping unicodedata.so
stripping time.so
stripping itertools.so
stripping _hashlib.so
stripping array.so
stripping _Res.so
stripping libcrypto.1.0.0.dylib
stripping fcntl.so
stripping _codecs_hk.so
stripping MacOS.so
stripping _Menu.so
stripping _codecs_jp.so
stripping _random.so
stripping grp.so
stripping math.so
stripping python
stripping cStringIO.so
stripping _Dlg.so
stripping _functools.so
stripping _locale.so
stripping _socket.so
stripping _AE.so
stripping libz.1.2.8.dylib
stripping _io.so
stripping _codecs_tw.so
stripping Python
stripping _codecs_iso2022.so
stripping cPickle.so
stripping libssl.1.0.0.dylib
stripping _ssl.so
stripping resource.so
stripping _scproxy.so
stripping select.so
stripping zlib.so
stripping _multibytecodec.so
stripping gestalt.so
stripping _File.so
stripping _Evt.so
stripping _Win.so
stripping parser.so
stripping operator.so
stripping _struct.so
stripping binascii.so
stripping datetime.so
stripping _codecs_cn.so
stripping strop.so
stripping _collections.so
stripping _heapq.so
stripping _Qd.so
stripping termios.so
stripping Nav.so
stripping _Ctl.so
stripping pyexpat.so
stripping bz2.so
stripping saved 303880 bytes (6106964 / 6410844)
Modules not found (unconditional imports):
* AppKit (/Users/apiper/Development/twitterdev/LIFX-Menu/src/LIFX Menu.py)
* Cocoa (/Users/apiper/Development/twitterdev/LIFX-Menu/src/LIFX Menu.py)
* Foundation (/Users/apiper/Development/twitterdev/LIFX-Menu/src/LIFX Menu.py)
* PyObjCTools (/Users/apiper/Development/twitterdev/LIFX-Menu/src/LIFX Menu.py)
* _weakref.CallableProxyType (_weakrefset)
* _weakref.ProxyType (_weakrefset)
* _weakref.ReferenceType (_weakrefset)
* _weakref.getweakrefcount (_weakrefset)
* _weakref.getweakrefs (_weakrefset)
* _weakref.proxy (_weakrefset)
* errno.EINVAL (distutils.spawn)
* errno.ENOENT (distutils.spawn)
* java.System (java.lang)
* nt._getfullpathname (os)
* nt._isdir (os)
* org (copy, org.python.core)
* org.PyStringMap (org.python)
* org.python (copy, pickle)
* org.python.core (pickle)
* org.python.core.PyStringMap (copy)
* pwd.getpwnam (distutils.util)
* sys.py3kwarning (pkg_resources)
* thread._local (logging)
* thread.allocate_lock (logging)
* thread.get_ident (logging)
* thread.stack_size (logging)
* urllib.parse (pkg_resources)

Modules not found (conditional imports):
* _md5 (hashlib)
* _sha (hashlib)
* _sha256 (hashlib)
* _sha512 (hashlib)
* importlib._bootstrap (pkg_resources)
* java (platform)
* java.lang (platform)
* riscospath (os)

Done!
```

Ends up unable to import Cocoa / pyObjC

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the setup.py py2app build output and src/LIFX Menu.py, where AppKit, Cocoa, Foundation, and PyObjCTools are reported missing. Reproduce the Yosemite build and investigate why the generated application cannot import Cocoa or PyObjC; done means the packaged app imports those modules successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, python
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.