Thank you Harald

the error is raised by a failed attempt to read a file, actually a Tcl script, which is not 'sourced', it's read and stored in memory

The problem could arise from a structural flawed design of the test suite as I have developed it from its original functionalities: basically you need to install rivet in order to be able to test it. I can't make out exactly what the SuSE build service does, but I suspect the environment is not perfectly set up when the test runs.

A better test suite could be a goal for this year

 -- Massimo


On 02/09/2018 08:49 PM, Harald Oehlmann wrote:
Hi Massimo,

thank you !

I have tried to put it on open build service.

It builds well but a test fails (on SuSE Tumbleweed):

[   53s] Will load mime_module /usr/lib64/apache2/mod_mime.so
[   53s] Will load rivet_module
/home/abuild/rpmbuild/BUILDROOT/apache2-mod_rivet-3.0.1-1.1.x86_64/usr/lib64/apache2/mod_rivet.so
[   53s] Will include
/home/abuild/rpmbuild/BUILDROOT/apache2-mod_rivet-3.0.1-1.1.x86_64/etc/apache2/conf.d/mod_rivet.conf
[   55s] Starting Apache ... FAILED,
/tmp/apache2-mod_rivet-test/error_log: >&2
[   55s] [Fri Feb 09 19:39:39.340521 2018] [rivet:error] [pid 6704]
(20014)Internal error (specific information not available): mod_rivet:
could not read rivet default handler
[   55s] See /tmp/apache2-mod_rivet-test for details
[   55s] FAILED, /tmp/apache2-mod_rivet-test/error_log:
[   55s] [Fri Feb 09 19:39:39.340521 2018] [rivet:error] [pid 6704]
(20014)Internal error (specific information not available): mod_rivet:
could not read rivet default handler

Maybee, many things changed since 2.x...

So, the install command is:

if [ -x %{_sbindir}/a2enmod ]
then
         if ! a2enmod -q rivet; then
                 a2enmod rivet
         fi
fi

Rivet conf file:

# Let the module handle .rvt and .tcl files.
AddType application/x-httpd-rivet  rvt
AddType application/x-rivet-tcl    tcl

# The default charset can be specified in the configuration
AddType "application/x-httpd-rivet; charset=utf-8" rvt

# Add index.rvt to the list of files that will be served
DirectoryIndex index.rvt

The full log is attached.

Thanks for any help to the occacional worker...

Enjoy,
Harald

Am 09.02.2018 um 19:18 schrieb Massimo Manghi:
I just released rivet 3.0.1 and should be available soon from the ASF
distribution. This bugfix release basically includes

  * the namespace determination in librivet has been revised to
    avoid to check for the module globals and therefore avoiding
    the inclusion of mod_rivet.h

  * a few details in the worker bridge have been fixed

  * the lazy bridge has been extensively commented

  * documentation has been expanded and corrected in various sections

  -- Massimo



---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org

Reply via email to