[05:19] <kubotu> ::workspace-bugs:: [1020336] plasma-desktop crashed with SIGSEGV @ https://bugs.launchpad.net/bugs/1020336 (by Simon Andric)
[05:48] <ScottK> apachelogger: 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.
[07:42] <jussi> mrgh
[07:43] <jussi> accidentally installed oneiric and muon crashes :/ cant upgrade like that...
[07:43] <jussi> guess Ill have to install 12.04
[09:46] <Riddell> yay today's images work a charm
[09:46] <apachelogger> good morning kubuntu
[09:47] <Riddell> hi apachelogger, did your fixes to usb-creator go anywhere?
[09:47] <apachelogger> haven't seen it merged yet
[09:47] <apachelogger> sec
[09:47] <apachelogger> https://code.launchpad.net/~apachelogger/usb-creator/kdefixes/+merge/113733
[09:47] <apachelogger> still pending
[09:48] <Riddell> I wonder if I'm in ~usb-creator-hackers
[09:48] <Riddell> oh goody I am, I'll take a look
[09:48] <apachelogger> ^^
[09:48] <jussi> o/ apachelogger, Riddell
[09:48] <apachelogger> lo jussi
[09:49] <apachelogger> void KameraProtocol::statRoot(void)
[09:49] <apachelogger> ScottK: it dawns upon me that kamera has crappy code
[09:52] <jussi> !info kamera
[09:52]  * jussi has a new system :D
[09:53] <apachelogger> ScottK: kamera does shitty iterator usage
[09:53] <apachelogger> ah
[09:53] <apachelogger> actually it does shitty api usage
[09:54] <apachelogger> 		camera		= camarr.takeFirst();
[09:54] <apachelogger> 		port		= camarr.takeLast();
[09:54] <apachelogger> and shitty formatting, but that is another story
[09:54] <apachelogger> take*() removes an item from camarr and expects there to be items
[09:55] <apachelogger> so the takeFirst removes the one and only item from camarr thus making the takeLast fail as now camarr.size() == 0
[09:55] <apachelogger> ScottK: kdebugdialog -> turn everything on, then simply run kdeinit4 in a terminal and make the crash happen
[09:56] <apachelogger> it seems to have sufficient debug output to actually see why the algorithm fails
[09:57] <apachelogger> seems to me it expects urls of the format "camera@port"
[10:07] <apachelogger> SteveRiley, 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 reports
[10:10] <tsdgeos> apachelogger: kamera code could be better yes
[10:10] <tsdgeos> had a look at it ages ago
[10:10] <tsdgeos> ran off scared
[10:10] <apachelogger> ^^
[10:10] <tsdgeos> not sure it has improved since then
[10:10] <apachelogger> tsdgeos: don't look at dragon :)
[10:11] <apachelogger> tsdgeos: I guess not, you have 3 guesses what the variable camarr does ;)
[10:12] <tsdgeos> can't even invent 1 :D
[10:13] <apachelogger> ^^
[10:15] <apachelogger> uhm uhm
[10:15] <apachelogger> agateau, Riddell: who was supposed to make ktp message indicator integration happening?
[10:16] <agateau> apachelogger: shadeslayer iirc
[10:16] <apachelogger> good thing he is MIA now :S
[10:17] <agateau> :)
[10:35] <apachelogger> http://wstaw.org/m/2012/07/12/plasma-desktopgd2304.png :(
[10:41] <apachelogger> bambee: did you not work on userconfig?
[10:42] <Riddell> vHanda takes on the estonian navy! http://www.flickr.com/photos/jriddell/7554960428
[10:43] <Riddell> apachelogger: you fix to usb-creator needed a little alteration to actually pick up the newly formatted partition
[10:43] <apachelogger> Riddell: it does?
[10:43] <apachelogger> that is: worked for me :P
[10:45] <Riddell> apachelogger: when I click format it does the formatting, shows a new partition but does not update the free space colum when the formatting is finished
[10:45] <Riddell> cos of this bit of cruft
[10:45] <Riddell>      def format_ended(self):
[10:45] <Riddell> -        self.__backend.formatting = None
[10:45] <Riddell> which was breaking the backend code
[10:45] <apachelogger> ah
[10:45] <apachelogger> yeah, I was wondering why that happened
[10:45] <apachelogger> FWIW you might want to check the GTK frontend, it has the same problem
[10:46] <apachelogger> at least it had last I checked
[10:46] <Riddell> doesn'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 userconfig
[10:46] <apachelogger> Riddell: it is non-busy
[10:46] <apachelogger> i.e. it does not really care if stuff is in progress
[10:47] <apachelogger> it yet fails to get the free space
[10:47] <apachelogger> though it might have been my complicated partition table screwing with the backend
[10:48] <Riddell> this whole application could do with an eye over by a usability person or design team
[10:49] <apachelogger> +
[10:50] <apachelogger> then again
[10:50] <apachelogger> IMHO only advanced users would use it
[10:50] <Riddell> uploaded!
[10:50] <apachelogger> Riddell++
[10:50] <Riddell> apachelogger: only advanced users?  how else would people make usb images?
[10:51] <apachelogger> they would have someone do it for them
[10:51] <Riddell> hmm that's a bit elitest
[10:51]  * apachelogger thinks the actual target audience does not really install operatng systems ;)
[10:51] <apachelogger> Riddell: I don't see my mom installing Kubuntu
[10:51] <apachelogger> let alone create a usb stick for installation
[11:24] <BluesKaj> Hey all
[11:48] <apachelogger> userconfig is an unholy state mess
[11:50] <apachelogger> http://wstaw.org/m/2012/07/12/plasma-desktopvn2304.png
[11:50] <apachelogger> http://wstaw.org/m/2012/07/12/plasma-desktopeJ2304.png
[11:51] <apachelogger> thoughts?
[11:51] <apachelogger> Riddell: ?
[11:53] <davmor2> apachelogger: not obvious enough for people who are colour blind, especially with red and green
[11:53] <apachelogger> at some point we had color schemes for color blind people
[11:54] <apachelogger> http://wstaw.org/m/2012/07/12/plasma-desktopEb2304.png
[11:54] <apachelogger> http://wstaw.org/m/2012/07/12/plasma-desktoppk2304.png
[11:54] <apachelogger> or background
[11:54] <apachelogger> both looks a bit overkill IMHO
[11:54] <Riddell> apachelogger: I prefer like ubiquity, a cross when it's bad
[11:55] <apachelogger> where's the cross?
[11:55] <Riddell> in ubiquity?
[11:55] <apachelogger> yah
[11:55] <Riddell> it appears if you put in non-matching passwords on the right of the boxes
[11:55] <apachelogger> next to the lineedit or inside it?
[11:56]  * apachelogger has no clue how to put stuff inside a lineedit
[11:56] <Riddell> next
[11:56] <apachelogger> doesn't that look all weird?
[11:57] <apachelogger> ah, ubiquity doesn't have a filled form
[11:57] <apachelogger> so there is space next to the lineedit
[11:57] <apachelogger> which is not the case here
[12:15] <ScottK> apachelogger: There was no port, so that might explain things.
[12:18] <apachelogger> ScottK: yah, please paste output somewhere
[12:19] <ScottK> apachelogger: OK.  After I take the youngest to her art camp.
[12:19] <apachelogger> oh, groovy, art camp
[12:19]  * apachelogger never went to an art camp :(
[12:20] <apachelogger> that's prolly why I did not go into arts and instead became pyth0rn fixer -.-
[12:22] <apachelogger> Riddell: does userconfig crash for you on exit?
[12:31] <apachelogger> ohoh
[12:31] <apachelogger> maybe I am on the wrong repository ^^
[12:33]  * apachelogger waits for forums people to go ahead with KTP ...
[13:43] <Riddell> apachelogger: nope
[14:05] <apol_> jtechidna: ping
[14:05] <jtechidna> apol_: pong
[14:13] <ScottK> apachelogger: 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:14] <ScottK> On 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] <ScottK> afiestas: ^^^ in no small part due to your work.
[14:23] <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 password
[14:24] <apol_> jtechidna: I was doing an "undo" but apparently it's not enough...
[14:25] <jtechidna> apol_: which frontend is this?
[14:25] <afiestas> ScottK: and what didn't work?
[14:26] <apol_> jtechidna: well I'm talking about discover
[14:26] <ScottK> afiestas: camera protocol and kamera (see my paste to apachelogger just above)
[14:26] <apol_> but it happens with all of them, including muon-updater
[14:26] <ScottK> kio_camera just dies.
[14:27] <afiestas> :/
[14:28] <apachelogger> cause it has crappy code
[14:28] <apachelogger> ScottK: is that supposed to work at all?
[14:29] <ScottK> apachelogger: I've no idea.  I just know when I clicked on dolphin that's what happened.
[14:29] <apachelogger> pfff
[14:30] <apachelogger> afiestas: I wonder why the device notifier offers kamera slave launching 
[14:30] <apachelogger> bogus udev?
[14:30] <jtechidna> apol_: 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] <apachelogger> ah nvm
[14:30] <apachelogger> apparently it is detected as PTP cam
[14:31] <apachelogger> which makes sense I suppose
[14:31] <apol_> jtechidna: yes
[14:31] <apol_> jtechidna: with muon-updater if you open it, then close it you get this same behavior too
[14:32] <apol_> you don't even get asked for the password
[14:32] <apachelogger> kio_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 kaboom
[14:32] <apachelogger> ScottK: will have a look at it after lunch
[14:33] <ScottK> Thanks.
[14:33] <jtechidna> apol_: yeah, it will ask that if changes to any packages are marked but not yet applied
[14:33] <afiestas> galaxy's won't work because they use some kind of drm
[14:33] <jtechidna> (see MuonMainWindow::queryExit())
[14:33] <afiestas> and mtp doesn't know how to handle it, neither does ptp
[14:33] <afiestas> (kio_kamera uses ptp)
[14:34] <apachelogger> fun
[14:34] <ScottK> Sigh.
[14:34] <apachelogger> baby steps I say
[14:34] <apachelogger> first it needs to not crash the slave :P
[14:34] <ScottK> Agreed.
[14:34] <apachelogger> afiestas: perhaps galaxy mootness should be explicitly blacklisted?
[14:35] <apachelogger> even 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 with
[14:35] <apol_> jtechidna: I know, that's annoying
[14: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 changes
[14:36] <jtechidna> ah, I can see why "undo" isn't marking all the changes
[14:36] <apachelogger> ah
[14:36] <apachelogger> ScottK: trivial crash
[14:36] <apachelogger> though I think the logic at large there is flawed
[14:36] <apachelogger> anyhow
[14:36] <apachelogger> -> lunch
[14:37] <ScottK> apachelogger: OK.  Send me a patch and I'll try it.
[14:38] <jtechidna> apol_: 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 everything
[14:38] <apol_> jtechidna: ok, then how do I do that?
[14:38] <jtechidna> apol_: better to just call Backend::markPackagesForUpgrade();
[14:39] <apol_> ok
[14:39] <jtechidna> apol_: something like this: http://paste.kde.org/516632/
[14:40] <jtechidna> (that's what Muon Package Manager does)
[14:41] <jtechidna> saveCacheState() will throw the current state on the undo/redo stack, so calling undo after marking the update will revert it to its pre-marking state
[14:42] <apol_> jtechidna: it didn't work...
[14:42] <apol_> and this method is supposed to be full upgrade...
[14:43] <jtechidna> oh, markPackagesForDistUpgrade for a full upgrade
[14:43] <apol_> jtechidna: maybe I can use distupgrade always?
[14:44] <jtechidna> yeah
[14:44] <jtechidna> but you'll want to confront the user if any packages will be removed by the upgrade
[14:44] <apol_> ok
[14:45] <jtechidna> because unfortunately dist-upgrades aren't always 100% safe and can remove important things if the Ubuntu package archive is in the wrong state
[14:46] <apol_> ok
[14:47] <jtechidna> The QWidget frontends of Muon use the ChangesDialog class from libmuonprivate for that
[14:48] <jtechidna> a good usage example is in ApplicationBackend::confirmRemoval(Transaction *transaction)
[15:15] <Jekyll> Hi, is there plan or progress for this? https://bugs.launchpad.net/ubuntu/+source/plasma-widget-networkmanagement/+bug/1019765
[15:18] <Riddell> Jekyll: let me see
[15:18] <Riddell> Jekyll: you're requesting it or you're volunteering to help? :)
[15:20] <Jekyll> I just want it to happen :) . BKO keeps receiving crash report due to #283105 from old versions used by ubuntu users
[15:22] <Riddell> compiling now
[15:27] <Riddell> Jekyll: are you able to test?
[15:30] <Jekyll> Riddell: what do you want me to test? 
[15:30] <Riddell> Jekyll: the compiled packages on kubuntu 12.04
[15:33] <Jekyll> Riddell: 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:41] <Riddell> http://www.howtoforge.com/the-perfect-desktop-kubuntu-12.04  The Perfect Desktop, that's us!
[15:42] <Riddell> Jekyll: compiling in ~kubuntu-ppa updates ppa now
[15:45] <Riddell> uh why is kdepim-runtime in main?
[15:46] <ScottK> Riddell: rdepend on python-kde4.
[15:47] <Riddell> mm
[15:50] <Riddell> ok bug 1023954 filed
[16:40] <apachelogger_> bleh that code is fugly
[16:42] <ScottK> So the phone will connect either as an MTP device or a PTP device.
[16:42] <ScottK> With 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:43] <apachelogger_> that'd be mtp I think
[16:43] <apachelogger_> kamera slave only does ptp it seems
[16:43] <apachelogger_> also it seems unmaintained
[16:43] <apachelogger_> the only reasonable commit was by jtechidna in dec 2010!
[16:43] <apachelogger_> and those were qt4/kde4 ports
[16:44] <jtechidna> oh yeah, forgot about that
[16:44] <jtechidna> yeah, it was messy stuff
[16:46] <apachelogger_> needs a rewrite or something
[16:46] <apachelogger_> the parsing code that crashes for ScottK is completely screwed up
[16:47] <apachelogger_> http://paste.kde.org/516692/
[16:47] <apachelogger_> I am not particularly certain how to rewrite it without potentialy breaking something
[16:48] <ScottK> Where in there is the crash?
[16:49] <apachelogger_> #15
[16:50] <apachelogger_> I mean
[16:50] <apachelogger_> I can make it not crash
[16:50] <apachelogger_> that would however not resolve the issue that the spliting is completely insufficient
[16:51] <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:52] <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:53] <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 that
[16:53] <apachelogger_> so the *proper* solution is to turn the entire function into a regex
[16:54] <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...
[17:02] <SteveRiley> apachelogger: claydoh: done, KTP forum post up. http://www.kubuntuforums.net/showthread.php?59475-KDE-Telepathy-0-4-feedback-requested
[17:04] <ScottK> Gwenview likes it even less.  Flat out refuses to deal with camera: paths.
[17:08] <apachelogger_> SteveRiley: wrong PPAs
[17:09] <apachelogger_> SteveRiley: quantal builds are in official archive
[17:09] <apachelogger_> precise I still need to copy
[17:09] <SteveRiley> apachelogger: ah okie i didn't look at that. will fix
[17:14] <SteveRiley> apachaelogger: fixed.
[17:14] <SteveRiley> er... s/apachaelogger/apachelogger/ :)
[17:19] <ScottK> So how do I do batch file transfer via bluetooth?  The current 'send file' option is exactly that.  One file at a time.
[17:20] <apachelogger_> ScottK: shouldn't you be able to mount the data partition of the device?
[17:20] <ScottK> Via usb?
[17:20] <apachelogger_> aye
[17:20] <apachelogger_> it's running android, no?
[17:21] <ScottK> Yes
[17:21] <apachelogger_> should be mountable somehow then
[17:21] <apachelogger_> or it used to be in older androids anyway
[17:21] <ScottK> The newer one is all shiny, but there's some stuff that seems unfortunate.
[17:24]  * apachelogger_ invokes regular expression magic
[17:27] <ScottK> All I get is a window in Dolphin with the sendfile thing.
[17:27] <ScottK> The URI is bluetooth://0c-71-5d-f6-f9-6d/
[17:28] <apachelogger_> you'd have to turn on mounting on the device
[17:28] <apachelogger_> mounting would be exclusive to either the device or the usb host
[17:32] <ScottK> It doesn't have that option.
[17:32] <ScottK> Meh.
[17:32] <ScottK> I think I'm wanted to do this via wifi.
[17:32] <apachelogger_> QRegExp ex("(.*)@((\\w|\\d)+:([\\d,]+))(.*)");
[17:32] <apachelogger_> good lord
[17:32] <ScottK> It's only showing media can call audio profiles.
[17:32]  * apachelogger_ buys some sanity on ebay
[17:49] <ScottK> camera:/USB PTP Class Camera@usb:002,078/store_00010001/ works once I enable file sharing on the phone.
[17:50] <ScottK> Doesn't make Kamera any less crap.
[17:52] <apachelogger_> oha
[17:53] <apachelogger_> what is camera:/ and how is it different from kamera? :P
[17:55] <BluesKaj> apachelogger_, Camera downloads files from your digital camera. It is based on GNUstep.
[17:55] <apachelogger_> screw this fragmentation!
[17:56] <BluesKaj> apachelogger_,
[17:56] <BluesKaj> package allows any KDE application to access and manipulate pictures on a digital camera. This package is part of the KDE graphics module.
[17:56] <BluesKaj> kamera that is 
[18:01]  * apachelogger_ can regex that crap url but fails at a path regex -.-
[18:07] <apachelogger_> ScottK: http://paste.ubuntu.com/1088422/
[18:07]  * apachelogger_ likes how the function assumes that the path points to a file
[18:08]  * apachelogger_ did not get nearly as much done as intended -.-
[18:09] <apachelogger_> ScottK, Riddell, jtechidna: last chance to object ktp 0.4 move to backports ppa
[18:15] <apachelogger_> precise users around?
[18:22] <ScottK> apachelogger_: As long as someone tests it first, that should be fine for official Ubuntu backports too.
[18:25] <apachelogger_> works fine, chatting with shadeslayer right now
[18:33] <apachelogger_> bambee: pingpingping
[19:00] <apachelogger_> SteveRiley: http://www.kubuntu.org/ktp-0.4
[19:01] <apachelogger_> bambee: if you get back, thoughts on userconfig cpp port would be nice
[19:02]  * apachelogger_ actually has a simple port started and thinks we should use system-tools-backends
[19:02] <apachelogger_> checking out for today
[19:02] <apachelogger_> o/
[19:03] <SteveRiley> apachelogger: very nice. let's do more of these with KFN.
[19:09] <ScottK> apachelogger: Sadness.  http://paste.kde.org/516770/13421201/
[19:10] <ScottK> camera:/USB PTP Class Camera@usb:002,079/ now fails with unknown error/unknown model and it worked before.
[19:45] <ScottK> Neat.  With kdebugdialog turned on full, I get to see the email I send in kmail scroll by on my terminal.
[19:56] <bambee> apachelogger: there is already a simple port on lp :)
[19:57] <bambee> well, 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 it
[19:58] <bambee> what is system-tools-backends ?
[20:10] <SteveRiley> apachelogger: hey, it looks like meta-kde-telepathy didn't make it into backports for precise.
[20:15] <BluesKaj> ...BBL
[21:02] <Riddell> bambee: Toulose has quite an impressive KDE mafia
[21:30] <bambee> Riddell: yeah, I know, and a lot of KDE workshops :D
[21:30] <bambee> that's really cool!!
[21:30] <bambee> :)
[21:31] <bambee> kevin otens (ervin) and anne marie (annma) are living to toulouse ;D