Times are UTC Toggle Colours
04:19:37 *** Supercheese has quit IRC 04:42:15 *** Supercheese has joined #openttdcoop.devzone 05:38:47 *** LSky` has joined #openttdcoop.devzone 05:47:51 <DevZone> Project redfish build #59-push: SUCCESS in 1 min 33 sec: https://jenkins.openttdcoop.org/job/redfish/59/ 06:02:15 *** LSky` has quit IRC 06:06:20 *** Alberth has joined #openttdcoop.devzone 10:00:39 *** Alberth has left #openttdcoop.devzone 11:23:25 *** yorick has joined #openttdcoop.devzone 11:31:18 *** Supercheese has quit IRC 11:31:54 *** Supercheese has joined #openttdcoop.devzone 13:19:11 *** LSky` has joined #openttdcoop.devzone 14:29:31 *** Alberth has joined #openttdcoop.devzone 16:47:54 <DevZone> Yippee, build fixed! 16:47:55 <DevZone> Project Dutch Trackset build #37-push: FIXED in 31 sec: https://jenkins.openttdcoop.org/job/dutchtracks/37/ 16:48:05 <DevZone> Project Dutch Tramset build #46-push: SUCCESS in 32 sec: https://jenkins.openttdcoop.org/job/dutchtramset/46/ 16:49:16 <DevZone> Project Dutch Trainset build #217-push: SUCCESS in 1 min 22 sec: https://jenkins.openttdcoop.org/job/dutchtrains/217/ 16:49:42 <DevZone> Project 2ccts build #213-push: SUCCESS in 1 min 35 sec: https://jenkins.openttdcoop.org/job/2ccts/213/ 17:06:23 <DevZone> Project redfish build #60-push: SUCCESS in 1 min 40 sec: https://jenkins.openttdcoop.org/job/redfish/60/ 17:19:18 *** frosch123 has joined #openttdcoop.devzone 17:30:18 <frosch123> LSky`: the afrikaans translation you uploaded is broken 17:30:36 <frosch123> it specifies the wrong language id in the first line, and it uses the wrong file encoding 17:30:41 <frosch123> files must be utf-8 17:35:19 <LSky`> bleh 17:36:26 <LSky`> i have no idea what you mean with the file encoding 17:37:13 <frosch123> there are different methods to encode fancy characters like äöüœæçŝ and stuff 17:37:36 <frosch123> the one needed for newgrf and basically everything on the internet is called "utf-8" 17:38:09 <frosch123> sadly windows defaults to older encodings to stay compatible with win 3.1 17:38:48 <frosch123> but your editor should have a dropdown combobox in the save-as dialog to select a different encoding 17:41:40 <LSky`> how do I tell the difference ? 17:42:16 <frosch123> you can check in-game 17:42:50 <frosch123> STR_BUY_MENU_REFIT_CAPACITIES_PACKET :{}{BLACK}Dravermo? wanneer herbou: {GOLD}{COMMA} sakke pos of {COMMA}t snel vrag <- is there a fancy character in game instead of the "?" 17:42:55 <DevZone> Project redfish build #61-push: SUCCESS in 1 min 29 sec: https://jenkins.openttdcoop.org/job/redfish/61/ 17:43:20 <LSky`> yeah 17:43:21 <LSky`> there is 17:43:35 <LSky`> well 17:43:38 <LSky`> ill check obviously 17:46:17 <LSky`> wow 17:46:30 <LSky`> i finally understand what Dravermoë means 17:46:49 <LSky`> these people need to fix their language, seriously, who comes up with this stuff 17:47:29 <frosch123> ah, i see you are dutch :p 17:47:38 <LSky`> ^^ 17:47:48 <frosch123> don't ask glx about belugas' french :p 17:47:48 <LSky`> anyway 17:47:56 <LSky`> I think its fixed now 17:48:12 <LSky`> i tried it and the fancy characters display just fine 18:00:06 <DevZone> Project redfish build #62-push: SUCCESS in 1 min 32 sec: https://jenkins.openttdcoop.org/job/redfish/62/ 18:13:22 <frosch123> hmm 18:13:36 <frosch123> Alberth: do you know whether nml can handle other lang file encodings than utf-8 18:13:43 <frosch123> does it detect them somehow? 18:15:25 *** andythenorth has joined #openttdcoop.devzone 18:20:40 <Rubidium> I don't think there's a fail safe detection for utf-8 18:40:30 *** oskari89 has joined #openttdcoop.devzone 19:12:20 <Alberth> I think that holds for most if not all encodings, larger than plain ASCII 19:17:26 <Alberth> frosch123: it does codecs.open(generic.find_file(filename), "r", "utf-8") as f: ie hard-coded utf-8 decoding, in a try/except UnicodeDecodeError 19:18:49 <planetmaker> good evening :) 19:19:03 <LSky`> evening 19:25:00 <frosch123> Alberth: should we do the same for eints upload? 19:25:24 <frosch123> alternatively i could put some iconv into the uploader script 19:25:49 <frosch123> or fix it manually :p 19:27:17 <Rubidium> how are you going to guess the code page for iconv? 19:27:40 <Alberth> bottle provides the file handle, through http 19:27:44 <frosch123> i first check for valid utf-8 19:27:56 <frosch123> if not, i just assume windows-1252 19:28:05 <DevZone> Project World Airliner Set build #213-push: SUCCESS in 2 min 14 sec: https://jenkins.openttdcoop.org/job/worldairlinersset/213/ 19:28:08 <Alberth> I don't know what http provides for specifying the encoding of an uploaded file 19:28:10 <frosch123> which is the most common one, for those who actually use 8bit 19:29:24 <frosch123> Alberth: i think there is an encoding specified in the header 19:30:38 <frosch123> headers = {"Content-Type" : " multipart/form-data; charset=utf-8; boundary={}".format(boundary)} <- from lang_sync source 19:30:50 <Alberth> I would expect so. I would also expect bottle to handle this http stuff 19:33:24 <frosch123> well, actually it's lang_sync which detects the issue 19:33:30 <frosch123> so, the upload isn't tried 19:34:05 <frosch123> http://paste.openttdcoop.org/show/3567/ 19:34:44 <frosch123> so, actually it would be easier to do the conversion with python, instead of using iconv :p 19:42:24 <frosch123> ok, found the nml source Alberth mentioned. but it has no fallback, so how does it process the faulty encoding? 19:43:44 <Alberth> http://paste.openttdcoop.org/show/3568/ aka BOEM 19:44:19 <frosch123> well, LSky` said, it worked :/ 19:45:21 <frosch123> https://jenkins.openttdcoop.org/job/redfish/62/console <- ok, that also prints the warnings 19:45:59 <frosch123> why it encodes the grf 3 times is beyond me though :p 19:49:52 *** tycoondemon has quit IRC 19:49:53 <andythenorth> yeah there’s some bug with that 19:49:57 <andythenorth> some of my sets were doing it 19:50:05 <andythenorth> parses lang twice, then encodes the grf twice afaict 19:50:16 <andythenorth> I never bothered investigating 19:50:26 <andythenorth> I assumed it was some recursive make issue or such 19:58:32 <LSky`> im having fun with your archived graphics though, andythenorth 19:58:37 <LSky`> they serve nicely 19:58:49 <LSky`> i just cant figure out why one of the barges isnt aligned properly in the buy menu 19:59:08 <LSky`> http://i.imgur.com/8VtlGf2.png 19:59:16 <LSky`> i believe that was the case when I forked it 19:59:38 <LSky`> i double checked alignments and the graphics file, i even just replaced it with the geneva one, but its still weir 20:01:53 <andythenorth> LSky`: check buy_menu_bb_xy 20:01:57 <andythenorth> and buy_menu_width 20:02:03 <andythenorth> props on the ship py file 20:59:38 <LSky`> thanks 20:59:52 <andythenorth> did it work? 20:59:57 <LSky`> building now 21:00:18 <LSky`> thouhg I mightve built 2 at once 21:00:28 <LSky`> not sure how the compile farm likes that 21:00:31 <DevZone> Project redfish build #63-push: SUCCESS in 1 min 36 sec: https://jenkins.openttdcoop.org/job/redfish/63/ 21:01:25 <planetmaker> the CF doesn't mind. 21:01:43 <planetmaker> If you push N revisions at once, it will only built the last 21:02:01 <DevZone> Project redfish build #64-push: SUCCESS in 1 min 30 sec: https://jenkins.openttdcoop.org/job/redfish/64/ 21:02:12 <planetmaker> If you push N times, one revision each, it will built each. But will queue them 21:03:02 <planetmaker> It will only ever build one at a time of a single project 21:03:34 <planetmaker> (it would also run into race conditions otherwise, compiling two revisions from the same working dir) 21:07:30 *** andythenorth has left #openttdcoop.devzone 21:28:54 <DevZone> Project redfish build #65-push: SUCCESS in 1 min 31 sec: https://jenkins.openttdcoop.org/job/redfish/65/ 21:36:03 *** frosch123 has quit IRC 21:48:31 <LSky`> well that almost solved it 21:48:51 <LSky`> i guess its slightly better now 21:54:06 *** Alberth has left #openttdcoop.devzone 22:07:06 *** LSky` has quit IRC 22:14:57 *** oskari89 has quit IRC