[haiku-development] Re: input filter: restarting server?

  • From: Pete Goodeve <pete.goodeve@xxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 2 Mar 2016 11:13:03 -0800

On Wed, Mar 02, 2016 at 10:50:17AM +0100, Ingo Weinhold wrote:


I'd suspect the problem to be on the receiving end of the notifications. 
And sure enough, the input server uses AddOnMonitorHandler whose 
AddAddOnDirectories() simply ignores non-existing directories. So unless 
one already has a package in the respective installation location that 
provides the directory for an add-on kind when the input server is 
started, node monitoring for that add-on kind in that installation 
locaiton won't work.

That explains it!  And indeed, if I use the /system tree instead
(where there are already input_server filters), it gets activated
properly.


[BTW, it'd be nice if I didn't have to be online to install the
package without error. (:-/) If I'm not, the installer still tries
to update the depot, and fails with a General System Error.]

You can manually copy your package to ~/config/package to install without 
using HaikuDepot. This should work even when offline, as long as it 
doesn't need to download any dependencies, of course.

If a repository files of all configured repositories is cached already, 
that might work. I'm not entirely sure, though. If a repository file is 
missing, however, I don't think it will work.

Yeah, I can understand things would really fail if it couldn't load
needed dependencies.  In this case, though, there are no dependencies,
so it might be nice if it could recognize that.  As I said, though, it did
install, despite flagging the error.

        -- Pete --

Other related posts: