Friday, 2017-02-03

*** anteaya has quit IRC01:57
*** pleia2 has quit IRC01:57
*** pleia2 has joined #storyboard01:58
*** anteaya has joined #storyboard02:03
*** zara_the_lemur__ has quit IRC03:45
*** diablo_rojo has joined #storyboard07:43
*** diablo_rojo has quit IRC08:20
*** fay has joined #storyboard09:00
*** fay is now known as Guest2737209:01
SotKmorning storyboard09:49
Zaramorning!10:05
* Zara notices six is used twice in models.py and vaguely wonders how python3-compatible sb is12:11
Zararemoving the default '1' for story types makes the request work, though then I get a different error (DBError: (InternalError) failed to find conversion function from unknown to text12:36
Zara)12:36
Zarapossibly b/c I removed the default, or possibly because we're doing something mysql-specific for the text, not sure yet12:37
Zaraanyway, since removing https://github.com/openstack-infra/storyboard/blob/4926b471e2ccf0f4adb6e92e9f26769c942ae621/storyboard/db/models.py#L309 made the request succeed, I should probably work out what is going on so I know *why*12:39
Zaraalso I want to learn more about python packaging so we can make our api installable through pip sometime...12:49
Zaratoo many things.12:50
Zaracreating a worklist is fine, adding my broken new story to it is not fine12:54
SotKwhat goes wrong?12:54
Zara(permissions all seem to be working)12:55
Zaraah, that same error , I'll paste the whole thing12:55
ZaraI got a 500 error when creating the story so it's not surprising that it doesn't like displaying it either12:55
Zarahttp://paste.openstack.org/show/597551/12:57
Zarathat's a bit of a wall but I guess it shows what works and what doesn't.12:57
Zaraso far I think it's just stories that fail to be created right12:57
Zaraand browsing for all stories in the api after creating that gives me : http://paste.openstack.org/show/597552/12:58
ZaraI'm inclined to think it wants the story type that I removed the default for to make the request possible, but could be wrong.12:59
Zarait didn't seem to create a task by default when I made it13:00
Zarabut that might just be because the 500 happened before that bit13:00
*** jtomasek has quit IRC14:25
*** jtomasek has joined #storyboard14:26
ZaratristanC: hi! noticed you sent patches for mariadb support, figured I should ask-- I'm resurrecting our postgresql support atm; do you know if folk are interested in storyboard supporting various dbs more generally?15:37
Zara(hm on my test instance with postgres, seems like post for stories works but not post for tasks)16:52
ZaraI think it wants something to be cast as text, anyway, just not sure what yet.17:04
*** Guest27372 has quit IRC17:21
Zaraanyone know how to display a sql query from the web console (if it's possible?) I thought I should look at a POST on storyboard-dev and compare the successful query to the one used on my instance, but looks like the details of the query are only reported when it fails17:28
*** EmilienM has quit IRC17:56
*** tristanC has quit IRC17:56
*** tristanC has joined #storyboard17:56
*** dmsimard has quit IRC17:56
*** dmsimard has joined #storyboard17:57
*** EmilienM has joined #storyboard17:57
*** zara_the_lemur__ has joined #storyboard18:21
tristanCZara: postgresql is popular indeed, but it seems like mysql-like backend are more commonly deployed...23:47
tristanCZara: perhaps sqlite would be a good alternative, at least for dev setup23:47

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