/srv/irclogs.ubuntu.com/2009/12/22/#ubuntuone.txt

xanthello everyone00:08
xantIs ubuntu one back up?00:08
pfibigerxant: it is.00:10
xantMy Ubuntu one fails to start00:19
pfibigerxant: you should have a log file, in ~/.cache/ubuntuone/ called syncdaemon-exceptions.log00:22
xantpfibiger, I do00:22
xantfailure Connection to the other side was lost in a non-clean fashion.00:23
pfibigerok, what happens if you quit the ubuntuone client and restart it?00:23
xantpfibiger, it crashes00:24
xantBadTransition: State READY_WITH_NETWORK_WITH_BOTHQ can't handle the SYS_CONNECTION_MADE event00:26
xant2009-12-22 00:19:18,015 - pyinotify - ERROR - The path /home/xant/Ubuntu One/private of this watch <Watch wd=4 mask=3064 auto_add=False proc_fun=None path=/home/xant/Ubuntu One/private dir=True > must not be trusted anymore00:26
xantfrom syncdaemon-exceptions.log00:26
xanthttps://bugs.launchpad.net/ubuntu/+source/ubuntuone-client/+bug/49929000:26
ubottuUbuntu bug 499290 in ubuntuone-client "Ubuntu one fails to start" [Undecided,New]00:26
xantubottu, that one00:27
xantI'm reinstalling ubuntu one00:29
pfibigerxant: ok. i believe that's a known error that's fixed for upload into karmic. i've added a few tags to your bug and assigned it.00:30
xantpfibiger, thanks00:31
xantfollowed the steps found in https://answers.edge.launchpad.net/ubuntuone-client/+faq/77800:40
xantUbuntu one still crashes00:40
xantsyncdaemon-exceptions.log doesn't get created this time00:40
xantoath-login.log contains "Starting Ubuntu One client version 1.0.2"00:40
pfibigeranything in syncdaemon.log?00:41
xantIt doesn't get created00:42
pfibigerxant: that's the only line in the oauth-login.log?00:47
xantpfibiger, yes00:47
xantI'm tempted to get spideroak :-)00:51
aquariusxant, can you kill ubuntu one, then restart it from a terminal to see if it displays an error?00:52
aquariusxant, in a terminal window, do: killall ubuntuone-syncdaemon; killall ubuntuone-client-applet; ubuntuone-client-applet00:53
xantaquarius, it works, thanks00:54
aquariusxant, and it hasn't crashed?00:54
aquariusxant, I suspect, then, that something was wrong with the syncdaemon before, and restarting it has fixed the problem00:54
xantSorry everyone, I forgot to kill ubuntuone-syncdaemon00:55
aquariusxant, no problem! Sorry it took us a while to get to the source of the problem00:56
xantHm01:03
xantI've got encfs set up in my ubuntu one folder01:03
xantit started synchronising after I unmounted my folder01:04
xantI wonder why01:04
xantUbuntu ones seems to be stuck while updating the 11th file01:09
xantI'd like to suggest a feature01:14
xantWhen left-clicking the applet, it can show the file path it's currently updating01:14
aquariusthe applet is going away in Lucid01:24
aquariusso there'll be more room in the Ubuntu One control panel to show that sort of thing01:25
aquarius(if you want to find out what it's doing right now, you can do "u1sdtool --current-transfers" in a terminal)01:25
aquariusand it would be possible to write a "monitoring app" which talks to syncdaemon via D-Bus and shows in minute detail what it's up to, if someone wanted to :)01:26
xantpfibiger, aquarius, thanks for your help and good night!01:50
aquariusxant, no problem01:50
[dutchie]haven't been able to sync tomboy notes for a while. I clicke "synchronise notes", then I get a dialog box (screenshot in a moment)13:16
=== [dutchie] is now known as dutchie
dutchiehttp://imagebin.org/7647913:18
aquariusdutchie, I'm having the same problem, and I think I have the fix; give me one minute13:29
dutchiealso, honk :)13:30
aquariusdutchie, OK, you need to re-authorise Tomboy, after some changes we made on the server13:30
dutchieright-o13:31
aquariusso, right-click the Tomboy icon, Preferences, Synchronisation, Clear (and say yes), then Connect to Server and reauthorise.13:31
aquariusSorry about that.13:31
aquariusmattgriffin, we should put out the word about that, I think13:31
dutchieworked13:31
dutchieit has to be said, this is a very efficient IRC channel13:32
aquariusword put out on twitter and identica13:39
Chipacaaquarius: I did that, and got a bunch of conflicts on the tomboy "default" notes, and a "failed to synchronize"13:48
aquariuschipaca, after clearing your tomboy sync and re-doing it?13:48
Chipacaaquarius: yes13:49
aquariuschipaca, OK, that's worrying13:49
Chipacaaquarius: and now did it again, and got a bunch of conflicts again, but it worked13:49
Chipacaaquarius: and now again, and failed to sync again13:52
* aquarius headbutts the desk13:52
Chipacaaquarius: synchronizing is hard! I'm going shopping13:52
aquariusI don't know what's wrong with it :(13:52
Chipacaaquarius: urbanape: dobey: CardinalFang: you do know what the platform sprint is about, right?13:53
aquariusBroadly, although getting your take on why we're going would be useful.13:53
=== CardinalFang changed the topic of #ubuntuone to: Talk to CardinalFang if you have problems | https://one.ubuntu.com | https://launchpad.net/ubuntuone | Please honk if you want a music store
aquariusI know why I think I'm going :)13:53
aquariusdutchie, oh, and consider your honk received; I'm working on it :)13:54
Chipacaaquarius: do I have to honk? I'm currently giving my money to 'legalsounds.com', which I'm sure is a 100% legit business13:55
CardinalFangChipaca, I see the agenda.  I don't know if that's what it's *about*.13:55
aquariuschipaca, well, if we don't convert you I shall be somewhat disappointed :)13:55
Chipacaaquarius: :)13:56
ChipacaCardinalFang: you know the 6-month release cycle? it's all a big lie. All the real coding happens in the platform sprint.13:56
CardinalFangAh, good.13:56
CardinalFangFive days.  No drinking, I hope.13:57
CardinalFangaquarius, I saw a python-keyring module this morning.  I think I may be able to make desktopcouch support KDE, OSX, and step closer to supporting Windows.13:59
aquariusCardinalFang, aha, there is news on that front13:59
aquariusCardinalFang, ralsina has ported desktopcouch to Archlinux, and in a private copy has moved to python-keyring13:59
CardinalFangSweet.13:59
aquariusand homeasvs_ was also looking at python-keyring for the n90013:59
CardinalFangIs that the pypi/keyring/ ?14:00
aquariushttp://lateral.netmanagers.com.ar/14:00
aquariusspecifically http://lateral.netmanagers.com.ar/weblog/posts/BB855.html#disqus_thread14:01
Chipacaalso, http://lateral.netmanagers.com.ar/weblog/posts/BB858.html14:02
aquariusya14:02
aquariusand stick http://twitter.com/ralsina/status/6890319668 and http://twitter.com/ralsina/status/6899741456 into http://tweetconvo.com14:03
aquariusCardinalFang, sorry I hadn't updated you on that yet, yesterday was a bit frantic14:03
=== facundobatista is now known as facu
=== facu is now known as facundobatista
=== Chipaca is now known as Chipakeitor
=== facundobatista is now known as facu
=== Chipakeitor is now known as __chip__
=== __chip__ is now known as Chipaca
jblountRandom thought: Has anyone else here looked or played with Juno? http://github.com/breily/juno14:26
dobeyi take it that's not a free dial-up e-mail service14:27
CardinalFangstatik, https://code.edge.launchpad.net/~cmiller/ubuntuone-servers/monitor14:31
* Chipaca looks14:32
CardinalFangVery old.  Not tested in any way.  ^14:33
pfibigerjblount: i have looked at it. yes.14:35
statikhey Chipaca, joshuahoover1: have you guys already done a main inclusion report for python-keyring? If not, could you? It's been synced to universe now, but I don't want to surprise the platform team by trying to pull it into main for ubuntuone-client at the last minute.14:43
ChipacaI haven't. If joshuahoover1 hasn't either, I'd like to learn how :)14:44
joshuahoover1statik: i have not, i can put together the mir and i'll email you and chipaca once it's there later today so you two can review14:44
statikthanks14:44
joshuahoover1Chipaca: it's really filling out a wiki template :)14:44
statikand doing a code audit14:45
Chipacajoshuahoover1: if that's all it is, go ahead. If you want help with the code audit, holler :)14:46
joshuahoover1Chipaca: sounds good, thanks!14:46
dobeybrb, washer/dryer delivery...14:49
bl8Does anyone know why I could get this error : ubuntuone.SyncDaemon.ActionQueue - ERROR - Capabilities query failed: The server doesn't have the requested capabilities14:52
bl8I'm trying to run ubuntuone-client-1.0.2 on my Gentoo desktop14:52
jblountbl8: Hi!14:54
jblountbl8: I don't think anyone here has any experience with the Gentoo stuff, but that sounds like a error that I've seen before.14:55
bl8jblount: Hi. Weird thing is that it was working a few days ago, then I re-installed all the ubuntu one related stuff, hoping to write proper installations instructions, now it fails :(14:57
jblountbl8: Yeah, I was just talking to pfibiger and that error is supposed to protect differences between the client and server software.14:57
jblountIt's strange that you're seeing it now, after having it working before though.14:59
jblountrmcbride: Any thoughts about problems with ubuntuone-client-1.0.2 ^^ ?14:59
jblountbl8: dobey may also be helpful to figure out what's going on.15:00
CardinalFangIt would be nice to know what "capability" it refers to.15:05
jblountCardinalFang: Good point.15:06
CardinalFang"The server doesn't have the requested capabilities" -> "The server doesn't isn't capable of ____________________".  Silly programmers.15:06
CardinalFangEr, one verb.15:07
ChipacaCardinalFang: file a bug! :)15:08
ChipacaCardinalFang: although I'm not sure the server tells us what it is it doesn't do15:08
urbanape"Does anybody really know what time it is? Does anybody really care?"15:09
urbanapeMight have to dig up some Chicago this morning.15:10
jblountheh15:10
jblounturbanape: You pinged yesterday? Are you still in need with my particular version of crazy?15:10
CardinalFangrodrigo_, while I'm thinking about usability, the evolution d-c plugin should set the application name so that the keyring dialog will be nice.15:10
urbanapejblount: yeah, was gonna ping you about bug # 49828415:11
rmcbridejblount: sorry, sound is off, missed that. I don't know anything about how the client would be installed on Gentoo I'm afraid.15:11
rodrigo_CardinalFang: hmm, evolution already does it, afaik, or doesn't it?15:12
jblountrmcbride: I'm more interested in if ubuntuone-client-1.0.2 should work or if it should have the capability mismatch errors15:12
rodrigo_no standup today? :)15:13
rmcbridethe current client shouldn't get a capabilities mismatch, but Gentoo isn't a platform I've used for many years, so I don't know what might happen15:13
CardinalFangrodrigo_, I'm judging by the error log in bug#475998.  """WARNING **: g_set_application_name not set in server_log_handler"""15:13
verterokbl8: please pastebin the contents of path/to/dist-packages/ubuntuone/syncdaemon/__init__.py15:13
bl8jblount: rmcbride: I'm installing from the source tarballs15:13
jblounturbanape: # 498284 is in my queue for today15:13
urbanapeyou rock15:14
jblountrodrigo_: I don't know, I guess we should still have it. How about now?15:14
jblountDesktop+ MEETING BEGINS15:14
rodrigo_CardinalFang: hmm, might be, yeah15:14
jblountYou are the crew, you know what to do:15:14
rodrigo_me15:14
jblountme15:14
urbanapeme15:14
CardinalFangme15:14
CardinalFangZing.  We're quick.15:14
* jblount assumes that anyone not "me" ing is on holiday or will catch up15:15
jblountrodrigo_: Go for it!15:15
rodrigo_• DONE: Python bindings for libubuntuone. Tested fake music store from aquarius15:15
rodrigo_• TODO: Conflict resolver tool in pair tool. Look at becoming a MOTU (https://wiki.ubuntu.com/UbuntuDevelopers). Make sandy's snowy test suite work with our server (http://git.gnome.org/cgit/snowy/tree/api/tests.py). Discuss with jdo and aquarius about oauth token per app, not per machine? Look at Canola. Add envvar to override music store default location15:15
rodrigo_• BLOCKED: no15:15
rodrigo_jblount: go go!15:15
jblountDONE: Got changes for /account-assistance sorted out, got sick, got better15:16
jblountTODO: Finish up some js for /account-assistance/, make a overlay thingie for the forums, land an approved branch post pqm weirdness15:16
jblountBLOCKED: Nope15:16
jblounturbanape: tag15:16
urbanapeDONE: Some more ahas about Bindwood. _id handling improved.15:16
urbanapeTODO: Brute force the manifest checking on pull to establish new order/location of bookmarks. On-call reviewer today.15:16
urbanapeBLOCK: None15:16
urbanapeCardinalFang: the comfy CHAIR!15:16
aquariusme15:16
* rtgz is late15:17
CardinalFangDONE: Got d-c stable in my PPA and proposed for Karmic.  Started looking up env-agnostic keyring.15:17
CardinalFangTODO: Face duty.  Help pfibiger with yesterday's auth madness in ubunet.  Assist with small bugs.15:17
CardinalFangBLOCKED: None15:17
CardinalFangaquarius: No one expects it!15:17
aquarius⚀ DONE: built a fake music store; built a python RB plugin; synced up with rodrigo; investigated why tomboy sync doesn't work; cried15:17
aquariusTODO: more music store; work out why my notes have been eaten (irony!)15:18
aquariusblocked: none15:18
aquariusrtgz, go for it15:18
rtgzDONE: (null)15:18
rtgzTODO: Update ubuntuone-client-diagnose with the latest bug info. Find more bugs. Test UI on Android and Maemo platforms. Create more feature request tickets. Hack more for "Shared with Me" folder emblem support.15:18
rtgzBLOCK: New Year shopping15:18
rodrigo_aquarius: oh, tomboy sync doesn't work?15:19
* rodrigo_ tries15:19
aquariusrodrigo_, ya. Will fill you in in a moment15:19
rtgzno idea who is next, since ubuntulog will update the log in an hour15:19
aquariusdo not try!15:19
rodrigo_too late, I already tried, and it failed, yeah15:19
aquariusgood, if it failed you're OK15:19
rodrigo_aquarius: so, what's happening?15:19
* rtgz is trying to set up lucid lynx in UML15:20
aquariusrodrigo_, right. Yesterday we did a rollout. After that, our snowy API kept getting 409 Conflict when storing things in Couch, and then dying with a 500 server error, which is what causes tomboy to not sync15:20
aquariusrodrigo_, re-authorising tomboy stops you getting the error15:20
rodrigo_hmm15:20
rodrigo_aquarius: ok15:20
aquariusbut I did that, and then told it to overwrite my local notes with ones from the server, because I'm an idiot15:21
pfibigerrodrigo_: chad is looking at the revisions to see if he can figure out what caused that behavior. it was some change in ubuntuone-server trunk between revisions 2064 and 209815:21
rodrigo_aquarius: when you re-authorize, best thing is to remove all notes from the server15:21
aquariusrodrigo_, I know. Now. :(15:21
rodrigo_pfibiger: ah, ok15:21
mandelaquarius: ping15:23
CardinalFangaquarius, beware the fake music store doesn't become The Real music store.  We may have you wire up the back end to your GrooveShark account.15:23
aquariuspong15:23
aquariusCardinalFang, nya haa!15:23
aquariusCardinalFang, part of the master plan :)15:23
mandelaquarius: mind if I give it a go to port desktopcouch to windows?15:23
CardinalFangRock!15:23
aquariusmandel, yeah, that's a rubbish idea, don't do that, we hate Windows and everything it stands for, and if you do it I'll shout at you15:24
aquarius:-)15:24
aquariusThat'd be fantastic, mate. Anything at all I can do to help, let me know :)15:24
CardinalFangmandel, we were talking earlier about an fait accompli effort to replace gnomekeyring.15:24
aquariusI've done *some* Windows hacking, in the dim and distant past15:24
aquariusthe installer will be the hard thing, I think15:24
mandelaquarius: he, I have to do windows hacking everyday, so no problem15:25
CardinalFangPort dpkg first.15:25
aquarius"run it in wubi" is not a port :)15:25
mandelhehe15:25
CardinalFangmandel, I owe you a review of contacts-wrapper.15:25
mandelno I already have a number of ideas to allow the interprocess communication with the process, kind DBUS, the issue is the keyring15:26
mandelCardinalFang, no problem, dont worry to much about the review, I know what it takes you so long, you... you hate mey ODM (Object document mapper) hehe15:26
aquariusmandel, python-keyring is the answer for the keyring support15:27
rodrigo_brb15:27
aquariusmandel, ralsina (on twitter) has a private codebase that uses it, and homeasvs_ has been looking at it too15:27
aquariusmandel, if you get together with them they may have alreayd done th ework, and landing a branch that does that first will get pretty quick approval from us :)15:27
rtgzQuestion - why does couchdb contacts do not match with vCard/xCard format? The guys were talking about vCards in U1 on the famous podcast two weeks ago and it looks like dc format is somehow evolution-oriented.15:28
mandelaquarius, sweet, so there is a python-keyring one working, 'cause that is just one of the tqo problems15:28
aquariusI believe so, yes15:28
aquariusthe d-bus magic will also have to be changed to a Windows-native way of doing it15:29
aquariusXalior, ping?15:29
aquariusXalior, you're thinking about a desktopcouch port to OS X?15:29
mandelyes, maybe using DDE on windows15:29
aquariusdde? party like it's 1999 :)15:31
aquariusisn't DDE deprecated these days? Raymond Chen is always a bit mean about it15:31
mandelDDE is supported out of the box in the python version for windows, it kinda old but could do the trick, the other is usedin RPC which is complient with OSF DCE which means it " remotly might" be multiplatform15:31
aquariusdoesn't have to be multiplatform, it just has to be windows :015:31
rodrigo_DDE still exists?15:32
aquariusunless "multiplatform" means "windows vista *and* XP"15:32
aquariusrodrigo_, hell yes. (a) MS never break backwards compatibility, and (b) Word still uses it, for a start :)15:32
mandelaquarius, hehe yes DDE is old, but it means no dependencies to other modules for python on windows, and installing python mocules on a win machine is not that easy15:32
aquariusmandel, agreed15:32
aquariusmandel, but...I don't know if you can call a function over DDE and get an answer back, or whether you can only use DDE for starting an app?15:33
aquariusmandel, totally agree about not installing other python modules15:33
rodrigo_it's for RPC iirc, so yeah, you can call a method and get an answer15:33
mandelCardinalFang, getting back to the wrapper, reject it, I think it is too close to OO for a core lib like desktopcouch, maybe it has place in an other project15:33
mandelold school DDE allows to exchange data, and RPC allows to make calls to functions15:35
aquariusthen score.15:35
aquariusDDE sounds like the way; it's certainly the (well, a) native way to do it15:35
aquariusand I think it's really important that desktopcouch works in the native way on each platform, and doesn't try and build a little mini Linux environment on other platforms15:35
mandelok, then I speak with ralsina and homeasvs_ about keyring, and then move to get the IPC working15:37
mandelwell, I'll start from tom (holidays whowhoww)15:37
CardinalFangmandel, I was thinking of a contrib directory or a new project python-dekstopcouch-orm{,-contacts} .15:37
mandelI was thinking to about it  python-dekstopcouch-orm sounds great, 'cause I've already made changes to make it less focus on contacts15:38
aquariusmandel, the reason I also pointed at Xalior is that he's thinking about a desktopcouch port to OS X, and it would be good (if he has time to work on it) if the two of you co-ordinated your efforts to factor out platform-specific stuff int he same way15:38
mandelCardinalFang, the mapping is looking like FluentNHibernate for mapping config15:39
aquariusmandel, so you and he don't factor out platform-specific stuff ina  different way :)15:39
mandelaquarius, sure, I understand, we should do that15:39
mandelI'll get in touch with them15:39
dobeyhmm15:49
CardinalFangmandel, I was thinking about some metaclass hackery that would read some schema description.  Maybe this is an ORM version-2 idea, though.15:50
mandelCardinalFang, probably... I'll finish with what I have and will ask you then, I'm sure you can teach me something new about python :D15:51
mandelnevertheless, reject the merge it fill better in its own project :D15:52
CardinalFangRgr.15:52
CardinalFangmandel, FWIW, I liked everything except the "import *" and "__all__ = ( big long tuple )" .15:54
rodrigo_statik: any reason to have libubuntuone project closed? mandel can't access it15:54
statikrodrigo_, no it should not be closed. i think it was an incorrect default thats old. I'll get it changed15:56
mandelCardinalFang, is there a nicer way to do it?15:57
mandelstatik, very appreciated15:57
statikmandel: no problem, publishing the code is like the very least we can do. thanks for all your work on this project!16:00
CardinalFangmandel, Er, maybe.  I'm not sure.  You have a module/namespace that has all that info.  I would have to test, but *perhaps*  "import foo" "__all__ = foo".  This is more if-I-had-designed-Python than I-have-done-this-before advice.16:00
mandelstatik, thanks16:01
mandelCardinalFang, I know.. is not nice, but after doing the more general orm it would be nicer, I hope16:01
statikmandel, all the branches should be public now16:01
mandel:D16:02
bl8jblount and others: Wiped all Ubuntu One stuff, installed 1.1.0, and now everything seems to work quite fine. Woohoo !16:06
jblountbl8: Great!16:11
sandy|lurkrodrigo_: any news on the new converter, and switching U1 to use the XML from the REST API as the canonical format?16:13
statikwe've got to use canonical formats16:16
statikanything else would be outrageous16:16
sandy|lurk:-P16:16
rtgzdobey, I guess simple  ~/.local/ubuntuone/shares <-> ~/Ubuntu One/Shared With Me/ will do for now, do you have any objections if I start such branch?16:18
dobeyrtgz: you mean to make emblems work correctly for shared with me folders?16:20
rtgzdobey, yup16:20
dobeyrtgz: not really sure at the moment. it might be better to fix nautilus to do the right thing with symlinks16:21
rtgzdobey, we can get the real path for the file name passed to us.16:22
dobeyrtgz: if we maintain a tree with references to NautilusFileInfos, right?16:23
rtgzrtgz, not exactly via nautilus routines, but via canonicalize_file_name call.16:23
dobeywhich is? libc?16:24
rtgzdobey, however, this will be only valid for Shared With Me folder case, not for arbitrary symlink16:24
rtgzdobey, yep, gnu libc16:24
dobeyrtgz: i'd rather not use that method then. if it were some API in glib maybe, as it should handle win32 and such correctly.16:26
Xalioraquarius / mandel: Yeah, I'm gonna look at DesktopCouch over the holidays. There's a few bits that need tweakery. Like MacOS really doesn't have any "on demand service loading", etc.16:50
Xalior(start at login, start at startup, start by hand, don't start)16:50
aquariusI thought launchd did that16:51
aquarius?16:51
aquariusobviously not :)16:52
mandelXalior, I need to look at that in windows too, let me know which generic changes you need for that... we might as well create a branch for us (I think I can find a mac os somewhere ofr testing)16:52
Xaliormandel: minimum of 2G ram, Intel CPU. Since I'll be targeting snowleopard, and that's minimum specs :)16:53
mandelXalior, dammed, you mac people. hehe, I'll do my best, so, should we create a branch? I already got a look at this: http://pastebin.ca/1723816 from ralsina is a good start16:54
dobeyi think dbus is already working on osx16:55
XaliorA STUPID dependancy. And will be removed.16:55
Xaliordbus is (a) not part of standard macos; (b) overkill for a single application to use and (c) a right royal pain in the arse to setup.16:56
XaliorIf you put a dbus dependancy on macos you've removed the ability for most MacOS users to install it, straight out the box.16:56
Xaliorie: last time I looked it required darwinports, which is a bunch of patchfiles and requires you to have xcode/gcc installed :)16:57
aquariusnonono, no d-bus on OS X.16:58
Xalior:-D16:58
aquariusthat'd be like requiring someone to install launchd on Ubuntu; it's possible, but stupid.16:58
aquariususe the native platform mechanism.16:58
Xaliormy point exactly16:59
aquariusmandel, I should note that ralsina's 3-line port to python-keyring has minor fail, in that he hasn't patched desktopcouch.records :)16:59
mandelaquarius, I know.. but we have a starting point17:00
aquarius*nod* yes indeed17:00
mandelabout dbus, same on win platforms wethat is why aquarius mentioned that we should work together, try and make changes as generic as possible17:01
mandelXalior, how can you do IPC in Mac OS X?17:02
aquariusXalior, yeah; since there are platform-specific bits ("how do I get started if I'm not running", "where do I store the keys", "where do I store my files"), I'd like to see those factored out in some kind of  sane way; i.e., no "if sys.platform=='mac'" all over the place :)17:02
aquariusand factoring those bits out should be cool if you two work together; that way, we've got the "platform-specific back end" stuff all nicely in separate modules, and someone who wants to port desktopcouch to another platform just implements that backend17:03
Xaliormandel: start here: http://www.puredarwin.org/curious/ipc#TOC-Forms-of-IPC :)17:03
XaliorThere's some similar bits to dbus in Core-Foundation, used by notifyd.17:04
Xaliorbut that's just a wrapper around Mach-IPC17:04
Xaliorhttp://www.chromium.org/developers/design-documents/os-x-interprocess-communication makes for some very interesting reading, actually. They're WAAAAAY more up to date than my last IPCpokery, 18mo ago, when I was hacking stuff the museum touchscreens :)17:07
mandelXalior, can u use RPC? since DBUS is not use too much we might both be able to use it17:09
Xaliormandel: apple provide an rpc.statd and an rpc.lockd17:11
mandelXalior, nah I dont think we can use that at all17:12
mandelI'll look at what can be done on the windows size and will let you know :D17:13
XaliorMy interest in windows is truely less than none. :)17:13
XaliorAnd having to contort to windows methods will not so much hinder my port, but stop it dead in its tracks :)17:13
XaliorI'm happy to work with someone else who is working on one :)17:14
XaliorBut if I can do it in macos in 2 lines of code, and it takes windows 22 lines, I'll be writing two and leaving the other twenty to someone else :)17:14
Xaliorand, with that in mind, I completely and openly state that I'm doing a port for "my own needs", and if no-one else wants it, I'll cry, but I'll live :D17:14
Xaliormandel: eg: My first port of call would be http://en.wikipedia.org/wiki/Apple_events17:18
mandelXalior, for what I can understand you can an even manager, we might be able to do something with that, use the idea to wrap how the communication is done and use a common interface17:21
Xalioryep. abstract it to a send message/get message call, that is implimented for each platform.17:21
mandelXalior, I can accommodate my code to the APi you use.17:22
aquariusI wouldn't abstract down that far if I were you17:22
aquariusyou don't need a generic sendmessage17:22
mandelaquarius, indeed, I more precise api would be better17:23
mandelbut we can abstract that much and then let the platform code work, should be a good starting point17:23
Xalioraquarius: how much I actually would abstract to a platform generic API would, quite literally depend how much something is used, eg: one call can be if/else/etc - if it's something that's hammered a lot, then wrap it.17:23
aquariusdesktopcouch only sends/responds to a few messages: "start running if you are not already running", "what is your port number", "are you still running", "what are the oauth keys". Implement those as functions, and then back-end them however's most appropriate for the platform. I advise against trying to build a cross-platform messaging abtraction :)17:23
* Xalior orders a taxi to take him home. Taxi, in snow. Let the angry Glasgwegian swearing from someone who thinks that he gets to complain AND get paid at the same time begin.17:28
sandy|lurkrodrigo_: this might also be of interest to you: https://bugzilla.gnome.org/show_bug.cgi?id=60495317:30
ubottuGnome bug 604953 in General "Tomboy XML is whitespace dependant" [Normal,Unconfirmed]17:30
rodrigo_sandy|lurk: oh yeah, related to some of the bugs we have, so adding me to the CC17:31
sandy|lurka user doing some 2-way wiki conversion noticed it the other day17:31
rodrigo_I guess I should trim the strings when converting from HTML to XML17:33
rodrigo_or fix it in tomboy, how hard would it be?17:33
aquariusooh cool http://bl-log.blogspot.com/2009/12/ubuntu-one-on-gentoo.html17:34
aquariusthat should be linked from somewhere. Do we have a "how to install Ubuntu One on other distros" page? I've got one for desktopcouch17:34
sandy|lurkrodrigo_: another stable Tomboy release isn't due for months, so the answer is probably "fix both" :-)17:35
rodrigo_sandy|lurk: ok, I'll add the trimming thing then for now17:36
rodrigo_sandy|lurk: we can remove it later17:36
sandy|lurkI haven't looked into what Tomboy's actually doing here (hence the UNCONFIRMED state), but since we support new lines within list items, it might be a bit tricky17:36
rodrigo_yeah, shift+enter, I just know about it17:38
rodrigo_now I don't have to put all in 1 line!! :D17:38
rodrigo_aquarius: in the tutorials page maybe?17:39
sandy|lurkdoes the file sharing part of U1 require desktop-couch?17:41
sandy|lurkI haven't tried installing any of this stuff yet17:41
sandy|lurk(openSUSE)17:41
metropolisIs there a "right" way to talk to my desktop couch instance, given that it apparently has a randomly-generated username/password combo?17:46
rodrigo_sandy|lurk: no, the file sharing doesn't use desktopcouch17:48
sandy|lurkseems like it should be easy to build, then17:48
bl8aquarius: you're welcome ;)17:48
aquariusbl8, just trying to work out where to link your mastery from :)17:48
bl8Err, "mastery" might be too strong...17:49
sandy|lurkI should install portage on openSUSE17:50
aquariusbl8, hey, if it works, I'm impressed. I'm nowhere near capable of writing ebuilds :)17:51
bl8sandy|lurk: Eh eh, just switch to Gentoo ;)17:51
sandy|lurkbl8: this weekend I'll be decommissioning my last gentoo box17:51
rodrigo_sandy|lurk: homeasvs_ has been doing fedora packages for it, so maybe you can get his packages and try to make them run on suse17:52
sandy|lurkyeah, I think I saw something about that...will google a bit17:52
bl8aquarius: Bah, it's just shell scripts :)17:56
aquariusbl8, homeasvs_, https://wiki.ubuntu.com/UbuntuOne/Ports17:59
mandelcan anyone take a look at this: http://pastebin.ca/1723951 is what I've done so far to allow map a python object to a desktopcouch record in a generic way18:02
Chipacamandel: instead of "def _get_full_name ... full_name = property(_get_full_name)", you could use @property18:16
mandelChipaca, I know (ups). I was trying to show an example where you can map a readonly property, I should have use the @ for the example... The idea is that you can map properties or fields to set the fields in the record, the mapper will do that for you so you just have to care of defining how to place the object in a record18:18
Chipacamandel: where does ClassMapper come from?18:19
mandelI provide that, would be the abstract class that a mapper should extend I added the code here: http://pastebin.ca/172397618:23
mandelChibata, I forgot one line in the copy past, the read record returns the created instance18:25
Chipacamandel: one thing I'd do differently is change ClassMapper.init to take *args and **kwargs that are passed into the callable18:26
Chipacamandel: that would make the api imho nicer, because you'd do18:26
Chipacaself.init(Contact, -1, "", "", "")18:26
Chipacainstead of the lambda18:26
mandelChipaca, brilliant idea!18:27
Chipacamandel: however, I don't know if I'm answering the question you're asking, at all18:27
mandelChipaca, you are, I'm just looking to improve the api, that way people can used desktopcouch by just providing the mappings, no need to add extra code18:28
sandy|lurkSo I just installed the 1.1.0 tarballs and starting the applet I get this: http://paste2.org/p/57403618:29
sandy|lurkand nothing else happens. any ideas?18:29
sandy|lurknot sure if I was supposed to install another tarball for the storage daemon?18:30
bl8sandy|lurk: The sync daemon might be crashing because of missing deps18:42
Chipacasandy|lurk: try running the syncdaemon manually; what happens?18:43
Chipacamandel: would all mapper classes be like that? an __init__ with a mapping declaration spread out across a few method calls?18:44
sandy|lurkChipaca: how do I run the sync daemon manually?18:45
sandy|lurkI don't know the process name18:45
sandy|lurkcommand name, whatever18:45
* sandy|lurk looks for a .service file18:45
Chipacasandy|lurk: /usr/lib/ubuntuone-client/ubuntuone-syncdaemon18:46
sandy|lurkah, libexec18:46
Chipacasandy|lurk: or that was what it was here :)18:46
sandy|lurkthe tarball installs to $prefix/libexec/ubuntuone-syncdaemon18:46
Chipacaoh, ok18:46
sandy|lurkbl8: you're right, thanks18:46
Chipacasandy|lurk: start it with --debug, for extra win18:46
dobeyhmm18:47
mandelChipaca, there can be a single map code that takes a dict, that maps everything at once, plus init and id18:47
mandelChipaca, such as self.map({"field":"attr","field2":prop})18:48
dobeyXalior, aquarius: is there some API like python-keyring, but for IPC methods instead? or do we have to do all that abstraction ourselves? and how will that play with the various bits we use it for that aren't internal communication (like network status)?18:49
sandy|lurkgreat, seem to have gotten through deps. now I'm running into https://bugs.launchpad.net/ubuntuone-client/+bug/487333 , glad I'm not the first :-)18:54
ubottuUbuntu bug 487333 in ubuntuone-client "oauth traceback when token is None" [Undecided,New]18:54
dobeysandy|lurk: what version are you using?18:59
sandy|lurkdobey: 1.1.018:59
rtgz_i think I know the reason why N800 has problems with the web site... ;-)18:59
dobeysandy|lurk: you got that same error dialog?18:59
sandy|lurkdobey: I assume I just need to find the location of that .crt file18:59
dobeysandy|lurk: you're on opensuse, right?18:59
sandy|lurkyes18:59
sandy|lurkthe error dialog is useless...the python error is the same19:00
sandy|lurkso I figure it's the same bug19:00
dobeyhrmm, i thought it used /etc/ssl/certs19:00
sandy|lurkwell, but that same file is not there19:00
dobeysandy|lurk: useless in that it says something about SSL verification failing?19:00
sandy|lurkAuthorization Error, and then a bunch of "Errno" stuff19:01
sandy|lurk[Errno socket error][Error 185090050...tines:X509_load_cert_crl_file:system lib19:01
dobeyok19:01
sandy|lurkI shouldn't say "useless"19:01
dobeyso yeah, that missing file then19:01
sandy|lurknod19:01
sandy|lurk/etc/ssl/certs has a bunch of *.pem files19:03
sandy|lurksite-specific certs19:03
sandy|lurkand files with weird names like f3cf1e8e.019:03
dobeyright19:03
dobeyyeah i don't know why that is19:04
dobeysandy|lurk: is there a ca-certificates package?19:04
sandy|lurkgood thinking19:04
sandy|lurkopenssl-certs19:05
sandy|lurkbut it installs all of those *.pem files19:05
dobeyand no ca-certificates.crt file?19:05
sandy|lurknope19:05
dobeysandy|lurk: what version is it?19:07
dobeysandy|lurk: it looks like the ca-certificates.crt file gets generated on ubuntu by an update-ca-certificates command19:08
sandy|lurk0.9.8h-28.2.119:08
dobeyhmm19:08
sandy|lurkit's extracted from firefox, apparently19:09
dobeythat sounds like it's straight from openssl19:09
dobeysince it has that same version number19:09
CardinalFangpfibiger, where are my oopsen?19:09
dobeybut maybe that's just suse putting the sources in the openssl source rpm19:09
sandy|lurkmaybe19:09
sandy|lurkthe pkg description says "This package contains some CA root certificates for OpenSSL extracted from MozillaFirefox"19:09
dobeysure19:19
dobeysandy|lurk: hrmm, i wonder what to do about that for opensuse then19:29
sandy|lurkdobey: I was just looking at the python docs19:29
sandy|lurkI guess a single file is required19:29
sandy|lurkso I should probably file a bug against the openSUSE package19:29
rtgzokay, N800 does not work with Web UI because GoDaddy Class 2 CA certificate is not installed there and it is not that visible to the end-users19:30
dobeysandy|lurk: i wonder if there's some way we can get all the distros to ship the ca certificates in the same manner and locations19:30
dobeyrtgz: you mean, the ca-certificates.crt isn't there?19:30
sandy|lurkdobey: that would be nice, I think19:31
rtgzdobey, well... haven't found one yet, but I am still browsing the FS...19:31
sandy|lurkdobey: so, of course some apps bundle their own .crt...I tried pointing at one of those and got this error in the daemon when trying to connect from the applet menu item: http://paste2.org/p/57408719:32
dobeysandy|lurk: i don't see any valid reason that they're all different. this really should be something in the LSB i think19:32
sandy|lurkI take it that Firefox should be opening, asking me to authorize my computer, but that has not happened19:32
dobeysandy|lurk: hrmm. weird19:32
dobeyrtgz: dpkg -l|grep ca :)19:33
urbanapehave to run out on a quick errand. bbiab.19:37
rtgzIn order to make maemo work with u1 web server, certs for media.one.ubuntu.com, files.one.ubuntu.com and one.ubuntu.com must be added. But I can't find the CA package in the emulated device. Will borrow the real one (hopefully) next week, might have more info then.20:08
dobeylater all!22:08

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