[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4586: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4588: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4589: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4590: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
AI Challenge Forums • View topic - Duplicating the aichallenge website locally

It is currently Mon Apr 23, 2018 3:37 pm Advanced search

Duplicating the aichallenge website locally

Topics about starter packages, visualizer or any other third party tools.
Please submit new language requests in the Language Request Forum.

Re: Duplicating the aichallenge website locally

Postby amstan » Thu Oct 27, 2011 6:43 pm

Alexandru M. Stan
Contest Organizer
User avatar
amstan
Contest Organizer
 
Posts: 691
Joined: Sun Jan 31, 2010 4:02 am
Location: Stoney Creek, Ontario

Re: Duplicating the aichallenge website locally

Postby MrMr » Sat Oct 29, 2011 9:02 am

Thanks for the guide pixel8r it was really helpful but I'm still having problem installing the worker. When I run "curl http://127.0.0.1/api_server_setup.php?|sh" I get the following error message:

Executing: schroot -c aic-base -- /home/contest/aichallenge/setup/worker_setup.py --chroot-base
W: No chroots are defined in ‘/etc/schroot/schroot.conf’ or ‘/etc/schroot/chroot.d’
E: aic-base: Chroot not found
Traceback (most recent call last):
File "./worker_setup.py", line 437, in <module>
main(sys.argv)
File "./worker_setup.py", line 419, in main
setup_base_chroot(opts)
File "./worker_setup.py", line 180, in setup_base_chroot
% (os.path.join(options.root_dir, options.local_repo),))
File "/home/contest/aichallenge/setup/install_tools.py", line 68, in run_cmd
raise CmdError(cmd, status)
install_tools.CmdError: Error 1 returned from schroot -c aic-base -- /home/contest/aichallenge/setup/worker_setup.py --chroot-base
Traceback (most recent call last):
File "/root/worker_init.py", line 52, in <module>
main()
File "/root/worker_init.py", line 49, in main
--install-cronjob --start" % (sys.argv[1], sys.argv[2]))
File "/root/worker_init.py", line 24, in run_cmd
raise Exception("Command %s exited with %d" % (cmd, status))
Exception: Command ./worker_setup.py -y --username contest --api-url http://127.0.0.1/ --api-key 325731cf9feb15549efd16bf4f3f32b4 --install-cronjob --start exited with 1

Anyone who knows how to solve it?
MrMr
Lieutenant
 
Posts: 14
Joined: Sat Oct 29, 2011 8:55 am

Re: Duplicating the aichallenge website locally

Postby pixel8r » Sat Oct 29, 2011 11:37 am

pixel8r
Captain
 
Posts: 28
Joined: Mon Oct 24, 2011 10:19 am

Re: Duplicating the aichallenge website locally

Postby MrMr » Sun Oct 30, 2011 8:36 am

Yeah you're right that was my second attempt to run the script. At first I ran it exactly according to your description but it stopped working somewhere in the "curl http://... command and just stood there for hours without anything happening. I think it was a grep step. Then I tried to install it again but this time on another user and then I got the error I added before.

I've tried to start a whole new installation of Linux this morning and install it all over by following your instructions exactly but once again I got stuck on the "curl http://.. command but at another place this time. Really annoying.

I'm giving up for now but might try it later on. Is it any other than pixel8r who has succeeded with it? I'm using VirtualBox and Ubuntu 11.04 32-bit.
MrMr
Lieutenant
 
Posts: 14
Joined: Sat Oct 29, 2011 8:55 am

Re: Duplicating the aichallenge website locally

Postby imrofli » Sun Oct 30, 2011 8:54 pm

MrMr i know your problem, i had the same. it's probably the server whos not responding (maybe because i'm outside of the US)

before you start the script (the CURL one), change everything before archive (so i mean the us-east-1.ec2) to the apt server that works for your config.

look in those 2 files:
aichallenge/setup/worker_setup.py
aichallenge/setup/chroot_configs/sources.list

and if you've already made some wrong steps, i think you should install the system again (did this about 5 times until i saw the error...)
imrofli
Cadet
 
Posts: 8
Joined: Fri Oct 28, 2011 8:54 am

Re: Duplicating the aichallenge website locally

Postby MrMr » Sun Oct 30, 2011 9:04 pm

Ok that make sense I'm also outside the US. I'll give it another try tomorrow with a whole new system install. Thanks!
MrMr
Lieutenant
 
Posts: 14
Joined: Sat Oct 29, 2011 8:55 am

Re: Duplicating the aichallenge website locally

Postby imrofli » Sun Oct 30, 2011 10:08 pm

bu i've got another problem. i installed everything like the instructions told me to, but no games are being played (i've waitet for over 1,5 hours)

i made 3 accounts and uploaded some of the starter packages
imrofli
Cadet
 
Posts: 8
Joined: Fri Oct 28, 2011 8:54 am

Re: Duplicating the aichallenge website locally

Postby pixel8r » Mon Oct 31, 2011 2:24 am

pixel8r
Captain
 
Posts: 28
Joined: Mon Oct 24, 2011 10:19 am

Re: Duplicating the aichallenge website locally

Postby pixel8r » Mon Oct 31, 2011 2:26 am

pixel8r
Captain
 
Posts: 28
Joined: Mon Oct 24, 2011 10:19 am

Re: Duplicating the aichallenge website locally

Postby imrofli » Mon Oct 31, 2011 6:46 am

the problem is, it compiled 2 bots, and after that, it sort of stopped. i made some more user but the status is always this:



is there a way to reset the worker (i guess it's "his" fault it's not doing anything)? or has someone got a better idea?
imrofli
Cadet
 
Posts: 8
Joined: Fri Oct 28, 2011 8:54 am

PreviousNext

Return to Starter Packages & Tools

Who is online

Users browsing this forum: No registered users and 1 guest

cron