*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
greywhind | do i have to install signals separately from the base of boost? | 00:01 |
---|---|---|
*** peres has joined #tp | 00:01 | |
llnz | depends on the packaging system | 00:01 |
llnz | the dev package will be needed too | 00:01 |
greywhind | i used macports | 00:01 |
greywhind | i don't see a boost-dev or anything like that | 00:03 |
greywhind | just these: | 00:04 |
greywhind | greywhind (09:02 PM):~/Programming/tp04/tpserver-cpp > port search boost | 00:04 |
greywhind | boost @1.38.0 (devel) | 00:04 |
greywhind | Collection of portable C++ source libraries | 00:04 |
greywhind | boost-build @2.0-m12 (devel) | 00:04 |
greywhind | Build system for large project software construction | 00:04 |
llnz | i wonder if it's /usr/local/lib issue | 00:07 |
llnz | or other prefix... | 00:08 |
greywhind | oh... i have an idea | 00:08 |
greywhind | yes! got it! | 00:08 |
greywhind | ./configure --with-boost-libdir=/opt/local/lib | 00:08 |
greywhind | ^ needed that | 00:08 |
greywhind | because macports uses /opt/ as a prefix | 00:09 |
llnz | ah | 00:10 |
llnz | cool | 00:10 |
greywhind | wonder if there's a way to get it to check there automatically | 00:10 |
llnz | feel free to update the wiki page: http://www.thousandparsec.net/wiki/Tpserver-cpp_Setup | 00:10 |
tpb | <http://ln-s.net/rVo> (at www.thousandparsec.net) | 00:10 |
greywhind | llnz: also, did you get my patch e-mail? | 00:11 |
llnz | not yet | 00:12 |
greywhind | llnz: hmm... didn't check, or it didn't arrive? | 00:13 |
llnz | my email is fairly slow, hasn't arrived yet | 00:14 |
greywhind | llnz: i sent it to [email protected], about 10 hours ago | 00:15 |
llnz | odd | 00:16 |
llnz | try sending it to [email protected] | 00:16 |
greywhind | ok | 00:17 |
greywhind | llnz: ok, re-sent | 00:18 |
*** peres has left #tp | 00:21 | |
llnz | cool, got it and applied | 00:24 |
greywhind | ok, great! | 00:24 |
CIA-46 | noegnud tpserver-cpp * rbbb02f7f76dd /autogen.sh: | 00:25 |
CIA-46 | Added conditions to autogen.sh to check for glibtoolize if libtoolize is not available. This | 00:25 |
CIA-46 | will allow autogen.sh to work on Mac OS X, which calls it glibtoolize. | 00:25 |
greywhind | llnz: now it can't seem to find mzscheme or guile no matter what i do | 00:38 |
greywhind | checking for scheme_basic_env in -lmzscheme... no | 00:38 |
greywhind | checking for scheme_basic_env in -lmzscheme3m... no | 00:38 |
greywhind | configure: WARNING: Not going to build MzScheme module | 00:38 |
greywhind | checking for guile-config... /opt/local/bin/guile-config | 00:38 |
greywhind | checking for scm_init_guile in -lguile... no | 00:38 |
greywhind | configure: WARNING: Cannot find Guile library | 00:38 |
llnz | have you seen the instructions on the http://www.thousandparsec.net/wiki/Tpserver-cpp_Setup pag | 00:40 |
tpb | <http://ln-s.net/rVo> (at www.thousandparsec.net) | 00:40 |
greywhind | llnz: yeah, but they don't seem to work | 00:43 |
greywhind | fink can't find guile18 | 00:43 |
greywhind | i'll try removing the 18 | 00:44 |
greywhind | llnz: that installed it, but it still can't find it | 00:46 |
greywhind | i tried using --with-guile and a bunch of different paths, too | 00:46 |
greywhind | greywhind (09:47 PM):~/Programming/tp04/tpserver-cpp > guile --versionGuile 1.8.6 | 00:48 |
*** llnz has quit IRC | 00:58 | |
*** llnz has joined #tp | 01:02 | |
greywhind | llnz: no other ideas? | 01:23 |
*** jmtan has joined #tp | 01:45 | |
mithro | greywhind: ping? | 03:00 |
*** jmtan has quit IRC | 03:09 | |
greywhind | mithro: pong | 03:50 |
mithro | no luck with the server on mac? | 03:50 |
greywhind | mithro: i still have the above error | 03:51 |
greywhind | i also posted about it on my blog | 03:51 |
mithro | did you check the config.log file? | 03:52 |
greywhind | mithro: looks like this is failing: | 03:54 |
greywhind | configure:20592: g++ -o conftest -g -Wall -I/usr/local/include -I/usr/local/include -I/opt/local/include conftest.cpp -lguile -ldl -lpthread >&5 | 03:54 |
greywhind | usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: can't locate file for: -lguile | 03:54 |
mithro | so it's missing a -L/opt/<something>/lib | 03:55 |
mithro | greywhind: guile is in /opt/<something> right? | 03:56 |
mithro | you did a --with-guile=/opt/<something> | 03:56 |
*** greenlion has joined #tp | 03:56 | |
mithro | right? | 03:56 |
greywhind | guile is in /opt/local | 03:56 |
mithro | so you should do a | 03:57 |
mithro | --with-guile=/opt/local | 03:57 |
greywhind | i've tried --with-guile=/opt/local, and it doesn't work | 03:57 |
mithro | how does the error change then? | 03:57 |
greywhind | i've also tried /opt/local/bin, /opt/local/include, /opt/local/lib | 03:57 |
greywhind | it doesn't seem to change at all | 03:58 |
mithro | /opt/local is the right path | 03:58 |
mithro | what does guile-config output? | 03:58 |
greywhind | a usage message | 03:58 |
greywhind | greywhind (12:58 AM):~/Programming/tp04/tpserver-cpp > guile-config link | 03:59 |
greywhind | -I/opt/local/include -D_THREAD_SAFE -L/opt/local/lib -lguile -lltdl -L/opt/local/lib -lgmp -lm -lltdl | 03:59 |
greywhind | greywhind (12:58 AM):~/Programming/tp04/tpserver-cpp > guile-config compile | 03:59 |
greywhind | -I/opt/local/include -I/opt/local/include -D_THREAD_SAFE | 03:59 |
greywhind | i think the compiler is missing the -L/opt/local/lib | 03:59 |
greywhind | any way to force it to put that in? | 03:59 |
mithro | greywhind: so the line in the config.log should have that stuff in it | 04:00 |
greywhind | it has: | 04:00 |
greywhind | GUILE_CFLAGS='-I/opt/local/include -I/opt/local/include -D_THREAD_SAFE ' | 04:00 |
greywhind | GUILE_CONFIG='/opt/local/bin/guile-config' | 04:00 |
greywhind | GUILE_FALSE='' | 04:00 |
greywhind | GUILE_LIBS='-I/opt/local/include -D_THREAD_SAFE -L/opt/local/lib -lguile -lltdl -L/opt/local/lib -lgmp -lm -lltdl' | 04:00 |
greywhind | but the command it ran is just: | 04:00 |
greywhind | g++ -o conftest -g -Wall -I/usr/local/include -I/usr/local/include -I/opt/local/include conftest.cpp -lguile -ldl -lpthread >&5 | 04:01 |
mithro | okay there is something wrong config test | 04:01 |
mithro | as it should add those flags when doing a test compile | 04:01 |
greywhind | any way to fix that? | 04:02 |
mithro | yes, but i don't know how | 04:02 |
mithro | need a autoconfig expert | 04:04 |
greywhind | hah! | 04:05 |
mithro | ha? | 04:05 |
greywhind | i set the environment variable LPATH to /opt/local/lib | 04:05 |
greywhind | and it worked | 04:05 |
mithro | that is a bad hack :( - should poke lee to fix it properly | 04:06 |
greywhind | yeah, but it worked this time | 04:06 |
greywhind | it gives me this at the very end: | 04:06 |
greywhind | === configuring in libltdl (/Users/greywhind/Programming/tp04/tpserver-cpp/libltdl) | 04:06 |
greywhind | configure: WARNING: no configuration information is in libltdl | 04:06 |
mithro | that should be fine | 04:07 |
greywhind | ok | 04:07 |
greywhind | now let's see what goes horribly wrong when i make | 04:07 |
greywhind | main.cpp: In function 'void daemonize()': | 04:18 |
greywhind | main.cpp:108: error: 'umask' was not declared in this scope | 04:18 |
greywhind | i'm having trouble finding much about the umask() function... is it something we wrote? | 04:18 |
greywhind | aha. got it. | 04:21 |
greywhind | needed to include: | 04:21 |
greywhind | #include <sys/types.h> | 04:21 |
greywhind | #include <sys/stat.h> | 04:21 |
greywhind | mithro: should i make another patch and send it to llnz? | 04:22 |
mithro | possibly | 04:22 |
greywhind | mithro: oh - he applied my other patch... how do i get my git to update to it? | 04:25 |
mithro | git pull | 04:26 |
greywhind | i did that, but now it says i'm ahead of the master by 2 commits (it merged, apparently) | 04:26 |
mithro | easist way is to start up gitk | 04:27 |
mithro | click on origin/master and do a "reset master to here" | 04:27 |
greywhind | i don't see a "reset master to here" | 04:28 |
greywhind | i see "checkout this branch" and "remove this branch" | 04:28 |
greywhind | oh, wait | 04:32 |
greywhind | do i want soft, mixed, or hard? | 04:33 |
greywhind | mithro? | 04:35 |
mithro | hard | 04:35 |
mithro | unless you have some other changes | 04:36 |
mithro | you can do a git-cherry-pick your new change | 04:36 |
greywhind | mithro: ok, thanks | 04:36 |
llnz | greywhind: i could add the includes or you could send a patch | 04:36 |
greywhind | llnz: you go ahead. | 04:36 |
greywhind | #include <sys/types.h> | 04:36 |
greywhind | #include <sys/stat.h> | 04:37 |
greywhind | those seem to be the ones i needed | 04:37 |
greywhind | in main.cpp | 04:37 |
greywhind | llnz: it would be great if you could also look into why it might not be using the -L/opt/local/lib flag when trying to use guile | 04:38 |
CIA-46 | llnz tpserver-cpp * r5491891d28ea /tpserver/main.cpp: | 04:43 |
CIA-46 | Added headers needed for MacOS (probably others too). | 04:43 |
CIA-46 | Thanks greywhind. | 04:43 |
greywhind | ok! it all builds nicely! | 04:46 |
llnz | i think I see the problem with the guile test | 04:47 |
llnz | is the problem at the "checking for scm_init_guile in -lguile..." ? | 04:48 |
greywhind | yeah | 04:48 |
greywhind | mithro: i forget - which rulesets are good to test tp04 with? | 04:50 |
mithro | not sure | 04:50 |
mithro | I would start with minisec | 04:50 |
greywhind | ok | 04:50 |
greywhind | the server seems to run, and single player appears to work! | 04:50 |
llnz | all tpserver-cpp rulesets should work with tp04 | 04:52 |
greywhind | and the server should run tp04 automatically, yes | 04:53 |
greywhind | i don't need any special options? | 04:53 |
CIA-46 | llnz tpserver-cpp * rc45a3d5a2c3d /configure.ac: | 04:55 |
CIA-46 | Pass the guile CFLAGS and LDFLAGS to the AC_CHECK_LIB for guile. | 04:55 |
CIA-46 | Should fix greywhind's MacOS configure issue. | 04:55 |
llnz | yes | 04:55 |
llnz | the server internally uses tp04, and has some hacks to allow tp03 to work | 04:55 |
greywhind | llnz: hmm | 04:58 |
greywhind | still doesn't seem to be finding guile without LPATH set | 04:58 |
greywhind | let me try the --with-guile flag | 04:58 |
greywhind | nope | 04:58 |
llnz | oopss, i messed up | 04:59 |
*** verhoevenv has joined #tp | 04:59 | |
greywhind | in better news, my computer is getting shipped back to me | 05:00 |
greywhind | i should be back to normal in about three or four days | 05:00 |
greywhind | but at least we're getting mac testing in! :P | 05:01 |
verhoevenv | reac: Evening! | 05:02 |
reac | hi verhoevenv | 05:11 |
mithro | cherez: ping? | 05:11 |
CIA-46 | llnz tpserver-cpp * r3820bd41f1be /configure.ac: Fix the previous mistake in passing flags to the guile lib test. | 05:11 |
*** gau_veldt has quit IRC | 05:12 | |
*** llnz2 has joined #tp | 05:14 | |
*** llnz has quit IRC | 05:14 | |
*** llnz2 is now known as llnz | 05:14 | |
greywhind | llnz: yep, it's fixed! | 05:15 |
verhoevenv | reac: Anything interesting done last week? Got the profiling to work? | 05:15 |
llnz | cool | 05:15 |
greywhind | thanks for the help | 05:15 |
llnz | no problem | 05:15 |
llnz | each bug fixed is a bug fixed | 05:15 |
greywhind | and, since it's 2:15 AM, i'm going to sleep | 05:16 |
* llnz wanders off | 07:31 | |
llnz | later all | 07:31 |
*** llnz has quit IRC | 07:32 | |
*** verhoevenv has quit IRC | 07:37 | |
*** jmtan has joined #tp | 07:47 | |
*** greenlion has quit IRC | 08:38 | |
*** gau_veldt has joined #tp | 08:39 | |
*** greenlion has joined #tp | 08:39 | |
*** jmtan1 has joined #tp | 08:40 | |
*** reac has quit IRC | 08:41 | |
*** peres has joined #tp | 08:54 | |
*** jmtan has quit IRC | 08:58 | |
epyon | mithro: any luch with my git access? | 09:55 |
mithro | epyon: well part of it | 09:56 |
epyon | luck* | 09:56 |
mithro | you now have the permission to push to the repository | 09:56 |
mithro | but the key denied error you where getting is probably because you are not using the right ssh key | 09:57 |
epyon | I did send that one to llnz... | 09:57 |
*** jmtan1 has quit IRC | 09:57 | |
mithro | can you do a | 09:57 |
mithro | ssh [email protected] | 09:57 |
epyon | epyon@neko:~/projects$ ssh [email protected] | 09:58 |
epyon | Permission denied (publickey,gssapi-keyex,gssapi-with-mic). | 09:58 |
mithro | that is a key problem | 09:59 |
epyon | sooo, any suggestions? | 09:59 |
mithro | your not using the right key | 10:00 |
mithro | do you want to send me the key you are using again? | 10:01 |
epyon | I think this is a software issue :/ | 10:02 |
epyon | It's the same messages as here : http://ubuntuforums.org/showthread.php?t=793517 | 10:02 |
tpb | Title: [ubuntu] OpenSSL vulnerability - Ubuntu Forums (at ubuntuforums.org) | 10:02 |
epyon | Ironically this is also while connecting to thousandparsec... | 10:03 |
mithro | epyon: not related | 10:03 |
epyon | Yyyh, wrong link | 10:03 |
epyon | http://ubuntuforums.org/showthread.php?t=794765 | 10:03 |
tpb | Title: [ubuntu] [SOLVED] SSH Login Fail : Unspecified GSS failure. - Ubuntu Forums (at ubuntuforums.org) | 10:03 |
mithro | are you using ssh? | 10:03 |
mithro | on Ubuntu? | 10:03 |
epyon | This is after calling ssh [email protected] | 10:04 |
epyon | I get the same error trace | 10:04 |
mithro | it means that the key you are using is not authorized | 10:05 |
mithro | you need to send me your key again | 10:08 |
mithro | if you do so quickly I'll update it now | 10:10 |
epyon | kk | 10:11 |
epyon | where shall I send it? | 10:11 |
mithro | [email protected] | 10:11 |
epyon | sent | 10:13 |
mithro | epyon: try ssh now | 10:16 |
epyon | fatal: What do you think I am? A shell? | 10:17 |
epyon | xD | 10:17 |
*** peres has left #tp | 10:31 | |
mithro | epyon: that means it works | 10:42 |
mithro | epyon: you should be able to push now | 10:42 |
epyon | mithro: all is well :) | 10:48 |
epyon | compiled and ran successfully | 11:02 |
mithro | epyon: great | 11:09 |
mithro | i should have been in bed an hour ago | 11:09 |
mithro | have a good night! | 11:09 |
*** JLafont has quit IRC | 11:39 | |
*** jmtan has joined #tp | 12:13 | |
*** alanp has joined #tp | 12:15 | |
*** jmtan has quit IRC | 12:48 | |
*** jmtan has joined #tp | 12:48 | |
*** Noughmad has joined #tp | 14:21 | |
*** epyon has quit IRC | 14:44 | |
krytzz | hi, just for the interest, do you know this? http://www.planetepoch.com/ | 15:19 |
tpb | Title: www.planetepoch.com (at www.planetepoch.com) | 15:19 |
*** llnz has joined #tp | 16:05 | |
llnz | morning all | 16:05 |
*** epyon has joined #tp | 16:56 | |
*** greenlion has quit IRC | 17:07 | |
*** Noughmad has quit IRC | 17:11 | |
*** zzorn_ has joined #tp | 18:53 | |
CIA-46 | epyon tpserver-cpp * r9e5de1b4c034 /tpserver/referenceobjectparam.h: | 19:18 |
CIA-46 | Include guard fixed. | 19:18 |
CIA-46 | (also a test of commit access) | 19:18 |
llnz | cool | 19:19 |
*** zzorn has quit IRC | 19:23 | |
*** nash_ has joined #tp | 19:38 | |
*** nash has quit IRC | 19:56 | |
*** mithro has quit IRC | 20:07 | |
greywhind | llnz: do you happen to know whether modifying the libtpproto-py "objects" directly (such as changing sizes, parameters, etc.) would be correct? | 20:27 |
greywhind | for instance, the TimeRemaining object was outdated, and updating it by hand seemed to fix it, but if it's automatically generated somehow i don't want to commit it | 20:28 |
llnz | i believe in libtpproto-py the pack/unpack structures were done by hand | 20:29 |
greywhind | ok | 20:29 |
greywhind | i didn't see anything that looked like an auto-generation script or something, but i wanted to make sure | 20:30 |
greywhind | llnz: also, do you have any idea why the metaserver might be sending a packet with type "349"? | 20:34 |
llnz | not off hand | 20:34 |
greywhind | i'm getting an error every time i start the client: | 20:35 |
greywhind | Exception in thread RemoteBrowser: | 20:35 |
greywhind | Traceback (most recent call last): | 20:35 |
greywhind | File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/threading.py", line 460, in __bootstrap | 20:35 |
greywhind | self.run() | 20:35 |
greywhind | File "libtpproto-py/tp/netlib/discover/metaserver_browser.py", line 45, in run | 20:35 |
greywhind | p, data = getpacket(data) | 20:35 |
greywhind | File "libtpproto-py/tp/netlib/discover/metaserver_browser.py", line 10, in getpacket | 20:35 |
greywhind | p = objects.Header.fromstr(header) | 20:35 |
greywhind | File "libtpproto-py/tp/netlib/objects/Header.py", line 90, in fromstr | 20:35 |
greywhind | return cls(*args) | 20:35 |
greywhind | File "libtpproto-py/tp/netlib/objects/Header.py", line 53, in __init__ | 20:35 |
greywhind | raise ValueError("Unknown packet type %i." % type) | 20:35 |
greywhind | ValueError: Unknown packet type 349. | 20:35 |
tansell | greywhind, they are created by hand | 21:07 |
greywhind | tansell: ok. thanks | 21:08 |
tansell | greywhind, cherez is working on making libtpproto2-py which is auto-generated | 21:08 |
tansell | 349 is a strange number | 21:08 |
greywhind | also, should i push the merge and the change to TimeRemaining? | 21:08 |
tansell | greywhind, to the tp04 branch | 21:09 |
greywhind | as long as i have tp04 checked out, i should be fine pushing, right? | 21:09 |
tansell | greywhind, in theory :P | 21:13 |
greywhind | well, let's try it then | 21:13 |
tansell | I can always reset the repositories if things go bad | 21:13 |
greywhind | greywhind (06:14 PM):~/Programming/tp04/tpclient-pywx/libtpproto-py > git push --all --dry-run -v | 21:14 |
greywhind | Pushing to git://git.thousandparsec.net/git/libtpproto-py.git | 21:14 |
greywhind | fatal: The remote end hung up unexpectedly | 21:14 |
greywhind | hmm... the submodules probably weren't checked out with my username | 21:15 |
greywhind | tansell: how should i push those? | 21:17 |
tansell | greywhind, a number of ways to do so | 21:18 |
tansell | edit ./.git/config | 21:19 |
tansell | and change git://git.... to git+ssh://<username>@ | 21:19 |
tansell | or | 21:19 |
tansell | git push git+ssh://<username>@.... | 21:19 |
greywhind | i'll edit the config | 21:19 |
greywhind | Pushing to git+ssh://[email protected]/git/libtpproto-py.git | 21:20 |
greywhind | Enter passphrase for key '/Users/greywhind/.ssh/id_rsa': | 21:20 |
greywhind | To git+ssh://[email protected]/git/libtpproto-py.git | 21:20 |
greywhind | = [up to date] master -> master | 21:20 |
greywhind | 89353e5..aff2b4c tp04 -> tp04 | 21:20 |
greywhind | * [new branch] remotemaster -> remotemaster | 21:20 |
greywhind | i guess i should delete the new branch before running it for real? | 21:20 |
greywhind | tansell: other than that, looks good, yes? | 21:22 |
tansell | the last one looks wrong | 21:23 |
greywhind | i deleted remotemaster | 21:23 |
greywhind | Pushing to git+ssh://[email protected]/git/libtpproto-py.git | 21:23 |
greywhind | Enter passphrase for key '/Users/greywhind/.ssh/id_rsa': | 21:23 |
greywhind | To git+ssh://[email protected]/git/libtpproto-py.git | 21:23 |
greywhind | = [up to date] master -> master | 21:23 |
greywhind | 89353e5..aff2b4c tp04 -> tp04 | 21:23 |
tansell | looks good | 21:23 |
greywhind | k | 21:23 |
greywhind | tansell: http://rafb.net/p/QI0U6z82.html | 21:24 |
tpb | Title: Nopaste - No description (at rafb.net) | 21:24 |
tansell | let me check | 21:25 |
tansell | but looks like you might not be in the correct group | 21:25 |
tansell | cherez, poke? | 21:25 |
cherez | tansell: Pongke? | 21:26 |
tansell | cherez, so where are we at? | 21:26 |
tansell | greywhind, try again now? | 21:26 |
CIA-46 | noegnud libtpproto-py-tp04 * raff2b4cf79ae /tp/netlib/objects/TimeRemaining.py: | 21:27 |
CIA-46 | Updated the TimeRemaining object to the tp04 specifications (added reason, current turn number, | 21:27 |
CIA-46 | and current turn name), to get rid of an error in which its size was larger than expected. | 21:27 |
greywhind | tansell: worked that time | 21:27 |
cherez | tansell: Writing unit tests for xstruct. | 21:27 |
greywhind | now i'll try libtpclient-py | 21:27 |
tansell | cherez, don't there already exist unit tests for that? | 21:28 |
greywhind | greywhind (06:28 PM):~/Programming/tp04/tpclient-pywx/libtpclient-py > git push --all --dry-run -v | 21:28 |
greywhind | Pushing to git+ssh://[email protected]/git/libtpclient-py.git | 21:28 |
greywhind | Enter passphrase for key '/Users/greywhind/.ssh/id_rsa': | 21:28 |
greywhind | To git+ssh://[email protected]/git/libtpclient-py.git | 21:28 |
greywhind | = [up to date] libtpclient-py-0.3.x -> libtpclient-py-0.3.x | 21:28 |
greywhind | = [up to date] stable -> stable | 21:28 |
greywhind | 7ba5e49..c091eb5 tp04 -> tp04 | 21:28 |
greywhind | that look right? | 21:28 |
cherez | tansell: At this point, I hope not. :P I don't see them anywhere in the latest revision, at least. | 21:29 |
tansell | greywhind, yes | 21:30 |
tansell | if you ever push to the stable branch, remeber to do a pull straight after | 21:31 |
CIA-46 | aaron libtpclient-py-tp04 * rdebd26a77f37 /tp/client/SinglePlayer.py: Initial creation of SinglePlayer with ServerList class. | 21:31 |
CIA-46 | aaron libtpclient-py-tp04 * reed093150293 /tp/client/SinglePlayer.py: Added basic SinglePlayer object (only builds a server list so far). | 21:31 |
CIA-46 | aaron libtpclient-py-tp04 * r44d7806f6dbd /tp/client/SinglePlayer.py: Added AI client list and server start functionality. | 21:31 |
greywhind | ok | 21:31 |
CIA-46 | aaron libtpclient-py-tp04 * refb7c0bfb487 /tp/client/SinglePlayer.py: Several minor code improvements. | 21:31 |
CIA-46 | aaron libtpclient-py-tp04 * rca141cbd28d5 /tp/client/SinglePlayer.py: Start AI clients, initialization exceptions. | 21:31 |
CIA-46 | aaron libtpclient-py-tp04 * r70de7f155e13 /tp/client/SinglePlayer.py: SinglePlayerGame now fully working. Also added some helper functions (list_*). | 21:31 |
CIA-46 | aaron libtpclient-py-tp04 * r0638b2b6da74 /tp/client/SinglePlayer.py: Added forced parameters to servers, rulesets, and AI clients. | 21:31 |
*** jnengland77 has joined #tp | 21:31 | |
CIA-46 | aaron libtpclient-py-tp04 * ree542aa1ea68 /tp/client/SinglePlayer.py: Removed debugging print statements. | 21:31 |
greywhind | spam incoming from the merge :-/ | 21:31 |
CIA-46 | aaron libtpclient-py-tp04 * rc56feff803ba /tp/client/SinglePlayer.py: Added AI opponent username support. | 21:31 |
CIA-46 | aaron libtpclient-py-tp04 * r8794f91e510f /tp/client/SinglePlayer.py: Various fixes per Mithro (comments, better string formatting, use of subprocess module, etc.). | 21:31 |
CIA-46 | aaron libtpclient-py-tp04 * r5f5067be9e6e /tp/client/SinglePlayer.py: Using self variables for sever/ruleset names and parameters. | 21:31 |
CIA-46 | aaron libtpclient-py-tp04 * r3f89f1abbd63 /tp/client/SinglePlayer.py: Added ruleset_info function. | 21:31 |
CIA-46 | aaron libtpclient-py-tp04 * r30217a3dbced /tp/client/SinglePlayer.py: Added listing functions for server and ruleset parameters. | 21:31 |
CIA-46 | aaron libtpclient-py-tp04 * r1fa4f3f5f409 /tp/client/SinglePlayer.py: Fixed parameter value formatting. | 21:31 |
CIA-46 | aaron libtpclient-py-tp04 * r4c97ecf87625 /tp/client/SinglePlayer.py: Added longname, version, and description to AI client list. | 21:31 |
CIA-46 | aaron libtpclient-py-tp04 * r4bdd0e864a0a /tp/client/SinglePlayer.py: Improvements to share directory path and server/ruleset helper functions. | 21:32 |
CIA-46 | aaron libtpclient-py-tp04 * r4917e7464a48 /tp/client/SinglePlayer.py: Ruleset info helper uses game server if defined. | 21:32 |
CIA-46 | aaron libtpclient-py-tp04 * r7b3310947ad6 /tp/client/SinglePlayer.py: Search for server and AI control scripts. | 21:32 |
CIA-46 | aaron libtpclient-py-tp04 * r814e2e7dd14e /tp/client/SinglePlayer.py: Full function documentation. | 21:32 |
CIA-46 | aaron libtpclient-py-tp04 * r4e1bdbec746e /tp/client/SinglePlayer.py: Minor fix in AI starting. | 21:32 |
CIA-46 | aaron libtpclient-py-tp04 * rd5bf1543cf49 /tp/client/SinglePlayer.py: Improved status checking and initialization. | 21:32 |
CIA-46 | aaron libtpclient-py-tp04 * r445a570d5abc / (11 files in 5 dirs): Include single player shared data in package install. | 21:32 |
CIA-46 | aaron libtpclient-py-tp04 * rd6ba2c827cc2 /tp/client/singleplayer/ (8 files in 3 dirs): Added commandstring to XML, removed bash control scripts. | 21:32 |
CIA-46 | aaron libtpclient-py-tp04 * r3fe38835dd22 /tp/client/SinglePlayer.py: Pull in commandstring with absorb_xml. | 21:32 |
CIA-46 | aaron libtpclient-py-tp04 * raa7da8b65904 /tp/client/ (5 files in 3 dirs): Proper starting and stopping of server/AI subprocesses. | 21:32 |
CIA-46 | mavrinac libtpclient-py-tp04 * rbb2280d86dcb /tp/client/ (ChangeList.py cache.py threads.py version.py): Merge commit 'origin/stable' into singleplayer | 21:32 |
CIA-46 | mavrinac libtpclient-py-tp04 * r8ba32b4f8ecc /tp/client/ (6 files in 4 dirs): Removed bundled single-player XML and improved directory checking. | 21:32 |
CIA-46 | mavrinac libtpclient-py-tp04 * rb35ed2a422ee /tp/client/SinglePlayer.py: New DownloadList object to query available servers and AI clients. | 21:32 |
CIA-46 | mavrinac libtpclient-py-tp04 * ra59590a702b0 /tp/client/SinglePlayer.py: Look in the registry for paths to single player XML on Win32 platforms. | 21:32 |
CIA-46 | mavrinac libtpclient-py-tp04 * rcf692c7d944f /tp/client/SinglePlayer.py: XML and download page URLs are now parameters to DownloadList. | 21:33 |
CIA-46 | mavrinac libtpclient-py-tp04 * r3471cd392f9d /tp/client/SinglePlayer.py: Link with category GET string instead of anchor. | 21:33 |
CIA-46 | mithro libtpclient-py-tp04 * r706dcfbeced4 /LICENSE: | 21:33 |
CIA-46 | Updated the LICENSE file to include the exceptions. | 21:33 |
CIA-46 | TODO: Remove the exceptions! | 21:33 |
CIA-46 | mithro libtpclient-py-tp04 * r908227482941 /LICENSE: Added the copyright holders for non-tp stuff. | 21:33 |
CIA-46 | mithro libtpclient-py-tp04 * rd0cdcc05cc65 /LICENSE: Added the dates. | 21:33 |
CIA-46 | mavrinac libtpclient-py-tp04 * rbfb29d7b228b /LICENSE: Merge commit 'origin/stable' into singleplayer | 21:33 |
CIA-46 | mavrinac libtpclient-py-tp04 * rdec41aaeec9f /tp/client/SinglePlayer.py: Look for development version single player XML files in other TP repos. | 21:33 |
CIA-46 | mavrinac libtpclient-py-tp04 * r4da6797e54b5 /tp/client/SinglePlayer.py: | 21:33 |
CIA-46 | Collapse ServerList and AIList into new LocalList with more dynamic XML | 21:33 |
CIA-46 | parsing. Also, new search path handling and other minor improvements. | 21:33 |
CIA-46 | mithro libtpclient-py-tp04 * rd7e6101a92dc /tp/client/SinglePlayer.py: Make the code a little clearer. | 21:33 |
CIA-46 | mavrinac libtpclient-py-tp04 * r646b8ede4401 /tp/client/SinglePlayer.py: Show proper path in 'found XML file' message. | 21:33 |
CIA-46 | (63 lines omitted) | 21:33 |
Landon | man I wish I was that productive tonight | 21:34 |
Landon | ;) | 21:34 |
greywhind | tansell: on to tpclient-pywx? | 21:34 |
tansell | hey Landon | 21:34 |
greywhind | sorry about the spam | 21:34 |
Landon | ahoy tansell, installing python-ogre on the netbook | 21:34 |
tansell | greywhind, well - we really should fix the bot not to spam on a merge like that | 21:34 |
greywhind | ok, here goes the last one for now | 21:37 |
CIA-46 | aaron tpclient-pywx-tp04 * r07550bc7f7b6 /windows/ (winConnect.py xrc/winConnect.py xrc/winConnect.xrc): Added a Single Player button to winConnect. | 21:37 |
CIA-46 | aaron tpclient-pywx-tp04 * r1db487b1898b /windows/ (4 files in 2 dirs): Added wxWizard base class generator and basic initial SinglePlayerWizard. | 21:37 |
CIA-46 | aaron tpclient-pywx-tp04 * r6968dba466f5 /windows/ (4 files in 2 dirs): Wizard and wizard page base classes are generated. | 21:37 |
CIA-46 | aaron tpclient-pywx-tp04 * r65daab7287a2 /windows/xrc/ (SinglePlayerWizard.py generate.py): Wizard pages only set up their own controls (fix). | 21:37 |
CIA-46 | aaron tpclient-pywx-tp04 * r85735a44045e /windows/ (4 files in 2 dirs): Base classes for wizard pages generated differently. This way works. | 21:37 |
CIA-46 | aaron tpclient-pywx-tp04 * rdc7ce6ca4083 /windows/ (4 files in 2 dirs): Single player wizard is partially implemented. | 21:37 |
CIA-46 | aaron tpclient-pywx-tp04 * r29fd37c3b015 /windows/winConnect.py: Automatically connect to single player game. | 21:37 |
CIA-46 | aaron tpclient-pywx-tp04 * r0e3c9af6f420 /windows/ (4 files in 2 dirs): Ruleset, server, and all options are implemented in single player wizard. | 21:37 |
CIA-46 | aaron tpclient-pywx-tp04 * r4088552e33ef /windows/ (3 files in 2 dirs): Added opponent adding page to single player wizard. | 21:37 |
CIA-46 | aaron tpclient-pywx-tp04 * r2f1747deb01d /windows/winConnect.py: Comments and small improvements on wizard pages. | 21:37 |
CIA-46 | aaron tpclient-pywx-tp04 * ra2877d743e2b / (tpclient-pywx windows/winConnect.py): SinglePlayerGame object resides at the app level for cleanup. | 21:37 |
CIA-46 | aaron tpclient-pywx-tp04 * rd997ca21c874 / (23 files in 2 dirs): Merge commit 'origin/stable' into singleplayer | 21:37 |
CIA-46 | aaron tpclient-pywx-tp04 * r90c243d50135 /windows/winConnect.py: Documentation of custom functions in wizard/pages. | 21:37 |
CIA-46 | mithro tpclient-pywx-tp04 * re87760f5d862 /requirements.py: | 21:37 |
CIA-46 | Check that you are always running the development version with development client. | 21:37 |
CIA-46 | Insert the local libraries in the front of the search path. | 21:37 |
CIA-46 | mavrinac tpclient-pywx-tp04 * ra24a6bafac50 / (5 files in 2 dirs): Merge commit 'origin/stable' into singleplayer | 21:37 |
CIA-46 | mavrinac tpclient-pywx-tp04 * r6002ce7ff88f / (4 files in 3 dirs): Automatic text wrapping for static labels on SP wizard pages. | 21:38 |
CIA-46 | mavrinac tpclient-pywx-tp04 * r509a506cb22b / (4 files in 3 dirs): Show download hyperlinks for servers (no browser launch yet). | 21:38 |
CIA-46 | mavrinac tpclient-pywx-tp04 * re7bc4748b26e / (libtpclient-py windows/winConnect.py): Single player wizard hyperlinks open in browser. | 21:38 |
CIA-46 | mavrinac tpclient-pywx-tp04 * raa05e1eaef8d /windows/ (3 files in 2 dirs): Added page to single player wizard for the case where no AIs are found. | 21:38 |
CIA-46 | mithro tpclient-pywx-tp04 * r281ebac28c2d /tpclient-pywx: Fixed for a change in libtpclient-py. | 21:38 |
CIA-46 | mithro tpclient-pywx-tp04 * re2ee45cf4350 /libtpclient-py: Updated the submodule to the latest head. | 21:38 |
CIA-46 | mithro tpclient-pywx-tp04 * r39f8c9594919 /windows/winAccount.py: Fixed account creation. | 21:38 |
CIA-46 | mavrinac tpclient-pywx-tp04 * r5e64a7c42a87 /libtpclient-py: Updated libtpclient-py submodule to latest head. | 21:38 |
CIA-46 | mavrinac tpclient-pywx-tp04 * rd18878a1404e / (tpclient-pywx windows/winAccount.py): Merge commit 'origin/stable' into singleplayer | 21:38 |
CIA-46 | mavrinac tpclient-pywx-tp04 * r936d2f089bb6 /libtpclient-py: Switched libtpclient-py submodule to singleplayer branch. | 21:38 |
CIA-46 | mavrinac tpclient-pywx-tp04 * r0fcad189a2f4 /windows/winConnect.py: Remove min height on opponent page of single player wizard. | 21:38 |
CIA-46 | mavrinac tpclient-pywx-tp04 * rb69ce743eaf6 /libtpclient-py: Update submodule to latest version of libtpclient-py. | 21:38 |
CIA-46 | mavrinac tpclient-pywx-tp04 * r341d8456d13a /windows/winConnect.py: Modify SP wizard code to reflect new SinglePlayer LocalList. | 21:38 |
CIA-46 | mavrinac tpclient-pywx-tp04 * r4d4f89c0c0a0 /libtpclient-py: Update submodule to latest version of libtpclient-py. | 21:38 |
CIA-46 | mithro tpclient-pywx-tp04 * r696226a0eabb /windows/winConnect.py: First steps towards cleaning up the single player code. | 21:39 |
CIA-46 | mavrinac tpclient-pywx-tp04 * rcdabdccc78bb /windows/winConnect.py: Fix bugs related to server and ruleset info. | 21:39 |
CIA-46 | mavrinac tpclient-pywx-tp04 * r7cddc22ad018 /windows/winConnect.py: Fix bug in start page of single player wizard. | 21:39 |
CIA-46 | mavrinac tpclient-pywx-tp04 * ree2e156b8bf3 /windows/winConnect.py: Move population of parameter controls to a single function. | 21:39 |
CIA-46 | mithro tpclient-pywx-tp04 * rc70cdbd1ca40 /windows/ (3 files in 2 dirs): Started converting the opponent page. | 21:39 |
CIA-46 | mithro tpclient-pywx-tp04 * r536c5722e60d /windows/winConnect.py: | 21:39 |
CIA-46 | Merge branch 'singleplayer' of git+ssh://git.thousandparsec.net/git/tpclient-pywx into singleplayer | 21:39 |
CIA-46 | (62 lines omitted) | 21:39 |
greywhind | tansell: ok, so any ideas on the packet with the odd type? | 21:41 |
tansell | no | 21:41 |
tansell | turn on debugging and disect it would be the best idea | 21:42 |
tansell | cherez, so do you have anything to show me so far? | 21:42 |
cherez | Not really, once I've got the unit tests for all the functions I'll push that out and see if I can clean the code at all. | 21:43 |
greywhind | tansell: how do i turn on debugging again? | 21:44 |
tansell | greywhind, in the preferences | 21:44 |
tansell | but you might just need to turn on debugging globally by changing the switch in tp/netlib/client.py | 21:45 |
*** mithro has joined #tp | 21:46 | |
cherez | tansell: Should I test the pack and unpack functions separately, or in relation to each other (or both)? | 21:46 |
tansell | cherez, both - separately and together | 21:47 |
tansell | cherez, have you looked into how you are going to generate code-coverage reports? | 21:47 |
greywhind | tansell: hmm... output didn't seem any different. but the error happens before connecting to any server, since it's coming from the metaserver. would debugging still help? | 21:48 |
cherez | tansell: Not really. | 21:49 |
tansell | greywhind, <tansell> but you might just need to turn on debugging globally by changing the switch in tp/netlib/client.py | 21:49 |
tansell | cherez, that is going to be important | 21:50 |
greywhind | tansell: is that this one: def __init__(self, host=None, port=None, nb=0, debug=False): | 21:50 |
tansell | cherez, do the current tests for the structure stuff work? | 21:50 |
cherez | The only tests I see look to be for ClientConnection. | 21:51 |
cherez | Oh, it's in Structures.py | 21:51 |
cherez | And presently it doesn't appear to. | 21:56 |
tansell | cherez, I think you are looking at old code | 22:12 |
tansell | http://git.thousandparsec.net/gitweb/gitweb.cgi?p=libtpproto2-py.git;a=tree;f=tp/netlib/structures | 22:12 |
tpb | <http://ln-s.net/3E4N> (at git.thousandparsec.net) | 22:12 |
tansell | lots of tests in the tests directory there | 22:13 |
cherez | ...Where did I get this repository then? | 22:15 |
cherez | Well, I did a flesh clone and those exist now. | 22:17 |
cherez | How do I run those tests? | 22:17 |
tansell | py.test or nose should work | 22:18 |
tansell | no guarantee that they work however :P | 22:18 |
tansell | I was in the process of splitting Structures.py into structures directory to make it cleaner and easier to test | 22:19 |
Landon | tansell: darn, python-ogre doesn't seem to be working on my netbook for whatever reason | 22:19 |
tansell | Landon, what happens? | 22:19 |
tansell | did you apt-get install python-ogre-demos and give them a try? | 22:20 |
Landon | yeah | 22:20 |
Landon | I'l have to rerun them and let you know what they gave me | 22:20 |
Landon | but tpclient-pyogre just died :\ | 22:20 |
Landon | before anything popped up | 22:20 |
Landon | oh let me edit the plugins.cfg file >.> | 22:21 |
tansell | you shouldn't have to edit the plugins.cfg file | 22:22 |
tansell | and the python-ogre package has a bug in it - you need to install nvidia-cg-toolkit manually | 22:22 |
tansell | (i'm waiting on the launchpad guys to get their act together before I can upload a new version) | 22:22 |
Landon | yeah I found that out already :P | 22:23 |
Landon | File "Demo_Basic.py", line 75, in _choose_render_engine | 22:23 |
Landon | self.setRenderSystem(rend_list[-1]) | 22:23 |
Landon | IndexError: get | 22:23 |
tansell | do you have working opengl? | 22:23 |
tansell | lunch time | 22:24 |
Landon | Demo_Shadows just segfaults | 22:24 |
Landon | I think so | 22:24 |
tansell | Landon, some of them do | 22:24 |
Landon | it was one of the options when I was starting up several other demos | 22:24 |
alanp | hey | 22:37 |
tansell | Landon, can you run glxgears? | 23:01 |
Landon | yup | 23:02 |
*** jnengland77 has quit IRC | 23:05 | |
tansell | Landon, :( | 23:21 |
Landon | alls well on the desktop though | 23:21 |
tansell | hrm | 23:57 |
tansell | whats the log output look like? | 23:57 |
Landon | for? | 23:57 |
tansell | for ogre on the netbook | 23:59 |
Landon | http://rafb.net/p/utNKW040.html | 23:59 |
tpb | Title: Nopaste - No description (at rafb.net) | 23:59 |
Landon | for Demo_Basic.py | 23:59 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!