Sherman Perry

Results 220 comments of Sherman Perry

Yay, my first baby steps into hooking functions/methods worked! And my H2O didn't blow up! Attempting to hook `CheckDatabaseCommand::execute()` didn't work. It must not have a concrete implementation in libnickel?...

Side-note: yes, Sickel does appear to murder Nickel if it freezes... (I err.. managed to introduce a deadlock using FIFO's... oops?)

Having no idea of the call/flow order, `PlugWorkflowManager::onDoneProcessing()` and/or `PlugWorkflowManager::doneProcessing()` looks promising... One must experiment :) It's surprising how much info one can glean just by looking at a list...

And yep, `PlugWorkflowManager::doneProcessing()` works. Now to decide what to do with it. While currently using NickelMenu to experiment, a better solution would probably be to separate it into it's own...

> I've decided against doing it for now for multiple reasons. The way I'd suggest doing it for now is to symlink the parts of NM you need from a...

My original attempt was to try and block `rescan_books_full` until the content import finished. Obviously that didn't work. Note, a named pipe blocks on OPENING until both writer AND reader...

At long last, I'm coming back to this after my (not so little) NickelDBus diversion. The `webui-refactor` branch now has initial NickelDBus integration. The NickelMenu configuration is a bit broken...

> Also broken is replacing existing books, it's something I need to look into. Fixed. I don't think I was opening book files correctly. More specifically, I think the way...

> @shermp: Does the script actually return 0? Does NM actually get the right return code? Yeah, the script does return `0`: ``` [root@(none) scripts]# /mnt/onboard/.adds/kobo-uncaged/scripts/ku-prereq-check.sh -n [root@(none) scripts]# echo...

Ok, this appears to be the culprit: ``` Sep 10 21:02:41 nickel: (NickelMenu) action 0x338643e9 with argument 1000:quiet: /mnt/onboard/.adds/kobo-uncaged/scripts/ku-prereq-check.sh -n : (src/nickelmenu.cc:418) Sep 10 21:02:41 nickel: (NickelMenu) ...success=1 ; on_success=1...