Open elian opened 10 years ago
Does the prepackaged .app from https://github.com/lowne/xCodea/releases work for you? I tested it on two Macs both with 10.9.2 and it runs, but a sample of two isn't particularly meaningful.
For building it yourself, I encountered some problems in Mavericks:
Hi,
The prepackaged .app works fine (didn't realy tested al its features/submenues).
On the other hand, in what concerns building myself the .app, I manually patched rumps and the error was gone. I also reinstalled w/easy_install modulegraph and py2app.
The resulting xCodea.app lounches with no error, installes itself in Menubar but curiously, all menu items exept 'Preferences' and 'Quit' are greyed out. Also all 'Preferenes' submenues are greyed out. Practically, one can select only 'Preferences' and 'Quit'.
Any ideea what might determinate this strange behaviour? I suspect that my Python and its packages inatallation might be incorect. I know this is off-topic, but for unskild interested, coud you please indicate the best way and what to install (including Python) in order to may self-build the xCodea.app.
Thanks, Elian
Hi,
During testing of xCodea with one of my projects, I observd the following differences in behaviour of xCodea compared to the project run in Codea:
Note: I am using LDT for project edit on OS X 10.9.2 and xCodea runs on an iPad2 w/iOS 7.04(JB) under Codea 2.0.
4) After a lot of try-and-error (I am not a skiled OS X user/programmer), I finaly installed all (I hope) the necessary Xcode and python command line tools and site-packages, including the 'rumps' package, necessary to make an xCode py2app. The app is functonal till a point, generating an error imediatly after poping up the request for allowance to inbound connections to xCodea server.
Here is a Console log for this:
27/03/14 05:24:56,858 com.apple.launchd.peruser.501[228]: (com.marklowne.xCodea.82928[1143]) Exited with code: 255 27/03/14 05:25:30,652 xCodea[1146]: Traceback (most recent call last): 27/03/14 05:25:30,653 xCodea[1146]: File "/Users/elianepstain/LDTProjects/CodeaProjects/dist/xCodea.app/Contents/Resources/boot.py", line 341, in 27/03/14 05:25:30,653 xCodea[1146]: run() 27/03/14 05:25:30,653 xCodea[1146]: File "/Users/elianepstain/LDTProjects/CodeaProjects/dist/xCodea.app/Contents/Resources/boot_.py", line 336, in run 27/03/14 05:25:30,653 xCodea[1146]: exec(compile(source, path, 'exec'), globals(), globals()) 27/03/14 05:25:30,653 xCodea[1146]: File "/Users/elianepstain/LDTProjects/CodeaProjects/dist/xCodea.app/Contents/Resources/xCodea.py", line 199, in 27/03/14 05:25:30,654 xCodea[1146]: rumps.MenuItem('Show log',callback=show_log), 27/03/14 05:25:30,654 xCodea[1146]: File "/Users/elianepstain/LDTProjects/CodeaProjects/dist/xCodea.app/Contents/Resources/lib/python2.7/rumps/rumps.py", line 340, in init_ 27/03/14 05:25:30,654 xCodea[1146]: self.set_callback(callback, key) 27/03/14 05:25:30,654 xCodea[1146]: File "/Users/elianepstain/LDTProjects/CodeaProjects/dist/xCodea.app/Contents/Resources/lib/python2.7/rumps/rumps.py", line 396, in set_callback 27/03/14 05:25:30,654 xCodea[1146]: self.menuitem.setTarget(type(self)) 27/03/14 05:25:30,654 xCodea[1146]: ValueError: NSInvalidArgumentException - Class OC_PythonObject: no such selector: methodForSelector: 27/03/14 05:25:30,720 xCodea[1146]: xCodea Error 27/03/14 05:25:30,720 xCodea[1146]: 2014-03-27 05:25:30.718 xCodea[1146:707] xCodea Error 27/03/14 05:26:01,093 com.apple.launchd.peruser.501[228]: (com.marklowne.xCodea.82928[1146]) Exited with code: 255
Thanks, Elian Epstan