/srv/irclogs.ubuntu.com/2012/04/04/#ubuntu-unity.txt

thomibschaefer: ping?00:53
=== _thumper_ is now known as thumper
bschaeferthomi, pong, are you still around?05:06
bschaeferJust got back from a class05:06
thomibschaefer: Hi, I was going to ask if you knew why our 'system' Anthy ibus test is failing all of a sudden?05:15
bschaeferhmm, let me test it. It was working last night before I went to bed05:16
thomiit's failing consistently for me, in both the dash and the hud05:16
bschaeferalso I couldn't get gdb with the autopilot tests :(. It said something about a dbus connection was missing05:16
thomihuh?05:17
bschaeferlet me pull up the actual error one sec05:17
bschaeferand omg05:17
bschaefer iI think the anthy is failing because the "space" that you press for some reason changed...05:18
bschaeferlet me look into that one sec. I want to make sure im all up to daye05:18
bschaeferdate*05:18
thomi:)05:19
bschaeferthomi, DBusException: org.freedesktop.DBus.Error.UnknownObject: No such object path '/com/canonical/Unity/Debug'05:19
bschaefersomething similar to that, pulled that from a jenkins failure05:19
thomithat usually happens when unity dies...05:20
bschaeferdoing a unity --reset fixes that error, but when I do unity --advanced-debug it uses compiz --replace05:20
thomibschaefer: it works for me - I've been running autopilot under gdb all day :)05:21
bschaeferthomi, guess what, it just felt like working for me :)05:21
bschaeferugg I hate inconsistencies...05:21
thomiyeah05:22
bschaeferhttps://jenkins.qa.ubuntu.com/job/dx-autopilot-run/705/#showFailuresLink05:22
bschaeferall I see is Pinyin failing05:22
thomibschaefer: hmmm, that's interesting05:23
thomifor me, the anthy test for the 'system' string fails 100% of the time05:23
thomi... it looks like it's expecting something slightly different form what it got05:24
bschaeferthomi, same for the last 3, let me update nux/unity which might take a little time as I have updated nux in a while05:24
bschaeferthomi, yeah05:24
bschaeferthomi, so when it hits space I think is the issue05:24
bschaeferit remembers the most used one05:24
bschaeferso it has a potential to change, but it shouldn't ever since the test the self should always use the default ones05:25
bschaeferthem*05:25
bschaeferunless you use anthy all the time...05:25
thomi:-/05:26
thomiwhat do you mean by "it remember the most used one"?05:26
bschaeferwell there is a menu you can use in anthy, which could change that. I have to look that up, let me put together an example05:28
bschaeferthomi, can you paste the error you get?05:29
thomisure:05:30
thomiMismatchError: !=:05:30
thomireference = u'システム'05:30
thomiactual    = u'市捨て無'05:30
bschaeferthomi, ok I remember now, when you hit space to change to text press down and a menu pops up05:30
bschaeferthomi, also I think it uses the last one used, so if it was changed at all it would mess up the test :(05:31
thomihmmm05:31
bschaeferthomi, do you have ibus-anthy active?05:31
bschaeferwell if you don't, put it under the active list, lets see if we can fix that05:32
thomibschaefer: hmmm, isn't the test supposed to do that for me?05:32
thomi...or skip if it can't?05:32
bschaeferthomi, I mean for you to manually select the correct one, so it will in the test05:32
thomiyeah, I just checked and Anthy is currently the only one in the list05:33
* thomi runs test again05:33
bschaeferthomi, your test grabs them for you. What Im thinking to fix this is for you to active anthy manually05:34
bschaeferthen type "shisutemu" then space05:34
bschaeferthen down05:34
bschaeferto see the list of other possible strings05:34
bschaeferthomi, yeah I did that and it fixed it for me05:36
bschaeferthomi, the fact that it can potentil05:40
bschaefer potentially* change is very bad05:40
thomibschaefer: hmm, I got the list, but the test still fails in the same way. If it's just failing on my machine I don't mind so much.05:41
thomithanks for the info though - I'll look into the pinyin tests tomorrow05:41
bschaeferok, I can take a look also, I was planning on working for couple hours tonight05:41
bschaeferthomi, I can get the anthy fixed for you when you have sometime05:42
thomiyeah, probably not very important now though :)05:42
bschaeferthe problem is the first choice is off, you just have to go and choose the correct one and it will default back to it :)05:42
bschaeferhaha :)05:42
bschaeferbut now I have gdb and autopilot working Ill run that script all night!05:43
bschaeferI did last night, but work up and it had restarted on its own :(05:43
bschaeferawoke*05:43
bschaeferwoke*05:43
thomibschaefer: if you're SSHing in to run gdb, make sure you have keepalive messages turned on :)05:44
thomiotherwise you'll arrive to a dead ssh session05:44
bschaefero that must have been the problem!05:45
bschaeferthanks, and have a good night!05:48
bluefroghud-service is eating memory drastically. is that a bug to be fixed?06:19
tsdgeosdidrocks: ping08:14
didrockstsdgeos: hey08:14
tsdgeosdidrocks: i'm using a bool value for the corner reveal thing, is that fine for you?08:14
tsdgeostrue means corner-reveal, false means side reveal08:15
didrockstsdgeos: let me check what unity is doing to not make it more complex :)08:15
didrockstsdgeos: they are using an int, 1 is topleft, 0 is left08:16
didrocksto that works with your border values :)08:17
tsdgeosyeah08:17
tsdgeosbut let's move it to int :D08:17
didrockstsdgeos: even better! Thanks ;)08:17
tsdgeosdidrocks: the default is side reveal, right08:18
tsdgeos?08:18
didrockstsdgeos: right08:18
tsdgeosdidrocks: the key is reveal-mode in <schema path="/com/canonical/unity-2d/launcher/" id="com.canonical.Unity2d.Launcher" gettext-domain="unity-2d">08:30
tsdgeosdidrocks: code not yet merged in unity2d08:31
didrockstsdgeos: good good, using that now then ;)08:31
didrockstsdgeos: well, I won't push it before unity-2d is released to avoid the well known gsetting segfault :)08:31
tsdgeosoki08:36
tsdgeosThomi gave me an Approve here https://code.launchpad.net/~aacid/unity/clearQueriesOnUpdateCallback/+merge/100633 do i need to nag more people?09:13
thomitsdgeos: you should get gord to look at it as well09:13
thomitsdgeos: if it's still in review tomorrow I'll make sure it lands09:14
tsdgeosthanks09:14
tsdgeosi'll be around09:14
tsdgeosjust ping me if needed09:14
thomiok. I work in odd timezones though :)09:14
tsdgeosyeah i saw your mail was kind of shifted09:16
tsdgeosdidrocks: https://bugs.launchpad.net/ayatana-design/+bug/969235 is marked as fix released in metacity but it's still ctrl+alt+d that minimizes all windows here not ctrl+super+d09:20
ubot5Ubuntu bug 969235 in Ayatana Design "Keyboard shortcuts - Update some window management shortcuts to use "Ctrl + Super" instead of just "Super" " [Critical,Triaged]09:20
tsdgeosdidrocks: any idea why?09:21
didrockstsdgeos: compiz can be weird and not update the key sometimes if you started it09:23
didrockstsdgeos: if not, is your metacity key not the default?09:23
tsdgeosnot sure, how does gconf-editor tell me if something is not default?09:25
tsdgeosbold?09:25
tsdgeosseems it doesn't tell you if it's default or not09:25
didrocksgconftool-2 -g /apps/metacity/global_keybindings/show_desktop09:26
didrocksthen, -u to unset it09:26
didrocksand -g :)09:26
tsdgeosyeah doing the -u changed from ctrl+alt to ctrl+super09:26
tsdgeosdon't remember changing it though09:26
tsdgeosbut maybe i did09:27
didrockstsdgeos: it's always hard to tell, also, there is always the question of09:27
didrocks"if I switch A to B, then again A"09:27
didrocksshould the key be considered as a default or not? :)09:27
tsdgeosyeah09:27
gotwigdavidcalle: morning09:45
davidcallegotwig, morning!09:46
gotwigdavidcalle: your picture is not available :-)!^^09:46
davidcallehttp://cdn.memegenerator.net/instances/400x/17819825.jpg ? :)09:47
gotwigdavidcalle: yes09:47
davidcallegotwig, not available in the sense : you can't see it, or you don't want to do what it says ? :P09:48
gotwigdavidcalle: service not available from Germany :D ^^09:48
gotwigdavidcalle: simple 50309:48
davidcallegotwig, hehe, it's just a meme picture "catch ALL the exceptions" :)09:49
gotwigdavidcalle: wanna see it... !09:49
gotwigdavidcalle:  :-)09:49
davidcallegotwig, don't have the time right now, I'm in a meeting ;)09:50
gotwigdavidcalle: ohhh , ok09:51
gotwigdavidcalle: I have holidays ;P09:51
* gotwig quotes: "Strength Through Unity, Unity Through Faith"09:54
gotwigdavidcalle: yo, fixed it10:32
* gotwig notes that YOU ARE FINALY ABLE TO SEARCH FOR SOUP :-) 10:33
davidcallegotwig, haha nice10:34
gotwigand calc, lol10:35
=== bazhang_ is now known as bazhang
=== MacSlow is now known as MacSlow|lunch
gotwighey11:26
gotwigmhall119: fixed your reported bug11:26
gotwigarpu: hey11:37
gotwigcan someone help me how to set up internationalization in my lens/scopes ??11:45
gotwigin what category in the USC are lenses?12:05
=== _salem is now known as salem_
=== ZarroBoogs is now known as Pici
=== MacSlow|lunch is now known as MacSlow
mhall119gotwig: Themes & Tweaks12:18
mhall119gotwig: http://paste.ubuntu.com/913851/ is an example of using a python list that I was talking about yesterday12:19
gotwigmhall119: already implemented it. thanks12:19
gotwigmhall119: oh and I fixed your bug12:19
mhall119I had a bug?12:20
gotwigmhall119: the one you reported12:36
gotwigmhall119: btw. does that control file look OK ? http://paste.ubuntu.com/914469/12:37
mhall119gotwig: I don't know if all those different python depends lines are needed, but I don't see anything particularly wrong with it12:38
mhall119mind you, I'm no packaging expert12:38
gotwigmhall119: kay12:38
gotwigmhall119: your bug was critical12:39
gotwigmhall119: bug report ;P12:39
gotwigmhall119: do you know how I may include other languages into my lens/scope?12:40
mhall119gotwig: I know you can use gettext, but I'm still learning the details myself12:40
mhall119gotwig: join #ubuntu-community-team and ask dpm where you can go for help on that12:41
davidcallegotwig, have a look at http://bazaar.launchpad.net/~unity-lens-videos/unity-lens-videos/trunk/files , and the top of the daemon file, after the imports, there is a lot of language related things.12:41
gotwigmhall119, davidcalle : thanks12:41
mhall119davidcalle: the video lens is installed by default in 12.04 right?12:41
davidcallegotwig, I can't really help you more, I didn't implement it, a translator did.12:42
davidcallemhall119, yes12:42
mhall119davidcalle: cool, I'm writing docs and wanted to make sure12:42
davidcallemhall119, ok12:42
gotwigdavidcalle: lolz ^^ ok12:42
gotwigdavidcalle: do you got his name, mail?12:43
mhall119gotwig: oh, nvm about pinging dpm, he's on holiday12:43
gotwigmhall119: just like I, hehe ^^12:43
mhall119you're on holiday today too?12:43
gotwigmhall119: 2 weeks, my first semester is over @ college12:44
davidcallegotwig, https://launchpad.net/~kelemeng, I think you can find him in #ubuntu-translators12:44
gotwigdavidcalle: kelemengabor ?12:45
davidcallegotwig, I think so12:45
AlanBellhi mhall11913:15
AlanBellI am struggling with a singlet lens13:17
AlanBellhttp://paste.ubuntu.com/914505/13:18
AlanBelljust doing quickly create unity-lens then sudo quickly install gives me that error, it can't find the .service file13:19
gordAlanBell, does quickly give you information when it was installing? you should havea .service file related to your lens in /usr/share/dbus-1/services13:23
AlanBellnot much info when installing13:23
AlanBellit does turn up in the list of lenses in the dash13:23
gordyeah we get the lens in the dash, but there is no backend service to give it info13:23
AlanBellthe .service file isn't there13:23
* AlanBell copies it in13:24
gordif the .service file isn't there, you should make sure that the exec in the .service file exists too13:24
gordjust incase13:24
AlanBellhmm, that gets me a little further13:28
mhall119AlanBell: did you "quickly run" before you tried to search?13:29
mhall119AlanBell: gord: all "quickly install" does is copy the .lens and icon files to /usr/share/unity/lenses/<lensname>/13:30
AlanBellhttp://paste.ubuntu.com/914522/13:30
mhall119AlanBell: what version of Ubuntu and Singlet are you using?13:31
AlanBell12.0413:31
AlanBellsinglet from the repos13:31
gordmhall119, but without the .service file unity can't launch the dbus service, surely quickly install should install that too13:31
gordis the intention that you should be launching the lens yourself in a terminal before launching unity?13:32
mhall119gord: yes13:32
AlanBellsounds fine to me for development13:32
mhall119that's the quickly convention, to "quickly run" to try your app13:32
mhall119AlanBell: right, when you build the package, it'll put the .service and executable in the right places13:33
AlanBellgreat, so the problem I have is that quickly run isn't working then13:33
gordyjsyd gomr yjrm13:33
AlanBellunknown signal name: active13:33
gorduh, *moves one row of keys to the left*13:33
gordthats fine then13:33
mhall119AlanBell: what version is the singlet package you're using?13:34
AlanBell0.0.2-ubuntu113:35
mhall119AlanBell: of unity-singlet?13:36
mhall119that looks like quickly-lens-template13:36
AlanBellit was, I thought it was the same thing13:37
mhall1190.2.2 of python-unity-singlet fixes the 'active' signal error, dhobach is working on getting it into the archives13:37
mhall119AlanBell: no, quickly-lens-template is just the Quickly parts, python-unity-singlet is the actual Singlet library13:37
AlanBellVersion: 0.2.1-ubuntu113:37
mhall119AlanBell: you can get the latest of both from https://launchpad.net/~scopes-packagers/+archive/ppa13:38
AlanBellthanks13:40
* AlanBell is rewarded with a link to the comprehensive documentation https://wiki.ubuntu.com/Unity/Lenses/Singlet13:44
mhall119AlanBell: lol, yeah...13:45
mhall119feel free to fill it in :)13:45
* mhall119 has enough docs to write :(13:45
AlanBellyeah, I might add to that, but first I need to get this lens working :)13:46
AlanBellat least I am off the ground now13:46
AlanBellthanks for your help13:46
jussiis it a bug or a feature that unity dash retains the last search? (I keep having to go delete it...)13:46
mhall119AlanBell: no problem13:47
mhall119jussi: yes13:47
AlanBellso many unity questions start with "is it a bug or a feature?"13:47
jussimhall119: so bith...?13:48
jussiboth*13:48
mhall119jussi: it's by design13:49
jussi:(13:52
gordjussi, its a feature, but the last search is highlighted, you don't have to delete, just type your next search13:56
jussigord: hrm, I suppose. I dont know how, but that could be a little better "advertised"13:57
tsdgeosdidrocks: corner reveal merged14:04
didrockstsdgeos: thanks for the head's up! :)14:05
didrockstsdgeos: the g-c-c part is ready, waiting on the release to push in precise14:05
tsdgeosnice14:05
gotwigdidrocks: g-c-c?14:30
didrocksgotwig: gnome-control-center14:30
gotwigfor wat14:30
Andy80om26er: hi :) did you give a look at the suspend bug on your Asus 1215P?16:46
om26erAndy80, nope, 1min plz :-)16:47
Andy80om26er: sorry ^_^16:47
om26er_Andy80, resumed fine16:48
Andy80uhm :\16:49
Andy80om26er: are you sure you have the latest packages?16:49
om26er_Andy80, I am a 3-4 days behind on updates on this machine16:49
Andy80om26er: how do you suspend it? I just close the netbook.16:49
Andy80om26er: ah that's it!16:49
om26er_I selected it from the power cog16:49
Andy80it happened with yesterday updates16:49
om26er_updating now16:50
Andy80I usually suspend it closing the netbook display, I don't press any key at all...16:50
=== om26er_ is now known as om26er
Andy80uhm... I've other 111 packages to update. I want to upgrade as well and reboot, then I'll test again so we have the same environment.16:54
om26eruh ~400mb of updates that would take a while installing on this thing O_o17:02
Andy80naa :)17:03
Andy80I've done, I try to reboot17:03
jbichaCimi_: pong17:21
Cimi_jbicha, pong17:21
=== Cimi_ is now known as Cimi
jbichaCimi: did you need something from me?17:23
Cimijbicha, yep17:24
Andy80om26er: no it doesn't work :\ just the screen goes off17:24
Cimijbicha, on the default wallpaper17:24
Cimijbicha, wante to be sure when we can upload https://bugs.launchpad.net/ubuntu/+source/ubuntu-wallpapers/+bug/96839917:24
om26erAndy80, updates installing, lets see what I've got17:24
ubot5Ubuntu bug 968399 in ubuntu-wallpapers (Ubuntu) "[UIFe] Incremental tweaks to default wallpaper for Ubuntu 12.04 LTS" [Undecided,Confirmed]17:24
Cimiif we can17:24
Andy80om26er: I've to go out now, feel free to leave me a message or an email. See ya!17:24
* om26er like the new wallpaper17:25
om26erAndy80, okay17:25
jbichaCimi: well next release we ought to try to get the default wallpaper in by UIF, but we're not going to bother redoing screenshots now17:26
Cimijbicha, but we can then?17:27
jbichaat least it's still approximately the same wallpaper17:27
Cimijbicha, can we at least update the wallpaper on the first page of the docs?17:27
jbichaCimi: how about we move this conversation to #ubuntu-release17:28
AlanBellmhall119: bit confused by the ListViewCategory object17:38
AlanBellit kind of turns from a category object into a number and I am not sure how17:39
AlanBellwhen doing results.append() it seems self.example_category just returns 017:41
AlanBellmy one (which I am storing in a dict) returns <Category object at 0x7fa3ac2930a0 (UnityCategory at 0x29138c0)>17:43
mhall119AlanBell: so the Lens API says you're supposed to pass the index number for the category the result belongs to17:47
mhall119Singlet does some behind-the-scene magic to convert the variable into the correct index number for that category17:48
AlanBellyeah, I can tell there is magic going on :)17:59
AlanBellI am generating categories in a little loop, I don't know how many there will be, I just shove them in a dict18:00
AlanBellI don't know where to go to get the index number18:00
AlanBellhmm, I am not sure if this is working quite right18:15
AlanBellthe dash seems to be remembering the categories between runs of the lens18:16
AlanBellmhall119: where is the source code for the magic bit? I think I need to understand what it is trying to do18:19
mhall119AlanBell: you have to restart unity for the dash to pickup on category changes18:19
AlanBellok18:20
mhall119http://bazaar.launchpad.net/~singlet-developers/singlet/trunk/view/head:/src/singlet/lens/base.py#L62 is the magic18:20
AlanBellthanks18:22
mhall119AlanBell: of course, that bit of magic only happens if the variable is defined at the class level18:25
mhall119if you're just putting it directly into a dict(), it won't see it18:26
AlanBellyeah18:27
AlanBellyay, it works19:28
AlanBellthat was hard19:28
mhall119hard? :)19:33
mhall119:(19:33
mhall119it shouldn't be hard19:33
mhall119AlanBell: what did you find difficult/confusing?19:33
AlanBelldoing the categories19:46
AlanBellhttp://paste.ubuntu.com/915071/19:47
ryemdeslaur: hi, re bug #973585 - i suppose they parsed options after gtk initialised too to get some --display or something, we break this with the current version, but I am not sure whether this is critical20:00
ubot5Launchpad bug 973585 in virt-manager (Ubuntu) "After global menu fix it forks before printing output for --help,-h" [Undecided,Fix released] https://launchpad.net/bugs/97358520:00
mdeslaurrye: yes, I'm aware of that, but I can't think of any other way of fixing it20:00
ryemdeslaur: unping, i see the explanation, sorry :)20:00
mdeslaurrye: if you can think of any, please let me know and I'll fix it20:01
* rye learns how to read20:01
ryeI guess we can wait until somebody complains about missing gtk options and then try to resolve this. parsing the options twice is not a good option too20:02
AlanBellmhall119: how do I get lens searches turning up on the dash home page?20:50
AlanBellah, never mind, that would be the global search method I guess20:50
mhall119AlanBell: yup20:55
AlanBellok, that kind of works, but now my categories are messed up again20:55
mhall119AlanBell: did you set the categories list in your Meta class?20:57
mdeslaurrye: well, the problem is the python parser bails out when it hits the unknown gtk options, so I can't just parse them twice20:58
mhall119category_order I mean20:58
AlanBellmhall119: I kind of did it in the search method writing them into self._meta20:59
AlanBelland I can see how to fix my ugly hack20:59
mhall119AlanBell: yeah, add category_order = ['first_category', 'second_category'] to your Meta, should fix it21:03
AlanBellwell I don't want to hard code the categories21:03
mhall119unfortunately Python doesn't always pass Singlet the class variables in the ordere they are defined21:03
mhall119you do want to hard-code the categories21:04
AlanBellI could in this instance, but I really want the categories to build from the data source21:04
mhall119you do *not* want to dynamically generate your categories21:04
mhall119The Dash doesn't support that21:04
AlanBellwhy not?21:04
mhall119you would have to restart Unity to get the new categories21:04
mhall119and it would break scopes21:04
AlanBellseems to work fine21:05
mhall119think about 3rd party  scope developers21:05
mhall119their code will be using category index #s21:05
mhall119they need them to stay the same21:05
AlanBellthat sucks21:05
mhall119a bit,  yeah21:06
mhall119but it really only becomes a problem if you're designing a lens for a specific source, which is something you generally shouldn't be doing21:06
AlanBellbit surprised the lens can't fine them by name21:06
mhall119the lens isn't the problem, it's the scopes that can't21:06
AlanBellhmm, nasty.21:10
AlanBellthis will be why most of the standard lenses have such odd choices of category21:12
AlanBelland why you can't change the way things are categorised21:12
gotwigPlease help me in translating my cooking lens & scopes in your native lanuage :-) https://translations.launchpad.net/lens-cooking/trunk21:42
gotwigmhall119, mhr3 : hey :-) and good night ^^21:43
=== yofel_ is now known as yofel
bschaeferthomi, ping22:17
thomibschaefer: pong22:17
bschaeferthomi, hey, so I also see that the multi key test are failing!22:17
bschaeferbut I can't get it to fail on my own build22:18
bschaeferwere you able to get the multi key ap test to fail on your machine?22:18
thomibschaefer: yes, it depends on the keymap you have loaded22:20
thomion my system, for example, you can't map the Multi key, since it doesn't exist22:21
thomiso for those tests we either need to load the correct keymap for the duration of the test, or skip the test22:21
bschaeferoo alright that makes sense!22:22
=== salem_ is now known as _salem

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