*** anteaya has quit IRC | 01:57 | |
*** pleia2 has quit IRC | 01:57 | |
*** pleia2 has joined #storyboard | 01:58 | |
*** anteaya has joined #storyboard | 02:03 | |
*** zara_the_lemur__ has quit IRC | 03:45 | |
*** diablo_rojo has joined #storyboard | 07:43 | |
*** diablo_rojo has quit IRC | 08:20 | |
*** fay has joined #storyboard | 09:00 | |
*** fay is now known as Guest27372 | 09:01 | |
SotK | morning storyboard | 09:49 |
---|---|---|
Zara | morning! | 10:05 |
* Zara notices six is used twice in models.py and vaguely wonders how python3-compatible sb is | 12:11 | |
Zara | removing 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 text | 12:36 |
Zara | ) | 12:36 |
Zara | possibly b/c I removed the default, or possibly because we're doing something mysql-specific for the text, not sure yet | 12:37 |
Zara | anyway, 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 |
Zara | also I want to learn more about python packaging so we can make our api installable through pip sometime... | 12:49 |
Zara | too many things. | 12:50 |
Zara | creating a worklist is fine, adding my broken new story to it is not fine | 12:54 |
SotK | what goes wrong? | 12:54 |
Zara | (permissions all seem to be working) | 12:55 |
Zara | ah, that same error , I'll paste the whole thing | 12:55 |
Zara | I got a 500 error when creating the story so it's not surprising that it doesn't like displaying it either | 12:55 |
Zara | http://paste.openstack.org/show/597551/ | 12:57 |
Zara | that's a bit of a wall but I guess it shows what works and what doesn't. | 12:57 |
Zara | so far I think it's just stories that fail to be created right | 12:57 |
Zara | and browsing for all stories in the api after creating that gives me : http://paste.openstack.org/show/597552/ | 12:58 |
Zara | I'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 |
Zara | it didn't seem to create a task by default when I made it | 13:00 |
Zara | but that might just be because the 500 happened before that bit | 13:00 |
*** jtomasek has quit IRC | 14:25 | |
*** jtomasek has joined #storyboard | 14:26 | |
Zara | tristanC: 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 |
Zara | I think it wants something to be cast as text, anyway, just not sure what yet. | 17:04 |
*** Guest27372 has quit IRC | 17:21 | |
Zara | anyone 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 fails | 17:28 |
*** EmilienM has quit IRC | 17:56 | |
*** tristanC has quit IRC | 17:56 | |
*** tristanC has joined #storyboard | 17:56 | |
*** dmsimard has quit IRC | 17:56 | |
*** dmsimard has joined #storyboard | 17:57 | |
*** EmilienM has joined #storyboard | 17:57 | |
*** zara_the_lemur__ has joined #storyboard | 18:21 | |
tristanC | Zara: postgresql is popular indeed, but it seems like mysql-like backend are more commonly deployed... | 23:47 |
tristanC | Zara: perhaps sqlite would be a good alternative, at least for dev setup | 23:47 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!