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