/srv/irclogs.ubuntu.com/2012/07/12/#kubuntu-devel.txt

kubotu::workspace-bugs:: [1020336] plasma-desktop crashed with SIGSEGV @ https://bugs.launchpad.net/bugs/1020336 (by Simon Andric)05:19
ubottuLaunchpad bug 1020336 in kde-workspace (Ubuntu) "plasma-desktop crashed with SIGSEGV" [Undecided,Invalid]05:19
ScottKapachelogger: I'd appreciate it if you pretty please look at the stack trace in https://bugs.launchpad.net/ubuntu/+source/kamera/+bug/1023231 and see if you can figure out what's going wrong.  It was a Galaxy S III phone that caused the crash and I can do it reliably, so I suspect we'll see more of it now that they're out.05:48
ubottuLaunchpad bug 1023231 in kamera (Ubuntu) "kdeinit4 crashed with SIGSEGV in QListData::remove()" [Medium,Confirmed]05:48
=== G4MBY is now known as PaulW2U
jussimrgh07:42
jussiaccidentally installed oneiric and muon crashes :/ cant upgrade like that...07:43
jussiguess Ill have to install 12.0407:43
Riddellyay today's images work a charm09:46
apacheloggergood morning kubuntu09:46
Riddellhi apachelogger, did your fixes to usb-creator go anywhere?09:47
apacheloggerhaven't seen it merged yet09:47
apacheloggersec09:47
apacheloggerhttps://code.launchpad.net/~apachelogger/usb-creator/kdefixes/+merge/11373309:47
apacheloggerstill pending09:47
RiddellI wonder if I'm in ~usb-creator-hackers09:48
Riddelloh goody I am, I'll take a look09:48
apachelogger^^09:48
jussio/ apachelogger, Riddell09:48
apacheloggerlo jussi09:48
apacheloggervoid KameraProtocol::statRoot(void)09:49
apacheloggerScottK: it dawns upon me that kamera has crappy code09:49
jussi!info kamera09:52
ubottukamera (source: kamera): digital camera support for KDE applications. In component main, is optional. Version 4:4.8.2-0ubuntu1 (precise), package size 51 kB, installed size 230 kB09:52
* jussi has a new system :D09:52
apacheloggerScottK: kamera does shitty iterator usage09:53
apacheloggerah09:53
apacheloggeractually it does shitty api usage09:53
apacheloggercamera= camarr.takeFirst();09:54
apacheloggerport= camarr.takeLast();09:54
apacheloggerand shitty formatting, but that is another story09:54
apacheloggertake*() removes an item from camarr and expects there to be items09:54
apacheloggerso the takeFirst removes the one and only item from camarr thus making the takeLast fail as now camarr.size() == 009:55
apacheloggerScottK: kdebugdialog -> turn everything on, then simply run kdeinit4 in a terminal and make the crash happen09:55
apacheloggerit seems to have sufficient debug output to actually see why the algorithm fails09:56
apacheloggerseems to me it expects urls of the format "camera@port"09:57
apacheloggerSteveRiley, claydoh: I actually meant creating a thread or something where people can post their opinions, I'll do a public call for testing of 0.4 on quntal and precise  so people should be able to rant somewhere other than bug reports10:07
tsdgeosapachelogger: kamera code could be better yes10:10
tsdgeoshad a look at it ages ago10:10
tsdgeosran off scared10:10
apachelogger^^10:10
tsdgeosnot sure it has improved since then10:10
apacheloggertsdgeos: don't look at dragon :)10:10
apacheloggertsdgeos: I guess not, you have 3 guesses what the variable camarr does ;)10:11
tsdgeoscan't even invent 1 :D10:12
apachelogger^^10:13
apacheloggeruhm uhm10:15
apacheloggeragateau, Riddell: who was supposed to make ktp message indicator integration happening?10:15
agateauapachelogger: shadeslayer iirc10:16
apacheloggergood thing he is MIA now :S10:16
agateau:)10:17
apacheloggerhttp://wstaw.org/m/2012/07/12/plasma-desktopgd2304.png :(10:35
apacheloggerbambee: did you not work on userconfig?10:41
RiddellvHanda takes on the estonian navy! http://www.flickr.com/photos/jriddell/755496042810:42
Riddellapachelogger: you fix to usb-creator needed a little alteration to actually pick up the newly formatted partition10:43
apacheloggerRiddell: it does?10:43
apacheloggerthat is: worked for me :P10:43
Riddellapachelogger: when I click format it does the formatting, shows a new partition but does not update the free space colum when the formatting is finished10:45
Riddellcos of this bit of cruft10:45
Riddell     def format_ended(self):10:45
Riddell-        self.__backend.formatting = None10:45
Riddellwhich was breaking the backend code10:45
apacheloggerah10:45
apacheloggeryeah, I was wondering why that happened10:45
apacheloggerFWIW you might want to check the GTK frontend, it has the same problem10:45
apacheloggerat least it had last I checked10:46
Riddelldoesn't seem to for me (it also doesn't set the mouse cursor so doesn't use that method at all)10:46
* apachelogger runs a quick bug fix for userconfig10:46
apacheloggerRiddell: it is non-busy10:46
apacheloggeri.e. it does not really care if stuff is in progress10:46
apacheloggerit yet fails to get the free space10:47
apacheloggerthough it might have been my complicated partition table screwing with the backend10:47
Riddellthis whole application could do with an eye over by a usability person or design team10:48
apachelogger+10:49
apacheloggerthen again10:50
apacheloggerIMHO only advanced users would use it10:50
Riddelluploaded!10:50
apacheloggerRiddell++10:50
Riddellapachelogger: only advanced users?  how else would people make usb images?10:50
apacheloggerthey would have someone do it for them10:51
Riddellhmm that's a bit elitest10:51
* apachelogger thinks the actual target audience does not really install operatng systems ;)10:51
apacheloggerRiddell: I don't see my mom installing Kubuntu10:51
apacheloggerlet alone create a usb stick for installation10:51
BluesKajHey all11:24
apacheloggeruserconfig is an unholy state mess11:48
apacheloggerhttp://wstaw.org/m/2012/07/12/plasma-desktopvn2304.png11:50
apacheloggerhttp://wstaw.org/m/2012/07/12/plasma-desktopeJ2304.png11:50
apacheloggerthoughts?11:51
apacheloggerRiddell: ?11:51
davmor2apachelogger: not obvious enough for people who are colour blind, especially with red and green11:53
apacheloggerat some point we had color schemes for color blind people11:53
apacheloggerhttp://wstaw.org/m/2012/07/12/plasma-desktopEb2304.png11:54
apacheloggerhttp://wstaw.org/m/2012/07/12/plasma-desktoppk2304.png11:54
apacheloggeror background11:54
apacheloggerboth looks a bit overkill IMHO11:54
Riddellapachelogger: I prefer like ubiquity, a cross when it's bad11:54
apacheloggerwhere's the cross?11:55
Riddellin ubiquity?11:55
apacheloggeryah11:55
Riddellit appears if you put in non-matching passwords on the right of the boxes11:55
apacheloggernext to the lineedit or inside it?11:55
* apachelogger has no clue how to put stuff inside a lineedit11:56
Riddellnext11:56
apacheloggerdoesn't that look all weird?11:56
apacheloggerah, ubiquity doesn't have a filled form11:57
apacheloggerso there is space next to the lineedit11:57
apacheloggerwhich is not the case here11:57
ScottKapachelogger: There was no port, so that might explain things.12:15
apacheloggerScottK: yah, please paste output somewhere12:18
ScottKapachelogger: OK.  After I take the youngest to her art camp.12:19
apacheloggeroh, groovy, art camp12:19
* apachelogger never went to an art camp :(12:19
apacheloggerthat's prolly why I did not go into arts and instead became pyth0rn fixer -.-12:20
apacheloggerRiddell: does userconfig crash for you on exit?12:22
apacheloggerohoh12:31
apacheloggermaybe I am on the wrong repository ^^12:31
* apachelogger waits for forums people to go ahead with KTP ...12:33
Riddellapachelogger: nope13:43
apol_jtechidna: ping14:05
jtechidnaapol_: pong14:05
ScottKapachelogger: http://paste.kde.org/516626/13421023/ - "kcmshell(30686)/kutils (KCMultiDialog) KCMultiDialog::addModule: "Digital Camera"" is the first line that appeared after I clicked on the open with file manager option in the device notifier.14:13
ScottKOn the good news front, since that didn't work, I can report that file transfer via bluetooth works great in 4.8.4.14:14
ScottKafiestas: ^^^ in no small part due to your work.14:14
apol_jtechidna: I'd like to solve this problem that sometimes we get an error that says something like "do you want to save/discard the changes"14:23
apol_if I update and I don't have the password14:23
apol_jtechidna: I was doing an "undo" but apparently it's not enough...14:24
jtechidnaapol_: which frontend is this?14:25
afiestasScottK: and what didn't work?14:25
apol_jtechidna: well I'm talking about discover14:26
ScottKafiestas: camera protocol and kamera (see my paste to apachelogger just above)14:26
apol_but it happens with all of them, including muon-updater14:26
ScottKkio_camera just dies.14:26
afiestas:/14:27
apacheloggercause it has crappy code14:28
apacheloggerScottK: is that supposed to work at all?14:28
ScottKapachelogger: I've no idea.  I just know when I clicked on dolphin that's what happened.14:29
apacheloggerpfff14:29
apacheloggerafiestas: I wonder why the device notifier offers kamera slave launching 14:30
apacheloggerbogus udev?14:30
jtechidnaapol_: so to be clear, you have available updates, go to apply them, don't provide the password, and when you exit Muon you get the "unsaved changes" dialog?14:30
apacheloggerah nvm14:30
apacheloggerapparently it is detected as PTP cam14:30
apacheloggerwhich makes sense I suppose14:31
apol_jtechidna: yes14:31
apol_jtechidna: with muon-updater if you open it, then close it you get this same behavior too14:31
apol_you don't even get asked for the password14:32
apacheloggerkio_kamera(30710) KameraProtocol::stat: stat(" "/Samsung GT-P7510/Galaxy Tab 10.1/S2/GT-N7000/Galaxy Nexus@usb:002,040" ")14:32
* apachelogger wonders why that goes kaboom14:32
apacheloggerScottK: will have a look at it after lunch14:32
ScottKThanks.14:33
jtechidnaapol_: yeah, it will ask that if changes to any packages are marked but not yet applied14:33
afiestasgalaxy's won't work because they use some kind of drm14:33
jtechidna(see MuonMainWindow::queryExit())14:33
afiestasand mtp doesn't know how to handle it, neither does ptp14:33
afiestas(kio_kamera uses ptp)14:33
apacheloggerfun14:34
ScottKSigh.14:34
apacheloggerbaby steps I say14:34
apacheloggerfirst it needs to not crash the slave :P14:34
ScottKAgreed.14:34
apacheloggerafiestas: perhaps galaxy mootness should be explicitly blacklisted?14:34
apacheloggereven if we go like "wooohoo, this here device is not supported" it would seem rather silly to offer the user the possibility to open it with dolphin to begin with14:35
apol_jtechidna: I know, that's annoying14:35
apol_jtechidna: also in discover I don't want to leave a cache with all the changes marked because then if we install it will drag all these changes14:35
jtechidnaah, I can see why "undo" isn't marking all the changes14:36
apacheloggerah14:36
apacheloggerScottK: trivial crash14:36
apacheloggerthough I think the logic at large there is flawed14:36
apacheloggeranyhow14:36
apachelogger-> lunch14:36
ScottKapachelogger: OK.  Send me a patch and I'll try it.14:37
jtechidnaapol_: ApplicationUpdates::upgradeAll() iterates through all upgradeable packages and manually marks them for install. Calling undo will only undo the last one, and if there are more packages upgraded than the undo stack size you won't be able to undo everything14:38
apol_jtechidna: ok, then how do I do that?14:38
jtechidnaapol_: better to just call Backend::markPackagesForUpgrade();14:38
apol_ok14:39
jtechidnaapol_: something like this: http://paste.kde.org/516632/14:39
jtechidna(that's what Muon Package Manager does)14:40
jtechidnasaveCacheState() will throw the current state on the undo/redo stack, so calling undo after marking the update will revert it to its pre-marking state14:41
apol_jtechidna: it didn't work...14:42
apol_and this method is supposed to be full upgrade...14:42
jtechidnaoh, markPackagesForDistUpgrade for a full upgrade14:43
apol_jtechidna: maybe I can use distupgrade always?14:43
jtechidnayeah14:44
jtechidnabut you'll want to confront the user if any packages will be removed by the upgrade14:44
apol_ok14:44
jtechidnabecause unfortunately dist-upgrades aren't always 100% safe and can remove important things if the Ubuntu package archive is in the wrong state14:45
apol_ok14:46
jtechidnaThe QWidget frontends of Muon use the ChangesDialog class from libmuonprivate for that14:47
jtechidnaa good usage example is in ApplicationBackend::confirmRemoval(Transaction *transaction)14:48
=== drdanz is now known as ded182
=== ded182 is now known as drded182
=== drded182 is now known as notme
=== notme is now known as drdanz
JekyllHi, is there plan or progress for this? https://bugs.launchpad.net/ubuntu/+source/plasma-widget-networkmanagement/+bug/101976515:15
ubottuLaunchpad bug 1019765 in plasma-widget-networkmanagement (Ubuntu) "Make newest plasma nm available for precise" [Undecided,Confirmed]15:15
RiddellJekyll: let me see15:18
RiddellJekyll: you're requesting it or you're volunteering to help? :)15:18
JekyllI just want it to happen :) . BKO keeps receiving crash report due to #283105 from old versions used by ubuntu users15:20
Riddellcompiling now15:22
RiddellJekyll: are you able to test?15:27
JekyllRiddell: what do you want me to test? 15:30
RiddellJekyll: the compiled packages on kubuntu 12.0415:30
JekyllRiddell: I'm curreently not running kubuntu(although installed). But I have been using the latest plasma NM on my Gentoo for quite some time.15:33
Riddellhttp://www.howtoforge.com/the-perfect-desktop-kubuntu-12.04  The Perfect Desktop, that's us!15:41
RiddellJekyll: compiling in ~kubuntu-ppa updates ppa now15:42
Riddelluh why is kdepim-runtime in main?15:45
ScottKRiddell: rdepend on python-kde4.15:46
Riddellmm15:47
Riddellok bug 1023954 filed15:50
ubottuLaunchpad bug 1023954 in libkgapi (Ubuntu) "[MIR] Please promote to main" [Undecided,New] https://launchpad.net/bugs/102395415:50
apachelogger_bleh that code is fugly16:40
=== apol_ is now known as apol
ScottKSo the phone will connect either as an MTP device or a PTP device.16:42
ScottKWith whichever that crash isn't, I get "Unknown error code 150 Could not find the requested device on the USB port Please send a full bug report at http://bugs.kde.org."16:42
apachelogger_that'd be mtp I think16:43
apachelogger_kamera slave only does ptp it seems16:43
apachelogger_also it seems unmaintained16:43
apachelogger_the only reasonable commit was by jtechidna in dec 2010!16:43
apachelogger_and those were qt4/kde4 ports16:43
jtechidnaoh yeah, forgot about that16:44
jtechidnayeah, it was messy stuff16:44
apachelogger_needs a rewrite or something16:46
apachelogger_the parsing code that crashes for ScottK is completely screwed up16:46
apachelogger_http://paste.kde.org/516692/16:47
apachelogger_I am not particularly certain how to rewrite it without potentialy breaking something16:47
ScottKWhere in there is the crash?16:48
apachelogger_#1516:49
apachelogger_I mean16:50
apachelogger_I can make it not crash16:50
apachelogger_that would however not resolve the issue that the spliting is completely insufficient16:50
apachelogger_as in your case you have "foo/bar/foobar@usb0:"16:51
apachelogger_i.e. a range of names or perhaps it is a path (I cannot tell) and then the @16:51
apachelogger_so already the first assumption there is utterly wrong, splitting by / and then taking the first argument and assuming there is a @ in there...16:52
apachelogger_then there is the assumption that since there is an at in there you can take an element from the front and one from the end, which is where it crashes (no @ == one argument == empty after first take())16:53
apachelogger_goes on like that16:53
apachelogger_so the *proper* solution is to turn the entire function into a regex16:53
apachelogger_but since I have no clue why those assumptions were made in the first place I am not terribly confident it will not break for other url cases...16:54
SteveRileyapachelogger: claydoh: done, KTP forum post up. http://www.kubuntuforums.net/showthread.php?59475-KDE-Telepathy-0-4-feedback-requested17:02
ScottKGwenview likes it even less.  Flat out refuses to deal with camera: paths.17:04
apachelogger_SteveRiley: wrong PPAs17:08
apachelogger_SteveRiley: quantal builds are in official archive17:09
apachelogger_precise I still need to copy17:09
SteveRileyapachelogger: ah okie i didn't look at that. will fix17:09
SteveRileyapachaelogger: fixed.17:14
SteveRileyer... s/apachaelogger/apachelogger/ :)17:14
ScottKSo how do I do batch file transfer via bluetooth?  The current 'send file' option is exactly that.  One file at a time.17:19
apachelogger_ScottK: shouldn't you be able to mount the data partition of the device?17:20
ScottKVia usb?17:20
apachelogger_aye17:20
apachelogger_it's running android, no?17:20
ScottKYes17:21
apachelogger_should be mountable somehow then17:21
apachelogger_or it used to be in older androids anyway17:21
ScottKThe newer one is all shiny, but there's some stuff that seems unfortunate.17:21
* apachelogger_ invokes regular expression magic17:24
ScottKAll I get is a window in Dolphin with the sendfile thing.17:27
ScottKThe URI is bluetooth://0c-71-5d-f6-f9-6d/17:27
apachelogger_you'd have to turn on mounting on the device17:28
apachelogger_mounting would be exclusive to either the device or the usb host17:28
ScottKIt doesn't have that option.17:32
ScottKMeh.17:32
ScottKI think I'm wanted to do this via wifi.17:32
apachelogger_QRegExp ex("(.*)@((\\w|\\d)+:([\\d,]+))(.*)");17:32
apachelogger_good lord17:32
ScottKIt's only showing media can call audio profiles.17:32
* apachelogger_ buys some sanity on ebay17:32
ScottKcamera:/USB PTP Class Camera@usb:002,078/store_00010001/ works once I enable file sharing on the phone.17:49
ScottKDoesn't make Kamera any less crap.17:50
apachelogger_oha17:52
apachelogger_what is camera:/ and how is it different from kamera? :P17:53
=== skreech_ is now known as Daskreech
BluesKajapachelogger_, Camera downloads files from your digital camera. It is based on GNUstep.17:55
apachelogger_screw this fragmentation!17:55
BluesKajapachelogger_,17:56
BluesKajpackage allows any KDE application to access and manipulate pictures on a digital camera. This package is part of the KDE graphics module.17:56
BluesKajkamera that is 17:56
* apachelogger_ can regex that crap url but fails at a path regex -.-18:01
apachelogger_ScottK: http://paste.ubuntu.com/1088422/18:07
* apachelogger_ likes how the function assumes that the path points to a file18:07
* apachelogger_ did not get nearly as much done as intended -.-18:08
apachelogger_ScottK, Riddell, jtechidna: last chance to object ktp 0.4 move to backports ppa18:09
apachelogger_precise users around?18:15
=== apachelogger_ changed the topic of #kubuntu-devel to: Kubuntu - Friendly Computing | Status: http://goo.gl/ZGGJP | Packaging TODO: http://notes.kde.org/kubuntu-ninjas | apachelogger: make KTP testing happening & upload amarok (finish lastfm transition) & SRU plymouth logo & calligra staging testing
ScottKapachelogger_: As long as someone tests it first, that should be fine for official Ubuntu backports too.18:22
apachelogger_works fine, chatting with shadeslayer right now18:25
=== apachelogger_ changed the topic of #kubuntu-devel to: Kubuntu - Friendly Computing | Status: http://goo.gl/ZGGJP | Packaging TODO: http://notes.kde.org/kubuntu-ninjas | apachelogger: SRU plymouth logo & calligra staging testing
apachelogger_bambee: pingpingping18:33
apachelogger_SteveRiley: http://www.kubuntu.org/ktp-0.419:00
apachelogger_bambee: if you get back, thoughts on userconfig cpp port would be nice19:01
* apachelogger_ actually has a simple port started and thinks we should use system-tools-backends19:02
apachelogger_checking out for today19:02
apachelogger_o/19:02
SteveRileyapachelogger: very nice. let's do more of these with KFN.19:03
ScottKapachelogger: Sadness.  http://paste.kde.org/516770/13421201/19:09
ScottKcamera:/USB PTP Class Camera@usb:002,079/ now fails with unknown error/unknown model and it worked before.19:10
=== Exio4 is now known as Lyoko
=== Lyoko is now known as Exio4
ScottKNeat.  With kdebugdialog turned on full, I get to see the email I send in kmail scroll by on my terminal.19:45
bambeeapachelogger: there is already a simple port on lp :)19:56
bambeewell, I need to work on this port. Unfortunately I am changing of job and I am looking for a new apartment these days. (I leave bordeaux for toulouse) when I've time I will look at it19:57
bambeewhat is system-tools-backends ?19:58
SteveRileyapachelogger: hey, it looks like meta-kde-telepathy didn't make it into backports for precise.20:10
BluesKaj...BBL20:15
Riddellbambee: Toulose has quite an impressive KDE mafia21:02
bambeeRiddell: yeah, I know, and a lot of KDE workshops :D21:30
bambeethat's really cool!!21:30
bambee:)21:30
bambeekevin otens (ervin) and anne marie (annma) are living to toulouse ;D21:31
=== skreech_ is now known as Daskreech

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