I can't install my development environment

96 views
Skip to first unread message

David da Silva Contín

unread,
Apr 27, 2012, 1:22:35 PM4/27/12
to gamoo...@googlegroups.com
iMac-David:dev-server hdasilva$ http://bluecodestudio.com/im-alive/
-bash: http://bluecodestudio.com/im-alive/: No such file or directory
iMac-David:dev-server hdasilva$ python gamooga.py /path/to/Gamlet/Package/dir/
ERROR: No 'lua' module found
Please install lunatic_python-1.0-py2.6-macosx10.6.mpkg.zip provided in the SDK
iMac-David:dev-server hdasilva$ cd lunatic-python-1.0 && python setup.py build && cp build/lib.*/lua.so ../ && cd ..
-bash: cd: lunatic-python-1.0: No such file or directory
iMac-David:dev-server hdasilva$ cd lunatic-python-1.0 && python setup.py build && cp build/lib.*/lua.so ../ && cd ..
-bash: cd: lunatic-python-1.0: No such file or directory
iMac-David:dev-server hdasilva$ python gamooga.py /path/to/Gamlet/Package/dir/
ERROR: No 'lua' module found
Please install lunatic_python-1.0-py2.6-macosx10.6.mpkg.zip provided in the SDK
iMac-David:dev-server hdasilva$ python gamooga.py /path/to/Gamlet/Package/dir/ /path/to/dir/to/be/served/
ERROR: No 'lua' module found
Please install lunatic_python-1.0-py2.6-macosx10.6.mpkg.zip provided in the SDK
iMac-David:dev-server hdasilva$ 



And I already installed the package... Is it because I'm running Lion, and the package name says 10.6?

Kishore Annapureddy

unread,
Apr 28, 2012, 1:40:38 AM4/28/12
to gamoo...@googlegroups.com
Hi David,

Our team is already informed of this issue. Its already weekend over
here so it might take sometime to get this resolved. I will post a
resolution here with in the next 12 hours.

Regards,
Kishore.

Kishore Annapureddy

unread,
Apr 29, 2012, 3:49:28 PM4/29/12
to gamoo...@googlegroups.com
Hi David,

We have updated our SDK download page with a package for Mac OS X
Lion: http://www.gamooga.com/dev/docs/sdk.html.

Please install "lunatic_python-1.0-py2.7-macosx10.7.mpkg" for OS X
Lion from the package gamooga-sdk-macosx10.7-2.0.5.zip downloadable in
the above page. After this install you should be able to run the
development server.

Please reply if you face any issues.

Thanks,
Kishore.

David da Silva Contín

unread,
Apr 29, 2012, 4:12:30 PM4/29/12
to gamoo...@googlegroups.com

Hi Kishore.

It worked perfectly this time:

/*
Last login: Sun Apr 29 22:08:35 on ttys000
iMac-David:~ hdasilva$ cd /Users/hdasilva/Desktop/gamooga-sdk/dev-server 
iMac-David:dev-server hdasilva$ python gamooga.py /path/to/Gamlet/Package/dir/
[2012-04-29 22:11:07.051425] GAMOOGA: Server listening on 0.0.0.0:1094
[2012-04-29 22:11:07.052039] FLASHPOLICY: Server listening on 0.0.0.0:8430
[2012-04-29 22:11:07.052491] API: Server listening on 0.0.0.0:8000
*/

I'm looking forward to create great multiplayer games with this! Thanks!


Regards,
- David
--
Att, David da Silva Contín

David da Silva Contín

unread,
Apr 29, 2012, 5:37:39 PM4/29/12
to gamoo...@googlegroups.com
Hi, again, Kishore

Some issues raised:

