JesterXL / Robotlegs-for-Corona

Small subset of the ActionScript 3 Robotlegs framework ported to Lua for Corona.
http://jessewarden.com
MIT License
39 stars 4 forks source link

Example won't run for me? #1

Open mroberti opened 13 years ago

mroberti commented 13 years ago

Hello! I download the files, and ran the example, and Corona gives me an error of :

    ...roberti\DOCUME~1\CORONA~2\Sandbox\10\MainContext.lua:11: module 'robo

tlegs.Context' not found:resource (robotlegs.Context.lu) does not exist in archive no field package.preload['robotlegs.Context'] no file 'C:\Users\mroberti\DOCUME~1\CRuntime error: ...roberti\DOCUME~1\ CORONA~2\Sandbox\10\MainContext.lua:11: module 'robotlegs.Context' not found:res ource (robotlegs.Context.lu) does not exist in archive no field package.preload['robotlegs.Context'] no file 'C:\Users\mroberti\DOCUME~1\CORONA~2\Sandbox

I don't get it? :(

JesterXL commented 13 years ago

Hi mroberti, thanks for taking the time to try the example, and I'm sorry it didn't work for you.

Can you please paste this code right above the require "sprite", and tell me what it prints out?

print("Platform Name: ", system.getInfo("platformName")) print("Platform Version: ", system.getInfo("platformVersion")) print("Version: ", system.getInfo("version")) print("Build: ", system.getInfo("build"))

mroberti commented 13 years ago

Here you go: Platform Name: Win Platform Version: 6.1 Version: 2.0.0 Build: 2011.591 Runtime error

Thanks for the time! -Mario

On 8/7/2011 5:10 PM, JesterXL wrote:

print("Platform Name: ", system.getInfo("platformName")) print("Platform Version: ", system.getInfo("platformVersion")) print("Version: ", system.getInfo("version")) print("Build: ", system.getInfo("build"))

JesterXL commented 13 years ago

Fascinating. We have the same version and build, but you're on Windows and I'm on Mac.

1 question while I do some research into the problem: Does the folder path you're running the code from have any spaces in the folder names?

mroberti commented 13 years ago

No.

"C:\Users\mroberti\Desktop\robotlegs\examples\basic"

:)

Trying this now on my work PC and still the same error.

-Mario

On 8/7/2011 10:07 PM, JesterXL wrote:

Fascinating. We have the same version and build, but you're on Windows and I'm on Mac.

1 question while I do some research into the problem: Does the folder path you're running the code from have any spaces in the folder names?

JesterXL commented 13 years ago

Thanks for trying! ...and "bblllaaarrgggg". Hrm...

Ok, still researching, but I'll do an update later this after noon with more logging to see if I can root out the issue. Thanks for your help and patience!

mroberti commented 13 years ago

No worries. I'm no genius, but trying stuff that's already done for me is easy! ;) Thanks for working on the conversion!

-Mario

On 8/8/2011 8:05 AM, JesterXL wrote:

Thanks for trying! ...and "bblllaaarrgggg". Hrm...

Ok, still researching, but I'll do an update later this after noon with more logging to see if I can root out the issue. Thanks for your help and patience!

JesterXL commented 13 years ago

We figured out the issue. Windows does not allow . in file names for Lua. So, we'll probably change to underscore or something in the next release; I'll keep you posted, and thanks for your patience!

mroberti commented 13 years ago

Very cool! I'm looking forward to it!!

-Mario

On 8/10/2011 11:25 AM, JesterXL wrote:

We figured out the issue. Windows does not allow . in file names for Lua. So, we'll probably change to underscore or something in the next release; I'll keep you posted, and thanks for your patience!

JesterXL commented 13 years ago

Alright chief, I checked in a new version, let me know if she works on Windows for you. I'll test tomorrow morning on my Windows box just in case.