Saturday, 2006-12-23

*** tpb has joined #tp00:00
*** brown.freenode.net sets mode: +ns 00:00
*** ChanServ sets mode: -s 00:00
*** ChanServ changes topic to "What are we waiting for?! Mithro to have free time...."00:00
tpbLee has joined on worldforge01:10
*** llnz has joined #tp01:10
tpbllnz2 has joined on worldforge01:29
*** llnz2 has joined #tp01:32
tpbLee has quit worldforge (Ping timeout: 366 seconds)01:34
*** llnz2 has quit IRC01:34
tpbllnz2 has quit worldforge (Read error: Connection reset by peer)01:34
tpbllnz2 has joined on worldforge01:36
tpbnick change by llnz2 to Lee on worldforge01:36
*** llnz2 has joined #tp01:37
tpbllnz2 has joined on worldforge01:45
tpb_lee has joined on worldforge01:47
*** llnz2_64 has joined #tp01:47
*** llnz has quit IRC01:48
tpb_lee has quit worldforge (Read error: Connection reset by peer)01:48
tpb_lee has joined on worldforge01:48
*** llnz2_64 is now known as llnz01:50
tpbLee has quit worldforge (Ping timeout: 366 seconds)01:50
tpbnick change by _lee to Lee on worldforge01:51
tpbllnz2 has quit worldforge (Ping timeout: 366 seconds)01:51
tpbllnz2 has joined on worldforge01:56
*** llnz2_64 has joined #tp01:58
tpbLee has quit worldforge (Ping timeout: 366 seconds)02:00
*** llnz2 has quit IRC02:03
tpbllnz2 has quit worldforge (Ping timeout: 366 seconds)02:10
*** llnz has quit IRC02:14
tpbLee has joined on worldforge02:24
*** llnz2_64 has quit IRC02:25
tpbllnz2 has joined on worldforge02:27
tpbLee has quit worldforge (Ping timeout: 366 seconds)02:33
tpbllnz2 has quit worldforge (Ping timeout: 366 seconds)02:41
tpbCIA-1 has quit worldforge (Quit: CIA-1)04:54
tpbCIA-1 has joined on worldforge04:54
tpbDemitar has quit worldforge (Ping timeout: 366 seconds)05:18
*** tpb has joined #tp06:00
*** brown.freenode.net sets mode: +ns 06:00
*** ChanServ sets mode: -s 06:00
*** ChanServ changes topic to "What are we waiting for?! Mithro to have free time...."06:00
tpb<mithro@worldforge> JLP: ping?06:02
tpb<JLP@worldforge> mithro: pong08:03
tpb<mithro@worldforge> http://verbal.mithis.com/~tim/test.ogg08:03
tpb<mithro@worldforge> thoughts?08:03
tpb<JLP@worldforge> all the arrows at the bottom make it quite a big dialog08:10
tpb<JLP@worldforge> maybe it would be better to put it into 2 rows with 5 items each08:11
tpb<JLP@worldforge> and the text output should be hidden by default and there should be a button like Details > which wuld expand the dialog and show the text messages at the bottom08:13
tpb<mithro@worldforge> JLP: i hope to make the arrows dynamicly fit the bottom row later08:13
tpb<mithro@worldforge> the only indication of errors really is found in the text dialog08:13
tpb<mithro@worldforge> (they are highlighted red)08:14
tpb<JLP@worldforge> maybe it wcould be possible to detect when error shows up and then expand the dialog automatically and cshow error lines in red color08:14
tpb<mithro@worldforge> I guess08:15
tpb<JLP@worldforge> otherwise it hink it is a big improvement over the current download dialog08:19
tpb<mithro@worldforge> how goes parsek?08:23
tpb<JLP@worldforge> didn't have time to work on it for the last couple of weeks, i was mostly just reading some stuff about model/view/controller programming with Qt4 and about QGraphicsView08:26
tpb<JLP@worldforge> now I have to figure out what is the correct way to download the data from server, how to put it into the custem model and create views for the model, and hpw does cache fit into all this08:28
tpb<JLP@worldforge> that's what i'll be doing this weekend and in the next week08:29
tpb<JLP@worldforge> brb, postemn just came08:30
tpb<JLP@worldforge> postman08:30
tpb<JLP@worldforge> back08:35
tpb<JLP@worldforge> postman just brought me a free retail box of opensuse linux10.2 :)08:35
tpb<mithro@worldforge> yay!08:37
tpb<mithro@worldforge> switch to ubuntu to annoy him :P08:38
tpb<mithro@worldforge> I can help explain stuff about caching if you want08:38
tpb<JLP@worldforge> yeah i've also ordered and recieved ubuntu 6.06 lts some time ago08:39
tpb<JLP@worldforge> yeah, it would be great to hear about how caching work08:39
tpb<mithro@worldforge> it's quite easy08:40
tpb<mithro@worldforge> every "top level object" has a "last modified time"08:40
tpb<mithro@worldforge> you can send a "Get Object IDs" which returns a list of (id, <last modified time>)08:41
tpb<mithro@worldforge> so you just loop over this list comparing it to your local copy and then only get objects which have been updated08:42
tpb<JLP@worldforge> oh nice, then this shouldn't be a problem08:46
tpb<JLP@worldforge> and when you connect to server you only get the universe (id = 0, if i understand) and just get the list of object it contains and then get all these objects and see what objects they contain and so on down the tree?08:48
tpb<JLP@worldforge> and if I understand the board is separated from univers and it contains messages08:48
tpb<mithro@worldforge> yes08:51
tpb<mithro@worldforge> however you don't need to do the object thin08:51
tpb<mithro@worldforge> g08:51
tpb<mithro@worldforge> just do a "get object ids" and get all the ids returned08:51
tpb<mithro@worldforge> much easier then trying to "talk the universe tree"08:52
tpb<mithro@worldforge> much faster too08:52
tpb<mithro@worldforge> "top level objects" include, Objects, Boards, Resources, Designs, Properties, Categories, Components08:52
tpb<JLP@worldforge> ok, noted08:54
tpb<mithro@worldforge> there are no "get x ids" for Orders or Messages, you have to redownload all the orders/messages for each board/object which has changed08:54
tpb<mithro@worldforge> so your code would look something like this08:54
tpb<mithro@worldforge> for id, time in get_x_ids:08:54
tpb<mithro@worldforge>    if time < local(id):08:55
tpb<mithro@worldforge>         continue08:55
tpb<mithro@worldforge>    get_x(id)08:55
tpb<mithro@worldforge>    get_orders(range(0, obj.order_numbers))08:55
tpb<mithro@worldforge> or similar08:56
tpbLee has joined on worldforge08:56
tpb<mithro@worldforge> you might need to be a bit tricky if you want to properly pipeline your requests08:56
tpb<mithro@worldforge> if do something like08:56
tpb<mithro@worldforge> toget = []08:56
tpb<mithro@worldforge> for id, time in get_x_ids:08:56
tpb<mithro@worldforge>  if time > local(id):08:56
tpb<mithro@worldforge>   toget.append(id)08:57
tpb<mithro@worldforge> get_x(toget)08:57
tpb<mithro@worldforge> hey Lee08:57
tpb<Lee@worldforge> hi mithro08:57
tpb<mithro@worldforge> having problems with tpserver-cpp08:57
tpb<Lee@worldforge> i know, saw bug emails08:57
tpb<JLP@worldforge> Lee: hi08:57
tpb<Lee@worldforge> (double emails, no less)08:57
tpb<mithro@worldforge> ahh your on tp-bugs?08:57
tpb<mithro@worldforge> tp-bugs started working about a week ago08:58
tpb<Lee@worldforge> as well as being the assignee for the bugs08:58
tpb<mithro@worldforge> yeah08:59
tpb<mithro@worldforge> trying to add avahi support to tpclient-pywx09:00
tpb<Lee@worldforge> cool09:00
tpb<mithro@worldforge> btw I was wondering, whats the best way to maintain a branch?09:00
tpb<mithro@worldforge> I need a development branch for tpclient-pywx and libtpclient-py09:00
tpb<Lee@worldforge> separate repo09:01
tpb<Lee@worldforge> tpclient-pywx-devel maybe09:01
tpb<CIA-1@worldforge> Lee Begg <[email protected]> * tpserver-cpp/tpserver/ (net.cpp net.cpp net.cpp net.cpp):09:02
tpb<CIA-1@worldforge> Added protection to optional avahi work:09:02
tpb<CIA-1@worldforge>  Must have missed these two.09:02
tpb<Lee@worldforge> can you check that for the avahi problem please09:03
tpb<mithro@worldforge> maybe we could move the repositories so they are like09:04
tpb<mithro@worldforge> /var/lib/darcs/repos/tpclient-pywx/stable and /var/lib/darcs/repos/tpclient-pywx/devel09:04
tpb<mithro@worldforge> ?09:04
tpb<Lee@worldforge> yeah, could09:05
tpb<Lee@worldforge> darcsweb might have fun trying to find them though, will check09:05
tpb<mithro@worldforge> how would darcsweb etc like that?09:05
tpb<mithro@worldforge> btw are we actaully generating nightlight tarballs?09:05
tpb<mithro@worldforge> well it's got furthur this time09:06
tpb<mithro@worldforge> for some reason the colored output is mangled on my console09:07
tpb<Lee@worldforge> odd09:07
tpb<Lee@worldforge> so it compiled without avahi?09:07
tpb<mithro@worldforge> dunno, how do i check?09:07
tpb<Lee@worldforge> in config.h the line with #define HAVE_AVAHI should be commented out09:08
tpb<mithro@worldforge> well it's not appearing in the browser :/09:08
tpb<mithro@worldforge> tim@ultraslim:~/oss/tp/tpserver-cpp$ grep AVAHI config.h09:09
tpb<mithro@worldforge>  /* #undef HAVE_AVAHI */09:09
tpb<Lee@worldforge> ok, that's fine09:10
tpb<mithro@worldforge> now why did it do that?09:10
tpb<mithro@worldforge> checking for avahiclient... checking whether byte ordering is bigendian... no09:10
tpb<mithro@worldforge> ?09:10
tpb<mithro@worldforge> shouldn't that have said no?09:11
tpb<Lee@worldforge> yes it should have, will fix that09:12
tpb<Lee@worldforge> a few lines further down there should be something about guile-config09:12
tpb<Lee@worldforge> what does it say09:12
tpb<mithro@worldforge> ugg gaim crashed09:16
tpb<mithro@worldforge> we should put download counters on the download page...09:18
tpb<Lee@worldforge> how many people actually download from our site?09:18
tpb<mithro@worldforge> checking for guile-config... /usr/bin/guile-config09:18
tpb<Lee@worldforge> what does "guile-config link09:19
tpb<mithro@worldforge> Lee: i dunno, it must be a few because last month we went through 3.2gb09:19
tpb<Lee@worldforge> produce09:19
tpb<mithro@worldforge> tim@ultraslim:~/oss/tp/tpserver-cpp$ guile-config link09:20
tpb<mithro@worldforge> -lguile -lguile-ltdl -lqthreads -lpthread -lcrypt -lm09:20
tpb<mithro@worldforge> we could scrap the figures from sf and add them to your own downloads :P09:20
tpb<mithro@worldforge> tim@ultraslim:~/oss/tp/tpserver-cpp$ COLUMNS=100 dpkg --list | grep guile09:21
tpb<mithro@worldforge> ii  guile-1.6           1.6.8-3             The GNU extension language and Scheme interpreter09:21
tpb<mithro@worldforge> ii  guile-1.6-libs      1.6.8-3             Main Guile libraries09:21
tpb<mithro@worldforge> ii  guile-common        1.4-26              Common files for all guile versions09:21
tpb<mithro@worldforge> ii  guile1.4            1.4-26              The GNU extension language and Scheme interpreter09:21
tpb<mithro@worldforge> ii  libguile-dev        1.4-26              Development headers and static library for libguile09:21
tpb<mithro@worldforge> ii  libguile-ltdl-1     1.6.8-3             Guile's patched version of libtool's libltdl09:21
tpb<mithro@worldforge> ii  libguile9           1.4-26              libraries for Guile1.4 (guile, guilereadline, and qthr09:21
tpb<mithro@worldforge> help any?09:22
tpb<Lee@worldforge> what does "guile-config --version" produce?09:24
tpb<mithro@worldforge> tim@ultraslim:~/oss/tp/tpserver-cpp$ guile-config --version09:27
tpb<mithro@worldforge> guile-config - Guile version 1.6.809:27
tpb<Lee@worldforge> odd09:27
tpb<Lee@worldforge> does it compile for you currently?09:27
tpb<mithro@worldforge> yay! I see tp in avahi discovery09:27
tpb<Lee@worldforge> :-)09:28
tpb<mithro@worldforge> now it needs some more information in it :P09:28
tpb<mithro@worldforge> tim@ultraslim:~$ python avahi-discover.py09:28
tpb<mithro@worldforge> Browsing domain 'local' on -1.-1 ...09:28
tpb<mithro@worldforge> Found service 'Tpserver-cpp' of type '_tp._tcp' in domain 'local' on 6.0.09:28
tpb<mithro@worldforge> Found service 'Tpserver-cpp' of type '_tp._tcp' in domain 'local' on 5.0.09:28
tpb<mithro@worldforge> Service data for service 'Tpserver-cpp' of type '_tp._tcp' in domain 'local' on 6.0:09:28
tpb<mithro@worldforge>         Host ultraslim.local (10.1.20.0), port 6923, TXT data: ['org.freedesktop.Avahi.cookie=352185815', 'version=0.3.1']09:28
tpb<Lee@worldforge> I will change the name of the server soon09:28
tpb<mithro@worldforge> ---------------------------------------------------09:29
tpb<mithro@worldforge> Service Type: _tp._tcp09:29
tpb<mithro@worldforge> Service Name: Tpserver-cpp09:29
tpb<mithro@worldforge> Domain Name: local09:29
tpb<mithro@worldforge> Interface: eth1 IPv409:29
tpb<mithro@worldforge> Address: ultraslim.local/10.1.20.0:692309:29
tpb<mithro@worldforge> TXT version = 0.3.109:29
tpb<mithro@worldforge> TXT org.freedesktop.Avahi.cookie = 35218581509:29
tpb<mithro@worldforge> ---------------------------------------------------09:29
tpb<mithro@worldforge> Lee: I would love the following details09:29
tpb<mithro@worldforge> * Server ID09:29
tpb<mithro@worldforge> * Server Name09:29
tpb<mithro@worldforge> * Server Type09:29
tpb<mithro@worldforge> * Server Ruleset09:29
tpb<mithro@worldforge> * Number of Players on Server09:30
tpb<Lee@worldforge> ok09:30
tpb<Lee@worldforge> the server name and ruleset i was going to put in the service name09:32
tpb<Lee@worldforge> what is the verdict on the guile-ltdl problem?09:36
tpb<mithro@worldforge> i'm using mzscheme but that should most probably be fixed sometime09:45
tpb<Lee@worldforge> it doesn't look like tpserver-cpp is wrong09:46
tpb<Lee@worldforge> the guile-config file is wrong09:46
tpb<Lee@worldforge> or it's getting it's versions mixed up09:46
tpb<CIA-1@worldforge> Lee Begg <[email protected]> * tpserver-cpp/ (24 files):09:48
tpb<CIA-1@worldforge> Adding acinclude.m4 with libgnutls AC checks in it:09:48
tpb<CIA-1@worldforge>  There to help people building from darcs to compile without libgnutls install (and09:48
tpb<CIA-1@worldforge>  therefor not enabled). I surely hope this doesn't cause future problems.09:48
tpb<mithro@worldforge> Lee: your runing ubuntu rigt?09:50
tpb<Lee@worldforge> nope, debian unstable09:50
tpb<Lee@worldforge> btw: you could install guile-1.6-dev and see if that makes a difference09:51
tpb<mithro@worldforge> Lee: works now09:59
tpb<Lee@worldforge> with guile-1.6-dev?09:59
tpb<mithro@worldforge> yeah09:59
tpb<mithro@worldforge> shouldn't you be compiling a little test program against each library? isn't that what autotools should do?10:01
tpb<Lee@worldforge> i check for guile-config, and then the guile version10:04
tpb<Lee@worldforge> that should be enough10:04
tpb<Lee@worldforge> guile-config in this case was lieing, not my fault10:04
tpb<mithro@worldforge> maybe you should check that you can compile against guile? I just did the logical "apt-get install guile-dev"10:06
tpb<mithro@worldforge> bblr going to get a movie10:06
tpb<Lee@worldforge> ok, cya10:06
tpb<Lee@worldforge> btw10:06
tpb<Lee@worldforge> where are the logs for tpb?10:06
tpb<CIA-1@worldforge> Lee Begg <[email protected]> * tpserver-cpp/ (6 files in 3 dirs):10:39
tpb<CIA-1@worldforge> Added getName method to ruleset and subclasses to get the name of the ruleset:10:39
tpb<CIA-1@worldforge>  Useful, and can be passed onto avahi.10:39
tpb<CIA-1@worldforge> Lee Begg <[email protected]> * tpserver-cpp/ (6 files in 2 dirs):10:39
tpb<CIA-1@worldforge> Publish the server_name setting as the service name using avahi:10:39
tpb<CIA-1@worldforge>  Added documentation to sample.conf. Publishes10:39
tpb<CIA-1@worldforge>  "<server_name> [<ruleset name>]" as the service name. Also added10:39
tpb<CIA-1@worldforge>  server=tpserver-cpp to the TXT field of mDNS-SD.10:39
tpb<mithro@worldforge> Lee: they arn't published at the moment10:40
tpb<mithro@worldforge> but you can find them in ~irc/tpb10:40
tpb<Lee@worldforge> oh10:40
tpb<Lee@worldforge> thanks10:40
tpb<mithro@worldforge> havn't gotten around to linking a htmlfier yet10:40
tpb<mithro@worldforge> btw I'm back :P10:41
tpb<Lee@worldforge> hehe10:41
tpb<mithro@worldforge> Lee: how would you feel about a metaserver which is just a webpage you POST/GET to?10:42
tpb<mithro@worldforge> Lee: how soon are you leaving? do you have time to push around these repositories?10:43
tpb<Lee@worldforge> cd ~irc/tpb10:44
tpb<Lee@worldforge> -bash: cd: /var/run/ircd/tpb: No such file or directory10:44
tpb<Lee@worldforge> mithro: that should be ok10:44
tpb<mithro@worldforge> hrm10:44
tpb<Lee@worldforge> i could push them around if you want10:44
tpb<mithro@worldforge> /home/irc ?10:44
tpb<Lee@worldforge> yeah, looking now10:46
tpb<Lee@worldforge> ahhhh10:48
tpb<Lee@worldforge> JLP: if you want I can explain how libtpproto-cpp makes all the caching and downloading things really easy10:48
tpb<JLP@worldforge> Lee: that would be great10:50
tpb<Lee@worldforge> now? just have to look up some stuff and work on mithro's repos shuffle10:51
tpb<mithro@worldforge> Lee: libtpproto-cpp does cacheing?10:52
tpb<Lee@worldforge> yes :-)10:52
tpb<JLP@worldforge> well, any time you have the time, you can also send it over e-mail or post a tutorial on developers mailiang lists / forum10:52
tpb<Lee@worldforge> mithro: in fact, it's not too hard to change the caching either10:53
tpb<mithro@worldforge> Lee: can it preserve the caching across runs?10:54
tpb<Lee@worldforge> JLP: ok10:54
tpb<Lee@worldforge> mithro: not the current one, but someone could write one that did10:54
tpb<Lee@worldforge> in fact the current one doesn't actually cache anything10:55
tpb<mithro@worldforge> Lee: so um.... "[21:28] <mithro> Lee: libtpproto-cpp does cacheing? [21:28] <Lee> yes :-)" was incorrect? :P10:58
tpb<Lee@worldforge> well.... the caching is very short term...10:58
tpb<Lee@worldforge> mithro: i think it would be better to have not have the repos in subdirs and called stable and devel, because only the last part gets put in the emails and rss feeds10:59
tpb<mithro@worldforge> hrm....11:00
tpb<Lee@worldforge> how about tpclient-pywx-0.2 and tpclient-pywx ?11:00
tpb<mithro@worldforge> hrm....11:01
tpb<mithro@worldforge> it's not quite as neat as in CVS :/11:01
tpb<Lee@worldforge> how is it not neat?11:02
tpb<Lee@worldforge> from any repo based on either, you could push to either11:02
tpb<mithro@worldforge> well from a naming, clarity or "neatness"11:07
tpb<mithro@worldforge> tpclient-pywx-devel and tpclient-pywx-stable just don't look as neat11:08
tpb<mithro@worldforge> maybe tpclient-pywx and tpclient-pywx-devel ?11:09
tpb<mithro@worldforge> then of course it'll appear duplicated in the SLOC page11:10
tpb<mithro@worldforge> why does web-new and web not come out the same?11:11
tpb<Lee@worldforge> mithro: only the changed files will appear on the SLOC page11:13
tpb<mithro@worldforge> how does that work?11:13
tpb<Lee@worldforge> if there are two identical files in any of the files in darcs (the directory where sloccount is run on) then only one is counted (and it's the alphabetically first one)11:14
tpb<mithro@worldforge> really? I didn't know that11:14
tpb<Lee@worldforge> s/first one/first directory11:14
tpb<mithro@worldforge> so if I pull web into web-new it should become zero?11:14
tpb<Lee@worldforge> if there are no other changes in web-new, then yes11:15
tpb<mithro@worldforge> okay tpclient-pywx and tpclient-pywx-devel are okay11:15
tpb<Lee@worldforge> ok11:16
tpb<mithro@worldforge>  7761 root      18   0  364m 122m 7920 D  7.0 52.1   0:42.25 darcs.real11:16
tpb<mithro@worldforge> :/11:16
tpb<mithro@worldforge> darcs really needs to do something about their memory usage11:16
tpb<Lee@worldforge> should i pull/get tpclient-pywx to tpclient-pywx-devel?11:16
tpb<mithro@worldforge> should you just copy?11:17
tpb<Lee@worldforge> no, get (or if remote, get --partial)11:17
tpb<Lee@worldforge> get will use hardlinks where it can to save harddisk space11:17
tpb<Lee@worldforge> darcs really doesn't do well with binaries, i hope they fix it soon11:18
tpb<mithro@worldforge> the fact that darcs consumes so much memory is a real pain :/11:19
tpb<Lee@worldforge> but it's mathematically correct!  :-p11:21
tpb<Lee@worldforge> since it's written in haskell11:21
tpb<mithro@worldforge> 0web-new(none)11:22
tpb<mithro@worldforge> mathematically correct doesn't mean works properly :P11:22
tpb<mithro@worldforge> there are plenty examples of this on the web :P11:23
tpb<Lee@worldforge> :-)11:24
tpb<Lee@worldforge> so....11:24
tpb<Lee@worldforge> make tpclient-pywx-devel from tpclient-pywx?11:26
tpb<mithro@worldforge> yes11:27
tpb<mithro@worldforge> i'll push my massive amount of changes after you have that working11:27
tpb<mithro@worldforge> test.thousandparsec.net should now be identical to www11:29
tpb<Lee@worldforge> ok done11:30
tpb<mithro@worldforge> all the hooks and everything setup?11:33
tpb<Lee@worldforge> should be11:34
tpb<mithro@worldforge> actually could it be -dev instead of -devel? :P11:35
tpb<Lee@worldforge> sure11:35
tpb<Lee@worldforge> just a minute11:35
tpb<mithro@worldforge> web-new should most probably be web-dev tool11:36
tpb<mithro@worldforge> s/tool/too11:36
tpb<mithro@worldforge> need a libtpclient-py-dev too11:36
tpb<Lee@worldforge> ok tpclient-pywx-dev11:36
tpb<Lee@worldforge> do you intend to keep updating the non -dev repos?11:37
tpb<mithro@worldforge> yes11:38
tpb<Lee@worldforge> ok, just checking11:38
tpb<mithro@worldforge> i'm currently going to maintain a stable/unstable branch11:38
tpb<mithro@worldforge> after these changes I may go back to only 1 branch11:39
tpb<mithro@worldforge> darcs push [email protected]:/var/lib/darcs/repos/tpclient-pywx-dev11:39
tpb<mithro@worldforge> I have 17 patches to push, whats the best way to do this?11:40
tpb<Lee@worldforge> "a" for all11:40
tpb<Lee@worldforge> or -a on the command line11:40
tpb<Lee@worldforge> (uses less memory too)11:40
tpb<mithro@worldforge> will 17 cause anything to die? should I just push 5 at a time?11:41
tpb<Lee@worldforge> 17 should be ok, but might run a bit slow11:43
tpb<Lee@worldforge> 32 max for email script11:43
tpb<mithro@worldforge> Couldn't open patchname file!11:45
tpb<mithro@worldforge> Posthook failed!11:45
tpb<mithro@worldforge> Failed to run darcs command '/usr/bin/darcs.real apply --all --repodir /var/lib/darcs/repos/tpclient-pywx-dev'11:45
tpb<mithro@worldforge> full command11:45
tpb<mithro@worldforge> tim@ultraslim:~/oss/tp/tpclient-pywx-new$ darcs push -a [email protected]:/var/lib/darcs/repos/tpclient-pywx-dev11:45
tpb<mithro@worldforge> Pushing to "[email protected]:/var/lib/darcs/repos/tpclient-pywx-dev"...11:45
tpb<mithro@worldforge> Finished applying...11:45
tpb<mithro@worldforge> Couldn't open patchname file!11:46
tpb<mithro@worldforge> Posthook failed!11:46
tpb<mithro@worldforge> Failed to run darcs command '/usr/bin/darcs.real apply --all --repodir /var/lib/darcs/repos/tpclient-pywx-dev'11:46
tpb<Lee@worldforge> do you want me to reset it so you can push again?11:47
tpb<mithro@worldforge> okay11:47
tpb<mithro@worldforge> there is 729 perl in tpclient-pywx?11:48
tpb<Lee@worldforge> ok11:49
tpb<Lee@worldforge> the dmg stuff maybe?11:49
tpb<Lee@worldforge> pkg-dmg is perl11:50
tpb<mithro@worldforge> ahh11:50
tpb<Lee@worldforge> ready for you to push11:50
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/ (18 files in 2 dirs): Start of some XRC based windows.11:52
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/graphics/ (6 files): Graphic files needed by the new update window.11:52
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/xrc/ (4 files): Removed the old serverbrowser name.11:52
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/extra/ (13 files): Added support for GIFAnimationCtrl in XRC files.11:52
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/ (250 files in 4 dirs): More XRC changes.11:52
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/ (33 files in 2 dirs): Connect window is now XRC based.11:52
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/xrc/ (4 files): New UpdateWindow.11:52
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/extra/ (__init__.py __init__.py __init__.py): Added comments about the extra fixes.11:52
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/xrc/ (9 files): Better Generation.11:52
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/xrc/ (tp.xrc tp.xrc): Removed the unused tp.xrc11:52
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/ (122 files in 3 dirs):11:52
tpb<CIA-1@worldforge> New Update window now works.: Has lots of cool throbbing animations.11:52
tpb<CIA-1@worldforge>  Has a long log window.11:52
tpb<CIA-1@worldforge>  Uses XRC.11:52
tpb<CIA-1@worldforge>  Has cancel button.11:52
tpb<CIA-1@worldforge>  Can save the download log.11:52
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/xrc/ (31 files): Added ServerBrowser and Connect window to the XRC stuff.11:52
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/xrc/ (15 files): Small updates.11:52
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/xrc/ (tp.pjd tp.pjd tp.pjd tp.pjd tp.pjd): New stuff.11:52
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/ (tpclient-pywx tpclient-pywx tpclient-pywx): Moved the on failure event.11:52
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/extra/ (4 files): Removed extra prints.11:52
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/ (12 files): Work towards the new XRC based update window.11:52
tpb<mithro@worldforge> libtpclient-py-dev ?11:55
tpb<Lee@worldforge> ready11:55
tpb<Lee@worldforge> Total Physical Lines of Code (SLOC):  50,55812:08
tpb<Lee@worldforge> and that's discounting duplicate files12:08
tpb<Lee@worldforge> mithro: ping12:09
tpb<mithro@worldforge> cool12:10
tpb<CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/ (57 files): New callback setup.12:13
tpb<CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/ (10 files): Finder thread for talking to metaserver/zeroconf.12:13
tpb<mithro@worldforge> Lee: any chance you could try out the new stuff to make sure i haven't forgotten to commit something?12:27
tpb<Lee@worldforge> pulling now12:32
tpb<mithro@worldforge> okay12:32
tpb<Lee@worldforge> Receiving: 0x54(T) 0x50(P) 0x30(0) 0x33(3) 0x0 0x0 0x0 0x3 0x0 0x0 0x0 0x1a 0x0 0x0 0x0 0x14 0x0 0x0 0x0 0x4 0x0 0x0 0x0 0x4 0x0 0x0 0x0 0x5 0x0 0x0 0x0 0x6 0x0 0x0 0x3 0xe812:43
tpb<Lee@worldforge> Exception in thread Thread-1:12:43
tpb<Lee@worldforge> Traceback (most recent call last):12:43
tpb<Lee@worldforge>   File "threading.py", line 442, in __bootstrap12:43
tpb<Lee@worldforge>     self.run()12:43
tpb<Lee@worldforge>   File "/home/lee/oss_projects/tp-py/tpclient-pywx-dev/tp/client/threads.py", line 134, in run12:43
tpb<Lee@worldforge>     self.error(e)12:43
tpb<Lee@worldforge>   File "/home/lee/oss_projects/tp-py/tpclient-pywx-dev/tp/client/threads.py", line 129, in run12:43
tpb<Lee@worldforge>     method(*args, **kw)12:44
tpb<Lee@worldforge>   File "./tpclient-pywx", line 235, in ConnectTo12:44
tpb<Lee@worldforge>     if NetworkThread.ConnectTo(self, host, username, password, debug, up, cs="tpclient-pywx/%s.%s.%s" % version):12:44
tpb<Lee@worldforge>   File "/home/lee/oss_projects/tp-py/tpclient-pywx-dev/tp/client/threads.py", line 254, in ConnectTo12:44
tpb<Lee@worldforge>     if self.Connect(host, debug, callback, cs) is False:12:44
tpb<Lee@worldforge>   File "/home/lee/oss_projects/tp-py/tpclient-pywx-dev/tp/client/threads.py", line 244, in Connect12:44
tpb<Lee@worldforge>     self.application.Post(self.NetworkConnectEvent(features))12:44
tpb<Lee@worldforge>   File "/home/lee/oss_projects/tp-py/tpclient-pywx-dev/tp/client/threads.py", line 92, in Post12:44
tpb<Lee@worldforge>     self.finder.Call(self.network.Post, event)12:44
tpb<Lee@worldforge> AttributeError: 'NoneType' object has no attribute 'Call'12:44
tpb<Lee@worldforge> no window opened after the server dialog disappeared12:44
tpb<mithro@worldforge> hrm...12:45
tpb<mithro@worldforge> you have the latest version of libtpproto-py to?12:45
tpb<CIA-1@worldforge> Lee Begg <[email protected]> * web/utils/update.sh :12:45
tpb<CIA-1@worldforge> Remove libtpproto-cpp docs dir before moving the new one over:12:45
tpb<CIA-1@worldforge>  Missing this is responsible for the docs being nearly (3 days short) a whole year12:45
tpb<CIA-1@worldforge>  out of date.12:45
tpb<CIA-1@worldforge> [email protected] * tpserver-py/tpserver-py : Dunno how this bug got through.12:51
tpb<mithro@worldforge> Lee: ping?12:51
tpb<Lee@worldforge> pong12:51
tpb<Lee@worldforge> should do, will check12:51
tpb<CIA-1@worldforge> Lee Begg <[email protected]> * web/utils/update.sh : Miss one little star and it doesn't work right12:52
tpb<Lee@worldforge> it is up to date12:52
tpb<mithro@worldforge> hrm....12:53
tpb<mithro@worldforge> so you have the latest libtpclient-py-dev and tpclient-pywx-dev ?12:54
tpb<Lee@worldforge> yes12:54
tpb<Lee@worldforge> JLP: note that the libtpproto-cpp docs on the website were out of date until just now12:56
tpb<mithro@worldforge> hold on a sec12:56
tpb<JLP@worldforge> Lee: ok, will check the new ones12:57
tpb<mithro@worldforge> Lee: so what caching does libtpproto actually do?13:06
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/xrc/ (16 files): Updates to the DialogBlocks file.13:06
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/ (7 files): Fixed name changes.13:06
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/xrc/ (9 files): Updates of the stub generator.13:06
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/xrc/ (MessageBrowser.py MessageBrowser.py): Removed unused file.13:06
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/requirements.py : Version bump for the dev version.13:06
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/ (13 files in 2 dirs): Fixes for the ServerBrowser window.13:06
tpb<mithro@worldforge> Lee: give that a go now?13:06
tpb<Lee@worldforge> ok13:06
tpb<Lee@worldforge> currently libtpproto-cpp, as used by tpclient-cpptext, does no caching13:07
tpb<Lee@worldforge> The following requirements where not met13:08
tpb<Lee@worldforge> ['tp.client > 0.3.0']13:08
tpb<mithro@worldforge> :P13:08
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/.boring : Added the update.log to .boring.13:08
tpb<Lee@worldforge> libtpproto-cpp could, with just one class written, could fully cache everything except orders and messages (just noticed those two)13:10
*** |kshinji| has joined #tp13:12
tpb<Lee@worldforge> hi kshinji13:12
|kshinji|!help13:12
|kshinji|!lol13:12
|kshinji|!geekquote13:12
|kshinji|!commands13:12
|kshinji|!help13:12
|kshinji|hi13:13
|kshinji|?13:13
tpb<Lee@worldforge> what can we over on the irc server help you with?13:13
tpb<Lee@worldforge> s/the irc/the other irc/13:13
tpb<CIA-1@worldforge> [email protected] * scratchpad/setup.sh : Added setup of the dev branch.13:14
tpb<mithro@worldforge> Lee: try that :P13:14
tpb<Lee@worldforge> mithro: the version number in libtpclient-py-dev is 0.2.013:14
|kshinji|Hi, sorry i cam here by an accident. Searched for turbo pascal chanell. :)13:14
tpb<Lee@worldforge> kshinji: hehe, oh well....13:15
tpb<mithro@worldforge> arg, need to push13:15
|kshinji|cu then :13:15
|kshinji|:)13:15
*** |kshinji| has left #tp13:15
tpb<CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/version.py : Version bump.13:16
tpb<mithro@worldforge> Lee: that is like the third turbopascel person that has turned up in #tp :P13:16
tpb<Lee@worldforge> what do i need to see the nice new windows?13:16
tpb<Lee@worldforge> need installed that is13:16
tpb<Lee@worldforge> and anyway: error13:17
tpb<mithro@worldforge> :/13:17
tpb<Lee@worldforge> Traceback (most recent call last):13:17
tpb<Lee@worldforge>   File "./tpclient-pywx", line 124, in __init__13:18
tpb<Lee@worldforge>     from windows.winServerBrowser import winServerBrowser13:18
tpb<Lee@worldforge> ImportError: No module named winServerBrowser13:18
tpb<Lee@worldforge> Finished init...13:18
tpb<Lee@worldforge> <__main__.GUI; proxy of C++ wxPyApp instance at _904eb20000000000_p_wxPyApp> <Network(Thread-1, initial)> <MediaThread(Thread-2, initial)> <FinderThread(Thread-3, initial)>13:18
tpb<mithro@worldforge> hrm...13:18
tpb<Lee@worldforge> Traceback (most recent call last):13:18
tpb<Lee@worldforge>   File "./tpclient-pywx", line 301, in ?13:18
tpb<Lee@worldforge>     app = Application(url)13:18
tpb<Lee@worldforge>   File "./tpclient-pywx", line 266, in __init__13:18
tpb<Lee@worldforge>     _Application.__init__(self)13:18
tpb<Lee@worldforge>   File "/home/lee/oss_projects/tp-py/tpclient-pywx-dev/tp/client/threads.py", line 47, in __init__13:18
tpb<Lee@worldforge>     self.ConfigLoad()13:18
tpb<Lee@worldforge>   File "/home/lee/oss_projects/tp-py/tpclient-pywx-dev/tp/client/threads.py", line 86, in ConfigLoad13:18
tpb<Lee@worldforge>     self.gui.ConfigLoad(config)13:18
tpb<Lee@worldforge>   File "./tpclient-pywx", line 174, in ConfigLoad13:18
tpb<Lee@worldforge>     for window in self.windows:13:18
tpb<Lee@worldforge> AttributeError: 'GUI' object has no attribute 'windows'13:18
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/ (winServerBrowser.py winServerBrowser.py): Forgot this file..13:19
tpb<Lee@worldforge> "Network Error" window: not enough arguments for format string13:20
tpb<mithro@worldforge> with that pull?13:20
tpb<Lee@worldforge> File "/home/lee/oss_projects/tp-py/tpclient-pywx-dev/tp/client/cache.py", line 335, in update13:20
tpb<Lee@worldforge>     toget = self.__getObjects(connection,   "objects", callback)13:20
tpb<Lee@worldforge>   File "/home/lee/oss_projects/tp-py/tpclient-pywx-dev/tp/client/cache.py", line 435, in __getObjects13:20
tpb<Lee@worldforge>     message="Removing %s %s as it has disappeared..." % cache(id).name)13:20
tpb<Lee@worldforge> TypeError: not enough arguments for format string13:20
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/.boring : Added the useless tp.* files to .boring13:20
tpb<Lee@worldforge> yes, with that pull13:21
tpb<mithro@worldforge> hrm, ahh13:21
tpb<CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/cache.py : Fixed a bug which occured when objects disappeared.13:23
tpb<mithro@worldforge> not quite sure why you have disappearing objects :P13:23
tpb<Lee@worldforge> connecting to demo113:23
tpb<Lee@worldforge> :-p13:23
tpb<mithro@worldforge> opps it's broken when connecting to demo1 :/13:25
tpb<Lee@worldforge> is that the "I can only accept CacheDirtyEvents" broken?13:29
tpb<mithro@worldforge> Lee: what is that?13:34
tpb<Lee@worldforge> when deleting a message, i got that message in a dialog, along with disconnecting from the server13:35
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/requirements.py : Version bump.13:35
tpb<CIA-1@worldforge> [email protected] * libtpproto-py/tp/netlib/ (objects/Resource.py objects/Resource.py version.py): Fixed a bug in the resource object.13:35
tpb<mithro@worldforge> Lee: thats not good:/13:35
tpb<mithro@worldforge> does that happen in the old version?13:35
tpb<Lee@worldforge> nope13:35
tpb<Lee@worldforge> i'll just check13:35
tpb<Lee@worldforge> nope, just the dev version13:38
tpb<Lee@worldforge> want the traceback?13:38
tpb<mithro@worldforge> nah, i've reproduced it here13:39
tpb<mithro@worldforge> btw is running darcs optimize dangerous?13:39
tpb<Lee@worldforge> i guess you have also reproduced not having any media download at all13:40
tpb<Lee@worldforge> not really, but it does make changes13:40
tpb<mithro@worldforge> are you getting the space ships not showing up too?13:44
tpb<mithro@worldforge> Lee: a cronjob running once a week would be bad?13:44
tpb<Lee@worldforge> i did have that, iirc13:44
tpb<Lee@worldforge> currently using stable client13:44
tpb<Lee@worldforge> :-)13:44
tpb<Lee@worldforge> for darcs optimize?13:45
tpb<Lee@worldforge> it is most effective with --checkpoint, and that only does it to the latest tag13:45
tpb<Lee@worldforge> twice on the same tag won't help13:46
tpb<mithro@worldforge> Lee: is there a way to specify keeping a certain repos as default?13:52
tpb<Lee@worldforge> umm... not that i know of13:53
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/winUpdate.py : Fixed off by one error.13:53
tpb<mithro@worldforge> i almost push -dev to stable by accident!13:53
tpb<mithro@worldforge> is there a way to prevent that?13:54
tpb<mithro@worldforge> (that is how we accidently got the new website :P)13:54
tpb<Lee@worldforge> oops13:54
tpb<Lee@worldforge> umm... not off hand13:55
tpb<Lee@worldforge> you could have a look in the docs about a default repo (other repo, that is)13:55
tpb<mithro@worldforge> Lee: is the stable client working for you atm?13:56
tpb<Lee@worldforge> yes13:56
tpb* Lee@worldforge just read the darcs docs on optimize13:58
tpb<Lee@worldforge> looks like it could help13:58
tpb<Lee@worldforge> without --checkpoint14:01
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx/windows/winUpdate.py : Fixed the progress bars.14:02
tpb<mithro@worldforge> a darcs check wouldn't hurt14:04
tpb<Lee@worldforge> ok14:04
tpb<mithro@worldforge> btw: sorry I havn't replied to the emails on the list14:05
tpb<Lee@worldforge> running darcs check on web14:06
tpb<Lee@worldforge> i was wondering about that14:06
tpb<Lee@worldforge> i can't remember what i wrote now14:07
tpb<Lee@worldforge> darcs check of web is ok14:11
tpb<mithro@worldforge> ahh ha, figured out why the media isn't been updated...14:20
tpb<Lee@worldforge> had better go14:21
tpb<Lee@worldforge> will try to drop in tomorrow (later today)14:21
tpb<Lee@worldforge> if not, Merry Christmas all!14:22
tpbLee has quit worldforge (Quit: Believe? Sure!)14:22
tpb<CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/ (threads.py threads.py threads.py): Nice strings and small optimisation.14:42
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/ (8 files in 2 dirs): Fixed the media download not appearing problem.14:43
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/ (tpclient-pywx tpclient-pywx): Fix the update menu item.14:51
tpb<CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/cache.py : Actually set them to empty.15:14
tpb<CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/cache.py : Better error message posted.15:14
tpb<CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/threads.py : Added working __str__.15:14
tpb<CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/ (cache.py cache.py): Ignore objects which have no subobjects.15:14
tpb<CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/cache.py : Fixed a small error using wrong Id.15:14
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/winStarMap.py : A just-in-case redraw.15:53
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/ (53 files in 2 dirs): Added OrderDesc downloading.15:53
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/ (winOrder.py winOrder.py): Only show order list when it can be used.15:53
tpb<CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/ (cache.py cache.py threads.py): Download OrderDescriptions again.15:53
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/tpclient-pywx : Remove extra print.16:12
tpb<CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/ (7 files): Delete button only when things to delete.16:12
tpb<mithro@worldforge> JLP: ping?16:16
tpb<mithro@worldforge> Would you be able to test the new client too? Download tpclient-pywx-dev, libtpclient-py-dev - update libtpproto-py and scratchpad and then run setup.sh in scratchpad16:18
tpbDemitar has joined on worldforge17:57
tpb<mithro@worldforge> hey Demitar18:11
tpb<Demitar@worldforge> mithro: Hello there.18:11
tpb<mithro@worldforge> you busy atm? :P18:11
tpb<Demitar@worldforge> Not doing anything I cannot do later, why? :)18:14
tpb<mithro@worldforge> Would you be able to test the dev branch of the client? Download tpclient-pywx-dev, libtpclient-py-dev - update libtpproto-py and scratchpad and then run setup.sh in scratchpad18:15
tpb<Demitar@worldforge> Darcs has a new serverish thingie?18:19
tpb<Demitar@worldforge> Hrm.. 356 patches to just the client...18:22
tpb<Demitar@worldforge> Guess this is the reason I really like mercurial. :)18:22
tpb<mithro@worldforge> darcs get --partial :P18:27
tpb<Demitar@worldforge> That's why it was so scary, I was doing a partial pull..18:28
tpb<Demitar@worldforge> Well, partial get.18:28
tpb<mithro@worldforge> hrm18:29
tpb<mithro@worldforge> 356 for a partial?18:29
tpb<Demitar@worldforge> $ darcs get --partial http://darcs.thousandparsec.net/repos/tpclient-pywx-dev18:29
tpb<Demitar@worldforge> Copying patch 356 of 356... done!18:29
tpb<tpb@worldforge> <http://ln-s.net/Gx7> (at darcs.thousandparsec.net)18:30
tpb<Demitar@worldforge> Guess you'll want to optimize it again. :)18:30
tpb<mithro@worldforge> ouch18:30
tpb<Demitar@worldforge> Seems one of the threads raised an exception.18:31
tpb<mithro@worldforge> hrm... that isn't good18:31
tpb<Demitar@worldforge> Exception in thread Thread-2:18:32
tpb<Demitar@worldforge> Traceback (most recent call last):18:32
tpb<Demitar@worldforge>   File "threading.py", line 442, in __bootstrap18:32
tpb<Demitar@worldforge>     self.run()18:32
tpb<Demitar@worldforge>   File "/home/demitar/code/darcs-thousandparsec/tpclient-pywx-dev/tp/client/threads.py", line 134, in run18:32
tpb<Demitar@worldforge>     self.error(e)18:32
tpb<Demitar@worldforge>   File "/home/demitar/code/darcs-thousandparsec/tpclient-pywx-dev/tp/client/threads.py", line 129, in run18:32
tpb<Demitar@worldforge>     method(*args, **kw)18:32
tpb<Demitar@worldforge>   File "/home/demitar/code/darcs-thousandparsec/tpclient-pywx-dev/tp/client/threads.py", line 480, in ConnectTo18:32
tpb<Demitar@worldforge>     self.cache.getfile(self.cache.files)18:32
tpb<Demitar@worldforge>   File "/home/demitar/code/darcs-thousandparsec/tpclient-pywx-dev/tp/client/media.py", line 130, in getfile18:32
tpb<Demitar@worldforge>     remotedate = time.strptime(message.getheader('last-modified'), "%a, %d %b %Y :%M:%S %Z")[0:5]18:32
tpb<Demitar@worldforge>   File "_strptime.py", line 293, in strptime18:32
tpb<Demitar@worldforge>     raise ValueError("time data did not match format:  data=%s  fmt=%s" %18:32
tpb<Demitar@worldforge> ValueError: time data did not match format:  data=Sun, 10 Dec 2006 18:09:11 GMT  fmt=%a, %d %b %Y :%M:%S %Z18:32
tpb<mithro@worldforge> wtf18:32
tpb<Demitar@worldforge> A missing hour.18:32
tpb<Demitar@worldforge> %Y :%M:%S18:33
tpb<Demitar@worldforge> This is probably during media retrieval btw.18:34
tpb<mithro@worldforge> yeah it's definately during media retrieval18:34
tpb<mithro@worldforge> you have a proxy?18:34
tpb<Demitar@worldforge> None that I know of.18:34
tpb<mithro@worldforge> can you cat line 130 of your tp/client/media.py file?18:35
tpb<Demitar@worldforge> remotedate = time.strptime(message.getheader('last-modified'), "%a, %d %b %Y :%M:%S %Z")[0:5]18:36
tpb<Demitar@worldforge> That is indeed curious.18:36
tpb<Demitar@worldforge> Err.18:37
tpb<Demitar@worldforge> Actually there is a  there.18:37
tpb<Demitar@worldforge> Ah.18:37
tpb<Demitar@worldforge> X-Chat is interpreting that %H.18:37
tpb<Demitar@worldforge> Perhaps it's a locale issue?18:38
tpb<mithro@worldforge> ahh18:38
tpb<mithro@worldforge> Demitar: what is your locale?18:38
tpb<Demitar@worldforge> sv_SE18:38
tpb<Demitar@worldforge> So if that's the issue Sun should be Sön.18:38
tpb<Demitar@worldforge>        %a or %A18:39
tpb<Demitar@worldforge>               The weekday name according to the current locale, in abbreviated18:39
tpb<Demitar@worldforge>               form or the full name.18:39
tpb<Demitar@worldforge>        %b or  or %h18:39
tpb<Demitar@worldforge>               The month name according to the current locale,  in  abbreviated18:39
tpb<Demitar@worldforge>               form or the full name.18:39
tpb<Demitar@worldforge> From the strptime manpage.18:40
tpb<Demitar@worldforge> One option is to switch to the C locale during that call.18:40
tpb<mithro@worldforge> I wonder how to do that18:40
tpb<mithro@worldforge> hrm...18:41
tpb<mithro@worldforge> verbal:/var/lib/darcs/repos/tpclient-pywx-dev# darcs optimize -t TPCLIENT_PYWX_0_2_0 --checkpoint18:41
tpb<mithro@worldforge> Cannot checkpoint any tag matching 'TPCLIENT_PYWX_0_2_0'18:41
tpb<mithro@worldforge> Done optimizing!18:41
tpb<Demitar@worldforge> You'll want setlocale().18:41
tpb<Demitar@worldforge> We ran into similar issues with nikal's lsystem tree code. Floating point conversion failing since , is the decimal point separator and not . in the sv_SE locale.18:43
tpb<mithro@worldforge> we should hook http://www.ids.ias.edu/~starlab/ into tp :P18:46
tpb<tpb@worldforge> Title: Welcome to Starlab (at www.ids.ias.edu)18:46
tpb<mithro@worldforge> locale.setlocale(locale.LC_ALL, 'C')18:46
tpb<mithro@worldforge>  ?18:46
tpb<Demitar@worldforge> Looks good, be sure to reset the locale past the call though.18:47
tpb<mithro@worldforge> Demitar: any idea how to test it?18:48
tpb<Demitar@worldforge> If you give me the call to reset the locale I'll test it here.18:49
tpb<mithro@worldforge> locale.resetlocale(locale.LC_ALL)18:51
tpb<Demitar@worldforge> Is that safe though? Wouldn't you need to copy the current state of LC_ALL instead?18:51
tpb<mithro@worldforge> dunno18:51
tpb<mithro@worldforge> resetlocale(category=6)18:52
tpb<mithro@worldforge>     Sets the locale for category to the default setting.18:52
tpb<mithro@worldforge> 18:52
tpb<mithro@worldforge>     The default setting is determined by calling18:52
tpb<mithro@worldforge>     getdefaultlocale(). category defaults to LC_ALL.18:52
tpb<mithro@worldforge> getdefaultlocale(envvars=('LC_ALL', 'LC_CTYPE', 'LANG', 'LANGUAGE'))18:53
tpb<mithro@worldforge>     Tries to determine the default locale settings and returns18:53
tpb<mithro@worldforge>     them as tuple (language code, encoding).18:53
tpb<mithro@worldforge> 18:53
tpb<mithro@worldforge>     According to POSIX, a program which has not called18:53
tpb<mithro@worldforge>     setlocale(LC_ALL, "") runs using the portable 'C' locale.18:53
tpb<mithro@worldforge>     Calling setlocale(LC_ALL, "") lets it use the default locale as18:53
tpb<mithro@worldforge>     defined by the LANG variable. Since we don't want to interfere18:53
tpb<mithro@worldforge>     with the current locale setting we thus emulate the behavior18:53
tpb<mithro@worldforge>     in the way described above.18:53
tpb<mithro@worldforge> 18:53
tpb<mithro@worldforge>     To maintain compatibility with other platforms, not only the18:53
tpb<mithro@worldforge>     LANG variable is tested, but a list of variables given as18:53
tpb<mithro@worldforge>     envvars parameter. The first found to be defined will be18:53
tpb<mithro@worldforge>     used. envvars defaults to the search path used in GNU gettext;18:53
tpb<mithro@worldforge>     it must always contain the variable name 'LANG'.18:53
tpb<mithro@worldforge> 18:53
tpb<mithro@worldforge>     Except for the code 'C', the language code corresponds to RFC18:53
tpb<mithro@worldforge>     1766.  code and encoding can be None in case the values cannot18:53
tpb<mithro@worldforge>     be determined.18:54
tpb<mithro@worldforge> that okay?18:54
tpb<Demitar@worldforge> You probably want to add a function wrapping all the calls to strptime18:55
tpb<Demitar@worldforge> Exception in thread Thread-2:18:57
tpb<Demitar@worldforge> Traceback (most recent call last):18:57
tpb<Demitar@worldforge>   File "threading.py", line 442, in __bootstrap18:57
tpb<Demitar@worldforge>     self.run()18:57
tpb<Demitar@worldforge>   File "/home/demitar/code/darcs-thousandparsec/tpclient-pywx-dev/tp/client/threads.py", line 134, in run18:57
tpb<Demitar@worldforge>     self.error(e)18:57
tpb<Demitar@worldforge>   File "/home/demitar/code/darcs-thousandparsec/tpclient-pywx-dev/tp/client/threads.py", line 129, in run18:57
tpb<Demitar@worldforge>     method(*args, **kw)18:57
tpb<Demitar@worldforge>   File "/home/demitar/code/darcs-thousandparsec/tpclient-pywx-dev/tp/client/threads.py", line 480, in ConnectTo18:57
tpb<Demitar@worldforge>     self.cache.getfile(self.cache.files)18:57
tpb<Demitar@worldforge>   File "/home/demitar/code/darcs-thousandparsec/tpclient-pywx-dev/tp/client/media.py", line 117, in getfile18:57
tpb<Demitar@worldforge>     if not self.updated(media_remote, media_local):18:57
tpb<Demitar@worldforge>   File "/home/demitar/code/darcs-thousandparsec/tpclient-pywx-dev/tp/client/media.py", line 78, in updated18:57
tpb<Demitar@worldforge>     localdate = eval(open(media_local + ".timestamp").read())18:57
tpb<Demitar@worldforge> IOError: [Errno 2] Filen eller katalogen finns inte: '/home/demitar/.tp/media.dHA6Ly9ndWVzdEB0cEBkZW1vMS50aG91c2FuZHBhcnNlYy5uZXQ/media.gz.timestamp'18:57
tpb<mithro@worldforge> hrm....18:58
tpb<Demitar@worldforge> Perhaps the previous tries caused cache corruption and now it cannot recover?18:58
tpb<mithro@worldforge> yes18:58
tpb<mithro@worldforge> rm -rf ~/.tp/media*18:59
tpb<mithro@worldforge> or if you want to be delicate18:59
tpb<Demitar@worldforge> Which of course it should be able to if you ask me. :)18:59
tpb<mithro@worldforge> rm ~/.tp/media.*/media.gz*18:59
tpb<Demitar@worldforge> No, this instance I do not care about, but the general robustness would really benefit from being able to recover.18:59
tpb<mithro@worldforge> Demitar: it's a know bug, the media downloading need a bit of work18:59
tpb<mithro@worldforge> ie it really should check local locations first19:00
tpb<Demitar@worldforge> Good. Then I'll just rm -rf :)19:00
tpb<Demitar@worldforge> Media is fetched in the background?19:01
tpb<mithro@worldforge> yes19:02
tpb<mithro@worldforge> you should see a progress bar under the menu19:03
tpb<CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/media.py : Die a bit better when .timestamp doesn't exist.19:03
tpb<CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/ (cache.py media.py media.py media.py media.py media.py): Fix problem with non-english locale.19:03
tpb<CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/threads.py : Removed extra print.19:03
tpb<Demitar@worldforge> Oh, and it works, but there were two locations btw.19:03
tpb<mithro@worldforge> yeah19:03
tpb<mithro@worldforge> can you revert your changes and try with that patch?19:04
tpb<Demitar@worldforge> Actually more than two, but anyway.19:05
tpb<Demitar@worldforge> Odd:19:06
tpb<Demitar@worldforge> $ darcs revert19:06
tpb<Demitar@worldforge> There are no changes to revert!19:06
tpb<mithro@worldforge> it's in libtpclient-py-dev19:07
tpb<mithro@worldforge> hrm, i think i broke demo119:07
tpb<mithro@worldforge> can anyone else login to demo1?19:08
tpb<Demitar@worldforge> Nope. Oh, and when I get it running I'll get you a 1280x800 resolution layout.19:09
tpb<mithro@worldforge> okay19:13
tpb<mithro@worldforge> ahh, I've finally figured out a reproducable way to cause the tpserver-cpp to crash19:14
tpb<mithro@worldforge> okay well I must head to bed19:19
tpb<mithro@worldforge> things left on my todo list:19:19
tpb<mithro@worldforge>  1. Finish the serverbrowser window (populate data from metaserver webpage and zeroconf)19:19
tpb<mithro@worldforge>  2. Finish "intergrating" tpserver-py into the client19:20
tpb<mithro@worldforge> anyway have a good night19:21
tpb<mithro@worldforge> btw, does the update screen look any better in real life?19:21
tpb<Demitar@worldforge> It's not nearly as annoying. Seeing how one has nothing better to do anyway. :)19:32
tpbLee has joined on worldforge23:28
tpb<CIA-1@worldforge> Lee Begg <[email protected]> * tpserver-cpp/modules/games/minisec/build.cpp :23:39
tpb<CIA-1@worldforge> Makes sure the read-only lists are skipped over when they are not zero length:23:39
tpb<CIA-1@worldforge>  Should fix the crash on copy+paste build orders. Needs to be done in other areas.23:39

Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!