In this one, trying to connect one to the tic-tac-toe demo:
/*
Last login: Sun Apr 29 23:30:37 on ttys000
iMac-David:~ hdasilva$ cd /Users/hdasilva/Desktop/gamooga-sdk/dev-server 
iMac-David:dev-server hdasilva$ python gamooga.py ../demos/game-tictactoe/gamlet/ ../demos/game-tictactoe/html/

[2012-04-29 23:31:09.997892] HTTP: Server listening on 0.0.0.0:10000
[2012-04-29 23:31:09.998404] API: Server listening on 0.0.0.0:8000
[2012-04-29 23:31:09.998427] FLASHPOLICY: Server listening on 0.0.0.0:8430
[2012-04-29 23:31:09.998519] GAMOOGA: Server listening on 0.0.0.0:1094
[2012-04-29 23:31:28.896934] HTTP: "GET /room.html HTTP/1.1" 200 -
[2012-04-29 23:31:29.490391] HTTP: code 404, message File not found
[2012-04-29 23:31:29.491159] HTTP: "GET /favicon.ico HTTP/1.1" 404 -
[2012-04-29 23:31:29.543509] API: connectToRoom called
[2012-04-29 23:31:30.564872] FLASHPOLICY: Connection from 127.0.0.1:54118
[2012-04-29 23:31:31.065938] FLASHPOLICY: Valid request received from 127.0.0.1:54118
[2012-04-29 23:31:31.066064] FLASHPOLICY: Sent policy file to 127.0.0.1:54118
[2012-04-29 23:31:32.569255] GAMOOGA: Incoming connection from ('127.0.0.1', 54125)
error: uncaptured python exception, closing channel <__main__.GamoogaClientHandler connected 127.0.0.1:54125 at 0x1013e6b48> (<type 'exceptions.TypeError'>:'NoneType' object is not callable [/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/asyncore.py|read|83] [/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/asyncore.py|handle_read_event|442] [gamooga.py|handle_read|102] [gamooga.py|process_msg|117] [gamooga.py|join_room|140] [gamooga.py|__init__|241] [gamooga.py|change_env|258])
*/

Trying to connect twice (first time from Chrome, second one from Safari) to the simple-chat one:
/*
Last login: Sun Apr 29 23:30:41 on ttys000
iMac-David:dev-server hdasilva$ cd /Users/hdasilva/Desktop/gamooga-sdk/dev-server 
iMac-David:dev-server hdasilva$ python gamooga.py ../demos/app-chat-lobby/gamlet/ ../demos/app-chat-lobby/html/
[2012-04-29 23:34:25.235363] FLASHPOLICY: Server listening on 0.0.0.0:8430
[2012-04-29 23:34:25.236137] API: Server listening on 0.0.0.0:8000
[2012-04-29 23:34:25.236418] HTTP: Server listening on 0.0.0.0:10000
[2012-04-29 23:34:25.239133] GAMOOGA: Server listening on 0.0.0.0:1094

[2012-04-29 23:34:42.030152] HTTP: code 404, message File not found
[2012-04-29 23:34:42.030425] HTTP: "GET /favicon.ico HTTP/1.1" 404 -
[2012-04-29 23:34:42.085963] API: connectToRoom called
[2012-04-29 23:34:43.592468] FLASHPOLICY: Connection from 127.0.0.1:54776
[2012-04-29 23:34:44.093710] FLASHPOLICY: Valid request received from 127.0.0.1:54776
[2012-04-29 23:34:44.094064] FLASHPOLICY: Sent policy file to 127.0.0.1:54776
[2012-04-29 23:34:45.598323] GAMOOGA: Incoming connection from ('127.0.0.1', 54784)
error: uncaptured python exception, closing channel <__main__.GamoogaClientHandler connected 127.0.0.1:54784 at 0x1013e5b48> (<type 'exceptions.TypeError'>:'NoneType' object is not callable [/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/asyncore.py|read|83] [/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/asyncore.py|handle_read_event|442] [gamooga.py|handle_read|102] [gamooga.py|process_msg|117] [gamooga.py|join_room|140] [gamooga.py|__init__|241] [gamooga.py|change_env|258])
[2012-04-29 23:35:01.635103] HTTP: "GET / HTTP/1.1" 200 -
[2012-04-29 23:35:02.005113] HTTP: "GET /gamooga.js HTTP/1.1" 200 -
[2012-04-29 23:35:02.037465] HTTP: "GET /jquery.js HTTP/1.1" 200 -
[2012-04-29 23:35:43.551345] HTTP: code 404, message File not found
[2012-04-29 23:35:43.561787] HTTP: "GET /favicon.ico HTTP/1.1" 404 -
[2012-04-29 23:35:43.600814] HTTP: "GET /sock_bridge.swf?onloadcallback=__gmg_init_wrapper HTTP/1.1" 200 -
[2012-04-29 23:35:45.698448] API: connectToRoom called
[2012-04-29 23:35:47.247114] FLASHPOLICY: Connection from 127.0.0.1:55014
[2012-04-29 23:35:47.747381] FLASHPOLICY: Valid request received from 127.0.0.1:55014
[2012-04-29 23:35:47.747504] FLASHPOLICY: Sent policy file to 127.0.0.1:55014
[2012-04-29 23:35:49.251237] GAMOOGA: Incoming connection from ('127.0.0.1', 55022)
error: uncaptured python exception, closing channel <__main__.GamoogaClientHandler connected 127.0.0.1:55022 at 0x1013e5878> (<type 'exceptions.TypeError'>:'NoneType' object is not callable [/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/asyncore.py|read|83] [/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/asyncore.py|handle_read_event|442] [gamooga.py|handle_read|102] [gamooga.py|process_msg|117] [gamooga.py|join_room|140] [gamooga.py|__init__|241] [gamooga.py|change_env|258])
*/


