Wednesday, 2014-12-03

*** Piet has quit IRC00:26
*** MaxV has joined #storyboard04:39
*** r1chardj0n3s is now known as r1chardj0n3s_afk06:14
*** k4n0 has joined #storyboard06:20
*** MaxV has quit IRC07:02
*** openstackgerrit has quit IRC07:50
*** openstackgerrit has joined #storyboard07:50
*** MaxV has joined #storyboard08:20
*** alexismonville has joined #storyboard08:24
*** alexismonville has quit IRC08:24
*** jcoufal has joined #storyboard08:38
*** alexismonville has joined #storyboard08:43
*** jtomasek has joined #storyboard08:48
*** alexismonville has quit IRC09:07
*** alexismonville has joined #storyboard09:08
*** alexismonville has quit IRC09:17
CTtpollardHi guys, im glad to see the refresh token patch and will be merging it to my live instance09:23
CTtpollardI've had a problem since yesterday afternoon (UK) where I can't post storyboard.openstack, on Chromium submitting the story & task with the Save Changes button doesn't complete and just hangs / doesn't respond. I've also tried Iceweasel, but that hangs when passing back my credentials from UbuntuOne and doesn't complete back to Storyboard09:25
*** jedimike has joined #storyboard09:26
*** jcoufal has quit IRC09:40
yolandahi CTpollar09:47
yolandaCTpollard09:48
yolandasometimes i have login problems, but if i refresh the browser it works fine09:48
yolandaare you still having the same problem today?09:48
CTtpollardyep, I heard of a potential loss of DB connectivity yesterday09:49
CTtpollardand hello to you too yolanda :)09:50
yolandaCTpollard, temporary problems?09:51
CTtpollardI'm not sure, I don't really know how I can diagnose the problem, I could try a third browser maybe09:52
CTtpollardI don't use iceweasel by default, but have never had a problem post a story with Chromium in the past09:52
yolandaCTpollard, can you try now?09:53
yolandaworks for me09:53
CTtpollardis posting of img links allowed?09:54
yolandayou can paste links, but they won't be interpreted as images, just it will show the text link09:55
CTtpollardyeh that's fine, I just didn't want to annoy anyone with img links :)09:55
yolandaCTpollard, i just posted a story and task and is fine09:56
yolandai recommend that when you post it, you keep the network inspector open, so you can see any weird behaviour09:56
CTtpollarddone, 500 & 400 errors returned from POST10:12
CTtpollardhttp://i.imgur.com/SZ3sZuH.png?110:12
CTtpollardkk just tried Opera as well, not working either10:41
*** jcoufal has joined #storyboard10:42
yolandacool, thx, i'll file the story for you to investgate11:21
*** mase_x200 has joined #storyboard11:21
yolandaCTpollard, have you tried with something simple, not including slashes, etc? to discard that11:21
yolandaif you can please file a dummy story as simple as possible11:22
CTtpollardYeh I could try that, do you think that could be effecting the serializer / parser?11:22
*** k4n0 has quit IRC11:23
yolandai'm suspecting about some bug with slashes11:23
CTtpollardyes that passed11:24
yolandaso you are a bug-catcher :)11:24
CTtpollardand my actual story does have symbols in it11:24
yolandacan you file a story about that, with your snapshot?11:24
CTtpollardyes :)11:25
CTtpollardmy test story can be deleted11:29
CTtpollardunder web-client11:29
CTtpollarddone: https://storyboard.openstack.org/?state=65L9x4fRu6KPufyocAwf&code=rxGJkEcTuSWrhLBzUsZmjTC2o0PABx#!/story/200005911:35
yolandattx, krotscheck, we have a bug for story submissions, but we had to file some test stories to discover, could you remove them when possible?11:40
yolandaor NikitaKonovalov...11:40
NikitaKonovalovyolanda: unfortuantelly I have no access to StoryBoard log, so we need someone who can find traces for us12:07
NikitaKonovalovjeblair, SergeyLukjanov ^^12:08
yolandaNikitaKonovalov, i mean, remove the test dummy stories we created for testing, using storyboard admin access12:08
yolandai still don't have creds12:08
NikitaKonovalovme neither12:08
yolandaah, i thought you could login into storyboard as admin12:08
yolandaNikitaKonovalov, for the bug, i guess is something with slashes, i can try locally12:12
NikitaKonovalovbtw, we had a bug earlier for special characters somwhere12:13
CTtpollard^ I had not read one regarding that12:13
NikitaKonovalovCTtpollard: let me find it12:14
yolandamm, NikitaKonovalov, something related with "special characters needs more testing" ?12:14
NikitaKonovalovyes, that one12:14
yolandacool12:15
yolandai'd like to have the ability to flag stories as dupes or related them12:15
NikitaKonovalovand as far as I remember most of characters worked correctly12:15
NikitaKonovalovyolanda: there were discussions on story statuses for duplicates12:16
NikitaKonovalovthe solution seems to be "Mark as invalid and leave a link to an existing one"12:16
NikitaKonovalovWe can solve that once and forever with something like convert request body to base64 on client side and back on the server12:18
yolanda+1 for that solution12:18
NikitaKonovalovbut this will fork for http failures12:18
yolandawhat do you mean?12:18
NikitaKonovalovif anything is wrong with storing it in the database, we should think more12:19
yolandabut base64 is a reversible operation so you can decode everything12:19
NikitaKonovalovit is, but we still store things in regular text in the database12:20
NikitaKonovalovwhat if sqlachemy fails on slashes or anything else12:20
yolandai mean storing in the database as base64 encoded12:21
NikitaKonovalovwe cant store base64 in mysql because that will break searching12:21
yolandai think the main problem is with storing in the database so that's where i thought the base64 encode will fit12:22
persiaDatabase-safe escaping routines have been around for a while.  Could one of these be used to clean the text before passing to the DB engine?12:26
jedimikeif sqlalchemy fails because you passed it something that breaks the sql it generates, then we've either travelled back in time to the 90s, or you found a serious bug ;)12:32
SergeyLukjanovyolanda, NikitaKonovalov, do you still need logs?12:34
yolandajedimike, SergeiLukjanov, so the conversation is about the bug CTpollard found, i cannot be sure if that's for special chars because i haven't tested, but he can file simpler stories, so there is some bug related with the content of the story12:35
SergeyLukjanovthe last errors looks like:12:38
SergeyLukjanov[Tue Dec 02 17:07:17 2014] [error] [client 74.202.214.170] OperationalError: (OperationalError) (2003, "Can't connect to MySQL server on '12:38
jedimikeyolanda, if sqlalchemy isn't binding parameters correctly, I'll be shocked :) perhaps column length is more likely?12:38
yolandait also can be that12:39
SergeyLukjanovand there are a log of [Mon Dec 01 16:14:46 2014] [error] [client 87.111.241.205] File does not exist: /var/lib/storyboard/www/config.json, referer: https://storyboard.openstack.org/12:40
SergeyLukjanova lot of*12:40
SergeyLukjanovbingo!12:45
SergeyLukjanovI've found the issue12:45
SergeyLukjanov[Wed Dec 03 10:10:07 2014] [error] DBError: (DataError) (1406, "Data too long for column 'title' at row 1") 'INSERT INTO tasks (created_at, updated_at, creator_id, title, status, story_id, project_id, assignee_id, priority) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s)' (datetime.datetime(2014, 12, 3, 10, 10, 7, 736120), None, 781, 'Change the default behavior of <a:hover>, or add a new class to relevant html and less and amend where appropriate',12:45
SergeyLukjanov'todo', 2000057, 456, None, 'medium')12:45
SergeyLukjanovyolanda, NikitaKonovalov ^^12:45
SergeyLukjanovjedimike, you've been true12:45
jedimikeSergeyLukjanov, lucky guess :)12:46
NikitaKonovalovso looks like 2 things to do here: make titles Unicode(255) so that titles fit, and handle exceptions12:50
yolandaoh, good catch12:56
*** MaxV has quit IRC13:08
CTtpollardjust got back, good find!13:23
*** alexismonville has joined #storyboard13:23
*** alexismonville has quit IRC13:32
*** yolanda has quit IRC13:39
*** yolanda has joined #storyboard13:39
*** alexismonville has joined #storyboard13:47
*** jcoufal has quit IRC13:55
openstackgerrityolanda.robla proposed openstack-infra/storyboard-webclient: Read user preferences from backend  https://review.openstack.org/13779813:56
*** jcoufal has joined #storyboard13:56
yolandaCTpollard, SergeyLukjanov, so thx for the feedback, i'll update the story properly14:07
yolandaNikitaKonovalov, i updated story about max lengths https://storyboard.openstack.org/?state=65L9x4fRu6KPufyocAwf&code=rxGJkEcTuSWrhLBzUsZmjTC2o0PABx#!/story/200005914:18
yolandacan you think on another task needed?14:18
*** alexismonville1 has joined #storyboard14:23
*** alexismonville has quit IRC14:23
*** alexismonville1 has quit IRC14:33
NikitaKonovalovthe story looks good to me. I just raised the API priority to high14:47
NikitaKonovalovAnother strange thing I see is the url ^^. For some reason an authroization code and state were not cleared out14:48
NikitaKonovalovbut that's another issue for sure14:48
*** mase_x200 has quit IRC14:53
yolandayes, maybe one issue raised the other14:57
*** MaxV has joined #storyboard15:23
*** shakamunyi has joined #storyboard15:29
krotscheckSo, thge maxchar issue in tasks I modified with the inline task patch, but not in the new story modal.17:02
*** MaxV has quit IRC17:05
*** wdutch has quit IRC17:07
*** jcoufal has quit IRC17:30
*** mattfarina has joined #storyboard17:32
*** jedimike has quit IRC18:04
*** MaxV has joined #storyboard19:11
*** MaxV has quit IRC19:17
*** MaxV has joined #storyboard19:18
*** r1chardj0n3s_afk is now known as r1chardj0n3s19:54
*** Piet has joined #storyboard20:27
mordredkrotscheck: eslint. seen it? any good?20:59
krotscheckmordred: Not familiar. Looking.21:00
mordredkrotscheck: asking because it doesn't seem to have the license weirdness that freaks people out about jshint21:00
mordredkrotscheck: so if it doesn't suck, then yay, less strife21:00
krotscheckmordred: Will need some rule tweaking, but it works.21:04
mordredkrotscheck: cool. super low priority - but good to know that it's a thing that could be used and whatnot21:05
*** jtomasek has quit IRC21:06
*** MaxV has quit IRC22:14
*** MaxV has joined #storyboard22:22
*** mattfarina has quit IRC22:30
*** MaxV has quit IRC22:40
*** Piet has quit IRC23:28
*** r1chardj0n3s is now known as r1chardj0n3s_afk23:52

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