lowne / xcodea Goto Github PK
View Code? Open in Web Editor NEWa live execution environment for large Codea projects
a live execution environment for large Codea projects
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.
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
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.
Thanks,
Elian Epstan
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.
Thus, after modifying some bits in LDT, when I want to save the modified .lua file, I get the error 'Permission denied'. A turnaround for this, is to use the 'chown -R.' command to changing ownership of all the project files.
Thanks,
Elian Epstan
Hi,
Consequently of not being able to build a fully functional xCodea.app out from setup.py and xCodea.py, please release a .dmg for the Assets forked version.
Reason: Error generated because of missing 'ftype' in 'headers' from xCodea server when file in LDT project changed and saved to disk.
Thanks,
Elian
P.S. In conjunction w/above, please review also Issue #5.
Thank you.
E
Hi. Noob here. Gave up on Aircode because it crashed constantly. xCodea looks great, however I have a problem that some googling hasn't shed any light upon.
My app uses physics and the raising of objects on the screen is done through applyForce - the longer you hold finger down the longer the force is applied. In Codea and in the xCode compiled project the effect on the objects is consistent but in the sandboxed xCodea environment the force applied in the same way (same code of course) sends the object accelerating and moving at a significantly higher speed. eg to raise the object from bottom to top normally takes 3 secs but it's about 1.5 seconds in xCodea. Also my two main sprites drawn on screen are about half the size when running in Codea or compiled version. Other sprites draw at correct size. Draw frame is generated using setContext.
Am I missing something obvious or is there something in a Read Me I didn't see? Are variables clashing with xCodea? Aliens? Look at the size of the two bats in these 2 images.
Hi! Love xCodea and immediately found this "quick and dirty" fix for Codea v2.3 but unfortunately the app won't build - instead it creates an empty disk image. Here is feed back from the build. Any advice would be appreciated. I used exactly the same procedure as I did with previous version (which still builds correctly) so I am lost (and out of my depth)!
Thanks
running py2app
creating /Users/todddixon/Downloads/xCodea-dev/build
creating /Users/todddixon/Downloads/xCodea-dev/build/bdist.macosx-10.10-intel
creating /Users/todddixon/Downloads/xCodea-dev/build/bdist.macosx-10.10-intel/python2.7-standalone
creating /Users/todddixon/Downloads/xCodea-dev/build/bdist.macosx-10.10-intel/python2.7-standalone/app
creating /Users/todddixon/Downloads/xCodea-dev/build/bdist.macosx-10.10-intel/python2.7-standalone/app/collect
creating /Users/todddixon/Downloads/xCodea-dev/build/bdist.macosx-10.10-intel/python2.7-standalone/app/temp
creating /Users/todddixon/Downloads/xCodea-dev/dist
creating build/bdist.macosx-10.10-intel/python2.7-standalone/app/lib-dynload
creating build/bdist.macosx-10.10-intel/python2.7-standalone/app/Frameworks
Traceback (most recent call last):
File "setup.py", line 31, in
setup_requires=['py2app'],
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/py2app/build_app.py", line 553, in run
self._run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/py2app/build_app.py", line 741, in _run
self.run_normal()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/py2app/build_app.py", line 812, in run_normal
mf = self.get_modulefinder()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/py2app/build_app.py", line 691, in get_modulefinder
debug=debug,
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/modulegraph/find_modules.py", line 274, in find_modules
find_needed_modules(mf, scripts, includes, packages)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/modulegraph/find_modules.py", line 199, in find_needed_modules
path = m.packagepath[0]
TypeError: 'NoneType' object has no attribute 'getitem'
.
created: /Users/todddixon/Downloads/xCodea-dev/dist/xCodea.dmg
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.
If a 'parameter.number' variable is changed in running code (not through the GUI), the GUI doesen't follow the chanched value as it happens in standard Codea.
Using the 'SaveImage("Project:Icon", myicon)' to set the icin of the Project actually is setting 'xCodea' Project's icon, not the tested Project's one.
(Off-topic) At first sync of project files by xCodea server, resulting in copying from iPad to Mac under LDT project, all .lua files of the project are owned by 'system' account w/read/write permission and my account is missing from account permission list.
Thus, after modifying some bits in LDT, when I want to save the modified .lua file, I get the error 'Permission denied'. A turnaround for this, is to use the 'chown -R.' command to changing ownership of all the project files.
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
I realy apreciate your efforts in developing xCodea, an excelent, most helpful project.
Thanks,
Elian Epstan
I have discovered that if I wish to get the correct reading for WIDTH in my app then I have to insert "displayMode(FULLSCREEN)" in the "EDIT_THIS" tab before the xCodea server value is set. If you don't then WIDTH will report (to the sandbox) the narrower value that you get when the output/parameter panel is showing. By going full screen first then the sandbox is given the correct values.
displayMode(FULLSCREEN)
xCodea_server ="http://..."
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.
Thanks,
Elian Epstan
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.