Skip to content

xCodea w/rumps py2app Conversion Issue #5

@elian

Description

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions