When I click on the "Book" icon in Dillo 1.3.0, select "view page source" from the menu or try to load a page from disk I get the message: "ERROR: can't start dpid daemon (URL scheme='dpi') or 'file' I looked at the code and this message is generated at line 716 in capi.c. However, it looks like the dpid daemon is started at a different place in the code way before it gets to that line. Where in the code does Dillo try to start this daemon? I would like to put some trace messages in there to locate the problem. Georg
On Mon, 11 Jul 2011 16:03:31 -0400, Georg Potthast <mailbox@georgpotthast.de> wrote:
When I click on the "Book" icon in Dillo 1.3.0, select "view page source" from the menu or try to load a page from disk I get the message:
"ERROR: can't start dpid daemon (URL scheme='dpi') or 'file'
I looked at the code and this message is generated at line 716 in capi.c. However, it looks like the dpid daemon is started at a different place in the code way before it gets to that line. Where in the code does Dillo try to start this daemon? I would like to put some trace messages in there to locate the problem.
Georg
It's started in src/IO/dpi.c, in the function Dpi_start_dpid: http://hg.dillo.org/dillo_port1.3/file/e3701d456f60/src/IO/dpi.c#l347 ~Benjamin
On Mon, Jul 11, 2011 at 10:03:31PM +0200, Georg Potthast wrote:
When I click on the "Book" icon in Dillo 1.3.0, select "view page source" from the menu or try to load a page from disk I get the message:
"ERROR: can't start dpid daemon (URL scheme='dpi') or 'file'
What's your OS? Is dpid in your PATH?
I looked at the code and this message is generated at line 716 in capi.c. However, it looks like the dpid daemon is started at a different place in the code way before it gets to that line. Where in the code does Dillo try to start this daemon? I would like to put some trace messages in there to locate the problem.
This is a common message when the dpid is not installed. -- Cheers Jorge.-
On Mon, Jul 11, 2011 at 10:03:31PM +0200, Georg Potthast wrote: When I click on the "Book" icon in Dillo 1.3.0, select "view page source" from the menu or try to load a page from disk I get the message:
"ERROR: can't start dpid daemon (URL scheme='dpi') or 'file'
I looked at the code and this message is generated at line 716 in capi.c. However, it looks like the dpid daemon is started at a different place in the code way before it gets to that line. Where in the code does Dillo try to start this daemon? I would like to put some trace messages in there to locate the problem.
I'm using dillo_port1.3 and needed to specify a more unique location for my installed dpid binary file. So likely for your situation, make sure the default binary location "dpi_dir=/usr/lib/dillo/dpi" is correct. $ cat .dillo/dpidrc #dpi_dir=/usr/lib/dillo/dpi dpi_dir=/home/roger/src/dillo/install/lib/dillo/dpi Also, if you ever kill dillo and upgrade dillo, make sure the old dpid is manually killed or else you'll get odd problems after starting the newer upgraded Dillo. -- Roger http://rogerx.freeshell.org/
participants (4)
-
jcid@dillo.org
-
mailbox@georgpotthast.de
-
obeythepenguin@gmail.com
-
rogerx.oss@gmail.com