| 2013-06-16 19:18:12 utc | phaeron | jmettraux: hello, after a system problem I am getting this https://gist.github.com/iamer/5793069 |
| 2013-06-16 19:18:37 utc | phaeron | ( system hang and reboot ) |
| 2013-06-16 19:25:24 utc | northox | A little more info would be helpful. What storage are you using? What does the process look like? etc |
| 2013-06-16 19:26:21 utc | phaeron | fsstorage. there are multiple processes in the storage. I don't know which one is failing |
| 2013-06-16 19:26:29 utc | phaeron | this is really all I can see right now :) |
| 2013-06-16 20:32:08 utc | jmettraux | phaeron: hello |
| 2013-06-16 20:32:21 utc | jmettraux | you're showing this: https://github.com/jmettraux/ruote/blob/2048bc6ad7c60f67ca9026bda95f3b20efd431b3/lib/ruote/worker.rb#L287-L299 |
| 2013-06-16 20:32:45 utc | jmettraux | but the relevant part is: https://github.com/jmettraux/ruote/blob/2048bc6ad7c60f67ca9026bda95f3b20efd431b3/lib/ruote/worker.rb#L303-L318 |
| 2013-06-16 20:32:58 utc | phaeron | hello. I worked around it for now by removing stuff from the db until the error went away. probably some msg file was incomplete .. |
| 2013-06-16 20:33:21 utc | jmettraux | ok, well done |
| 2013-06-16 20:33:52 utc | jmettraux | northox: thanks for your help, I would have asked for the same thing |
| 2013-06-16 20:33:53 utc | phaeron | fsstorage is easy to debug |
| 2013-06-16 20:34:14 utc | phaeron | but I think that my implementation is missing an error handler ? |
| 2013-06-16 20:34:28 utc | phaeron | (as suggested by the message ? ) |
| 2013-06-16 20:34:53 utc | jmettraux | you implemented it ? |
| 2013-06-16 20:35:12 utc | phaeron | let me link you to the code |
| 2013-06-16 20:35:21 utc | jmettraux | you implemented it ? |
| 2013-06-16 20:35:36 utc | jmettraux | did you implement that storage? |
| 2013-06-16 20:35:59 utc | phaeron | https://github.com/MeeGoIntegration/boss/blob/master/boss#L57 |
| 2013-06-16 20:36:06 utc | phaeron | no it uses standard fsstorage |
| 2013-06-16 20:37:35 utc | jmettraux | handle_step_error is a catchall handler, it's meant to intercept any error that is not handled by regular error handlers |
| 2013-06-16 20:38:00 utc | jmettraux | https://github.com/jmettraux/ruote/blob/2048bc6ad7c60f67ca9026bda95f3b20efd431b3/lib/ruote/worker.rb#L268-L282 |
| 2013-06-16 20:38:04 utc | phaeron | ok , so I should implement that method in my class , right ? |
| 2013-06-16 20:39:06 utc | jmettraux | not really |
| 2013-06-16 20:39:12 utc | jmettraux | you should read the error message |
| 2013-06-16 20:39:22 utc | jmettraux | and deduce from it what is wrong |
| 2013-06-16 20:40:14 utc | phaeron | ok so what I deduced is that there was some corrupted files and I removed them |
| 2013-06-16 20:40:14 utc | jmettraux | "please report issue or fix your fsstorage implementation" |
| 2013-06-16 20:40:31 utc | phaeron | and now I am reporting the issue :) |
| 2013-06-16 20:40:52 utc | jmettraux | phaeron: as northox said, there is not enough information |
| 2013-06-16 20:41:09 utc | phaeron | ok no problems |
| 2013-06-16 20:41:12 utc | jmettraux | this vanilla #handle_step_error is s |
| 2013-06-16 20:41:22 utc | jmettraux | spitting out all the details about the error |
| 2013-06-16 20:41:29 utc | jmettraux | and you only report the header of the error |
| 2013-06-16 20:42:52 utc | phaeron | https://gist.github.com/iamer/f963baaad98e9be8ae0d that was all of it really |
| 2013-06-16 20:43:21 utc | jmettraux | compare with https://gist.github.com/iamer/5793069 |
| 2013-06-16 20:44:05 utc | jmettraux | ok, now it makes sense |
| 2013-06-16 20:44:22 utc | phaeron | sorry must have missed it while copy pasting |
| 2013-06-16 20:47:08 utc | jmettraux | this sort_by <=> changed https://github.com/jmettraux/ruote/blob/2048bc6ad7c60f67ca9026bda95f3b20efd431b3/lib/ruote/storage/base.rb#L100 |
| 2013-06-16 20:47:54 utc | jmettraux | but what you're seeing is a document that is "nil" |
| 2013-06-16 20:48:04 utc | jmettraux | it's making this sorting choke |
| 2013-06-16 20:48:17 utc | phaeron | yes I figured as much |
| 2013-06-16 20:48:28 utc | phaeron | the msg: nil at the end |
| 2013-06-16 20:50:23 utc | jmettraux | https://github.com/jmettraux/ruote/issues/84 |
| 2013-06-16 20:51:19 utc | jmettraux | now this handle_step_error is telling you: "hey, i'm emitting to $stderr, if this is production, you're probably better off with overriding me with a #handle_step_error that sends an email to the admins or something like that" |
| 2013-06-16 20:52:11 utc | phaeron | ok |
| 2013-06-16 20:59:54 utc | jmettraux | have a good night! |
| 2013-06-16 21:00:04 utc | phaeron | good night :) |