Elleo | could someone not in the UK try running: mplayer "http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lc1_radio3_p?s=1424386952&e=1424401352&h=d301bd709de22e25057101201fa4934a" and let me know if you hear anything? | 01:08 |
---|---|---|
=== _salem is now known as salem_ | ||
simosx | Elleo, it's a symphony, then clapping. | 01:27 |
simosx | Selected audio codec: AAC (Advanced Audio Coding) [libavcodec] | 01:27 |
simosx | AUDIO: 44100 Hz, 2 ch, floatle, 0.0 kbit/0.00% (ratio: 0->352800) | 01:27 |
simosx | AO: [pulse] 44100Hz 2ch floatle (4 bytes per sample) | 01:27 |
Elleo | simosx: excellent | 01:27 |
Elleo | simosx: it's BBC Radio 3 | 01:27 |
simosx | Elleo, normally it does not stream to non-UK IPs? | 01:28 |
Elleo | simosx: I read in an article that they were expanding their shoutcast services to be available outside the UK, wanted to check to see if it had actually happened | 01:28 |
simosx | ok | 01:28 |
Elleo | simosx: it used to be UK only, but apparently not anymore :) | 01:28 |
Elleo | and as long as you parse the shoutcast playlist yourself media-hub can handle the streams | 01:29 |
Elleo | so I can see about writing either a BBC radio app, or possibly a more generic shoutcast streaming app | 01:29 |
simosx | Elleo, that symphony was conducted by the BBC orchestra (or something), so the test might not be conclusive to all BBC broadcasts. | 01:29 |
Elleo | simosx: that's a live broadcast of whatever's on BBC radio 3 right now | 01:29 |
simosx | Elleo, ah ok. | 01:30 |
Elleo | simosx: apparently the major BBC channels should all be available now except sport (due to licensing issues) | 01:30 |
=== salem_ is now known as _salem | ||
grimx | How come the QtQuick 2.0 controls don't offer a F1 dialog when the mouse is overed over them? | 03:29 |
dholbach | good morning | 07:32 |
sturmflut-work | Chipaca: https://appstore.bhdouglass.com/app/com.chipaca.poke best icon I've ever seen. | 07:35 |
jgm90 | hi guys | 07:49 |
jgm90 | i have a dude | 07:49 |
jgm90 | is posible to force download mp3 file usng html5 app in ubuntu touch | 07:50 |
dpm | dholbach, looking at bug 1416389 now. As per the last comment, I just need to check out the translations-module branch and merge the 1416389 on top, right? | 08:08 |
ubot5 | bug 1416389 in Help for Ubuntu for devices "Make translations possible" [High,In progress] https://launchpad.net/bugs/1416389 | 08:08 |
dholbach | dpm, translations module is already merged in trunk | 08:10 |
dholbach | so just branching lp:~dholbach/ubuntu-devices-help/1416389 should be enough | 08:10 |
dpm | ok, cool | 08:10 |
dholbach | https://code.launchpad.net/~dholbach/ubuntu-devices-help/1416389/+merge/249647 being the MP for it | 08:10 |
dpm | ok | 08:11 |
justCarakas | good morning alll à/ | 08:13 |
justCarakas | o/ | 08:13 |
dpm | dholbach, on translations.py, what's the purpose of backup_documents() - does it backup _everything_ in the source tree previous to modification of files (which will be restored again)? | 08:28 |
dpm | dholbach, also I'm not quite following what you mean on the bug with "the meta-data strings get re-added twice" | 08:37 |
dpm | I generated the .pot now, now trying to generate some translations | 08:38 |
dholbach | dpm, yes, backup_documents() copies stuff back - the idea being that we leave the documents as they are, just try to generate the .pot files without the meta-data strings (ie, save_as:, lang:, etc.) | 08:38 |
dholbach | so for the point in time when we run po4a-gettextize we pretend the documents don't contain those strings | 08:39 |
dpm | dholbach, gotcha. Just an implementation detail and asking out of curiosity - have you considered just copying over the docs to /tmp and then get po4a-gettextize to look at that location? That would remove the need for restoring the data | 08:40 |
dholbach | the problem is that when generate the translated docs (using po4a-translate), the meta-data strings re-appear again - which is a bit of a problem, because we want to write them ourselves (lang being the new language, save_as the new place where we want to store the generated file) | 08:40 |
dholbach | good point | 08:41 |
dholbach | will do | 08:41 |
dholbach | I'll just get another coffee and will get straight to it | 08:41 |
dholbach | that should indeed simplify the code somewhat | 08:41 |
dpm | dholbach, no rush on that, it was just a comment | 08:41 |
dholbach | no worries | 08:41 |
dpm | dholbach, ok, going to look at po4a-translate now | 08:42 |
dpm | getting a drink first too :) | 08:42 |
* dholbach knows the feeling of "I need a drink" - but early in the morning ... ? | 08:48 | |
dholbach | :-P | 08:48 |
dpm | :-) | 08:48 |
dpm | dholbach, I generally use tempfile.mkdtemp and then set it to be removed automatically on exit for these cases | 08:50 |
dpm | just in case you find it useful ^ | 08:50 |
dpm | anyway, now looking at the part that really interests us | 08:51 |
dholbach | yep :) | 08:51 |
mario__ | hi...what package do I need to install in order to use Ubuntu.Web 0.2 components? | 08:58 |
dpm | dholbach, so I ran the build rules separately: | 08:59 |
dpm | cd edit-here && ./generate-translations <- this gave me the translated German files in markdown (as expected) | 09:00 |
dpm | cd .. && make -C edit-here html <- this generated HTML only for the English pages (not sure why it ignored the German .md files) | 09:01 |
dpm | am I missing something? | 09:01 |
dholbach | no, not sure - hum | 09:01 |
dholbach | which files did you find in app/www? | 09:01 |
dpm | just the 4 generated HTML files in English | 09:02 |
dpm | I'll try directly with 'make html' | 09:02 |
dholbach | hum | 09:02 |
dpm | dholbach, is pelican expecting the files in content to be under a 'pages' directory? Because now I've got 'de' and 'pages' under 'content' | 09:04 |
dpm | it seems it's processing only those under 'pages' | 09:05 |
dholbach | yeah, I guess they should be under pages/de? it's been a few days since I looked at the code, so I have to find back into it myself :) | 09:05 |
dpm | I thought so, but that doesn't work, it still seems to ignore the German pages | 09:06 |
dpm | let me look if they are different in any way to the English ones | 09:06 |
dholbach | dpm, ok, I removed the need to backup files | 09:10 |
dholbach | hum........ | 09:11 |
dholbach | -#: content/de/pages/apps.md:2 | 09:11 |
dholbach | +#: /tmp/tmpza2vhfyp/content/de/pages/apps.md:2 | 09:11 |
dholbach | ^ this is probably not what we want | 09:11 |
dpm | dholbach, http://pastebin.ubuntu.com/10321377/ | 09:12 |
dholbach | no .html files? | 09:13 |
dpm | dholbach, yeah, we want a relative path there, but we can figure it out later | 09:13 |
dpm | dholbach, sorry, yeah, .html files, but only the English ones. It seems the build rule rearranges my manual layout, so that the German .md files are still ignored | 09:14 |
dholbach | ok, fixed the relative paths | 09:14 |
dholbach | maybe that's a configuration setting? | 09:14 |
dholbach | let me see | 09:14 |
dpm | i.e. my hunch is that pelican expects it to be under 'pages', but during the build they're being moved up to 'de', so they're ignored | 09:15 |
dpm | ah, pulling your latest branch it seems we're getting somewhere: http://pastebin.ubuntu.com/10321428/ | 09:17 |
dholbach | ok, so we need to change 'generate-translations' to write everything under pages/<lang>/... | 09:17 |
dpm | yeah, but wait, my error was because I still had some files left over from my manual copying | 09:19 |
dpm | ok, build succeeds now, but yes, I think that's what we need to do, get generate-translations to write under pages/<lang> | 09:20 |
dholbach | yep | 09:20 |
dholbach | hang on | 09:20 |
dpm | ok | 09:20 |
dholbach | pushed | 09:21 |
dpm | cool | 09:21 |
dholbach | LP is REALLY fast analysing a newly pushed diff now | 09:21 |
dholbach | nice | 09:21 |
dholbach | like in a MP page | 09:21 |
dpm | Done: Processed 0 article(s), 0 draft(s) and 8 page(s) in 0.08 seconds. | 09:22 |
dpm | \o/ | 09:22 |
dholbach | http://paste.ubuntu.com/10321474/ | 09:22 |
dholbach | the structure still doesn't quite work | 09:22 |
dholbach | it doesn't seem to adhere to "Save_as:" which would override the filename | 09:22 |
dholbach | and authors, categories, archives is stuff we don't need either | 09:23 |
dholbach | but we're slowly getting there | 09:23 |
dpm | dholbach, here's what I got: http://pastebin.ubuntu.com/10321496/ | 09:24 |
dpm | ah, sorry, reading your pastebin | 09:25 |
dpm | dholbach, the final 'lang' on the html files doesn't seem right either, it's always 'en'. How do these tags work? I.e. are pelican or po4a specific? | 09:27 |
dholbach | pelican | 09:27 |
dholbach | damn, I just pushed to trunk | 09:27 |
dholbach | but I found the problem with the Lang: tag - it's fixed, but in trunk now | 09:28 |
dholbach | at least trunk is in a better state than before | 09:29 |
dholbach | I'll create a new branch for further fixes and use --remember :) | 09:29 |
dpm | dholbach, np. I'll just move to trunk. Careful with --remember, I managed to push to trunk once using it too :) | 09:30 |
dholbach | yeah, I still had bzr push :parent in my bash history in another terminal tab | 09:30 |
dholbach | I pressed enter too quickly | 09:30 |
dpm | dholbach, np, just let me know when you've got the new branch with the additional fixes, and I'll switch to that one | 09:31 |
dholbach | dpm, but yeah - trunk is what I have now and the Lang: bits should be correct now | 09:31 |
dholbach | right now it seems to fall over if Title is not translated | 09:31 |
dholbach | ... or something | 09:31 |
dpm | dholbach, does save_as determine the final layout of the generated html files? | 09:32 |
dholbach | dpm, http://docs.getpelican.com/en/latest/faq.html#how-can-i-override-the-generated-url-of-a-specific-page-or-article | 09:32 |
dholbach | maybe we need URL too | 09:32 |
dholbach | or an empty URL: like in the question below | 09:33 |
* dpm needs to learn a bit more about pelican | 09:37 | |
dholbach | dpm, I'm using lp:~dholbach/ubuntu-devices-help/translations-fixes now - I now write URL:/Save_as tags as used in the documentation | 09:40 |
dholbach | the problem I'm now running into is: http://paste.ubuntu.com/10321673/ | 09:40 |
dpm | is this because the untranslated title you were mentioning? | 09:40 |
dpm | Or is it not writing the tag at all? | 09:41 |
dholbach | dpm, what's weird is that if you look at files in content/pages/de | 09:41 |
dholbach | they have Lang/Save_as/Date/URL all written nicely | 09:42 |
dholbach | but a title line (which comes from po4a-translate) is "Title: Get in touch URL: Save_as: pages/get-in-touch.html Lang: en" | 09:42 |
dholbach | which is bizarre, since that string doesn't even turn up in the .pot file | 09:42 |
dpm | yeah, I just saw that | 09:42 |
dholbach | but, even if you replace it with a proper "title" tag, pelican still complains | 09:43 |
dpm | does the title need to be straight after the other tags, or perhaps at the start of the file? It seems now there is a new line between the other tags and Title - looking at pages/de/apps.md | 09:44 |
dholbach | I don't know - I'm just trying to figure it out | 09:46 |
nagu | hi | 09:52 |
nagu | there | 09:52 |
nagu | i'm a ubuntu freak and want to get involved in the development | 09:52 |
nagu | i downloaded the ubuntu sdk | 09:53 |
nagu | i was amazed with scopes and i want to develop one | 09:53 |
nagu | can anyone please guide me in the regard | 09:53 |
nagu | i'm c++ developer | 09:53 |
dholbach | hey nagu | 09:55 |
dholbach | did you have a look at http://developer.ubuntu.com/scopes already? | 09:55 |
nagu | hi | 09:55 |
dholbach | dpm, I just pushed a fix to lp:~dholbach/ubuntu-devices-help/translations-fixes - it's still having problems with the titles though | 09:55 |
dpm | that's awesome nagu, yeah, as dholbach said, and if you've got any questions, feel free to ask here | 09:56 |
nagu | sure | 09:56 |
nagu | s | 09:56 |
dpm | dholbach, ok, pulling, was reading a bit about pelican | 09:56 |
dholbach | nagu, I would recommend to go through the articles in that section - they should help you get started | 09:56 |
nagu | i'm following this https://developer.ubuntu.com/en/scopes/tutorials/write-a-json-scope-in-cpp/ | 09:56 |
dholbach | dpm, http://paste.ubuntu.com/10321859/ | 09:57 |
dholbach | dpm, I did some local manipulation | 09:58 |
dholbach | dpm, it looks like "Title:" needs to go first | 09:58 |
dpm | ah, ok | 09:58 |
dholbach | dpm, and I need to figure out why po4a-translate generates this broken Title line out of nowhere | 09:58 |
dholbach | dpm, I'll let you know once it's done | 09:58 |
dpm | awesome, thanks dholbach! | 09:59 |
dholbach | dpm, thanks for all the help - having a fresh set of eyes on it made all the difference | 09:59 |
dpm | dholbach, no worries, not sure I could help much, but happy we're figuring it out! | 09:59 |
JamesTait | Good morning all; happy Friday, and happy Love Your Pet Day! :-D | 10:04 |
dpm | dholbach, it seems like po4a-translate just removes the \n in the tags at the start of the original English .md file. I.e. it's doing its own rewrapping. Perhaps because it's not standard markdown to have lines of text just after each other separated by a newline? I know you can have that if you prepend them with '-' to make a list, or with 4 spaces for code, but generally there's an extra \n to separate paragraphs | 10:07 |
dpm | in any case, it rewraps the whole file, not just the title (and the other tags along the way) | 10:07 |
dholbach | yeah, my gut feeling is that we have to work around it | 10:07 |
dpm | perhaps there is a --no-wrap option in po4a? | 10:08 |
dholbach | we're doing that in generate_translations anyway :/ | 10:08 |
dholbach | hum | 10:08 |
dholbach | wouldn't that break some of the markdown text? | 10:08 |
dpm | Not sure, but in any case, there only seems to be a --width option available | 10:09 |
mrqtros | popey ping | 10:15 |
popey | hey mrqtros | 10:16 |
popey | mrqtros: how are you ? | 10:16 |
mrqtros | popey hello! | 10:16 |
mrqtros | popey did you see my email? :) | 10:16 |
mrqtros | popey I am fine, thanks, and you? :) | 10:17 |
popey | no.. | 10:17 |
popey | ok :) | 10:17 |
popey | let me see... | 10:17 |
mrqtros | popey mb I choosed wrong address | 10:18 |
popey | ooh! found it, sorry! | 10:18 |
popey | will reply. sorry I missed it | 10:19 |
mrqtros | popey that's ok, I can only imagine amount of work which you do after UP release) | 10:19 |
popey | heh | 10:19 |
nagu | hi | 10:25 |
nagu | i installed qt | 10:25 |
nagu | and when i'm trying to run the sample scope project im getting error that says g++-4.9 is required | 10:25 |
dpm | dholbach, not sure if that helps, but it seems for some reason po4-gettextize already does some strange stuff considering title a separate message to translate but wrapping together all the rest of tags in the .pot file: http://paste.ubuntu.com/10322154/ | 10:26 |
nagu | i did install it | 10:26 |
nagu | but still the system shows gcc-4.8 and the error prevails | 10:26 |
nagu | could u please help me in this regard | 10:27 |
nagu | i'm newbee in ubuntu development | 10:27 |
mrqtros | nagu seems that some time ago I also met such problem | 10:28 |
mrqtros | nagu try to set g++4.9 as default compiler | 10:28 |
dholbach | dpm, yeah, I'm figuring out what's happening :) | 10:28 |
nagu | hi mrqtros | 10:28 |
mrqtros | nagu hi | 10:28 |
nagu | could u please help me | 10:28 |
nagu | sorry i will be asking all the basic stuffs | 10:29 |
dpm | dholbach, if I add two spaces at the end of each tag line, then they appear in their own msgstr in the .pot file as expected. I noticed each Q and A in the doc have also got these two trailing spaces | 10:29 |
nagu | pardon me if that irritates u all | 10:29 |
mrqtros | nagu try to check http://askubuntu.com/questions/466651/how-do-i-use-the-latest-gcc-4-9-on-ubuntu-14-04, especially last answer | 10:30 |
mrqtros | nagu I hope this will help "sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9" | 10:30 |
dpm | nagu, another option is to update to Ubuntu 14.10. I think that'll be easier than messing around with compilers. And scopes development is only partially supported in Ubuntu 14.04 | 10:31 |
nagu | oh is it | 10:32 |
nagu | upgrades have many times screwed my system | 10:33 |
nagu | is there a safe way to upgrade | 10:33 |
nagu | i have cinnamon desktop environment | 10:34 |
nagu | hi dpm thanks for ur response | 10:34 |
nagu | hi mrqtros | 10:34 |
dpm | nagu, sorry, I'm not sure we can support cinnamon here. Not because we don't want to, but I don't think there are many folks around using it | 10:36 |
nagu | i'm seeing this error on qt CMake Error at CMakeLists.txt:9 (message): g++ version must be 4.9! -- Configuring incomplete, errors occurred! See also "/media/hacker/3BF7-72AF/scope/build-myscope-Desktop-Default/CMakeFiles/CMakeOutput.log". | 10:36 |
nagu | i did apply ur solution mrqtros | 10:36 |
mrqtros | nagu and no any result? | 10:37 |
nagu | got this when i applied ur command update-alternatives: using /usr/bin/gcc-4.9 to provide /usr/bin/gcc (gcc) in auto mode | 10:37 |
nagu | any help on that | 10:43 |
dholbach | dpm, we don't want the tag lines to end up in the .pot file | 10:43 |
dholbach | dpm, Title yes, but nothing else | 10:44 |
nagu | hi dpm will it be sufficient if i upgrade to 14.10 | 10:44 |
mrqtros | nagu in 14.10 gcc 4.9 is set by default | 10:47 |
dpm | nagu, yes, but as I say, I'm not using cinnamon, so I don't know how well the upgrade process for Linux Mint works | 10:51 |
dpm | or if the SDK works well there | 10:52 |
dholbach | dpm, https://code.launchpad.net/~dholbach/ubuntu-devices-help/translations-fixes/+merge/250426 | 10:55 |
dpm | dholbach, awesome, works perfectly! | 10:57 |
dholbach | dpm, there might be a prettier solution, but this one seems to work for me and 'make html' will have the correct tree structure | 10:57 |
dpm | dholbach, just one thing: it seems the translated html files still have the <html lang="en"> tag | 10:58 |
dholbach | dpm, I'll file a separate bug | 10:58 |
dpm | ok, cool | 10:58 |
dholbach | dpm, that's probably something which needs to be fixed in the theme somewhere | 10:58 |
nagu | cool | 11:00 |
nagu | thanks dpm and mrqtros | 11:00 |
nagu | will get back once i try those | 11:01 |
dpm | dholbach, would that not be updated dynamically on generating the html files? The theme should only deal with the layout | 11:01 |
nagu | i desprately want to learn scopes development | 11:01 |
dholbach | dpm, shall I land the branch or are you still reviewing it? | 11:02 |
dholbach | dpm, I think it needs fixing in theme/templates/base.html | 11:02 |
dholbach | dpm, right now the bit is static | 11:02 |
dpm | dholbach, I'm still reviewing it, will be ready in a few minutes | 11:02 |
dholbach | ok, no worries | 11:02 |
dholbach | I'll look into bug 1423871 now | 11:02 |
ubot5 | bug 1423871 in Help for Ubuntu for devices "translated html files still have the <html lang="en"> tag" [Undecided,New] https://launchpad.net/bugs/1423871 | 11:02 |
dpm | dholbach, yeah, the html file template is static, but the only place where we can easily update the language for each translation is when creating the html files, I think | 11:03 |
dholbach | dpm, some of the pelican themes seem to make use of the translations data - if you have a look at the output of: "grep -ri transl /usr/lib/python2.7/dist-packages/pelican/themes/" | 11:06 |
dholbach | dpm, I'm wondering if we can massage this into our theme somehow | 11:07 |
dpm | dholbach, not sure. I still don't understand how pelican handles translations. It seems to me we're using it as if we were just using raw html to load a particular $LANG directory and not using any localization capabilities from pelican | 11:09 |
dholbach | mh | 11:10 |
dpm | dholbach, reviewed and approved | 11:28 |
dholbach | thanks dpm | 11:28 |
dpm | added some comments too | 11:28 |
dholbach | dpm, thanks - I'm not quite sure about it either | 11:29 |
dholbach | meaning I have the same questions as you do :) | 11:30 |
dpm | :) | 11:31 |
dpm | hi daker, I didn't manage to follow up on the status, was that merge proposal of yours to add localization support for HTML apps ever merged? | 11:32 |
dholbach | dpm, maybe we don't need the overrides but just use the PAGE_LANG* settings (http://docs.getpelican.com/en/latest/settings.html?highlight=language)? | 11:56 |
dholbach | → lunch, brb | 11:57 |
=== _salem is now known as salem_ | ||
=== MacSlow is now known as MacSlow|lunch | ||
=== MacSlow|lunch is now known as MacSlow | ||
dholbach | balloons, dpm helped me with landing the translations bits, we're getting closer to being open for business :) | 13:36 |
=== rmescandon is now known as rmescandon|lunch | ||
=== rmescandon|lunch is now known as rmescandon | ||
dpm | hi bfiller, do you think someone from your team could have a look at https://code.launchpad.net/~aacid/address-book-app/aim_is_not_aim/+merge/249161 ? It's just a small translation fix - shouldn't take more than a couple of mins to review and would help us get the right translations for the Address Book | 14:25 |
kenvandine | dpm, i reviewed it | 14:45 |
dpm | awesome, thanks kenvandine! | 14:55 |
dholbach | dpm, balloons: https://code.launchpad.net/~dholbach/ubuntu-devices-help/1423871/+merge/250467 | 16:08 |
dholbach | there are still a few small things to be fixed, but I think we're on a good way | 16:08 |
dpm | dholbach, cool, thanks. Not sure if I'll manage today, but I've put it on my list | 16:24 |
dpm | maybe balloons can help so it's not blocking on me | 16:25 |
dholbach | thanks! | 16:25 |
=== chihchun_afk is now known as chihchun | ||
jgm90 | someone know if is possible to download files with ubuntu touch html5 app | 17:03 |
ogra_ | why wouldnt it | 17:03 |
ogra_ | butyou are limited to where you can store them | 17:03 |
ogra_ | (iirc only in ~/.local/share/<appname>) | 17:04 |
daker | jgm90: what do you mean by download files ? | 17:04 |
jgm90 | i test in the sdk | 17:08 |
jgm90 | a webm file | 17:08 |
jgm90 | but it does not download just streaming | 17:08 |
daker | jgm90: you can use the Ubuntu Download Manager to trigger downloads | 17:14 |
daker | from an HTML5 app | 17:14 |
daker | try to look this example https://bazaar.launchpad.net/~webapps/unity-webapps-qml/trunk/files/head:/examples/api-bindings/download-manager/www/ | 17:14 |
daker | since no docs about udm is available yet | 17:15 |
ahayzen | balloons, ping | 17:16 |
balloons | ahayzen, ping pong | 17:16 |
ahayzen | balloons, o/ i'm trying investigate that calendar AP issue ... but it runs and passes for me ... but fails for popey every time | 17:16 |
ahayzen | balloons, note i'm on utopic and he is on vivid ... both running on the desktop | 17:17 |
ahayzen | balloons, i just tried running AP after doing the source export_modules_dir in the UITK but not sure if it actually used the latest UITK or not | 17:18 |
balloons | ahayzen, the calendar thing has an infinite loop in it. I filed a bug. It general it should be fixed regardless. Also, as the functionality has changed the test could really use a revamp anyway | 17:18 |
jgm90 | ok thank you i will try | 17:18 |
balloons | I have something that *should* work, but autopilot is unhappy with me atm | 17:18 |
ahayzen | balloons, which loop in particular? while timelineview.contentX != val: self.app.main_view.swipe_view(direction, self.week_view) ? | 17:19 |
balloons | https://bugs.launchpad.net/ubuntu-calendar-app/+bug/1423582 | 17:19 |
ubot5 | Launchpad bug 1423582 in Ubuntu Calendar App "_change_week in test_weekview.py has infinite loop" [Undecided,New] | 17:19 |
balloons | ahayzen, indeed | 17:19 |
balloons | I massively simplified that method | 17:19 |
balloons | it's quite a mess | 17:19 |
ahayzen | balloons, oh awesome yeah i've been trying to decipher it lol | 17:19 |
popey | balloons: ahayzen this is what it does for me - http://people.canonical.com/~alan/vokoscreen-2015-02-20_17-18-30.mkv | 17:20 |
balloons | ahayzen, lol yes, it's crazy eh! | 17:20 |
balloons | what of the terminal app? | 17:20 |
popey | balloons: https://code.launchpad.net/~flscogna/ubuntu-terminal-app/json-keyboard-profiles/+merge/249754 | 17:21 |
popey | seems to be running the old tests | 17:21 |
popey | the ones from the old terminal | 17:21 |
popey | at least in the dashboard it does | 17:21 |
popey | balloons: https://code.launchpad.net/~flscogna/ubuntu-terminal-app/json-keyboard-profiles/+merge/249754 | 17:21 |
popey | uh, http://ci.ubuntu.com/smokeng/vivid/touch/mako/106:20150220:20150210/12348/ubuntu_terminal_app/ | 17:21 |
ahayzen | balloons, so is your attempt to fix the issue likely to work or should i continue investigating? (it sounds like you have made the code sane as well hehe) | 17:25 |
balloons | ok, so old tests.. let's see | 17:28 |
balloons | ahayzen, let me share my wip | 17:28 |
ahayzen | balloons, thanks | 17:28 |
balloons | ahayzen, lp:~nskaggs/ubuntu-calendar-app/fix-infloop-ap | 17:30 |
ahayzen | balloons, \o/ thanks :) | 17:30 |
* balloons looks at terminal tests | 17:31 | |
balloons | popey, you are correct, looks like it pulls the tests using phablet-click-test-setup.. | 17:33 |
ahayzen | balloons, does your fail with StateNotFoundError: Object not found with name 'Label' and properties {'objectname': 'weeknumber'} on L84? | 17:35 |
balloons | ahayzen, yes.. for some reason I can't get any select's to work.. print_tree shows everything there | 17:36 |
ahayzen | magic :) | 17:36 |
balloons | I actually had it keying off things somewhat differently, and moved to the label since NOTHING was working | 17:36 |
balloons | but yea, the function should be just that simple imho | 17:36 |
balloons | swipe the top, check for the week change (actually I just wanted to wait for moving to be false) | 17:37 |
balloons | ahh yes, it's commented out | 17:37 |
balloons | ahayzen, I do remember now, yes I wanted to grab the view, swipe it and check. self.week_view.select_single('PathViewBase', objectname='weekViewPath') | 17:39 |
balloons | that fails too.. | 17:39 |
ahayzen | weird | 17:39 |
ahayzen | love how the WeekView helper is...empty \o/ ...but the others have things | 17:39 |
balloons | ahayzen, yes, some of the objects are a little fun | 17:39 |
balloons | popey, so I'm confused on the reboot series.. trunk seems to be not getting update, but reboot is | 17:42 |
popey | reboot is the new one. | 17:43 |
balloons | right, but is the manifest info correct so it points to it? | 17:43 |
popey | i think we tried switching focus to the new one and it broke jenkins so we switched back. | 17:43 |
balloons | reboot really should be trunk or you'll have issues I think | 17:43 |
balloons | I need to pull the click from the smoke test; my guess is the manifest is pulling from trunk and the old version | 17:44 |
popey | hmm | 17:44 |
balloons | popey, confirmed ;-) | 17:48 |
balloons | as suspected, you are getting rev 53 of lp:ubuntu-terminal-app tests | 17:48 |
balloons | ahayzen, so if it's also not working for you, I clearly broke something lol | 17:49 |
ahayzen | balloons, ... yeah it is in the *massive* print_tree for me as well though | 17:49 |
balloons | popey, and I note https://code.launchpad.net/~flscogna/ubuntu-terminal-app/json-keyboard-profiles/+merge/249754 is against lp:ubuntu-terminal-app as well.. shouldn't it be against reboot? | 17:49 |
balloons | ahayzen, you can limit depth with print_tree, fyi | 17:50 |
ahayzen | balloons, and even like removing Label and using the app rather than main_view didn't work self.app.app.wait_select_single('*', objectname='weeknumber') | 17:50 |
popey | yes balloons | 17:50 |
balloons | printe_tree(max_depth=2) | 17:50 |
ahayzen | balloons, yeah but it was near the bottom lol ;) | 17:50 |
balloons | ahayzen, :-) | 17:50 |
popey | ahhh! | 17:50 |
ahayzen | balloons, what does vis see? | 17:50 |
balloons | ahayzen, when I looked in vis it saw exactly as expected. Same as print_tree | 17:51 |
ahayzen | balloons, and you said you couldn't pick other things on this view/page as well? | 17:51 |
ahayzen | balloons, you have clearly done something AP doesn't like lol | 17:51 |
popey | balloons: want to leave a comment for Filippon on the merge or shall I? | 17:54 |
balloons | popey, sure I'll do it | 17:57 |
popey | thank you! | 17:57 |
popey | clearly my eyes are working well enough to spot that! | 17:57 |
balloons | popey, or we can simply resubmit actually and land it ourselves | 17:57 |
ahayzen | balloons, is it bad if you can't even reget the weekViewPage from the mainView? | 17:57 |
popey | nah, lets let him re-focus it | 17:57 |
balloons | popey, ok | 17:57 |
popey | he has another merge on the way, so I suspect he's around | 17:57 |
popey | we can land it over the weekend if it works. | 17:57 |
popey | its an awesome addition to the app, so I'm keen for it to land and him to get the glory | 17:58 |
balloons | kk.. so, on the other side of the coin, you should really swap trunk to reboot :-) | 17:58 |
popey | well.. | 17:58 |
popey | yes. | 17:58 |
balloons | OR.. at least update the manifest | 17:58 |
popey | But I need ci people around to make sure we dont break stuff | 17:58 |
popey | because last time we did this we broke _all_ tests on the daily image | 17:59 |
balloons | right.. don't do it today, lol | 17:59 |
balloons | friday afternoon.. perfect time! | 17:59 |
popey | so we were not flavour of the month | 17:59 |
popey | indeed | 17:59 |
popey | because the phablet test run barfed out completely on the _first_ failure | 17:59 |
popey | (which in my mind means the infra is broken, but what do I know? :) ) | 17:59 |
balloons | but you can simply update the manifest to set the vcz-bzr to reboot if you wish | 17:59 |
popey | ya | 17:59 |
balloons | popey, yes.. they really need to move to adt | 17:59 |
ahayzen | balloons, so calling self.app.main_view.get_week_view() works... but calling self.app.main_view.wait_select_single(WeekView, objectname="weekViewPage") from inside the test doesn't ? from what i can see they are the same code? | 18:01 |
balloons | ahayzen, o really? | 18:03 |
balloons | nice catch! | 18:03 |
ahayzen | balloons, but thats mental lol | 18:03 |
ahayzen | balloons, maybe the solution is to implement everything in the helpers properly? hehe | 18:11 |
ahayzen | balloons, that doesn't work lol | 18:14 |
balloons | ahayzen, ohh, failure? | 18:17 |
balloons | If it did work naturally we'd have to scratch our heads as to why | 18:18 |
ahayzen | balloons, yeah if i put the select inside the WeekView class | 18:18 |
ahayzen | (that was for the pathview thing) | 18:18 |
ahayzen | balloons, but what is weird is the get_week_view() in MainView works...but doing a select for the Page in the tests doesn't ... *that* is weird | 18:19 |
balloons | ahayzen, technically I guess some of this stuff should go into the WeekView class | 18:21 |
ahayzen | balloons, yeah probably | 18:21 |
ahayzen | balloons, if it worked ;) | 18:21 |
balloons | so I'm going to restart on this | 18:22 |
ahayzen | ok probably best there is something strange going on | 18:22 |
balloons | so select_many for Label works and gets it | 18:25 |
balloons | ahayzen, so the mystery might just lie in the fact select_many works.. | 18:28 |
ahayzen | balloons, wtf? lol | 18:28 |
ahayzen | balloons, why doesn't (wait_)select_single work? | 18:29 |
balloons | so I select_many and get a single result | 18:29 |
ahayzen | balloons, hmm i get nothing or loads of them, how are you doing it? | 18:32 |
balloons | I'm trying to get the PathViewBase now | 18:32 |
balloons | but the label seemed to be able to get working using select_many; heh | 18:32 |
balloons | I get no results now for select_many.. which is weird, it should error | 18:32 |
balloons | ahayzen, I pushed an update | 18:50 |
* ahayzen pulls | 18:50 | |
ahayzen | balloons, so that swipes the pathview correctly but then fails in _assert_first_day_of_week with MismatchError: 16 != 23 | 18:53 |
balloons | ahayzen, yes.. although actually I see I need to repull the header (as it points to the old one after swiping once) | 18:53 |
balloons | so more or less it should work.. note autopilot still refuses to find the pathviewbase by objectname | 18:53 |
ahayzen | yeah good point | 18:53 |
balloons | ok, now to fix the hobbled test | 18:58 |
balloons | then we'll move things into the helpers | 18:58 |
ahayzen | \o/ | 18:58 |
kenvandine | this feels wrong... but i'm very excited to say i just ran the Bacon2D examples on windows 8 :) | 19:41 |
popey | get out | 19:42 |
kenvandine | <- sick and twisted... i know | 19:42 |
kenvandine | but yay for cross platform games :) | 19:42 |
kenvandine | native that is | 19:42 |
kenvandine | yeah, i just fixed the build for windows | 19:42 |
kenvandine | popey, should work for windows phone and iOS too, but i haven't tried | 19:42 |
kenvandine | so Bacon2D is confirmed to work on Ubuntu, Android and Windows :-D | 19:44 |
* DanChapman is tempted to try re-creating his old scratch based ski game with Bacon2D (http://scratch.mit.edu/projects/2838858/) to see how it works | 19:52 | |
popey | Horace Goes Skiing! | 19:55 |
kenvandine | ha | 19:56 |
kenvandine | DanChapman, do it! | 19:56 |
kenvandine | i'm tempted to try it on windows phone too, QtCreator does let you create a kit for it... I'd have to figure out how to get the emulator running | 20:01 |
popey | how about on jolla? | 20:08 |
popey | their sdk is qtc based too, and self contained last time I looked | 20:08 |
kenvandine | popey, sure, should just work | 20:09 |
kenvandine | Elleo, you have a jolla right? | 20:09 |
kenvandine | Elleo, you should try Bacon2D, just to prove it works :) | 20:10 |
kenvandine | popey, i really want someone with a mac and some ios experience to try it too | 20:10 |
kenvandine | i think there will be some compiler errors right now, but shouldn't be hard to fix | 20:11 |
kenvandine | for someone with a mac | 20:11 |
* popey looks at his mac | 20:21 | |
kenvandine | popey, you should fix the build :) | 20:21 |
popey | haha | 20:21 |
kenvandine | or donate your mac to a good cause | 20:21 |
popey | I want our sdk on osx before bacon2d, sorry :) | 20:21 |
* kenvandine runs | 20:21 | |
kenvandine | i want our sdk on android before osx | 20:22 |
popey | wait, what | 20:22 |
kenvandine | but... it'd be hard | 20:22 |
popey | I mean, I want people with OSX to be able to develop Ubuntu apps first. | 20:22 |
kenvandine | i want qml apps written for ubuntu to also work on android | 20:22 |
popey | oh i see | 20:23 |
popey | we'll get there | 20:23 |
Elleo | kenvandine: yeah, if I ever actually finish my game I'm planning on releasing it for sailfish too | 21:22 |
Elleo | kenvandine: it certainly worked on sailfish with the original box2d version, so doubt there'll be any problems for the bacon2d version | 21:22 |
Elleo | popey: just got granted access to the shoutcast directory service \o/ | 21:23 |
kenvandine | Elleo, cool, cross platform native games FTW | 21:24 |
Elleo | kenvandine: yep, one of my gamedev friends is moving near me in a few months, going to team up with them to try and get it finished when they do | 21:25 |
kenvandine | sweet | 21:26 |
* kenvandine started a download of the windows phone emulator... to try tonight | 21:26 | |
* kenvandine feels like he's cheating on ubuntu :) | 21:26 | |
Elleo | heh | 21:26 |
kenvandine | for purely scientific purposes :) | 21:26 |
popey | Elleo: \o/ | 21:39 |
=== chihchun is now known as chihchun_afk | ||
=== salem_ is now known as _salem | ||
=== _salem is now known as salem_ | ||
=== salem_ is now known as _salem | ||
kenvandine | popey, guess what.. it builds and runs on osx... and it builds for ios too! | 22:05 |
kenvandine | but there isn't an easy way to test running the examples on ios | 22:05 |
kenvandine | we'd have to do more work to set that up | 22:05 |
Elleo | kenvandine: cool | 22:31 |
Elleo | aren't there some licensing issues with Qt + iOS? | 22:31 |
Elleo | something about their store policies iirc | 22:32 |
Elleo | ah, apparently ios 8 supports dynamic linking for apps now | 22:34 |
* dock9 just saw a great presentation by Michael Hall at SCALE. Made me want to develop for an Ubuntu phone - which before I thought was the wrong direction for Canonical. | 23:48 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!