/srv/irclogs.ubuntu.com/2012/02/04/#ubuntu-bugs.txt

iceroothi09:38
icerooti found a bug in a main-package which is managed through "bzr". what is the way to help fixing? a patch, a debdiff, an upload by me into "bzr"?09:38
icerootbug is in command-not-found https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/925678  just a string needs to be replaced but i think its a good training for me to work on that09:39
ubot4Launchpad bug 925678 in command-not-found (Ubuntu) "[12.04] command-not-found is showing a wrong version when its crashing (affects: 1) (heat: 6)" [Undecided,New]09:39
ali1234iceroot: it depends on the package unfortunately09:42
icerootali1234: command-not-found in this case09:43
ali1234confirming your bug since i can reproduce it09:45
ali1234also i feel like it shouldn't crash even if LANG is invalid09:46
ali1234iceroot: there were some sessions about this in the past few days so you might want to go and read over those09:46
ali1234iceroot: https://wiki.ubuntu.com/UbuntuDeveloperWeek09:47
icerootali1234: do you have a link for me on that?09:47
icerootali1234: great thank you09:47
icerootali1234: i will fill a new bug on command-not-found for crashing when LANG is set incorrectly09:47
ali1234the instructions for filing a bug are pretty unhelpful too09:51
ali1234something obviously caught the crash, yet it provides no useful debugging information for you to repost on the bug report. why?09:51
icerooti am remebering a speech at the last "linux day in berlin" where someone has a presentation about using bzr to commit patches, of course i cant remember that but i will do some reading on it, thank you09:52
icerooti dont get exactly what you are asking for with the last "why"09:53
ali1234well if it crashed, what was the error message?09:54
icerootali1234: the one i posted on the bug "with the wrong version number"09:54
icerootthats al09:54
icerootl09:54
ali1234i know09:54
ali1234that's rubbish09:54
ali1234btw you can strace it like this:09:55
ali1234strace sh LANG=en vii foo09:55
ali1234and strace will show you the error message which says:09:55
ali1234"Can't open LANG=en"09:55
ali1234which is actually helpful09:55
ali1234but then that little supposedly helpful instruction about posting a bug report throws that one useful piece of information away09:56
icerootali1234: but that message is coming from sh not from command-not-found09:56
icerootimo09:56
ali1234ah yes, you're right, ok let me retry that09:56
icerootdo we have something like "set -x" for python? so i can put that into /usr/lib/command-not-found09:58
iceroot+ /usr/bin/python /usr/lib/command-not-found -- vii09:58
icerootthat is the call of command-not-found09:58
ali1234no, don't think so09:58
ali1234looks like command-not-found is actually catching the exception and then hiding it09:59
icerootfirst of all i will open two new bugs, command-not-found not giving usefull output for the bug and crashing with wrong LANG09:59
ali1234from CommandNotFound.util import crash_guard <- here the bug will be found10:00
ali1234ok10:02
ali1234actually i don't understand why it doesn't print the exception/backtrace10:04
ali1234oh wait, yes i do, there's a double nested try10:05
ali1234settings the LANG wrong not only crashes command not found but it also crashes the crash dumper10:06
icerootso its not a command-not-found bug if i get you correctly10:07
ali1234it is, cos the crash dumper is part of command-not-found10:07
ali1234they are trying to be clever and printout a message when it crashes10:07
ali1234but it is crashing so bad that the helpful message isn't printing10:07
ali1234but because they already caught the exception, NOTHING gets printed10:08
icerootso now we have https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/92567810:13
ubot4Launchpad bug 925678 in command-not-found (Ubuntu) "[12.04] command-not-found is showing a wrong version when its crashing (affects: 1) (heat: 6)" [Undecided,Confirmed]10:13
iceroothttps://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/92656910:13
ubot4Launchpad bug 926569 in command-not-found (Ubuntu) "command-not-found crashing when LANG is set incorrectly (affects: 1) (heat: 6)" [Undecided,New]10:13
iceroothttps://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/92657710:13
ubot4Launchpad bug 926577 in command-not-found (Ubuntu) "command-not-found is hiding exception/backtrace when crashing (affects: 1) (heat: 6)" [Undecided,New]10:13
icerootjust because i misstyped LANG and vi :)10:13
ali1234bugs tend to clump together10:15
icerootali1234: but they are different (imo)10:15
ali1234the second two are arguably the same10:16
icerootnot really (imo)10:16
ali1234you can't really prevent crashing on a bad locale10:16
icerootthe first is that its not acting correctly on a wrong LANG, the second is when the crash dunper fails its stealing the backtrace (which can happen on other bugs then locale too)10:17
ali1234can it?10:18
icerootand gtk is acting correctly on a wrong locale10:18
icerootGtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale.10:18
ali1234it seems to happen specifically because of the locale bug10:18
icerootali1234: but maybe there are other case4s to i can crash it10:18
ali1234maybe........10:19
icerootso there should be a general fix that crash dumper is not stealing anything10:19
icerootbut that is just my opinion and maybe you are wrong its all just because of the incorrect locale10:20
ali1234i think instead of trying to manually generate a backtrace it should catch the exception, print the friendly message, and then just reraise the exception10:20
icerootali1234: that is what i wanted to say :)10:20
icerootali1234: maybe you can put that in your words to the bug? maybe that is not confusing so much instead of me guessing something on that (with my english)10:22
ali1234yeah trying10:23
icerootali1234: thank you10:23
ali1234it's actually generating all kinds of weird errors rght now10:23
ali1234the crash dumper actually crashes because: %d format: a number is required, not sys.version_info10:23
ali1234which makes very little sense to me10:23
ali1234ah so this has absolutely nothing to do with the locale10:25
ali1234oh, no wrong again10:26
icerootali1234: thanks for your debug, would be great to append that infos on the bug(s) to its getting more clear then my try to debug it10:42
ali1234already done10:42
icerootah great then my mailserver/lp mailserver is just slow10:43
icerootali1234: thank you for the help on my issues10:43
=== yofel_ is now known as yofel
=== zz_bigbash is now known as bigbash
cornwallHi! Can a triager set bug 735250 to wishlist importance? Thanks!17:03
ubot4Launchpad bug 735250 in compiz (Ubuntu) "Please disable live viewport previews by default for Desktop Wall plugin (affects: 1) (heat: 6)" [Undecided,Confirmed] https://launchpad.net/bugs/73525017:03
* penguin42 looks17:17
penguin42cornwall: I will set it to wishlist, but to be honest I like it - what would you prefer to happen?17:19
penguin42(and to be honest I'm not 100% sure which Desktop wall is - but would that be the one I get when doing ctrl-alt-arrow to switch desktop?17:19
* penguin42 misses the previews on the KDE equivalent17:20
cornwallpenguin42, I like it, too, but it's a feature request20:22
penguin42cornwall: Nod20:22
cornwallpenguin42, yes, it's the little 'preview' thing.20:22
cornwallpenguin42, thanks for marking it. One day I'll apply for membership....20:23
penguin42no problem20:25
MxxConSo do i need to provide any more info regarding bug 909996 to have somebody look at it/fix it?20:54
ubot4Launchpad bug 909996 in b43-fwcutter (Ubuntu) "firmware-b43legacy-installer errors "17: missing" (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/90999620:54
mfischIf a bug was filed on an ancient version of some code, and no longer occurs, should it be marked as Invalid or as Fix Released (or something else?)22:47
mfischwait!  I found the answer22:47
mfischDon't know how I missed that on my first read of https://wiki.ubuntu.com/Bugs/Status.22:48
mfischcarry on everyone22:48
hggdhmfisch: fix released, and a comment it does not happen anymore on such and such version23:32

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