/srv/irclogs.ubuntu.com/2012/07/09/#ubuntuone.txt

=== m_conley is now known as m_conley_away
JamesTaitGood morning all! :)08:03
=== mandel` is now known as mandel
mandelralsina, ping!11:37
* mandel is back :)11:37
=== gord is now known as gord|lunch
=== gord|lunch is now known as gord
* mandel lunch13:08
daveonearthOla Ubuntu Oners :)13:37
daveonearthJust saw this feature in dropbox13:38
daveonearthhttp://www.jotform.com/dropbox/13:38
daveonearthAnd Identified it as a brilliant and must have for UbuntuOne13:38
dobeydaveonearth: tell the jotform developers to get on it? :)13:40
daveonearthdobey, I am just about to get in touch with them :) I also thought it might be a great task to add directly in UbuntuOne?13:44
dobeydaveonearth: i don't see any way to do that, which doesn't involve building a web forms service13:45
daveonearthDobey my suggestion is only that U1 offer a URL to it's user that can be cloaked and has a form to upload to a dir in U1 folder?14:16
dobeydaveonearth: any web service could use the REST API to store files in a user's U1 files account14:20
dobeywe don't have fine-grained access control though, so any service you authorize to access your files can access all your files14:21
mmcchi folks. quiet backlog! no standup again today?15:04
dobeymmcc: indeed; also, you've only be on-line for 10 minutes :)15:22
dobeythere's only 4 of us working today15:22
mmccheh, I was looking at the web irclogs too, but I guess that has some lag :)15:30
dobeyah15:31
dobeyok, must get lunch. bbiab15:44
=== zyga is now known as zyga-afk
=== salgado is now known as salgado-lunch
mmccbrb, coffee16:15
ryedobey: u1.to has the upload facility... when it works16:51
ryedoes anybody know how to get ubuntuone pairing record on 12.04 for couchdb?16:52
dobeyrye: "don't" but also you can install desktopcouch-ubuntuone though it might be broken16:57
=== salgado-lunch is now known as salgado
ryedobey: well, contacts syncing was not said to be discontinued, so it is expected to be working17:01
dobeyrye: it is not installed/enabled by default, we don't provide a ui to install/enable it, and we announced we would be dropping support for it. until we turn off the server, it will continue to randomly work or not work, depending on an innumerable number of variables over which no man has any control :)17:02
ryedobey: AttributeError: 'module' object has no attribute 'DBUS_CRED_PATH'17:07
ryedobey: with nightlies :(17:07
dobeyeh?17:08
dobeyrye: what version exactly?17:08
dobeyrye: or is that from desktopcouch?17:09
ryedobey: that's from desktopcouch, frankly speaking i don't see any announcement regarding the future of contacts syncing17:10
dobeyhttps://lists.ubuntu.com/archives/ubuntu-desktop/2011-November/003474.html17:10
* dobey needs to poke about getting desktopcouch pulled from the archive for 12.1017:11
dobeyrye: just saw this too: http://askubuntu.com/questions/161640/what-should-i-do-if-i-didnt-recieve-the-verification-email-for-ubuntu-117:13
ryedobey: contact ISD17:18
ryedobey: answerred17:20
ryer17:20
dobeythanks17:21
mmccdobey: if you have some time, I have a Needs-Information for your Needs-Fixing on https://code.launchpad.net/~mikemc/dirspec/add-exefind/+merge/113782 (and I made some changes to that branch)17:21
dobeyok, will re-review and answer shortly17:24
mmccthanks.17:25
dobeyit's brain thinking time18:50
mmcclunch eating time, over here.19:04
dobeyhrmm20:17
dobeyon win32/darwin, is sys.frozen a boolean or what?20:17
mmccchecking...20:19
dobeysearching the interwebs is not helpful20:21
mmccnope, it is not ...20:22
dobeyand all the examples i see are using hasattr()20:22
mmccright - it's apparently not defined in the sys module, it's set by py2exe and py2app's bootloaders.20:23
dobeyright20:23
mmccpy2app sets it to a string, either 'macosx_app' or 'macosx_plugin'20:23
mmcccx_freeze sets it to a boolean20:24
dobeyah-hah20:24
mmcc(True, obv)20:24
dobeysys.frozen only exists in the executable. It is set to "console_exe" for a console executable, to "windows_exe" for a console-less gui executable, and to "dll" for a inprocess dll server.20:24
mmccand apparently, pyinstaller also sets it to a bool20:24
dobeyok20:25
dobeyso falling back to None should be fine then20:25
mmccyeah, I think so20:25
dobeywas just making sure it wasn't getting added as an attribute that was set to None :)20:25
dobeybecause that would be fun...20:26
mmccI guess we could simplify the platform check a bit, and just check sys.frozen against 'console_exe' or 'macosx-app' or whatever, but actually, then we'd get two cases for windows, so...20:26
mmccyeah20:26
dobeyyeah i'm not sure we want to do that exactly20:27
mmccyeah, no, probably not20:28
dobeymmcc: ok, finally got some comments added to that proposal. hopefully what i said makes sense, and i don't sound like an oppressive tyrant :)20:41
mmccha, dobey. thanks for looking at it carefully. If we're going to try to unify things to pay down tech debt, it's worth getting it right.20:42
mmccnow I'll go read it and we'll see how oppressed I feel20:42
dobeyheh20:42
mmccI'm beginning to think the cross-project exe finder is a bad idea21:05
mmccI'm writing up what the API would look like if we avoid passing in a module, which I agree is kind of gross21:06
dobeywell, it's better than writing the same code N times i guess :)21:10
mmccdobey, I guess that depends on what you think of how it looks with explicit parameters - I just updated the merge with another comment with some details.21:15
mmccif N = # projects instead of # callsites, it might be OK, and the code would definitely be simpler21:16
mmcca good deal of this complexity is because we want to use it for sso and u1_client / controlpanel, and we want dirspec to avoid knowing anything about its clients21:17
=== salgado is now known as salgado-afk
mmccif I wrote one version for sso and one for ubuntuone/platform/ipc, each one could be simpler - you could use the module's __file__ and a local app_names dict, and it wouldn't be so weird21:18
dobeywell it wouldn't be weird, because those aren't libraries that people might use for finding stuff.21:19
dobeyso they can be very specific21:19
mmccexactly.21:20
dobeyand obviously putting in specific things to a generalized place, will seem weird21:20
dobeybut part of those specific things, is also the duplication of some generic code21:20
dobeyand just read your comment21:20
dobeywill need to do a bit more brain thinking on it21:21
mmccsure, while you do that I'll think about your other point - why we need to / shouldn't do the 'python ' prepending...21:21
mmccdobey, I wrote more words about that issue, on the MP. basically, I agree it shouldn't be in the module. we probably shouldn't have to do it at all, but I'm not sure it's worth fixing/replacing buildout before I can move forward on this...21:35
dobeymmcc: ok, i'm not sayinf we should fix/replace buildout as a means of blocking this branch. i do think it needs further discussion though, and i'd like to avoid diverting the core issue of the branch (unifying the find_me_an_executable stuff), by also having that in the branch. perhaps prefixing python in the calling method when needed, for now. mostly i don't understand why this code would ever launch anything that wasn't instal21:41
dobeyanyway, i will also think about that some more as well21:42
mmccoh, I didn't think you were saying fix buildout first, I was just trying to give my understanding of why it's currently necessary to prepend python when running from source.21:44
mmccthe reason it'll launch things that aren't installed is e.g. when I'm running controlpanel from source while trying to fix bugs, it will need to run syncdaemon from source - at least on darwin there's no good 'general' installed location to default to looking in - either it's all in the same packaged wrapper or it's all in wherever we put the source trees.21:45
dobeyright, i understand the /usr/bin/python thing and python path thing. what i don't understand, is why this is happening at all; iow, what is running stuff from the tree where this is a problem?21:45
dobeyah ok21:46
mmccs/packaged wrapper / packaged app bundle/21:46
mmccand the app bundle takes a long time to build, so you really want to be able to run it from the source trees21:46
dobeyright. thanks21:47
dobeyi will think on it a bit more, knowing that21:47
mmcccool. thanks21:47
dobeyand am out of here for now. i'll comment tonight or in the morning, whenever i think of more useful words to put there :)21:48
dobeylater21:48
mmccok, bye dobey. thanks again21:51

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