I hope it is useful to you!

- David

Kishore Annapureddy

unread,
Apr 29, 2012, 6:39:49 PM4/29/12
to gamoo...@googlegroups.com
Hi David,

Sorry that you faced an issue again.

Can you please try running gamooga.py with python2.6, appears python2.7 has an issue with the lua module. Needs a bit more deeper look.

Try this: python2.6 gamooga.py ../demos/game-tictactoe/gamlet/ ../demos/game-tictactoe/html/ and it works. We will recall the Lion version and fix it.

Regards,
Kishore.

David da Silva Contín

unread,
Apr 30, 2012, 2:42:11 AM4/30/12
to gamoo...@googlegroups.com
It works PERFECTLY with python2.6!

Yay! Thanks, again! :)

- David

David da Silva Contín

unread,
May 2, 2012, 5:07:10 PM5/2/12
to gamoo...@googlegroups.com
Hi again.

I'm now getting this error:

/*
iMac-David:dev-server hdasilva$ python2.6 gamooga.py ../demos/game-tictactoe/gamlet/ ../demos/game-tictactoe/html/
Traceback (most recent call last):
  File "gamooga.py", line 690, in <module>
    kv_store = anydbm.open(os.path.join(tempfile.gettempdir(), "gmglocal"), "c")
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/anydbm.py", line 82, in open
    mod = __import__(result)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/dbhash.py", line 8, in <module>
    import bsddb
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/bsddb/__init__.py", line 64, in <module>
    import _bsddb
ImportError: No module named _bsddb
iMac-David:dev-server hdasilva$ 
*/

With every demo. I'm not sure if it's me who is doing something wrong. I'll keep trying.

- David

Kishore Annapureddy

unread,
May 2, 2012, 6:32:01 PM5/2/12
to gamoo...@googlegroups.com
Hi David,

This is what I get in my Mac OS X Lion:

kishore@kishore:~/gamooga/dev-pack/gamooga-sdk/dev-server$ python2.6 gamooga.py  ../demos/game-tictactoe/gamlet/ ../demos/game-tictactoe/html/
[2012-05-03 03:46:43.461367] HTTP: Server listening on 0.0.0.0:10000
[2012-05-03 03:46:43.461709] FLASHPOLICY: Server listening on 0.0.0.0:8430
[2012-05-03 03:46:43.461887] API: Server listening on 0.0.0.0:8000
[2012-05-03 03:46:43.462819] GAMOOGA: Server listening on 0.0.0.0:1094
[2012-05-03 03:47:04.059897] HTTP: "GET / HTTP/1.1" 200 -
[2012-05-03 03:47:04.158273] HTTP: code 404, message File not found
[2012-05-03 03:47:04.158348] HTTP: "GET /favicon.ico HTTP/1.1" 404 -
[2012-05-03 03:47:05.730147] HTTP: "GET /room.html HTTP/1.1" 200 -
[2012-05-03 03:47:05.809905] HTTP: "GET /jquery.js HTTP/1.1" 200 -
[2012-05-03 03:47:05.813269] HTTP: "GET /gamooga.js HTTP/1.1" 200 -
[2012-05-03 03:47:05.912577] HTTP: "GET /sock_bridge.swf?onloadcallback=__gmg_init_wrapper HTTP/1.1" 200 -
[2012-05-03 03:47:05.917825] HTTP: code 404, message File not found
[2012-05-03 03:47:05.917893] HTTP: "GET /favicon.ico HTTP/1.1" 404 -
[2012-05-03 03:47:05.943883] API: connectToRoom called
[2012-05-03 03:47:07.452738] FLASHPOLICY: Connection from 127.0.0.1:61975
[2012-05-03 03:47:07.953758] FLASHPOLICY: Valid request received from 127.0.0.1:61975
[2012-05-03 03:47:07.953892] FLASHPOLICY: Sent policy file to 127.0.0.1:61975
[2012-05-03 03:47:09.458599] GAMOOGA: Incoming connection from ('127.0.0.1', 61976)
[2012-05-03 03:47:09.971440] CLIENT: 48cc3713-34f0-4d98-88cc-6148ac864672 Client joining room

