All times are UTC.
00:20:11 <-- bogdan_maris has quit (Ping timeout: 121 seconds) 00:24:46 <-- aleth has quit (Quit: Instantbird 48) 00:25:33 <mdhr> Finals in a month. 00:25:43 <mdhr> sorry. please ignore^ 00:40:53 <-- unghost has quit (A TLS packet with unexpected length was received.) 01:15:55 <-- nhnt11 has quit (Ping timeout: 121 seconds) 01:59:25 --> BWMerlin has joined #instantbird 02:08:13 --> Tonnes_ has joined #instantbird 02:09:18 <-- Tonnes has quit (Ping timeout: 121 seconds) 02:10:03 * Tonnes_ is now known as Tonnes 02:17:13 <-- Tonnes has quit (Quit: ChatZilla 0.9.92 [Firefox 45.0/20160303134406]) 02:35:01 --> nhnt11 has joined #instantbird 02:35:01 * ChanServ sets mode +h nhnt11 03:03:00 --> Tonnes has joined #instantbird 03:11:58 <instant-buildbot> build #638 of linux64-nightly-default is complete: Failure [4failed compile] Build details are at http://buildbot.instantbird.org/builders/linux64-nightly-default/builds/638 03:14:05 <instant-buildbot> build #3107 of macosx-nightly-default is complete: Failure [4failed compile] Build details are at http://buildbot.instantbird.org/builders/macosx-nightly-default/builds/3107 03:14:37 --> durwasa has joined #instantbird 03:17:22 <-- nhnt11 has quit (Ping timeout: 121 seconds) 04:35:06 <-- bgmCoder has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com) 05:24:18 <-- durwasa has quit (Connection closed) 05:30:06 --> durwasa has joined #instantbird 06:13:03 --> jsmaniac has joined #instantbird 06:22:52 <-- Anupkumar has quit (Quit: Connection closed for inactivity) 06:42:12 --> jsmaniac1 has joined #instantbird 06:43:09 <-- jsmaniac has quit (Ping timeout: 121 seconds) 06:49:20 --> jsmaniac has joined #instantbird 06:50:53 <-- jsmaniac1 has quit (Ping timeout: 121 seconds) 06:55:09 --> jsmaniac1 has joined #instantbird 06:55:23 <-- jsmaniac has quit (Ping timeout: 121 seconds) 07:09:08 --> shaif has joined #instantbird 07:09:59 --> mpmc has joined #instantbird 07:27:41 --> nhnt11 has joined #instantbird 07:27:41 * ChanServ sets mode +h nhnt11 07:27:49 <-- shaif has quit (Quit: Going offline, see ya! (www.adiirc.com)) 07:31:44 <-- nhnt11 has quit (Ping timeout: 121 seconds) 07:32:36 <mdhr> Hey, I'm trying to import a new jsm module in the yahoo chat protocol, and I've added an entry for it in moz.build and an import statement in yahoo.js 07:33:59 <mdhr> It builds OK, but when it tries to connect to yahoo, it gives an error about failing to create an instance of the protocol. The error's at imcore.js's CoreService.prototype.getProtocolById :: line 345 07:35:32 --> Anupkumar has joined #instantbird 07:35:34 <mdhr> Any ideas on what the problem might be? I've commented out everything in the new jsm file, so basically it wont even import an empty file. 07:49:24 --> jsmaniac has joined #instantbird 07:51:20 <-- jsmaniac1 has quit (Ping timeout: 121 seconds) 07:52:48 --> bogdan_maris has joined #instantbird 07:57:00 --> nhnt11 has joined #instantbird 07:57:00 * ChanServ sets mode +h nhnt11 07:59:34 <-- nhnt11 has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com) 07:59:43 --> nhnt11 has joined #instantbird 07:59:43 * ChanServ sets mode +h nhnt11 07:59:56 --> jsmaniac1 has joined #instantbird 08:01:29 <-- jsmaniac has quit (Ping timeout: 121 seconds) 08:20:09 --> jsmaniac has joined #instantbird 08:20:31 <-- jsmaniac1 has quit (Ping timeout: 121 seconds) 08:33:12 <-- fredy has quit (Ping timeout: 121 seconds) 08:36:08 --> aleth has joined #instantbird 08:36:08 * ChanServ sets mode +o aleth 08:37:43 <aleth> mdhr: impossible to say without a diff 08:38:20 <-- jsmaniac has quit (Quit: Instantbird 1.5 -- http://www.instantbird.com) 08:43:34 <mdhr> aleth: http://pastebin.com/HxYmwmY0 08:44:03 <mdhr> I basically took the WIP patch that clokep_work posted on the bug, and started changing things. 08:44:08 --> fredy has joined #instantbird 08:45:15 <aleth> Use var instead of const at the global level, and this.EXPORTED_SYMBOLS (that's a style change due to some ES6 rule) 08:45:45 <aleth> Then, run "mach configure" or do a full clobber build 08:46:19 <aleth> But most likely there's just a syntax error somewhere ;) 08:46:38 <mdhr> Yes, there is. And I commented out everything but it still failed. :P 08:47:00 <mdhr> The file is technically empty and it still wouldnt work. 08:47:33 <aleth> Did you rerun configure? 08:47:48 <mdhr> Doing those right now. configure and full clobber build. 08:48:08 <aleth> well, if you do a clobber build, it will automatically run configure ;) 08:48:17 <mdhr> Ah. Okay. :P 08:48:50 <aleth> 'configure' just to make sure the moz.build change is picked up. 08:50:27 --> EionRobb has joined #instantbird 09:22:09 --> nhnt12 has joined #instantbird 09:22:09 * ChanServ sets mode +h nhnt12 09:22:31 <-- nhnt11 has quit (Ping timeout: 121 seconds) 09:22:31 * nhnt12 is now known as nhnt11 10:09:23 --> gerard-majax has joined #instantbird 10:21:53 <-- gerard-majax has quit (Ping timeout: 121 seconds) 10:24:02 <-- durwasa has quit (Ping timeout: 121 seconds) 10:25:01 <-- nhnt11 has quit (Ping timeout: 121 seconds) 11:05:15 --> Bollebib has joined #instantbird 11:11:47 <flo-retina> mdhr: ":P" isn't appropriate when replying to someone trying to help you. 11:37:17 <mdhr> I apologize, didn't really think about it. 11:38:20 <-- mpmc has quit (A TLS packet with unexpected length was received.) 11:38:49 <mdhr> And as an update, running configure and a clobber build didn't fix it. 11:39:36 <mdhr> I'll keep trying. 11:39:45 --> mpmc has joined #instantbird 11:59:23 <flo-retina> mdhr: your problem is still a syntax error in Yahoo, right? 11:59:59 <mdhr> I think so. When I remove the include statement from yahoo.js, it semems to run fine. 12:00:33 <flo-retina> when I used to do (not sure if it still works, but it likely does) to find these syntax errors is to run the file with xpcshell 12:00:44 <flo-retina> from the terminal, cd to the objdir/dist/bin folder 12:00:56 <flo-retina> then run ./xpcshell components/yahoo.js 12:01:30 <flo-retina> that won't run much code from the file, but it'll need to parse it, and that'll print syntax errors to the terminal. 12:01:54 <-- EionRobb has quit (Quit: Leaving.) 12:02:03 <mdhr> That seems to run OK either way (with or w/o the input statement) 12:02:21 <flo-retina> input statement? 12:02:40 <mdhr> import* 12:02:46 <mdhr> Wait, I might be doing something wrong. 12:02:52 <-- Anupkumar has quit (Quit: Connection closed for inactivity) 12:02:54 <mdhr> It seems to work no matter what I do to the yahoo.js file 12:03:30 <mdhr> I wrote some bad syntax on purpose and it didnt return anything 12:04:01 <freaktechnik> was it actually stuff that would throw a syntax error, or just things that a linter would complain about? 12:04:49 <mdhr> No, actual syntax errors. 12:05:02 <mdhr> undefined variable name, for instance. 12:05:02 <flo-retina> hmm, I'm trying this now and indeed, it doesn't seem to write anything to the terminal 12:05:19 <flo-retina> echo $? is different if the file is as original (0) or with a broken import (3), but that's not helpful 12:07:09 <mdhr> and broken import is treated the same as a syntax error. 12:07:50 <flo-retina> mdhr: alright, if at the beginning of the file you put try { 12:07:50 <flo-retina> and at the end }catch(e) {print(e)} 12:07:56 <flo-retina> then I get a message printed to the terminal 12:08:33 <mdhr> I dont know why it would break, though. I looked at all instances where yahoo-session.jsm was mentioned, since I figured that was a custom module as well. And its only in the moz.build and yahoo.js files, except the tests. 12:08:42 <mdhr> Okay, I'll try that. 12:09:22 <flo-retina> if you knew why it's broken, it would be fixed already, right? 12:09:52 <mdhr> s/know/understand but yes, same logic. 12:10:26 <mdhr> File not found error. 12:10:43 <flo-retina> show the error 12:11:00 <mdhr> [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: components/yahoo.js :: <TOP_LEVEL> :: line 10" data: no] 12:11:07 <flo-retina> what's line 10? 12:11:14 <mdhr> line 10 is Cu.import("resource:///modules/yahoo-formatting.jsm"); 12:11:30 <flo-retina> find . -name 'yahoo-formatting.jsm' 12:11:48 <mdhr> ./modules/yahoo-formatting.jsm 12:11:55 <mdhr> still at the xpcshell folder 12:12:06 <flo-retina> are you on a mac ? 12:12:15 <mdhr> yes 12:12:27 <flo-retina> ok, move up to the "dist" folder and run the find command again 12:12:46 <mdhr> ./Instantbird.app/Contents/Resources/modules/yahoo-formatting.jsm 12:12:49 <mdhr> and the one before. 12:12:53 <mdhr> 2 results now. 12:13:00 <flo-retina> ok 12:13:22 <flo-retina> if you start Instantbird, open the error console, and type/paste Components.utils.import("resource:///modules/yahoo-formatting.jsm"); 12:13:26 <flo-retina> what's the result? 12:14:18 <mdhr> NS_ERROR_FILE_NOT_FOUND 12:15:05 <flo-retina> what happens if you import yahoo-session.jsm instead? 12:15:34 <mdhr> seems to run fine. [object BackstagePass] is logged. 12:15:56 <flo-retina> can you pastebin the content of yahoo-formatting.jsm? 12:16:09 <mdhr> It's empty. 12:16:30 <mdhr> It wouldnt work no matter what the content. 12:16:56 <flo-retina> if you make the content a copy of an existing working file (eg. yahoo-session.jsm), does it work? 12:17:59 <mdhr> YES, that worked. 12:18:56 <flo-retina> so now you can remove all the existing content of the file and keep just the top and bottom, and see if that still works / what's required 12:21:11 <mdhr> Yes, that seems to work now. 12:21:21 <mdhr> Thanks a lot. 12:21:42 <mdhr> It still breaks down if there are syntax errors in the file, which I will now fix. 12:22:07 <flo-retina> :) 12:23:00 <aleth> there's some obviously unfinished code in your pastebin 12:23:10 <aleth> you could probably have saved a lot of time by following http://log.bezut.info/instantbird/160319/#m59 ;) 12:23:43 <aleth> but I guess you learned something :-) 12:23:46 <mdhr> I did that, @aleth. That didnt fix it. 12:24:03 <mdhr> The problem was all the header stuff that yahoo-session.jsm was importing 12:25:08 <aleth> It would have got you to the point where you just had to look for syntax errors, like the ones in line 60 and 65 12:26:46 <mdhr> Hmm. You're right. This code was actually clokep_work's WIP for a bugfix. 12:27:42 <mdhr> Thank you too. :) 12:56:26 --> Anupkumar has joined #instantbird 13:14:21 <-- mpmc has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com) 13:47:20 <-- bogdan_maris has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com) 13:59:27 <-- BWMerlin has quit (Client exited) 14:00:52 --> EionRobb has joined #instantbird 14:05:31 --> mpmc has joined #instantbird 14:17:07 --> unghost has joined #instantbird 15:21:51 --> bogdan_maris has joined #instantbird 18:14:48 --> gerard-majax has joined #instantbird 18:24:25 <-- gerard-majax has quit (Ping timeout: 121 seconds) 19:05:19 --> nhnt11 has joined #instantbird 19:05:19 * ChanServ sets mode +h nhnt11 19:33:18 <-- mpmc has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com) 19:38:29 --> durwasa has joined #instantbird 19:42:33 <-- nhnt11 has quit (Ping timeout: 121 seconds) 20:28:51 --> CuriousLearner has joined #instantbird 20:37:11 <-- CuriousLearner has quit (Quit: ChatZilla 0.9.92 [Firefox 43.0.4/20160106234723]) 20:43:27 --> bgmCoder has joined #instantbird 21:21:00 <-- Tonnes has quit (Quit: ChatZilla 0.9.92 [Firefox 45.0.1/20160315153207]) 22:19:16 --> abdelrhman has joined #instantbird 22:51:29 <-- Bollebib has quit (Ping timeout: 121 seconds) 22:53:01 --> BWMerlin has joined #instantbird 23:12:29 <-- EionRobb has quit (Quit: Leaving.) 23:15:24 --> EionRobb has joined #instantbird 23:24:37 --> Tonnes has joined #instantbird