[03:57] Hi, I am Aruna. I would like to be accepted into the Quickshot developer team. Thank you.. [04:17] Ah.....WTF? [05:11] Sure didn't stay around for long. [05:11] But that's the first person who submitted an application who also found the channel. === bilalakhtar_ is now known as bilalakhtar [21:28] evening [22:01] Hi, jenkins. [22:01] hey flan [22:01] Should I comment the server tonight or would you like me to get started on the client? [22:01] (If the latter, I'll need your direction) [22:02] (Because I dunno what you've got in progress and what's finished) [22:03] yea some help would be good, I am having a go at linking with the server [22:05] the menu needs linking in with all the windows [22:06] and I need to understand the server stuff which is well documented [22:21] For the server, start an interpreter. [22:21] python -i client/__init__.py [22:21] (Loads the client library and gives you an interpreter in its context) [22:23] ok thanks I was going to ask about that. [22:23] Lemme know once that's done. [22:23] also I see there is a download latest function but is there a function to download the list of all the screenshots to do? I have the interpreter loaded [22:32] flan: you are going to kill me but what use is being an interpreter with a file? [22:33] ? [22:33] The usefulness is that you get to play around with the code without writing a script to wrap it. [22:33] It's good for exploring. [22:34] Sorry about the delay in responding. [22:34] no problem, thats what I thought I must not be doing ti right [22:35] (session, details) = build_session_from_qsproj('http://flan.uguu.ca:5000/ump/10-04/', 'en_GB', 'you@example.org', None, None, True) [22:35] Run that. [22:35] Then type 'details' [22:35] You should get a dict with a bunch of data about the project. [22:35] IOError: Unable to parse .qsproj file at 'http://flan.uguu.ca:5000/ump/10-04/' [22:35] Oh. [22:36] Oops. [22:36] session_from_url [22:36] Not qsproj [22:36] qsproj is for loading from a file. They both return the exact same thing, though. [22:36] Loading froma file is just a special case of loading froma URL. [22:36] (The code just extracts the URL and pulls the most recent data from that) [22:37] (So the whole .qsproj thing is just for show and convenience right now) [22:37] ok this makes some sense. if i want the latest screenshot do i type download_latest ? [22:38] If that's what I called it, almost. [22:38] For now, 'session.query_progress()' [22:38] That'll give you the lists. [22:38] (For en_GB) [22:39] And session.query_details('hello') [22:39] That should give you en_GB-localized values for the 'hello' screenshot. [22:39] (If a localization exists) [22:39] (If not, it'll just serve the project default) [22:40] ok thanks makes sense I am just going to re read the file and try some stuff [22:40] Experiment. [22:40] You can't break anything irreparably. [22:40] Oh. Give me an OpenID. [22:41] So I can grant you full access to the project on the server so you can interact with both sides. [22:42] I'm assuming it's https://launchpad.net/~ubuntujenkins [22:43] yep thats me flan [22:43] http://flan.uguu.ca:5000/ You can sign in and change stuff, then. [22:43] thanks [22:43] Fifteen-minute session expiry. [22:43] Feel free to change anything you want. [22:44] If you break something, let me know. [22:44] ok will do [22:45] Oh. [22:45] Actually, test a file upload. [22:45] session.upload_capture(, 'hello') [22:46] (Any PNG. I won't judge you) [22:46] Then try this. [22:46] x = open(, 'rb') [22:46] * jenkins finds a png [22:46] session.upload_capture(x, 'test') [22:49] Found one? [22:50] * flan wants to see~ [22:50] I'll be home in about two hours. [22:50] Maybe an hour and a half. [22:50] * flan needs a haircut. [22:51] sorry found one on my laptop so loads of windows on a small screen [22:51] uploading now on slow intertnet [22:51] You could've just Googled. =P [22:52] I had some santax errors " " are needed around the paths and * are not excepted [22:52] Seems I made a mistake somewhere... [22:53] Ooh. Neat. [22:53] i got ((True, 'Screenshot uploaded', 'project: ump; version: 10-04; language: en_GB; screenshot: hello; uploader: you@example.org; uploader-name: n/a; uploader-homepage: n/a; uploader-anonymous: no'),) [22:53] IOError: cannot read interlaced PNG files [22:53] Oh, yeah. No problem on your end. [22:53] I just forgot to do something. [22:53] The file's uploaded fine. [22:54] -'s [22:54] i don't see the image [22:54] For the reason I just pasted. [22:54] ok cool [22:55] Interesting... [22:56] PIL 1.1.7 is support to support interlaced files, but, apparently, it does not. [22:56] have you taken the server off line? [22:56] No. Why? [22:57] http://paste.ubuntu.com/486038/ may be related to another error [22:57] * the other [22:58] Yeah. It is. [22:58] PIL can't load your file. :( [22:58] Can you upload something non-interlaced while I work this out? [22:58] how do i know if it is interlaced? [22:59] Yours is the first interlaced PNG I've ever seen. [22:59] http://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png [23:00] That one should be fine. [23:00] I will try and save as a non interlaced png [23:00] thats a cool image [23:00] It's Wikipedia's image for the article on PNG. [23:01] First google hit for "PNG". [23:01] Upload that as 'hello'. [23:01] uploading [23:01] i am [23:01] Yes. Much better. [23:01] Though it's all transparency -> black. [23:01] 'Cause I didn't set a transparency mask. [23:02] thats so cool stuff on the server [23:02] What are you guys working on? [23:03] Quickshot. [23:03] Upload it a few more times and play with accept/reject, if you're so inclined. [23:03] Then PM me a list of everything you want me to do with the client tonight. [23:03] (Keep in mind that I only have about two hours today) [23:04] if you could just sort out the menu bar showing all the windows that would b great [23:04] 'Kay. [23:04] Don't be surprised if the structure's different when you wake up, then. [23:05] (I'll be available for questions) [23:05] I am unsure if the branch is broken at the moment i will push a fixed one. you have already done the file for the menu bar that is somewhere in the branch quickshot folder. ok I will wait and see :) [23:07] flan: if you move a files can you just make a list of from and to so that I can change the debian rules stuff correctly [23:17] flan: in line 118 you have session.download_reference(screenshot, quality=70, thumbnail=None) but you have to do session.download_reference("hello", "quality=70", "thumbnail=None") is that ok? I don't get any file but a server error which is to be expected at the moment [23:26] jenkins: hey, how the developement of quickshot is going ? [23:27] hey c7p it is getting there [23:27] cool I find it very interesting as programm [23:28] thanks, how you? [23:29] *are [23:45] night all