IRC log of #maemo-devel for Thursday, 2010-04-01

*** rsalveti has quit IRC00:11
*** rsalveti has joined #maemo-devel00:13
*** lardman has joined #maemo-devel00:20
lardmandragly: I don't suppose you're about...?00:21
draglyI'm here00:31
draglyjust wish I had a notification plugin for irssi over screen over ssh :-p00:31
lardman:)00:33
lardmannp00:33
lardmanso what is the crash I've managed to cause out of interest?00:33
lardmanthat's the problem with coding in the wee hours and deciding to check-in anyway (/me ducks for poor form)00:34
draglyhaha. No worries. I do the same way too often.00:35
*** tbf has quit IRC00:35
draglyIt crashes when clicking "Scan"00:35
lardmansegfault?00:35
draglyactually segabort00:35
lardmanoh Scan, that's not so good00:35
draglynever heard of it before00:35
draglyGST error: gstfilesrc.c(1044): gst_file_src_start (): /GstPipeline:test-camera/GstFileSrc:file_src00:35
lardmanhmm, well that's perhaps because there's no valid file source set00:36
lardmanbut if you click scan it should select the camera source00:36
lardmanhmm00:36
lardmanstrange, I think the code is right, or at least as right as I could guess for the lack of examples00:39
draglyI tried running it in gdb, but I didn't get any info about the faulty line.00:40
draglybut it inits correctly at least00:41
lardmanis strange, because when you hit "Scan" it should set the camera as the source00:41
lardmanor rather the scaler which is attached to the camerasrc00:42
draglywhere is this?00:42
draglyin mainwindow.cpp?00:42
lardmanmainwindow.cpp calls a fn in videowidget.cpp00:42
lardmanvoid MainWindow::startScan()  -> videoWidget->useVideosrc();00:43
draglyuseVideosrc is not defined in videoWidget.cpp00:44
draglyoh wait00:44
draglyI might be wrong00:44
lardmanI think it is00:44
lardmanis here anyway00:44
draglymy bad, searched the wrong file :)00:44
lardmanyou would get a compile error otherwise ;)00:45
lardmanlcuk: ping00:45
draglyI'd think so too :p00:45
lardmanlcuk: I don't suppose your gst source has any pointers to example code for input-selector?00:45
draglymaybe it is something wrong with video_crop?00:45
lardmanwas working before I stuck the input-selector in there00:45
lardmanbut the error mentions the filesrc, which is odd00:46
lardmanperhaps it requires a valid filename when the pipeline is started, no matter if it's connected or not?00:46
lardmanmight need a dummy file in there00:47
lardmane.g. call videoWidget->useFilesrc(fileName);  with a valid file around line 154 of videowidget.cpp?00:48
draglyI could try that00:49
lardmanI'm doing some (day job) work atm under WinXP I'm afraid, but can try in a while00:50
draglywhere fileName is just "dummy" or something?00:50
lardmanneeds to be a valid filename actually00:50
lardmanso something that the pipeline can read in, e.g. some gif/jp(e)g/png/bmp/etc00:50
lardmanif that's the problem we could ship a microsized png with the package, or point it at one of the icons even ;)00:51
draglyi'll try pointing at an icon then :)00:51
lardmanit will probably decode that though!00:51
lardman:)00:51
lardmanbut go for it :)00:52
draglyProgram received signal SIGSEGV, Segmentation fault.00:53
dragly0x409cd99c in g_type_check_instance_cast () from /usr/lib/libgobject-2.0.so.000:53
draglyonly added useFilesrc("/usr/share/icons/hicolor/14x14/hildon/general_alarm_on.png"); to line #15400:54
draglyseems like g_object_set might be the sinner here00:55
lardmanhmm, strange00:57
lardmanwell I guess commenting out the offending lines might be the best bet in the short term then00:58
lardmanand I'll try to debug it over the weekend00:58
*** t-tan has quit IRC00:58
draglyokay. I'll do that for now then.01:01
lardmansorry for the bother01:02
draglyno worries. Glad you tried :) I would have had no idea were to start. I guess I'd start looking for zbar's file loading examples :D01:02
lardmanadd return to the Open Image callback so it does nothing, comment out the videoWidget->useVideosrc(); call in the Scan callback, alter the pipeline setup so the input-selector isn't added to the pipeline01:03
lardmanlast bit, i.e. comment out lines 256/257 in videowidget.cpp and change line 261 so s/input_selector/video_crop01:05
lardmanshould do the job (he says ;))01:06
lardmanprobably ok to create the objects and add them, as I will try to get it working at the weekend01:06
lardmanbut that should at least stop them from being linked together01:06
draglyhm.. can't really seem to get it working correctlyg01:13
*** lbt has quit IRC01:14
lardmandrat01:15
lardmanpipeline not setting up correctly now?01:15
draglynot sure. I'm looking at the diff now01:17
draglythere! Got it :)01:18
lardmancool :)01:19
lardmanwell done01:19
draglythanks for the help :)01:20
draglyI'll upload it to extras-devel01:20
lardmanthanks01:20
lardmanI'll have some time on Friday so will see if I can work out what's up with the filesrc stuff and also look at Python plugins01:21
lardmanhow's your plugin coming along anyway?01:22
draglypretty good. It works as a testing version for now.01:23
lardmangood news :)01:24
draglyWill do some more testing before I add functionality I guess. Would like to get some input from others as well.01:24
lardmanI need to sit down and write a db app in Python once I get those plugins working01:24
lardmanare you going to release it too?01:24
lardmanat the same time01:24
draglyIt is already released :) mbarcode is dependent on it01:25
lardmanah ok01:25
lardman:)01:25
draglyI've been incrementing the version numbers a couple of times now, by the way. mbarcode is now 0.1.3. Hope you don't mind :)01:26
*** Ken-Young has joined #maemo-devel01:29
lardmanno, no problem whatsoever01:29
draglyand feel free to make the mbarcode no longer depend on mbarcode-plugin-ii in the future if it should break or anything. I just wanted to add it as a dependency to get some more input from others.01:30
draglybrb, heading out for a couple of minutes01:30
lardmanthat's fine, eventually we'll have to sort out how we deal with the deps, but sounds fine for the time being01:31
lardmancool ok, am heading for bed soon01:31
lardmancheers for the good work :)01:31
ecksunhow would i go about finding more information (like a reference) detailing dbus-events?01:32
ecksunfor example, how can i get some more information about this:01:32
ecksunsignal sender=:1.17 -> dest=(null destination) serial=799 path=/com/nokia/phone/net; interface=Phone.Net; member=signal_strength_change01:32
lardmanmight be in the ml01:32
ecksunthe ml?01:32
lardmanmailing list01:32
lardmanor actually I think there was a wiki page that listed dbus calls01:33
ecksunyeah, thats more what Im looking for01:33
lardmandunno the link tho, but search should find it I imagine01:33
ecksunyeah, I have found bits of what Im searching for01:34
ecksunbut I was hopeing there were some page where all calls/signals where listed and what they actually did01:35
lardmanno, the calls are actually internal and not generally published, though there's a push for them to be01:35
lardmans/internal/for internal use01:35
ecksuni see01:35
lardmando have a search of the maemo-developers ml tho, and if there's not what you want there just ask01:36
ecksunyes, will do that01:36
ecksunthank you01:36
lardmannp01:36
lardmanand do push for a wiki page/api pages with list of these things too :)01:37
ecksunwould love to, any specific way to make your voice heard? :)01:38
*** lardman|home has joined #maemo-devel01:39
lardman|home~lart TalkTalk01:40
lardman|homeecksun: did you get my response?01:40
ecksunI dont think so, no01:40
lardman|home[lardman] well just add it to the bottom of you email if you have to send one, otherwise I think we just need to build a critical mass and then create a justification page on the wiki to sell the idea to Nokia01:40
ecksunwill do :)01:41
lardman|homegood good01:41
lardman|homeright, bed time01:41
ecksungodnight01:41
lardman|homenight all!01:41
*** lardman has quit IRC01:41
*** lardman|home has quit IRC01:41
*** heu has quit IRC01:46
*** rlinfati has joined #maemo-devel02:40
*** rlinfati has quit IRC02:42
*** rsalveti has quit IRC02:52
*** pillar has quit IRC03:15
*** psybermonkey has joined #maemo-devel03:18
*** njsf_ has joined #maemo-devel03:21
*** Milhouse has quit IRC03:46
*** psybermonkey has quit IRC03:59
*** psybermonkey has joined #maemo-devel04:00
*** swc|666 has joined #maemo-devel04:13
*** brendans has joined #maemo-devel05:34
*** psybermonkey has quit IRC05:40
*** psybermonkey has joined #maemo-devel05:41
*** njsf_ has quit IRC05:53
*** Pavel has quit IRC05:57
*** njsf_ has joined #maemo-devel06:29
*** JLP_ has joined #maemo-devel06:50
*** JLP has quit IRC06:50
*** psybermonkey has quit IRC06:51
*** swc|666 has quit IRC06:56
*** DocScrutinizer has quit IRC07:34
*** DocScrutinizer has joined #maemo-devel07:34
*** DocScrutinizer is now known as DocAvalanche07:53
*** njsf has quit IRC08:05
*** njsf_ has quit IRC08:49
*** tekojo has joined #maemo-devel09:02
*** pillar has joined #maemo-devel09:09
*** psybermonkey has joined #maemo-devel09:17
*** aboyer has joined #maemo-devel09:23
*** dazo_afk is now known as dazo09:24
*** tekojo has quit IRC09:32
*** psybermonkey has quit IRC09:32
*** tekojo has joined #maemo-devel09:32
*** tbf has joined #maemo-devel09:43
*** lbt has joined #maemo-devel10:05
*** tekojo has quit IRC10:10
*** tekojo has joined #maemo-devel10:10
*** amigadave has joined #maemo-devel10:36
*** cataska has quit IRC11:23
*** bbg has quit IRC11:29
*** heu has joined #maemo-devel11:35
*** heu has quit IRC11:50
*** schasch has joined #maemo-devel11:51
*** ppenz has joined #maemo-devel13:22
*** psybermonkey has joined #maemo-devel13:42
*** yerga has joined #maemo-devel13:56
*** lizardo has joined #maemo-devel14:27
*** psybermonkey has quit IRC14:36
*** flx_ has joined #maemo-devel14:38
*** flux has quit IRC14:38
*** flx_ is now known as Guest2708914:38
*** Guest27089 is now known as flux14:38
*** achipa has joined #maemo-devel15:07
*** Ken-Young has quit IRC15:25
*** VDVsx has joined #maemo-devel15:34
*** villager has joined #maemo-devel15:42
*** psybermonkey has joined #maemo-devel16:20
*** tekojo has quit IRC16:22
*** tbf has quit IRC16:35
*** rsalveti has joined #maemo-devel16:43
*** psybermonkey has quit IRC16:49
*** VDVsx_ has joined #maemo-devel17:05
*** VDVsx has quit IRC17:05
*** sopsnips has joined #maemo-devel17:08
*** sopsnips has left #maemo-devel17:08
*** VDVsx_ is now known as VDVsx17:24
*** VDVsx has joined #maemo-devel17:24
*** aboyer has quit IRC17:25
*** JPohlmann has joined #maemo-devel17:36
*** VDVsx has quit IRC17:51
*** sopsnips has joined #maemo-devel17:59
*** sopsnips has left #maemo-devel17:59
*** ppenz has quit IRC18:01
*** psybermonkey has joined #maemo-devel18:07
*** dazo is now known as dazo_afk18:24
*** Acedip has joined #maemo-devel18:34
*** DocAvalanche is now known as DocScrutinizer18:39
*** psybermonkey has quit IRC18:49
*** schasch has quit IRC18:52
*** achipa has quit IRC18:55
*** aam1r has joined #maemo-devel19:10
aam1rHello, anyone around?19:10
*** aam1r has quit IRC19:29
*** amigadave has quit IRC19:37
*** Acedip has quit IRC19:45
*** ajaxous has joined #maemo-devel19:48
*** brendans has quit IRC20:08
*** dotCOMmie has quit IRC20:09
*** Acedip has joined #maemo-devel20:18
*** ieatlint has quit IRC20:47
*** ieatlint has joined #maemo-devel20:47
*** dymaxion has quit IRC20:48
*** Acedip has quit IRC21:07
*** Scorpiion has joined #maemo-devel21:37
*** JPohlmann has quit IRC21:56
*** tbf has joined #maemo-devel22:05
*** JPohlmann has joined #maemo-devel22:18
*** dymaxion has joined #maemo-devel22:21
*** GeneralAntilles has joined #maemo-devel22:21
*** GeneralAntilles has quit IRC22:21
*** GeneralAntilles has joined #maemo-devel22:21
*** Aranel has quit IRC22:41
*** Pahan has joined #maemo-devel22:58
*** Pahan is now known as Pavel22:59
*** povbot has joined #maemo-devel23:06
*** yerga has quit IRC23:08
*** povbot has joined #maemo-devel23:12
*** lizardo has quit IRC23:52
*** njsf has joined #maemo-devel23:58

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