/srv/irclogs.ubuntu.com/2010/03/10/#ubuntuone.txt

=== cpg is now known as cpg|biab
=== cpg|biab is now known as cpg
=== kermiac_ is now known as kermiac
kermiacty for the link regarding the new bug workflow joshuahoover :)06:20
=== duanedes1gn is now known as duanedesign
=== rodrigo__ is now known as rodrigo_
ryeevolution-data-server 188% CPU O_O10:41
duanedesignlol10:42
duanedesignrye: gonna run down the street and get some breakfast. If you get a minute could you look at http://paste.ubuntu.com/392426/10:49
duanedesignits the UseSettings() function that doesnt seem to return the DB. IF your busy no problem dont worry about it :)10:49
ryeduanedesign, package unifier ?10:49
ryei mean make the same set of packages available on different sets of machines?10:50
duanedesignyes10:52
ryehm, did not create db for me10:52
duanedesignreally:(10:52
duanedesignrye: it didnt create a DB called packages10:55
ryeduanedesign, hm... something is really wrong with my futon10:57
ryeduanedesign, now I have the packages db :-/10:57
duanedesignrye: you had me nervous,lol10:58
ryefalse alarm, package db is created... I believe my 'rtg+test, rtg$test and rtg/test' databases made futon a little bit worried about its future10:58
duanedesign:)10:58
ryeduanedesign, your 'installed' view does not generate any documents - try it in futon10:59
ryefunction(doc) { emit(null,doc.packages) }11:00
ryetry this11:00
duanedesignhow do i try it in futon?11:01
duanedesigni tried it with curl and it didnt get anything11:03
duanedesignoh try the one you posted11:03
ryeduanedesign, the futon has a UI to run the views - it is the select box in upper right corner11:04
duanedesignthats neat, will look11:04
duanedesignrye: lol, i never saw that function in Futon. That is awesome11:09
ryeduanedesign, imagine me panicking when I switched to some view w/o realizing what that does and stopped being able to browse the records11:10
ryeduanedesign, that's how I learned about it :)11:10
duanedesign;)11:11
ryeevolution-data-server-Message: Server up and running11:14
rye[New Thread 0xb7f8fb70 (LWP 4372)]11:14
ryeimpl_GNOME_Evolution_Addressbook_BookFactory_getBook11:14
rye + couchdb://127.0.0.111:14
rye => 0x807a66011:14
ryeimpl_GNOME_Evolution_Addressbook_Book_open (0x807a660)11:14
ryeProgram received signal SIGSEGV, Segmentation fault.11:14
rye[Switching to Thread 0xb7f8fb70 (LWP 4372)]11:14
rye0x00f01a96 in ?? () from /lib/libdbus-1.so.311:14
ryeARGHHHHH!11:14
ryeYES. bug #534469 - I am not alone now11:21
ubottuLaunchpad bug 534469 in nvidia-graphics-drivers "Failed to load NVIDIA 195.36.08 kernel modules because nouveau is loading." [Undecided,New] https://launchpad.net/bugs/53446911:21
ryewhen was separating of /usr /var, /opt, etc... partition obsoleted? I have been happily running it on this machine since intrepid ibex and that was actually working :)11:22
* rye switches to thunderbird as my e-d-s misbehaves today11:22
* wgrant points U1 devs in the direction of https://bugs.edge.launchpad.net/ubuntuone-servers/+bug/53565111:24
ubottuError: Could not parse data returned by Launchpad: list index out of range (https://launchpad.net/bugs/535651)11:24
* rye points wgrant to https://bugs.launchpad.net/ubuntuone-servers/+bug/53513711:30
ubottuLaunchpad bug 535137 in ubuntuone-servers "Not all Note data is displayed: < and > are underescaped during TomboyXML to HTML conversion." [Medium,In progress]11:31
wgrantAh, that one is a dupe.11:31
ryewgrant, this is not a security vulnerability for now, since the notes cannot be shared between the users11:32
wgrantrye: Not directly, no.11:32
ryewgrant, so the worst that could happen is that the user breaks his own notes UI11:32
wgrantBut see the bug I just filed.11:32
wgrantLeaving XSSes around is a seriously bad idea.11:33
wgrantBecause they will come back and bite you when another vulnerability appears.11:33
ryewgrant, ideally this is what should happen when notes are entered via the web ui - all the tags that are not translated to tomboy xml subset are removed and since tomboy does not use attributes - they will be ignored11:34
wgrantrye: Yes -- I reported a bug to that effect 6 months ago.11:35
ryewgrant, however, at this time there is a bug #535137 which causes the notes that are properly escaped in the database not to be escaped properly via the web ui11:35
ubottuLaunchpad bug 535137 in ubuntuone-servers "Not all Note data is displayed: < and > are underescaped during TomboyXML to HTML conversion." [Medium,In progress] https://launchpad.net/bugs/53513711:35
ryewgrant, let me try one trick...11:36
wgrantlolwut?11:37
wgrantWhy is my bug a dupe of 535137?11:37
ryewgrant, because you were able to insert the html content and it was not properly escaped when it was displayed11:38
wgrantMy new bug references my old bug which is related to 535137.11:38
wgrantBut neither is a dupe.11:38
ryewgrant, ok, I might have acted too quick11:38
ryewgrant, so, you were able to inject the HTML code via the web editor and later on that code was sent to the browser unmodified, right?11:39
wgrantrye: Yes, but that is 452689, not 53565111:40
ryewgrant, I removed the dup status, sorry about that.11:40
wgrantrye: Thanks.11:41
ryewgrant, so, you mean the notes that are entered in the web UI are left as HTML?11:41
wgrantrye: The U1 web UI will render arbitrary HTML attributes that I give it.11:41
wgrantThat is a bug.11:41
ryewgrant, what????11:41
wgrantrye: Have you read 452689?11:42
ryewgrant, ok, testing this on trunk. If that appears to be valid after all that was done to Notes during last 3 weeks then I will start killing one my note at a time until it is fixed11:43
ryewgrant, there is an explicit conversion for the notes format, if that is now broken then I am very mad11:43
wgrantrye: Ah, I haven't tested on edge.11:43
* wgrant tests on edge.11:44
ryewgrant, no, that was already in production for a week or so11:44
wgrantrye: I tested it again about an hour ago.11:44
ryeawesome11:44
wgrantIt has been declared fixed something like three times now.11:44
wgrantNot once has it actually been fixed.11:44
wgrantAnd now I have found something else that piggy-backs on it.11:44
wgrantI am not amused.11:44
ryewgrant, there is a whitelist for conversion now...11:46
ryeof course, if that works11:46
=== sandy is now known as Guest26058
wgrantrye: Still broken on edge.11:48
wgrantYour whitelist does not work.11:48
* rye checks deeper11:49
ryewgrant, yes, that is bug 535137 - the data is stored properly but it is not properly escaped on display11:51
ubottuLaunchpad bug 535137 in ubuntuone-servers "Not all Note data is displayed: < and > are underescaped during TomboyXML to HTML conversion." [Medium,In progress] https://launchpad.net/bugs/53513711:51
wgrantI am confused.11:51
wgrantThis isn't an escaping issue.11:51
wgrantThe tags have to be there, to represent boldness for example.11:51
wgrantThe bug is that it allows extra attributes.11:51
wgrantSome tags are already stripped.11:52
wgrantBug #535651 is much more important.11:52
ubottuError: Could not parse data returned by Launchpad: list index out of range (https://launchpad.net/bugs/535651)11:52
ryewgrant, were you creating the notes via the web ui or tomboy?11:58
wgrantrye: Web UI. The Tomboy sync crashed.11:58
ryewgrant, great12:00
ryewgrant, attributes are placed as is12:00
ryeasesome12:00
ryedesktop+, rodrigo_  - BUG!12:00
wgrantYes, I talked to rodrigo_ about it earlier.12:01
rodrigo_yeah, already looking at it12:01
wgrantThanks.12:01
ryewgrant, you see - the whitelist is there and it will happily replace <script> with nothing, since it does not know this item. But it will also make <b onclick="alert('test');">wow</b> into <bold onclick="alert('test');">wow</bold> for couchdb and the reverse conversion will restore <b> element with onclick attribute12:03
wgrantrye: Right.12:03
ryebut... Tomboy does not use attributes...12:04
ryewgrant, and this is made extremely easy with bug 535137 - you don't even need to use the firebug for that...12:14
ubottuLaunchpad bug 535137 in ubuntuone-servers "Not all Note data is displayed: < and > are underescaped during TomboyXML to HTML conversion." [Medium,In progress] https://launchpad.net/bugs/53513712:14
duanedesignthats an interesting NVIDIA bug report rye12:15
ryeduanedesign, and this will affect people starting from -16 kernel where  nuve... grrr. nouveau module is available in the kernel12:19
nperryWhere has ubuntuone-client-applet gone in lucid :(12:21
ryenperry, ubuntuone client applet is removed from lucid. The only UI that will be present is ubuntuone control panel12:27
ryenperry, I plan to write about that on the wiki once I find out how the actual startup will be handled12:27
nperryHow do I sync/connect now then12:27
nperryPrefenances have all my account info there12:28
ryenperry, you can open ubuntuone-preferences via MeMenu12:28
nperryrye, File sync is ticked - But is greyed out, normal?12:29
Chipacanperry: or you can run "u1sdtool -c" from a terminal, if that's where you roam12:29
ryenperry, yes, by default it is enabled12:29
ryeChipaca, I need to find someone who will tell how the startup will be handled :-)12:29
Chipacarye: it won't be handled for this beta12:30
ryeChipaca, are there any documents I have probably missing that tell how that would be handled in the release?12:30
Chipacarye: by next beta, syncdaemon will start and connect on login if you have network and have file sync ticked and have it set to start on login12:30
Chipacarye: *however*12:31
Chipacarye: you need to stop thinking of the syncdaemon as synonymous with ubuntu one :)12:31
Chipacarye: it's never been the case, and while in the past the confusion was understandable (because desktopcouch, the only other part of ubuntu one, was very much behind the scenes), that is no longer the case12:32
Chipacai.e. desktopcouch is much more prominent, and it is no longer the only other part of Ubuntu One12:32
wgrant(and the service was announced solely as a filesharing service)12:32
Chipacawgrant: nope, it wasn't12:32
ryeChipaca, then I will need to think that bandwidth preferences are applied to couchdb replication and they are not, couchdb replication happens even if the Devices tab has the device not connected. So two of 3 tabs are applied to syncdaemon12:32
Chipacawgrant: it was picked up by the media as such, unfortunately12:33
wgrantChipaca: I never saw any references to concrete further extension ideas.12:33
Chipacarye: you're looking at an *old* ubuntuone-preferences :)12:33
ryeChipaca, how old? I was using trunk... yesterday, there were more devices listed there ... and my phone that became a victim of a private bug :).12:34
Chipacawgrant: where were you looking?12:34
wgrantChipaca: I'm pretty sure I looked just about everywhere in the day or two after the announcement.12:35
Chipacarye: ubuntuone-preferences has three tabs: the 'account' tab which is common to all services, the 'devices' tab which is mostly common to all services but has some controls specific to ubuntuone-syncdaemon, and the 'services' tab which lets you turn on/off services12:36
ryetrue12:36
Chipacarye: granted we still need to fix the devices tab so the controls specific to syncdaemon are more prominently so, but we haven't found an effective way of saying this to the lay user12:37
ryeChipaca, btw, is scrolling planned for the devices tab - with my 10 devices it was not fitting the screen12:37
=== teknico is now known as teknico_away
ryebrrr... what we have started with?12:38
ryeah, will desktopcouch replication be controlled via ubuntuone preferences (i.e. connect/disconnect) ?12:39
* wgrant has had to firewall desktop-couch.12:39
wgrantIt was continuously syncing gwibber_messages, eating lots of bandwidth.12:39
ryei believe if I move to mobile service with per-mb fee then I will need to shut down dc completely...12:40
ryewgrant, it is possible to omit gwibber_messages from replication12:40
wgrantrye: Ooh. How?12:40
ryewgrant, let me double check that12:40
Chipacawgrant: yes, we'll be shipping gwibber with syncing off by default :)12:41
wgrantChipaca: Syncing accounts is OK, but messages is a bit strange.12:42
ryewgrant, http://paste.ubuntu.com/392499/12:42
wgrantrye: Thanks!12:43
ryeChipaca, will that be via management db/excluded-names?12:43
wgrantAnd off-peak is aqbout to start, so I can safely turn it back on for a while.12:43
* wgrant tries.12:43
ryewgrant, I haven't tested that, going to do that now12:43
Chipacarye: hey, I'm a manager, I don't know technical mumbo-jumbo12:43
* Chipaca lies!12:43
Chipacarye: I don't know, actually. I know we need to fix the services tab so it works (there's a branch somewhere for this)12:43
Chipacarye: dobey is/was working on that, but he's under a lot of pressure from too many fronts, so I might need to ask for a freeze exception so we don't lose him :)12:44
ryewgrant, it is excluded_names, not excluded-names12:46
ryewgrant, you might also want to remove the database from the server12:49
ryewgrant, http://www.freedesktop.org/wiki/Specifications/desktopcouch/Documentation/Troubleshooting12:49
ryewgrant, ubuntuone-couchdb-query --http-method=DELETE 'gwibber_messages'12:49
ryei did that, waiting to see what happens :)12:50
ryewgrant, from u1 server12:50
wgrantrye: Ah, I was wondering how to manipulate the server DB.12:50
wgrantHm, I do not have such a command.12:50
ryewgrant, the Troubleshooting page has that command12:51
rye*the script12:51
ryesomething is wrong with my "thinking-typing" connection today12:52
wgrantrye: Oh, oops, missed that.12:55
urbanapemorning, oh wild and wooly ubuntuonians13:58
=== teknico_away is now known as teknico
=== jamalta-afk is now known as jamalta
dobeyeh, gwibber really should be storing credentials in the keyring, not in couchdb14:24
kklimondayup14:34
ryedobey, i wonder what happens when 2 gwibber instances are running at the same time - do messages get duplicated?14:38
dobeyrye: they shouldn't, but they might i guess, no idea. i'm not using it because i don't want my passwords stored in couchdb14:39
ryein plaintext... righ14:43
ryet14:43
rodrigo_yeah :(14:44
ryegreat, with fullscreen terminal my train in LS is moving with a reduced frame rate :-/15:03
ryesomething became wrong here...15:03
=== jamalta is now known as jamalta-afk
=== jamalta-afk is now known as jamalta
ryeguys, I was trying to do this on my previous work place and now I just want to ask it here - why are <a> nodes used for buttons that do not actually have the normal href attribute?15:44
ryedesktop+ ?15:45
alevinerye, you asked me to ping you yesterday about note synchronization failing. It looks like the bug got marked a duplicate of another, but I'm still having the issue.15:46
=== jamalta is now known as jamalta-afk
dobeyrye: they are anchors for the css magic to draw the special buttons15:58
ryealevine, hi!15:58
alevinerye, how's it going?15:58
ryealevine, do you have any recent OOPS for this?15:58
ryealevine,  it looks like there are logs that were not synced from production service. And it happens to be fixed 15 hours ago15:59
ryedobey, i just don't like href="#" part when this is actually not working w/o js at all16:00
dobeyrye: eh? href="#" works fine16:01
ryedobey, # is not - in case the page is scrolled, that forces the browser to scroll it to the top. onclick="return false" will help but that might be an issue with event handlers16:02
dobeyeh16:03
* rye never tried mixing these two16:03
* dobey considers the web to be defective by design16:03
ryedobey, yes, UI in HTML is16:03
ryedobey, but we don't have much choice at the moment, XUL ?16:03
dobeyxul is not a choice, it's an abomination16:04
dobeyand no the answer isn't to use xul16:04
dobeyi don't know why forms don't use proper standard form elements any more16:05
alevinerye, I will get you a new OOPS-id now16:05
ubottuhttps://lp-oops.canonical.com/oops.py/?oopsid=id16:05
ryealevine, ok, thanks16:05
alevinerye, can I make one right now? or do you need an old one but not that old? :)16:06
ryealevine, if it has happened an hour ago - that would be great. But if not, then a new one would do, but we will need to wait for an hour for it to become accessible16:07
alevinerye, none an hour ago. OOPS-ID-1530appserver70605 is one I generated right now16:07
ubottuhttps://lp-oops.canonical.com/oops.py/?oopsid=ID16:07
alevinewill try to remind you at noon16:11
* rye reboots16:49
ryetest17:21
ryeubottu, test17:21
ubottuhrm?17:21
ryeubottu, thanks17:21
ubottuYou're welcome! But keep in mind I'm just a bot ;-)17:21
alevinerye, it's been an hour ;) OOPS-ID-1530appserver7060517:24
ubottuhttps://lp-oops.canonical.com/oops.py/?oopsid=ID17:24
ryealevine, while I am waiting for a meaningful answer from the the team, could you please check whether the same happens on https://edge.one.ubuntu.com ?17:31
alevinerye, you mean change my notes server to that?17:31
ryealevine, ah, you are syncing tomboy, right... hm, no, then this is better not to do since that will reset the sync state17:32
alevinerye, I will be away from my desk for the next hour or so. I will ping you when I'm back if you're still here. Thanks!17:32
ryealevine, thanks!17:32
=== beuno is now known as beuno-lunch
dumpahi18:16
ryedumpa, hi!18:17
dumpaanyone having trouble with notes sync18:17
dumpa?18:17
dumpaI get [ERROR]: Synchronization failed with the following exception: Unexpected character '<' at [1:1]18:18
ryedumpa, are you able to open the notes via the web ui?18:18
alevinerye, I'm back if you need any more info18:19
ryealevine, the team is now investigating why oopses are not properly generated on the production machines18:20
dumparye, yes I just did18:20
ryealevine, but... are you able to access your notes at https://one.ubuntu.com/notes/ ?18:20
alevinerye, yes18:20
ryedumpa, ok, how many notes do you have, rough estimate18:20
dumpahundreds I guess18:21
dumpamore than 50018:23
alevinerye, I have 31 notes18:23
=== beuno-lunch is now known as beuno
ryedumpa, ok, i am thinking how to actually check what data.... Unexpected character, '<'...18:23
ryedumpa, could you please start tomboy from the terminal with --debug ?18:24
dumpaok18:24
alevinerye, dumpa unexpected character is what I get from the JSON parser18:24
alevinein my case it is because HTML is being returned18:24
alevine(the 500 error from the server)18:24
dumpaalevine, I'm sorry i don't get you, what does that mean?18:27
ryedumpa, the server returns the error response, not the data Tomboy expected, the first character of the response is <, from <html>18:28
dumpaok18:28
alevinedumpa, and < is not a valid first character for JSON, so the parser throws that error18:28
dumpaok, so is this a known bug?18:29
faxis this cloud computing?18:29
ryedumpa, this is the bug that might be caused by unexpected service restarts, but I feel that it is strange that the same code works fine for web ui and oopses during the outputting the data to tomboy18:31
dumparye, what do you mean by same code?18:34
* rye has an idea about what can cause that...18:35
=== teknico is now known as teknico_away
* wgrant points at https://bugs.edge.launchpad.net/ubuntuone-servers/+bug/535651 again.20:24
ubottuError: Could not parse data returned by Launchpad: list index out of range (https://launchpad.net/bugs/535651)20:24
dobeyhaha20:24
wgrantNot really, no.20:25
dobeynot the bug, no20:25
dobeyubottu's "list index out of range"20:25
ubottuError: I am only a bot, please don't think I'm intelligent :)20:25
dobeycertainly wouldn't think of that20:26
wgrantHeh.20:26
=== jamalta-afk is now known as jamalta
=== jamalta is now known as jamalta-afk
duanedesign  bug 53170923:24
ubottuLaunchpad bug 531709 in ubuntuone-client "ubuntu one client crashes on context menu click" [Undecided,New] https://launchpad.net/bugs/53170923:24
OmarHelp meee23:26
Omar wiht ubuntu one23:26
Omarayuda23:26
Omarintento suscribirme y al continuar con la suscripcion me bota este error Password must be at least 8 characters long, and must contain at least one number and an upper case letter.23:26
dobeyduanedesign: the logs on there don't line up right. he'll need to attach a new copy of oauth-login.log that has times close to the syncdaemon.log entries23:29
duanedesignthank you dobey23:30
dobeyduanedesign: but my guess is that syncdaemon is just taking forevor to start23:34
duanedesigndobey: ahh, and that would be easily confirmed with the oauth-login.log DBus Error23:41
dobeyduanedesign: yes, if the dates lined up it would be pretty easy to confirm :)23:42
duanedesignI am just about done with my Python script that saves dpkg selections to a Couchdb and then uses that database to set the selections on other computers (after U1 syncs the DB of course :))23:49

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