Giter Club home page Giter Club logo

xcodea's People

Contributors

lowne avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

sarkisderderian

xcodea's Issues

xCodea w/rumps py2app Conversion Issue

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

Non-Conformal Behaviour of 'parameter' Class in xCodea

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.

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

Thanks,
Elian Epstan

Ownership Issue on Files at First Sync of Project from iPad to Server

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.

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

Thanks,
Elian Epstan

Assets-Fork release

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

Physics/graphics issue

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

Quick and dirty fix won't build

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

Behaveior Differences Compared to Project Run in Codea

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.

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

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

  3. (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.

  1. (Off-topic) 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

I realy apreciate your efforts in developing xCodea, an excelent, most helpful project.

Thanks,
Elian Epstan

displayMode & supportedOrientations

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://..."

SaveImage("Project:Icon", myicon) sets xCodea's icon

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.

  1. Using the 'SaveImage("Project:Icon", myicon)' to set the icon of the Project actually is setting 'xCodea' Project's icon, not the tested Project's one.

Thanks,
Elian Epstan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.