/srv/irclogs.ubuntu.com/2008/04/06/#ubuntu-devel.txt

YokoZarSo it looks like Gnometris is still completely broken by default in Hardy01:58
LaserJockhow is it broken?01:59
YokoZarIf you use the default theme, it renders the tiles way too slowly and becomes very uncontrollable after a few lines of blocks build up02:00
YokoZarhttps://bugs.launchpad.net/bugs/13858602:00
ubotuLaunchpad bug 138586 in gnome-games "Gnometris controls very unresponsive when keys are held down" [Medium,Confirmed]02:00
LaserJockhmm, works fine here02:00
YokoZarTry pre-filling 10 rows with tango shaded theme, then just hold down left and right02:01
FujitsuThe default is still Tango Shaded (or was a week ago), so it's rather painful once you've got more than a dozen blocks :(02:01
YokoZarIt's really embarassing actually.  Can't run Tetris on our amazing new high performance operating system (it's broken in Gutsy too)02:02
FujitsuYep.02:02
* minghua hopes that minesweeper still works fine.02:03
YokoZarminghua: you can also install wine and run winemine from the terminal :)02:06
LaserJockwell, does somebody want to change the default?02:22
YokoZarLaserJock: it's a main package, right?02:46
LaserJockYokoZar: yeah03:15
YokoZarLaserJock: well, I nominate a core dev then ;)03:15
LaserJockYokoZar: you might want to email ubuntu-desktop03:16
ScottK2YokoZar: You can make a debdiff and subscribe ubuntu-main-sponsors03:59
YokoZarScottK2: I guess so, it seems like no one else wants to do it, heh04:00
emgentheya ScottK204:02
ScottK2heya emgent04:03
climatewarriordoes anyone know if this is a bug04:11
climatewarriorI installed ubuntu hardy beta and restricted doesnt seem to recognize my broadcom card. In gutsy it automatically fetched the firmware and got everything working04:12
LaserJockclimatewarrior: perhaps bug #19755804:15
ubotuLaunchpad bug 197558 in linux "ssb module breaks BCM4328 with ndiswrapper (regression from 2.6.24-10)" [Medium,Triaged] https://launchpad.net/bugs/19755804:16
climatewarriorhumm thats a different issue. I have a broadcom 4309 and the device works. The only issue is that I had to manually do the firmware cutting. In Gutsy restricted detected my card. Fetched the firmware from the internet and cut it for me.04:18
climatewarriori just wanted to know if this a known issue or something. Because if its not I wanted to file a bug report.04:19
climatewarriorBug #201294 seems to be the same as mine04:33
ubotuLaunchpad bug 201294 in restricted-manager "Restricted manager doesn't notice broadcom" [Undecided,New] https://launchpad.net/bugs/20129404:33
climatewarriorhahah found it at the same time. Yeah that seems to be it. But it seems that nobody is working at it04:34
climatewarriorok, dont worry. Its a known issue04:43
climatewarriorhttps://blueprints.launchpad.net/ubuntu/+spec/restricted-manager-rewrite04:43
climatewarriorWhiteboard     jockey is in hardy, and being tested and fixed.  Compared to gutsy's rm, the following things are still missing:04:43
climatewarrior - KDE port, Martin Bohm is working on it04:43
climatewarrior - broadcom wifi hander (easy to implement)04:43
=== kitterma is now known as ScottK2
ashes_of_youthcan anyone offer me some advice regarding a broken translation?04:46
calchmm launchpad-integration works a lot better than using the url, heh, i need to get this in ooo asap04:49
calcit actually reports useful info, i should have worked on this bug a long time ago04:50
ashes_of_youthhello04:50
calchi04:50
Fujitsucalc: Indeed. No more asking on every bug which version people have.04:51
calcFujitsu: yea04:51
ashes_of_youthguys, i am trying to find out once a bug has been nominated, are there any further steps to take?04:52
FujitsuWhy did you nominate a bug?04:52
ScottK2ashes_of_youth: Not unless you are going to try and fix the bug.04:53
ashes_of_youthsomeone else nominated one of my bugs04:53
ashes_of_youthits a broken translation, which i've fixed on launchpad04:53
ScottK2Ah.04:53
ScottK2If I knew something about translations in Ubuntu, I'd be glad to help you figure it out ...04:54
* calc patches up for lpi to see if it works :04:54
calc:)04:54
ashes_of_youthi guess i'll leave it for now then...04:55
emgentheya calc :)05:00
calcemgent: hi05:00
calcbuilding test debs with more proper lpi support (still not linked)05:20
vlowtherBug #212660, suspect mjg59's three headed monkey spootted in wild in 2.6.24-1[45]06:00
ubotuLaunchpad bug 212660 in linux "kernel 2.6.24-15 fails suspending" [Undecided,New] https://launchpad.net/bugs/21266006:00
=== asac_ is now known as asac
=== hunger_t is now known as hunger
YokoZa1pitti: Hmm, my blog posts don't seem to be getting to Planet Ubuntu.  I noticed you committed after me, have you been having a similar problem?11:11
=== YokoZa1 is now known as YokoZar
sabdflanybody here know how to use unattended-upgrade ?11:53
Nafallosabdfl: like in turn it on?11:54
sabdflyes11:54
sabdfli thought one only had to install it11:54
NafalloSystem, Administration, Software Sources11:55
Nafallothen tab Updates and Install security updates without confirmation11:55
Nafallo:-)11:56
slytherinpitti: I think I have found the problem for OOo FTBFS on powerpc. But I am unable to test it since I don't have much disk space on my machine. We need to remove the code from rules file that disables java on powerpc. Look for this line - Java causes powerpc build to fail.12:06
slytherinMithrandir: Hi, Can you please look into the missing binaries bug for bluez-utils. I think there is no other way to fix it now.12:13
Hobbseeslytherin: which bug #?12:14
slytherinHobbsee: regarding what? bluez-utils?12:15
Hobbseeyes12:15
slytherinHobbsee: bug 19170412:15
ubotuLaunchpad bug 191704 in bluez-utils "hidd binary removed form bluez-utils package unable to connect as a result" [High,Confirmed] https://launchpad.net/bugs/19170412:15
slytherinHobbsee: and also bug 19240312:16
ubotuBug 192403 on http://launchpad.net/bugs/192403 is private12:16
slytherinoops, bug 19204312:16
ubotuLaunchpad bug 192043 in bluez-utils "latest bluez-utils is missing /usr/bin/pand" [Undecided,Confirmed] https://launchpad.net/bugs/19204312:16
Hobbseeslytherin: StevenK might end up looking into that12:19
slytherinHobbsee: Ok. Can you also help me with OOo FTBFS on powerpc? I think I have found out solution but don't have much space on my ibook to test it. :-(12:20
Hobbseeno12:21
Hobbseethere might be a community ppc machine somewhere still, though.  TheMuso may remember12:21
slytherinHobbsee: Ok. I will try contacting him in my night.12:22
Hobbseeslytherin: he's @ canonical now, so you might try him during standard au working hours.12:23
slytherinHobbsee: So that means I will have to wait till tomorrow.12:23
Hobbseeprobably, yes12:23
slytherinHobbsee: Ok. Thanks for info.12:24
Hobbseey/w12:24
sabdflNafallo: and on a server?12:26
* Hobbsee tries to remember what hte ppc build machine was called, on imbrandon's server....12:26
Hobbseedarn, it's been far too long since i've used it12:26
Nafallosabdfl: edit /etc/cron.daily/apt I think. haven't seen a CLI application for that I don't think.12:27
Nafallosabdfl: aha! there is another way the README says ;-)12:29
NafalloTo activate this script you need a current apt and then setup12:29
Nafallo/etc/apt/apt.conf to include:12:29
NafalloAPT::Periodic::Update-Package-Lists "1";12:29
NafalloAPT::Periodic::Unattended-Upgrade "1";12:29
sabdflwhy on earth doesn't it do that when it's installed?12:32
Nafallosabdfl: you'd have to ask mvo :-)12:33
* Hobbsee was wondering that too12:33
sabdflthanks Nafallo, will do12:33
lagawhat upgrades are pulled in by unattended-upgrade?12:33
Hobbseelaga: apt-get upgrade, i think.12:34
Nafallosabdfl: are you going for the pub on Friday anyway? :-)12:34
Nafallolaga: security.ubuntu.com only :-)12:34
Hobbseewow, that's old when it references dapper.12:35
lagaNafallo: ah, good. :)12:35
Hobbseesabdfl: i was going for the "why isn't this installed by default", actually12:36
lagaNafallo: still not a good idea becuase security updates aren't always trouble free :)12:37
Hobbseeparticularly for xserver12:37
NafalloHobbsee: because of the reason laga said? :-)12:38
HobbseeNafallo: yeah, but still.12:38
sabdflHobbsee: it will become a question in the server install in 8.1012:39
lagaat least in feisty, some kernel updates in feisty-security also had support for new hardware which led to some breakage here.. easy to fix, but still surprising :)12:39
sabdflin exchange for the "make your clock UTC" question12:39
NafalloHobbsee: because security updates have regressions from time to time. I rather have a hard to get exploit then a security update killing SQL ;-)12:39
sabdflimo, installing the package should activate it12:39
Nafallosabdfl: kewl :-)12:39
Hobbseesabdfl: ah, right.12:39
Hobbseesabdfl: well, yeah, that's the other thing.12:39
sabdflat least, the UTC question will disappear if windows is not on the machine12:39
* Hobbsee could hijack, and fix the package....12:40
Hobbseebut, seeing as it has "apt" in the name, that may not be a great idea...12:40
slytherinHobbsee: can you please give back f-spot on powerpc?12:40
* Hobbsee flips the magic switches12:41
Hobbseeslytherin: given back12:41
lagaHobbsee: what does "giving back" mean? i've heard it a few times in here so i'm curious :)12:44
Hobbseelaga: sometimes packages fail to build because of other things that haven't built, or other transient stuff.12:44
Nafallohaha12:45
Hobbseelaga: to give them back means to requeue them, so they're added to the build queue again12:45
Hobbseefor slower arches, it's actually quite common12:45
Nafallopeople are coming up with names for releases up until 12.10 in -se ;-)12:45
lagaHobbsee: ah, thanks for the explanation12:45
Hobbseesome will fail in depwait, so will be auto-retried, but others fail in such a way they need a manual giveback12:45
slytherinHobbsee: something wrong on buildd. f-spot depwaits on libgtkhtml3.16-cil. The binary is available on all arch. But not sure why buildd not able to find it.12:49
Hobbseeslytherin: URL of the depwait?12:51
Hobbseeohj wait12:51
slytherinHobbsee: http://launchpadlibrarian.net/13146622/buildlog_ubuntu-hardy-powerpc.f-spot_0.4.2-1ubuntu1_MANUALDEPWAIT.txt.gz12:51
Hobbseeyeah, found it, thanks12:51
Hobbseerealised i already had it here, so didn't need to look it up12:51
Hobbseeslytherin: libgtkhtml3.16-cil | 2.20.1-2ubuntu2 | hardy/universe | powerpc12:53
Hobbseeslytherin: you'll need an archive admin with actual power.12:53
Hobbseeunless sabdfl suddenly wants to give me the keys :P12:53
slytherinHobbsee: what do you mean. I thought you were buildd admin.12:53
Hobbseeslytherin: file a bug asking them to promote  libgtkhtml3.16-cil on ppc (the others are in main), and subscribe ubuntu-archive.12:54
Hobbseeslytherin: i am, but i don't work for canonical.12:54
Hobbseeslytherin: so i only have access to some of the magic switches.12:54
slytherinHobbsee: oh. got it.12:54
Fujitsu1.2.4 will give access to overrides, IIRC.12:54
HobbseeFujitsu: for main or universe?12:55
HobbseeFujitsu: or both, i guess?12:55
FujitsuThe web UI gets overridability, I believe.12:55
FujitsuProbably both.12:55
* Hobbsee thought the general thing was for universe archive admins to be able to bump to multiverse, but hopefully archive admins to main will happen too12:55
Hobbseeslytherin: have you met rmadison?12:56
Nafallo:-)12:56
slytherinHobbsee: yes. Just forgot to use it. :-)12:56
Hobbseeslytherin: and if it says the package isn't available, and the package you want to build is in main, it's saying that you should check if the builddep has dropped to universe.12:56
Hobbseeslytherin: ahhh, np.12:57
slytherinHobbsee: done. bug 21280113:00
ubotuLaunchpad bug 212801 in gnome-desktop-sharp2 "Please promote to main on powerpc" [Undecided,New] https://launchpad.net/bugs/21280113:00
* Hobbsee acks13:01
=== cjwatson_ is now known as cjwatson
=== hefe_bia_ is now known as hefe_bia
pittiGood morning15:15
ion_Howdy15:15
* pitti waves from Austin15:16
protonchrisGood morning to you too15:17
ion_pitti: Try to seem as innocuous as possible to avoid being classified as an enemy combatant and getting thrown to Gitmo. :-)15:17
Hobbseeheya pitti!  *hugs*15:18
* pitti hugs Hobbsee15:34
Hobbsee:)15:34
pittiion_: I'll keep my brim pulled down low15:34
penguin42would it be possible to get paman/padevchooser installed by default on hardy - it looks like it might make it easier to see wtf is going on with pa16:03
Hobbseeby now, no?16:04
cody-somervilleHobbsee, are you on the release team?16:05
Hobbseecody-somerville: yes.16:05
=== ember_ is now known as ember
cody-somervilleDo you have time for a quick chat?16:06
Hobbseefsvo quick, yes.16:06
penguin42Hobbsee: PA is pretty high up the list of problems for upgrades - and it's not easy for people to debug16:06
penguin42Hobbsee: Talking users running pacmd to see what's going on sounds like a recipe for disaster16:07
ernstpWhat's the procedure to request a debian import again?16:07
Hobbsee!sync16:08
ubotuSorry, I don't know anything about sync - try searching on http://ubotu.ubuntu-nl.org/factoids.cgi16:08
Hobbseebah16:08
Hobbseeshoujld be on https://wiki.ubuntu.com/MOTU/Contributing16:08
Hobbseepitti: why is'nt all of abiword demoted?16:16
Hobbseei don't see anything keeping it there?16:16
pittiHobbsee: because so far we wanted it in main? pretty GNOMEish16:16
pittiHobbsee: it's seeeded16:16
pittiseeded, too16:16
Hobbseepitti: where, though?16:16
Hobbseepitti: i thought you all used oo.o, and it was only xubuntu that used abiword16:17
pittiin ubuntu.hardy/dvd, edubuntu.hardy/supported, xubuntu.hardy/desktop16:17
Hobbseeahh16:18
Hobbseepitti: so, why is abiword (binary) in universe?16:19
Hobbseeshouldn't it all be seeded?16:19
pittibecause Xubuntu is in universe, and in Ubuntu we only want -gnome16:19
Hobbseeahhh, and -plugins, i take it.16:19
pittiwell, I guess it wouldn't hurt too much to seed abiword, too16:19
pittiyes16:19
Hobbseepitti: what are your thoughts on upgrading it?16:19
Hobbseecody-somerville: would like to, for xubuntu16:19
pittiHobbsee: I think we should do it, but test it really well16:19
pittiis there a PPA with 2.6?16:20
Hobbseecody-somerville: ^^16:20
cody-somervilleNo, I'm just working through my e-mail. I can certainly make that happen though.16:20
* Hobbsee wonders hwo apt-show-versions is different to rmadison16:23
cody-somervilleI can also get the Xubuntu testing team to add in specific testing for Abiword since we ship (a version of) abiword.16:24
Hobbseecody-somerville: that'd be a good idea16:25
cody-somervillehmm...16:32
cody-somervilleAbiword has split their source package up16:32
xhakerahh weekends... pitti care to look into bug #19796816:34
ubotuLaunchpad bug 197968 in libmtp "Link in udev rules.d" [Wishlist,Confirmed] https://launchpad.net/bugs/19796816:35
=== fta_ is now known as fta
cody-somervilleStupid wireless :/16:55
* cody-somerville wonders what he missed.16:56
sorenNothing.16:56
cody-somervillewhat was my last?16:57
soren15:32:34 < cody-somerville> Abiword has split their source package up17:02
soren15:34:39 < xhaker> ahh weekends... pitti care to look into bug #19796817:02
soren15:34:43 *** fta_ n=fta@unaffiliated/fta has joined #ubuntu-devel17:02
soren15:35:04 < ubotu> Launchpad bug 197968 in libmtp "Link in udev rules.d" [Wishlist,Confirmed]  https://launchpad.net/bugs/19796817:02
ubotuLaunchpad bug 197968 in libmtp "Link in udev rules.d" [Wishlist,Confirmed] https://launchpad.net/bugs/19796817:02
ubotuLaunchpad bug 197968 in libmtp "Link in udev rules.d" [Wishlist,Confirmed]17:02
cody-somervilleThe rest of what I said: That is probably why Ubuntu and Debian is still at 2.4.617:04
cody-somervilleThey split up the source package with the 2.5.0 release.17:04
=== smarter_ is now known as smarter
=== lamont` is now known as lamont
=== JohnInWa is now known as JohnPinWa
=== mpt_ is now known as mpt
shayaanyone seen vorlon?19:30
slangaseknope19:31
james_whehe19:31
shayahola19:31
shayajust responded to your response on my grub bug19:31
shayadid ubuntu ever ship a grub pre 0.97?19:32
slangasekoh, "spotter" is you, heh19:33
shayayes19:34
shayashaya potter19:34
slangasekubuntu would have shipped a pre-0.97 grub at some point19:34
james_whttps://edge.launchpad.net/ubuntu/+source/grub19:34
james_wsays pre-dapper19:34
shayaso upgrading to hardy will kill render it unbootable (especially if uninstall old kernel)19:35
slangaseke.g., sarge shipped with 0.95+cvs-something, and there were Ubuntu releases in the same timeframe; that seems to be the version breezy shipped with19:35
shayathis laptop was an old debian laptop19:35
slangasekwhat exactly is it that causes the boot failure?19:35
shayapartitioned it and installed dapper19:35
shayanew kernels cant boot w/ older grub19:35
shayaknown issue19:35
slangasekhow old?19:36
shayagoogle "no setup signatures found"19:36
emgenthi people19:36
shayaunsure19:36
shayachecking19:36
slangasekthe oldest I find in the changelog is still 0.95+cvs19:36
slangasekand that's all the way back to warty19:37
shayabut I think there's a bigger issue w/ grub as well, as mbr portion never gets updates19:38
slangasekwell, neither does second-stage, unless you manually run grub-install19:38
shayaright19:39
shayathat's probably the bigger issue19:39
shayathe second-stage19:39
shayathe mbr portion is minimal19:39
slangasekI will say that making changes to how we handle *any* of this stuff, three weeks before an LTS release, is a losing proposition.  I don't believe three weeks is enough time to chase down the regressions that will be introduced by adding new code to re-write MBR/second stage on upgrade.19:40
shaya:)19:41
shayano19:41
shayaI'm not saying to auto do it19:41
shayaI'm saying in kernel preinst check19:41
shayaand if fail, warn in big letters19:41
slangasekwell, then the kernel has to know how to detect a broken bootloader19:41
shayaright19:41
shayacan grep stage219:41
shayaq. being how to "find" stage219:42
slangasekit should be at /boot/grub/stage2 for any non-mangled Ubuntu install19:42
slangasekif it's not, it's out of scope19:42
slangasekhmm, what does "file /boot/grub/stage2" give you?19:42
slangasekhere, it spits out a GRUB version for me19:42
shayawell, I'm updated now19:42
slangasekah, heh19:43
slangasekstill have the old one around somewhere?19:43
shayafound a feisty dvd19:43
shayabooted into single user19:43
shayachrooted into fs19:43
shayaand fixed19:43
shayano19:43
shayait was 0.9219:43
slangasekyeah, I don't know where to get an 0.92 to compare with19:43
slangasekbut if "file" is enough to answer this question, that's a really easy check19:43
shaya/boot/grub/stage2 isn't even executable for me19:44
shayaah19:44
shayayes19:44
shayaI see19:44
shayajust need to find the newest version where grub is incompatible19:44
slangasekso far the only other instance of this problem that Google is giving me is for grub 0.9119:44
shayayes19:44
slangasekwhich is even older, and definitely older than the first version Ubuntu shipped19:45
shaya:)19:45
shayareading grub changelog19:46
shayasee if there's any mention19:46
shayaslangasek: I'm not the first to hit this19:57
shayahttps://answers.launchpad.net/ubuntu/+question/2901319:57
slangasekmmm19:58
shayawell he beat me by a few hours19:59
shayaI was about 12 hours ago :)19:59
shayafollowed up19:59
lagacjwatson: here? i'm working on the mythbuntu seeds now :) what does the Task-Key field do?20:12
sorenlaga: If the package mentioned there does not exist, the task will not be shown.20:16
sorenlaga: If one of the other packages is not available it simply will not be installed.20:16
lagaoh, it's as simple as that. great, thanks.20:16
alex-weejdoes anyone know if gnome 2.22.1 will be uploaded before hardy release?20:17
JohnPinWaHello.  I'm looking for ways to contribute to Ubuntu as a developer.  I'm reading the "How to get involved" web pages but can't find the "Do this step next" instructions.  Who do I tell I'm here and ask how I can help?20:38
lagaJohnPinWa: i think #ubuntu-motu might be a good starting point, too20:38
JohnPinWaYeah, the developer stuff says go see Motu and the Motu stuff says "Well, start with developer".  Kinda confused now.20:39
JohnPinWaThis channel has more activity than the motu so I started here.  I'll ask there too.20:39
YokoZarpitti: any objections to me uploading a new ia32-libs?20:41
lagaJohnPinWa: heh :)20:41
lagaJohnPinWa: you can also start looking at blueprints in launchpad, then contact the person who's listed as a contact for the blueprint if you're interested20:42
JohnPinWaProbably just my ignorance.  If things aren't just the way I expect them to be I have trouble reaching out sometimes.  But I still might be useful.20:42
lagaJohnPinWa: no worries! i'm sure you'll do great. a lot of open source development happens because people want to scratch an itch. so, if a bug is annoying you, fix it and share the patch.. or create that awesome new app you always wanted and let others benefit.20:47
JohnPinWaLaga: Thanks.  Getting some feedback on the Motu channel so I'll see where that goes.20:51
JohnPinWaI do appreciate the help.20:51
warp10Hi all!21:06
mok0Hi warp1021:18
warp10hey mok0!21:18
emgenthey21:22
Ngmjg59: how likely are ICH8 chipsets not listed in http://www.codon.org.uk/~mjg59/tmp/ahci_quirk_2.6.24.diff to work? The X300 has 2850 (IDE controller) and 2829 (AHCI controller). Mostly just curious if I can get the DVD writer on AHCI21:28
mjg59It's unlikely that the DVD writer is SATA21:28
mjg59If the hard drive is already appearing on AHCI, then that's as AHCI as you get21:28
mezell1There's a fairly serious bug that has been in launchpad for over a month that is affecting me, but no developer has commented on it... what's the chance of getting a developer to look at and fix the problem before Hardy release?21:52
mok0mezell1:  bug #?21:56
mezell119188421:57
mok0bug 19188421:57
ubotuLaunchpad bug 191884 in libnss-ldap "wrong id behaviour on a system with LDAP" [Undecided,Confirmed] https://launchpad.net/bugs/19188421:57
mezell1with the current combination of coreutils and libnss-ldap, you cannot get group information21:57
mok0mezell1: hmm21:58
mok0mezell1: has it been fixed in Debian?21:59
mezell1debian testing has version 259 instead of the 258... i'm not sure if that fixes it or not21:59
mezell1i've only installed 26021:59
mok0mezell1: ... and that fixes the problem?22:00
mezell1mok0: installing 260 from source (ie, from padl, not debian) fixes the problem22:01
mok0mezell1: It would be good if you would do a bit of work, but then there is a good chance that the bug could be fixed before hardy22:02
mok0mezell1: you need to make a comment for the bug saying that the new upstream version solves the problem, and (2) attach the part of upstream changelog that explains diffs from 258-26022:03
mezell1mok0: my last comment notes that the latest upstream version fixes it, and I provide instructions as a workaround for others with the problem22:04
mezell1mok0: in the ChangeLog, version 260 lists one change, "* patch from Ralf Haferkamp <rhafer@suse.de>: only set errno for NSS_TRYAGAIN"22:05
mok0mezell1: I see that, but you need to make a comment aimed at the sponsor, not the users.22:05
mezell1mok0: it does not point to a bugzilla number, so I can't verify what and how it actually fixes22:05
mok0mezell1: but it does solve your problem?22:06
mezell1mok: i haven't pinpointed if it's that change, or one from 25922:07
mok0mezell1: can you do a diff on it?22:07
mezell1mok0: i don't see a place to download older versions from padl, but I guess I could grab the 259 source from debian22:08
mok0:-)22:08
mok0yes22:08
mok0mezell1: you also may want to subscribe ~ubuntu-directory to the bug when you're done with it22:14
mezell1mok0: thanks for your help22:16
calcanyone know how to split an argument in shell into multiple arguments or to variables?22:21
calceg i have an arg "foo bar baz" and i want to be three separate bits22:21
persiacalc: If you call `myscript foo bar baz`, you ought be able to access the variables inside myscript (assuming shell) as $1, $2, $3, etc.22:33
calcpersia: i'm trying to work around a bug that causes the arguments to show up as a single argument22:33
calcpersia: OOo calls external programs with the argument list space separated but not as individual arguments22:34
calci need to cause them to become individual arguments for the program i need to run, so i was going to wrap it and split it somehow22:34
* persia tries something else22:34
calci'm pretty sure its easy to do and i think i used to know how to do it, but its been a long time since i did it, and never had a use for it since22:34
calcfor msg in $@  will split it on space but then i need to somehow execute with all the split parts on one line22:37
persiacalc: The wrapper script contains a shebang line, and a call to the real script with $1.  A generic wrapper script would have the single line "$0 $1", as long as you can guarantee that OOo never works properly.22:37
calcpersia: oh thats all it needs?22:38
persiaWell, basically.  As soon as you expand $1 in a shell-script context, it becomes three tokens if called to another shell.  If you want to do it within a single script, you have to parse it, and so assign variables directly, rather than using $1, $2, etc.22:39
calcpersia: wow, thanks :)22:39
calci was thinking too hard about the problem :)22:39
persia(and actually, you need something like $0-real $1)22:39
calci think there is a way to do the split in a single shell script but that isn't needed for this22:40
calcthanks for the help :)22:42
calcpersia: so a generic call that doesn't use $0 would be something like this?22:47
calcprogram=$122:47
calcshift22:47
calc$program $@22:47
calc?22:47
persiacalc: Looks right.  Try calling `./foo bar\ baz\ quux` as a test.22:49
persiaActually, no.  shift will eat all your arguments.22:49
calcpersia: it looked like it worked for me22:50
calcpersia: but i don't know if it would work in all cases22:50
calci did this though:22:51
calc./foo1.sh "/usr/bin/launchpad-integration -P openoffice.org -i"22:51
persiacalc: That ought to work.  Depends on your calling convention.  $program contains your entire quoted string.  I don't know what you ended up putting in $@22:52
persiaTry again with some more arguments: you may well breate it.22:52
persias/breate/break/22:52
calcpersia: oh yea it does :(22:55
persiacalc: Try just calling $($1), if the program name is part of $122:56
calci forgot i can't get to the individual args until its executed22:57
calcdo i even need the $() wrapping it?22:58
calc#!/bin/sh ; $1 - seemed to work22:58
persiacalc: Well then, that's even easier :)23:01
Ngmjg59: that's unfortunate, but thanks23:03
james_wcalc: are you ever going to want to pass an argument with a space in to launchpad-integration?23:03
calcjames_w: no23:04
james_wgood, it seems like the API you have would never allow you to do that properly.23:04
calcit only gets called like: -P packagename -i,-b,-t23:04
james_wok23:04
calci filed a bug upstream about the issue and just work around it like this :\23:05

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