/srv/irclogs.ubuntu.com/2012/06/21/#ubuntuone.txt

JamesTaitGood morning all! :)08:38
=== zyga-afk is now known as zyga
=== yofel_ is now known as yofel
gatoxgood morning!11:08
mandelgatox, morning!11:16
mandelgatox, how are things in the fsevents world?11:17
gatoxmandel, i have to fix a couple of bugs, dirty reactors things and stuff like that (clearly not everything was refactored correctly), but after that is done11:17
mandelgatox, cool, I'm dealing with the encoding of darwin because we cannot use the unix methods.. I'm moving out all the decorators and renaming them to ospath etc.. later ospath will do the right thinig for windos and for darwin and that way we have a single code base for them11:19
mandelgatox, I might move the unix.py back to linux because it does not make sense to have linux.py and unix.py11:19
gatoxmandel, ohh that's cool, right now we are just assigning lambda to that decorators on mac (in my branch)11:20
mandelgatox, this is for os_helper atm..11:23
mandelgatox, and the file system notification that uses them11:23
mandelgatox, I'm moving from is_valid_windows_path to is_valid_os_path for example11:24
mandelwhihc makes more sense in a way..11:24
gatoxmandel, yes..... i'm doing EXACTLY that on the refactor too11:24
TalliesinHi. Is the web client considered part of ubuntu-client, or another project?11:25
gatoxmandel,  but not assigning any behavior for mac.... just return the same function11:25
mandelgatox, I should have a partial fix (just with the refactor in a few mins) so maybe I can propose and you can review it and try to merge it11:25
mandelTalliesin, AFAIK is ubuntuone-servers or something of the kind11:26
gatoxmandel, yes!! that would be save ugly ifs to avoid pyflakes issues11:26
mandelgatox, working as fast as I can without making everything wrong :)11:26
gatoxmandel, no worries..... i have stuff to fix11:27
mandelgatox, with the darwin encoding fix I'll try to sync again my machine, atm is stuck due to local rescan failing..11:27
mandelwhat a set back to my plans ;)11:27
gatox:P11:27
Talliesinmandel: Thanks. Other bugs seem to suggest that. Best of luck with your darwin work. I'm looking forward to getting my mac-using partner onto it.11:30
mandelTalliesin, thx! we should get there in a few months (that means packaged etc..)11:32
TalliesinSweet/11:44
alecuhola everybody!12:21
mandelalecu, morning!12:22
mandelalecu, so, semi bad news from yesterday: stackoverflow.com/questions/9757843/unicode-encoding-for-filesystem-in-mac-os-x-not-correct-in-python12:22
gatoxAlanBell, hi!12:22
mandelalecu, found it by running sd on my music collection and fix in it atm12:22
mandelclassic gatox, says hi to someone else12:23
mandel:)12:23
gatoxjaaaaaa12:23
gatoxAlanBell, sorry.....12:23
gatoxalecu, hi!12:23
AlanBell:)12:25
AlanBellwell hi to you to anyway o/12:25
gatox:P12:25
gatoxmandel, is a technique to make new friends :P12:26
gatoxjejej12:26
mandelgatox, I should try that at the bar..12:27
gatoxmandel, jejeje12:27
alecumandel: I think this is new unicode issue is a tricky one.12:28
alecumandel: what's your proposed solution? to always normalize after reading from the local filesystem?12:28
Chipacaremind me, do we store the paths in unicode?12:29
Chipacaor as bytes?12:29
=== bac` is now known as bac
alecuChipaca: do we store them... where?12:31
alecuChipaca: inside syncdaemon all paths are bytes.12:31
Chipacaalecu: everywhere, i hope :)12:31
Chipacai mean, i hope we aren't converting to unicode on the server and bytes on the client12:31
alecuutf-8 bytes, that is.12:31
Chipacaright12:32
Chipacaosx normalizes unicode before converting it to utf812:32
Chipaca(as everybody should, but don't)12:32
alecuright12:32
Chipacaunfortunately, because they're them, they normalize with something that isn't a standard normalization12:32
alecuChipaca: and we are (very likely) blindly comparing bytes, so we need special care with normalizations.12:33
* alecu wonders if unicode.__cmp__ knows about normalization.12:34
mandelalecu, Chipaca, exactly, so the idea is to normalize it before we send it to sd, we need os_helper to deal with it like we do on windows12:34
Chipacaalecu: it does not12:34
mandelalecu, my idea is to make the decorators do the right thing and share the implementation12:34
Chipacaunicode support in python is quite incomplete12:34
alecumandel: you are simplifying things! we don't know if the utf-8 inside syncdaemon are normalized or not. They can be both and it would fail.12:35
Chipacathe normalization is NFD, but only if the character is not in the ranges: 0x2000-0x2FFF, 0xF900-0xFAFF, 0x2F800-0x2FAFF12:36
mandelok, I bloody hate file systems + unicode + python12:36
Chipaca(apparently; haven't tested this)12:36
mandelalecu, shall we mumble about this after my lunch?12:37
alecumandel: sure12:37
mandelalecu, ok, then I'm off to have lunch12:38
alecuChipaca: do you have a reference to that bit of fact?12:39
Chipacaalecu: the link i had is now broken12:39
* Chipaca is searching12:40
Chipacahttp://developer.apple.com/library/mac/#qa/qa1173/_index.html12:40
Chipacaalecu: ^]12:40
mandelChipaca, alecu, is also in the bug I added to u1-client regarding this with the u1-darwin tag (I mean the qa url)12:43
ralsinagood morning!13:09
alecuhola ralsina!13:09
gatoxralsina, hi13:15
ralsinahola gatox, alecu13:15
=== jdobrien is now known as webm0nk3y
=== webm0nk3y is now known as jdobrien
ralsinaalecu: we'll have to reschedule your 1-1 because it now collides with another call, can we move it to 11:1513:50
alecuralsina: sure13:50
mandelalecu, mumble whenever you are free :)13:55
alecuralsina: I'm starting a mumble with mandel.13:56
ralsinaalecu: then let's do it after the weekly call13:56
alecuralsina: great13:56
mandelalecu, can you hear me?14:00
mandelalecu, are you speaking?14:01
alecumandel: I can't hear you at all.14:01
mandelalecu, por que se llaman los supositorios asi?14:01
mandelalecu, lets me restart the bloody app14:01
alecumandel: I was speaking, all the time.14:01
alecumandel: supongo que... no se!14:01
mandelalecu, por que supon que te gustan :P14:02
=== zyga is now known as zyga-food
alecumandel: jojojo14:14
mandelalecu, jeje14:14
alecumandel: let's switch to here, mumble is sucky for me today.14:14
mandelalecu, yes, please!14:14
mandelalecu, that is what I said over mumble, I don't know if you got it..14:15
mandel@ping14:16
mandelalecu, might be my internet connection :(14:17
mandeloh, no hal here..14:17
alecumandel: @pong14:17
alecumandel: I'm trying to see if my router knows about something that might be eating my upstream bw14:18
alecumandel: can we try mumble a little bit more?14:18
mandelalecu, so, the summary is, lets do listdir with the normalization and do nothing for the rest of the methods, mention in the weekly meeting the issues of the unicode + normalization14:19
mandelalecu, sure, lets me launch it again14:19
ralsinamandel: are we running into files we don't find because they are in another normalization on disk? Really?14:19
alecumandel: now I see the lips turning red, but I can't hear a thing.14:19
mandelalecu, just said things14:20
alecuralsina: osx automatically does some normalization.14:20
mandelralsina, we get encoding errors in the local rescan14:20
alecumandel: I'm declaring my mumble broken.14:20
mandelalecu, +114:20
alecumandel: let me try the one in the laptop.14:20
ralsinaalecu: so does linux, they do different ones though14:20
mandelalecu, ack, I'll me in mumble14:20
alecuralsina: wha wha what?14:20
alecuralsina: where does linux the normalization?14:21
ralsinaalecu: let me find the references14:21
alecuralsina: I always thought linux considered the filenames as "just bytes"14:21
=== m_conley_away is now known as m_conley
mandeldobey, ralsina, is this ok with us: https://github.com/stig/json-framework/blob/master/LICENSE.md14:21
ralsinaalecu: "the preferred way of encoding text in Unicode under Linux should be Normalization Form C"14:22
ralsinaalecu: from http://www.cl.cam.ac.uk/~mgk25/unicode.html14:22
ralsinamandel: looks good to me14:22
mandelralsina, oh.. I removed the lib to use one from apple but it is not supported in 10.6 and we want to support 10.6 right?14:23
ralsinaalecu: hrm wrong doc, I have not seen this in a long time14:23
mandelalecu, cannot hear you14:23
ralsinamandel: yes we do14:23
ralsinamandel: check your volume14:23
ralsinamandel: and your plug :-)14:23
mandelralsina, everything works in my machine.. in theory14:24
mandelralsina, can you jump in mumble? to test it mainly14:24
ralsinamandel: sure14:24
ralsinaalecu, mandel: here's Ned Batchelder on normalizaion of fnames, he knws best, usually ;-) http://nedbatchelder.com/blog/201106/filenames_with_accents.html14:24
ralsinaI hear you both14:25
gatoxahhhhh..... refactor from hell!!14:27
* gatox feels better now14:27
briancurtinralsina: 3.0.2 released and will be picked up by autoupdater...waiting on them to update the http://one.ubuntu.com/windows/release page to 3.0.2 (still shows 3.0.1)14:29
=== zyga-food is now known as zyga
ralsinabriancurtin: remind them just in case, they usually forget that one14:29
briancurtinyeah i sent it on the ticket as a last step before we're done14:29
ralsinamandel, alecu:14:36
ralsina-rw-rw-r-- 1 ralsina ralsina        0 Jun 21 11:36 lé.txt14:36
ralsina-rw-rw-r-- 1 ralsina ralsina        0 Jun 21 11:35 lé.txt14:36
gatoxyes! refactoring complete14:55
joshuahooverdobey: see comment 5 for bug #997326 about the valicert on ubuntu for turkish users ... MassiveTR confirmed that fixed the problem for him...i'm not sure why14:57
ubot5Launchpad bug 997326 in Ubuntu One Client "Users in Turkey can't connect due to invalid Valicert certificate" [High,Triaged] https://launchpad.net/bugs/99732614:57
dobeyjoshuahoover: awesome. :(15:01
briancurtinlooks like mmcc is having problems, might not be in mumble15:01
joshuahooverdobey: uhhh...yeah15:01
gatoxdobey, mumble15:01
ralsinathisfred: mumble15:01
mandelralsina, alecu, briancurtin: delete is not supported on os x https://bitbucket.org/kang/python-keyring-lib/src/59a11c6cb548/keyring/backends/osx_keychain.py and only supported on win 7 on windows https://bitbucket.org/kang/python-keyring-lib/src/59a11c6cb548/keyring/backend.py#cl-78615:18
* mandel hates pykeyring15:18
dobeyok, need to get lunch now. bbiab15:27
gatoxmandel, alecu review please: https://code.launchpad.net/~diegosarmentero/ubuntuone-client/darwin2-fsevents/+merge/11142715:31
dottyHi everyone. Not done any development with Ubuntu One before and don't have much experience with it at all. First, am I right that you can store contacts on Ubuntu One? And secondly, if so, is it possible to grab these out via an API?15:34
* gatox lunch!15:36
=== gatox is now known as gatox_lunch
dottyI am building an application for Ubuntu and would like to connect to Ubuntu One, pull down the contacts and then find if any of those email addresses are also using my application (so people can connect, a la Facebook, etc).15:36
ralsinadotty: maybe beuno can explain that15:37
dottyThanks ralsina15:37
mandelralsina, alecu I'm eod a little earlier today to try and fix the bloody internet connection..15:55
mandelthis thing is driving me crazy..15:55
scarleoHi, is there still a problem with U1 and Picasa upload?15:55
ralsinamandel: it's the blood. It's not a good conducting material.15:55
ralsinamandel: try copper wire instead.15:55
mandelralsina, meh, que chiste mas malo!15:56
ralsinascarleo: doesn't ring any bells, what problem are you experiencing?15:56
ralsinamandel: they are bad, but they are mine!15:56
mandelralsina, hahahaahha see, that one was better :)15:56
scarleoralsina,  when u1 is installed gallery wont show any albums when trying to upload to picasa15:57
scarleoso it fails15:57
ralsinascarleo: what gallery? Sorry, I may be missing some context15:57
scarleoralsina, photo gallery on Android phone, it has an upload feature to upload to Picasa15:57
ralsinascarleo: ok, got it now :-)15:58
ralsinascarleo: karni may be able to help you15:58
scarleoI discussed this with someone on here and did some testing but it was a few months ago15:58
ralsinascarleo: remember the name?15:58
scarleoralsina, sorry, no15:58
ralsinascarleo: it was probably karni or rye, let's hope one of them can give you a hand15:59
* karni reads15:59
scarleoralsina, think it was maybe rye15:59
karniscarleo: not fixed yet https://bugs.launchpad.net/ubuntuone-android-files/+bug/95290716:00
ubot5Ubuntu bug 952907 in Ubuntu One Android Files "Ubuntu One Files hijacks Picasa share option in ICS" [High,Confirmed]16:00
ryekarni: uh16:00
scarleobut now the upload feature seems broken even after uninstalling u1, I'm 100% sure it worked before16:00
scarleoI'm on a Galaxy SIII now16:01
karniI'm on GN, and it never worked for me. I was not able to triage the problem yet :(16:02
karniI have no clue how can it influence Picasa. Must be the account manager, _somehow_.16:02
gatox_lunchneed to reboot16:02
karniI can't understand how one account would influence another.16:02
ryekarni: maybe u1 creates something that later confuses picasa/media scanner?16:04
=== gatox is now known as gatox_lunch
scarleoYes it's very strange. On my last phone, whenever trying to upload to Picasa U1 would pop up and ask for password16:04
karnirye: I see my Picasa albums. The problem is with Picasa upload activity, which does not list Picasa albums.16:04
ralsinaLunchtime for me!16:05
scarleoralsina, have a good lunch :)16:05
ralsinascarleo: thanks :)16:05
ryekarni: hm, i feel an exception is bound to hide somewhere there16:05
ryebut i don't have an emulated device at the moment16:05
karnitoo bad Picasa is not open source. I'd rather debug it then think how U1F can possibly influcence anything, even after uninstalling.16:06
mandelok, EOD for me, laters!16:07
scarleoif you need something tested just tell me, I'll be here for a couple of hours16:08
karniscarleo: thank you. :( http://androidforums.com/samsung-galaxy-nexus/497031-upload-photo-picasa-album-list-blank.html16:10
dottyDo any of the Ubuntu One Android apps automatically upload photos?16:10
karnidotty: Ubuntu One Files16:11
karniif configured to do so.16:11
dottykarni, sweet, thanks16:11
karnidotty: You're welcome16:11
dottyI wish the password requirements for Ubuntu One would be relaxed a touch16:13
dottyI like to judge my password security myself, not be forced :)16:13
karnidotty: To what exactly?16:13
dottyJust something a little more forgiving16:14
karnidotty: Isn't it now 6 chars minimum, and 1 digit?16:14
* karni is not sure16:14
dottyNope.. "Password must be at least 8 characters long, and must contain at least one number and an upper case letter."16:14
karnioh. dotty, we're working on relaxing it.16:14
dottyOh good :)16:14
dottySounds weird but.. that's a big reason I haven't used U1 much16:15
dottyOh man..16:16
dottyU1 has been logging photos all along, photos I had since lost :o16:16
dotty:D16:16
scarleoYou are definitely not alone: https://code.google.com/p/android/issues/detail?id=23439 A lot of apps semm to break Gallery->Picasa upload16:16
scarleoso probably Gallery is the broken one16:17
dottyHm.. Is there any way to get U1 to download all the photos it has stored at once, rather than clicking on them one by one?16:18
=== salgado is now known as salgado-lunch
scarleokarni, just removed my Dropbox account and my Gallery->Picasa upload is back16:21
karniscarleo: :O ?!?16:21
karniscarleo: Also, I'm reading up at http://productforums.google.com/forum/#!msg/mobile/E2tNkWGsALY/SbS5wxUDDfI16:21
scarleoyep16:21
karniscarleo: It seems it's an AccountManager bug rather than U1F. That U1F is launched must be a coincidence.16:22
karniscarleo: Removed my second gmail account, still not working. Will remove Dropbox account now.16:22
scarleokarni, probbably it's because the email is the same then, so maybe I'm trying to log into u1 with another account16:23
karnier.. justhad U1F pop when opening picasa share. kewl.16:24
karnistill no list16:24
karniscarleo: o_O removed my 2nd gmail account, Dropbox account, Ubuntu One account, Picasa is working :O16:25
karniscarleo: This is hugeee man, I couldn't sleep well because of that bug!16:25
scarleohehe, yeah it's scary16:28
* karni adds db account back16:29
scarleokarni, I tried logging in to u1 with another account so I don't have the same email, upload to picasa works fine :)16:30
karniscarleo: WOOOT!?! This is fantastic news16:30
karniscarleo: Er.. hehehe... I installed Dropbox, and Picasa is gone from the share menu.16:31
karnioh, sorry. it's because it's available in the quick share to the side d'oh16:31
scarleoso somehow the accounts are mixed up due to same email16:31
karniAnd there we go! It's broken again!16:31
karniscarleo: You are my hero :)16:32
scarleo:)16:32
scarleoanother good reason to use gmail aliases for different accounts ;)16:33
karniscarleo: Wow, this is awesome. Thank you! I'm thinking of a possible workaround for folks that want to use their gmail account *and* U1 with same e-mail.16:33
karniscarleo: exactly16:33
karniThe thing is, foo@gmail.com and foo+u1@gmail.com is different for Ubuntu One16:33
* karni checkes the preferred e-mail setting16:34
karniscarleo: Workaround for users: Visit https://login.ubuntu.com/ , Click "Manage email addresses", Add gmail alias (such as youremail+u1@gmail.com), Verify the e-mail, use it to sign in to U1 \o/16:37
karniscarleo: You made my day, I'm serious :) Thank you so much.16:37
karniI'll update the bug report.16:37
scarleoWell, thank you for an awesome product :)16:37
karniscarleo: I am sooo happy it's not some uber weird bug that U1 account was causing :)16:39
scarleohehe, me too16:39
karniqengho: Awesome news. scarleo here has helped fixing the Picasa hijack bug. Turns out Picasa has clearly a bug, which is causing more than one account in AccountManager with same e-mail address to conflict (be it Dropbox or U1), and it is sufficient to have one of them installed and configured to have Share with Picasa utterly broken (no album listing, no way to upload to Picasa).16:41
=== gatox_lunch is now known as gatox
karniqengho: I already have a workaround (described above) and will udpate the bug report.16:41
qenghoWhoa.16:42
karni"fixing" - there's nothing to fix, they should fix Picasa :P16:42
karnihehe16:42
dobeyclearly google doesn't want you using anything other than picasa ;)16:43
karnihahah!16:43
karniscarleo: What's your name? I'd like to thank you in the bug report. Should I use your nickname instead?16:44
scarleoI have a launchpad account: Oscar Tiderman16:47
karniscarleo: Thanks Oscar :)16:47
scarleokarni, Glad I could help :)16:48
karniscarleo: Please, I want more users like you :D haha16:48
scarleohaha16:49
karni(My my reactions here you can really see how badly I felt about this bug. I am so happy haha :) )16:49
scarleokarni, Yes I can see that, makes me happy too :D16:51
karni:))16:52
briancurtini forgot to mention this, and i just deleted a ton of emails, but if anyone needs reviews today - let me know, it's my day16:52
karniBug #952907 is now Invalid! \o/17:03
ubot5Launchpad bug 952907 in Ubuntu One Android Files "Ubuntu One Files hijacks Picasa share option in ICS" [High,Invalid] https://launchpad.net/bugs/95290717:03
karnijoshuahoover: rye: scarleo: Left a comment (#11) and updated the bug report ↑17:04
ryekarni: seriously? Now that's... uhm...17:11
karnirye: f'ed up :D17:11
karniI am so happy.17:11
karniNo Critical bugs in U1F now \o/17:11
ryekarni: well, picasa upload interface on 2.2 was also not the smartest application (especially with 100500 albums from G+)... but this is way more interesting.17:12
karnirye: hahah17:12
karnirye: And it was probably picking first account with the default gmail address, which resulted in U1F popping up. d'oh!17:12
ryekarni: aha, that makes sense now17:13
ralsinabriancurtin: saw https://code.launchpad.net/~brian.curtin/ubuntuone-windows-installer/installer-fixes/+merge/11144917:30
ralsinabriancurtin: can I assume this means it now works both for updates and fresh installs?17:30
briancurtinralsina: oh whoops...that is not correct17:31
briancurtini don't know how i pushed that branch17:31
ralsinabriancurtin: thought so :-)17:31
dobeyhrmm17:34
dobeyhas anyone run the tests for dirspec on osx?17:35
gatoxalecu, ping..... branch updated: https://code.launchpad.net/~diegosarmentero/ubuntuone-client/darwin-fsevents-1/+merge/11038217:36
gatoxalecu, so, you can review that one, and the windows refactoring too at: https://code.launchpad.net/~diegosarmentero/ubuntuone-client/darwin2-fsevents/+merge/11142717:36
=== salgado-lunch is now known as salgado
dobeygatox: can you pull lp:dirspec on osx and run the tests real quick?17:43
gatoxdobey, yes17:43
gatoxdobey, success17:45
dobeygreat, thanks :)17:47
mmccNo home Internet still- ircing from my phone. Not a good day18:31
gatoxmandel, ping.... you still around?18:31
dobeymmcc :(18:41
=== zyga is now known as zyga-afk
gatoxralsina, ping...... 1-1?? if you have time..... if not, no problem18:58
dobeyoh snap19:04
dobeyi am idiot19:04
ralsinadobey: checking your use-dirspec branch... what happened to native_path?19:15
dobey    warnings.warn('native_path will be removed soon', DeprecationWarning)19:16
dobeyso i removed the usage19:16
ralsinadobey: ok then19:17
mmccWell I might have networking back later this evening if they can figure it out. Meantime I'm buying a laptop19:31
mmccAnyone here want to discuss moving uniqueapp up a couple of module levels to avoid some unnecessary import order constraints? For background see my great American novel in bug 1015825 and the attached branch19:33
ubot5Launchpad bug 1015825 in Ubuntu One Control Panel "UI does not update after credentials RPC on darwin" [High,In progress] https://launchpad.net/bugs/101582519:33
mmccI'm also curious why the code that worked on windows doesn't work on Darwin. Is there less of a difference between QApplication and QCoreApplication on windows?19:35
ralsinammcc: no, no problem moving it19:37
ralsinammcc: it's only used in two places. OTOH, move it where? ;-)19:37
mmccIn the branch I moved it up to ubuntuone.controlpanel.uniqueapp.19:38
ralsinammcc: we are supposed to keep the Qt-specific stuff segregated19:38
ralsinammcc: why is importing it first causing that much trouble? Because of imports on the containing __init__.py files?19:39
mmccThe important thing is getting if out from under controlpanel.gui19:40
mmccYes it's the init files19:41
mmccArgh typing on an iPhone!!19:41
mmccIs slow19:41
ralsinammcc: understood. Don'tyou have tethering? ;-)19:43
ralsinammcc: or I can call you on the phone19:43
mmccHmmm tethering. No?19:44
mmccI'm ok typing here, I just like to complain :)19:45
ralsinammcc: the ideal solution would be for NO import to trigger a reactor installation19:45
ralsinammcc: since we have been bitten in the past by this19:46
dobeyideal would be to not have to use qt4reactor. but alas19:47
ralsinadobey: yes, ideal, versus IDEAL ;-)19:47
mmccHmmm. There were a few places that triggered it. I went through two trying to see if I could avoid it without moving the uniqueapp init out of main()19:48
mmccAnd there were at least three19:48
mmccWhack a mole19:48
dobeyralsina: i'm just thinking of the children. :)19:48
ralsinammcc: we killed a few of those a few months ago, but the little undergrounders breed :-)19:48
ralsinadobey: we'll get rid of it someday, when we don't use twisted for IPC on windows anymore.Maybe. Eventually.19:49
dobeyyeah. and now also on osx19:49
ralsinadobey: at least we are not adding *new* code for IPC that requires twisted ;-)19:50
mmccIs there a qt ipc solution we could use? Since we use qtnetwork for proxy stuff, qt is in every process we start on macos (iirc)19:51
ralsinammcc: there is one, but it's unusable for us because we don't use Qt in our lower level layer19:51
ralsinammcc: ubuntu-sso-client is qt-free for example19:52
ralsinammcc: and so is syncdaemon19:52
mmccIt is? Qtnetwork is in sso/Utils/webclient , for win & osx19:54
mmccLine 64 of initpy19:55
ralsinammcc: right, forgot about that19:56
mmccHmm , looking at that file, is-qt4reactor-installed isn't really testing the reactor: :)19:57
mmccIt's testing if a qt app obj exists19:57
mmccQt4Reactor  implies qapp exists but not the converse19:58
dobeyi don't think there is a way to tell if a particular type of reactor is installed, is there?19:58
ralsinadobey: repr(twisted.reactor).contains("qt") ?19:58
mmccYeah I dunno.19:58
ralsinammcc: looks like Qt doesn't have a portable IPC mechanism19:59
ralsinammcc: http://doc-snapshot.qt-project.org/4.8/ipc.html19:59
dobeyralsina: i think doing a repr on twisted.internet.reactor will just tell you it's the module object for twisted.internet.reactor19:59
ralsinadobey: hmmm doesn't that get you the installed reactor object?19:59
dobeyralsina: i don't see how/why it would, no20:00
ralsinaWhat we really would need is QCOP but it's only available on embedded platforms :-(20:00
dobeyoh, i guess it does20:00
dobeyprobably because twisted is doing some pretty nasty stuff with python20:01
ralsinadobey: yeah it does :-)20:01
mmccQtnetwork with qlocalsocket would work, no?20:01
mmccOr the qsharedmemory?20:01
mmccWhich is definitely overkill20:02
ralsinammcc: and then we need to do a protocol on top of it20:02
dobeymmcc: we'd have to implement a protocol to send over qlocalsocket i guess; rather than just using one already20:02
dobeymmcc_: we'd have to implement a protocol to send over qlocalsocket i guess; rather than just using one already20:02
ralsinaexactly20:04
mmcc_Is there no higher level qt API that we can just instruct to use qlocalsocket?20:04
ralsinaso, there *are* protocols we could use, like XMLRPC or JSON-RPC but again, massive headache20:04
mmcc_Seems like there should be20:04
ralsinammcc: looks like it's a hole in Qt's API offerings20:04
ralsinaplus, we need it to be async IPC20:05
mmcc_Hmmmm20:06
ralsinawe could use something like zeromq but... life is short?20:06
mmcc_Exactly. I was going to say basically that. Trading known bugs for new ones20:07
=== mmcc_ is now known as mmcc
ralsinammcc: so, it's probably "cheaper" to kill a few moles this cycle20:07
mmccHm, What about python's multiprocessing?20:07
ralsinammcc: multiprocessing is sort of evil20:07
mmccI've used it for toy stuff20:08
ralsinammcc: it's fork without exec, which means it's easy to get into unsolvable problems20:08
mmccAh that's what I was wondering20:08
* ralsina loves multiprocessing, when used with lots of care20:08
ralsinammcc: but then you do something like log to a file opened before forking, and *both* processes crash20:09
mmccWell but do you need to use the process parts?20:09
mmccCant you just use Connection objects between processes you created some other way20:09
mmccI'm just looking for a layer on top of sockets20:10
ralsinaNo idea, really20:11
ralsinammcc: http://rpyc.sourceforge.net/20:12
mmccWell, probably best to keep up the mole hunt as you said...20:12
mmccLooking.20:12
mmccInteresting20:13
mmccSo, twisted is only used for the non-dbus ipc and the tests?20:14
ralsinammcc: and deferreds all over the place but those are replaceable20:15
mmccAh right.20:15
ralsinammcc: there are some other minor things (there is a process launcher in SSO I think?)20:15
mmccYes that rings a bell20:16
dobeywhee20:17
mmccSo back to my fix, since it uses qt, it should not be in the top level package?20:18
ralsinammcc: right20:19
briancurtinputting sso through 2to3 produces a 2300 line diff, but it's mostly really simple stuff20:19
ralsinammcc: and you get to be the latest to try to fix the "importing things installs reactors" bug20:19
briancurtinand with that, i'm heading to the coffee shop, brb20:19
ralsinabriancurtin: just 2300? I am strangely optimistic about that!20:19
briancurtinralsina: i'm putting together a wiki page right now with a separation of the dependencies of what's ported, what's not, some twisted stuff, and try to start figuring out estimates20:20
mmccOk, I will see if I can shake out the reactor installation bug and avoid moving uniqueapp20:20
ralsinabriancurtin, mmcc: cool * 220:20
* ralsina feels so managerial. Manageriastic. Managistral.20:21
mmccBtw, pretty sure we don't even need uniqueapp on Darwin anyway20:21
ralsinammcc: we didn't really need it in Ubuntu at first either20:22
mmccOnce packaged, it's hard to get multiple instances started20:22
mmccAr first?20:22
mmccAt20:22
ralsinammcc: you can't launch it twice from the launcher20:23
mmccThat's good.20:24
ralsinammcc: but it turns out there were places that launch it more than once :-/20:24
mmccWhat pkaces? Would that happen on Darwin too20:24
ralsinammcc: there is a menu where you get a mention if you get a share from another user20:25
ralsinammcc: also there is a settings app that has an icon20:25
ralsinaBoth are unlikely to happen on mac20:25
mmccAh. I see20:25
ralsinammcc: you can just stub it to be a do-nothing class inheriting QApplication20:27
mmccYes, doesn't totally solve this problem tho20:28
gatoxeod for me! bye people20:28
=== mmcc_ is now known as mmcc
dobeyi love tiemout errors on launchpad :-/20:30
dobeyoh wow20:31
dobeythe death to alpha freezes thread totally exploded today20:31
ralsinadobey: indeed20:32
ralsinadobey: people are being accused of being "pointed" and "expressive" or something.20:32
ralsinaDamn, my son just burned his buttcheecks by standing next to the heater20:37
ralsinahe looks like a baboon20:37
briancurtinaww20:38
mmccOw!20:38
ralsinanothing serious, it's fading out already :-)20:39
ralsinathat should teach him a lesson. I am now making him listen to The Police's classic "don't stand so close to me"20:40
joshuahooverralsina: i may cry if this is really happening w/ 3.0.2...from a support request (3.0.2 windows user): When I connect from windows to Ubuntu one, when I login returns me an error like this: Unknown encoding: ascii.20:43
ralsinajoshuahoover: sigh20:43
ralsinajoshuahoover: also wtf, that is not a real error :-/20:44
joshuahooverralsina: well, it's a user who used google translate to send us the message in english so...you never know20:44
ralsinajoshuahoover: grmbl20:44
ralsinajoshuahoover, are there screenshots?20:44
ralsinathe only reference I can find to that error is in lxml, which we don't use20:45
joshuahooverralsina: no, i'll ask...that and logs...but just wanted to give you a heads up or see if that made any sense to you, because it doesn't to me20:45
ralsinajoshuahoover: no, it's a new thing20:45
joshuahooverralsina: k, i'm asking for a screenshot and logs...i wasn't sure if this was the return of some strange unicode bug20:46
ralsinajoshuahoover: we must have an infinite number of those, apparently.20:47
briancurtin:(20:48
ryejoshuahoover: trying to merge my errorneous account now - matiasb's branch went through20:49
joshuahooverrye: cool20:49
dobeywow. inappropriate backlog20:50
dobeyit's a good thing he has ABSOLUTELY NO IDEA what that song is about.20:51
* joshuahoover happily ignores anything he has to scroll back for that doesn't mention his own name ;)20:51
dobey"Unknown encoding: zombie"20:53
dobey        return path.decode(sys.getfilesystemencoding()).encode("utf-8")20:59
dobeyugh20:59
ralsinadobey: indeed.20:59
ralsinaAnd EOD for me21:05
ralsinaSee you all tomorrow!21:06
briancurtinsee ya21:07
dobeyoh i gotta go too21:11
dobeyhave a good evening!21:11
=== m_conley is now known as m_conley_away

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