As you can see, clients are able to connect to dev server. Can you try the following in your python2.6 prompt and let me know if the outputs are the same as below:

kishore@kishore:~$ python2.6 #type this at terminal prompt
Python 2.6.7 (r267:88850, Jul 31 2011, 19:30:54) 
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import anydbm #type this
>>> import tempfile  #type this
>>> import os  #type this
>>> anydbm.open(os.path.join(tempfile.gettempdir(),"test"),"c")  #type this
<dbm.dbm object at 0x10be660d0>
>>> #you should see the above line: dbm.dbm...

As you can see opening the "test" file was successful in my machine. Can you please do the above and let me know the output? Just import anydbm, temofile and os, create a new dbm file and it should return a dbm object.

Regards,
Kishore.

David da Silva Contín

unread,
May 3, 2012, 1:58:39 AM5/3/12
to gamoo...@googlegroups.com
/*
Last login: Thu May  3 07:43:07 on console
iMac-David:dev-server hdasilva$ python2.6
Python 2.6.7 (r267:88850, Jul 31 2011, 19:30:54) 
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import anydbm
>>> import tempfile
>>> import os
>>> anydbm.open(os.path.join(tempfile.gettempdir(),"test"),"c")
<dbm.dbm object at 0x1031bd0d0>
>>> 
*/

All seems correct. I'll test again the connection to the server later, when I get the time.


-David

David da Silva Contín

unread,
May 3, 2012, 5:18:36 AM5/3/12
to gamoo...@googlegroups.com
Ok, I tested again the server (after testing these commands you've sent me), and it now works correctly:
/*
Last login: Thu May  3 07:57:06 on ttys000
iMac-David:~ hdasilva$ cd /Users/hdasilva/Desktop/gamooga-sdk/dev-server 
iMac-David:dev-server hdasilva$ python2.6 gamooga.py ../demos/app-chat-lobby/gamlet/ ../demos/app-chat-lobby/
[2012-05-03 11:16:35.567156] API: Server listening on 0.0.0.0:8000
[2012-05-03 11:16:35.567244] GAMOOGA: Server listening on 0.0.0.0:1094
[2012-05-03 11:16:35.567281] HTTP: Server listening on 0.0.0.0:10000
[2012-05-03 11:16:35.567415] FLASHPOLICY: Server listening on 0.0.0.0:8430
[2012-05-03 11:17:25.255204] HTTP: "GET / HTTP/1.1" 200 -
[2012-05-03 11:17:25.860385] HTTP: code 404, message File not found
[2012-05-03 11:17:25.861312] HTTP: "GET /favicon.ico HTTP/1.1" 404 -
[2012-05-03 11:17:39.327721] HTTP: "GET /html/ HTTP/1.1" 200 -
[2012-05-03 11:17:39.373042] HTTP: "GET /html/jquery.js HTTP/1.1" 200 -
[2012-05-03 11:17:39.384604] HTTP: "GET /html/gamooga.js HTTP/1.1" 200 -
[2012-05-03 11:17:39.580362] HTTP: "GET /html/sock_bridge.swf?onloadcallback=__gmg_init_wrapper HTTP/1.1" 200 -
[2012-05-03 11:17:39.612315] HTTP: code 404, message File not found
[2012-05-03 11:17:39.612397] HTTP: "GET /favicon.ico HTTP/1.1" 404 -
[2012-05-03 11:17:39.671610] API: connectToRoom called
[2012-05-03 11:17:41.261192] FLASHPOLICY: Connection from 127.0.0.1:54279
[2012-05-03 11:17:41.262254] FLASHPOLICY: Valid request received from 127.0.0.1:54279
[2012-05-03 11:17:41.262637] FLASHPOLICY: Sent policy file to 127.0.0.1:54279
[2012-05-03 11:17:42.692033] GAMOOGA: Incoming connection from ('127.0.0.1', 54285)
[2012-05-03 11:17:43.242690] CLIENT: 4fb13349-627e-41fd-9b5d-11598a72667b Client joining room
*/

Any clue of why wasn't it working before despite the fact of typing the same command?



- David
Reply all
Reply to author
Forward
0 new messages