How to run a script when the interpreters initialise?

2012-07-02 Thread Georgios Petasis
Hi all, My Rivet configuration is: # Loads the module. LoadModule rivet_module modules/mod_rivet.so # Let the module handle .rvt and .tcl files. #AddType application/x-httpd-rivet rvt #AddType application/x-rivet-tcltcl # The default charset can be specified in the configuration AddType "

Re: How to run a script when the interpreters initialise?

2012-07-02 Thread Georgios Petasis
Στις 2/7/2012 15:02, ο/η David Welton έγραψε: RivetServerConf GlobalInitScript "/var/www/rivet/server/global_init.tcl" RivetServerConf ChildInitScript "/var/www/rivet/server/child_init.tcl" RivetServerConf ChildExitScript "/var/www/rivet/server/child_exit.tcl" RivetServerConf UploadDirectory "/v

Tcllib's package log crashes Rivet...

2012-07-02 Thread Georgios Petasis
Hi all, I just found out that the following code crashes Rivet (SVN version): package require log ::log::lvSuppress info0 ::log::logMsg "Hello!" Also "::log::log info" crashes Rivet. All other levels (warning, notice, error, etc.) work as expected. Is there a reason for this? What is so

How to return an error page?

2012-07-02 Thread Georgios Petasis
Hi all, I am writing a rest service in Rivet. When an error occurs, how can I return an error page? I have tried "headers numeric 500". Firefox sees that the server responded with an internal server error, but I see a blank page. How can I use the apache default error page? George --

Re: R: How to return an error page?

2012-07-03 Thread Georgios Petasis
ssue a request for a different URL which might create the error page. See also the 'headers' and 'no_body' commands -- Massimo --Messaggio originale-- Da: Georgios Petasis A:rivet-dev@tcl.apache.org Rispondi a:petas...@yahoo.gr Oggetto: How to return an error page? Inviato: 3

Re: R: How to return an error page?

2012-07-03 Thread Georgios Petasis
flexibility Did you check this page about error customization in Apache? http://httpd.apache.org/docs/2.0/custom-error.html -- Massimo On 03.07.2012 09:14, Georgios Petasis wrote: Does this mean that I have to design my own error page? George Στις 3/7/2012 01:57, ο/η Massimo Manghi έγραψε: A

What is the preferred command to escape XML characters?

2012-07-03 Thread Georgios Petasis
Hi all, What is the preferred (i.e. "better") way in Rivet to escape XML character when constructing XML? I see that two commands exist: escape_sgml_chars string ::rivet::encode string (I know that I should use an XML extension for constructing XML like tdom, but it is a really simple XML

How to get XML posted to a tcl script?

2012-07-03 Thread Georgios Petasis
Hi all, I have written a small tcl client that uploads an XML file, using code from the wiki: http://wiki.tcl.tk/13675 The url is a Rivet tcl script, and I have used "xml" as the "form field". The Rivet script contains code like: if {![var exists xml]} { ::entityBuster returnErrorPage "

Re: How to get XML posted to a tcl script?

2012-07-04 Thread Georgios Petasis
Στις 4/7/2012 11:02, ο/η Massimo Manghi έγραψε: On 2012-07-03 20:17, Georgios Petasis wrote: Hi all, I have written a small tcl client that uploads an XML file, using code from the wiki: http://wiki.tcl.tk/13675 The url is a Rivet tcl script, and I have used "xml" as the "f

Re: How to get XML posted to a tcl script?

2012-07-04 Thread Georgios Petasis
Στις 4/7/2012 11:18, ο/η Harald Oehlmann έγραψε: Am 04.07.2012 10:12, schrieb Georgios Petasis: Στις 4/7/2012 11:02, ο/η Massimo Manghi έγραψε: It doesn't matter, it seems that the following works: set xmldata [upload data xml] set xmldata [encoding convertfrom utf-8 $xmldata] The proble

Re: Rivet 2.0.5 binaries

2012-07-04 Thread Georgios Petasis
Στις 4/7/2012 12:54, ο/η Harald Oehlmann έγραψε: Rivet 2.0.5 rpm packages are available (since last friday) at: http://software.opensuse.org/package/apache2-mod_rivet?search_term=rivet for system/version: openSUSE: Factory, 12.1, 11.3, 11.4, Tumbleweed, SLE-11 SP1, SLE-11 CentOS: 5, 6 Red Hat: 5,

Re: Rivet for Windows Apache 2.x

2012-07-20 Thread Georgios Petasis
Στις 20/7/2012 15:51, ο/η Massimo Manghi έγραψε: No, there is no recent build of Rivet for Windows. At the EuroTcl conference held in Munich from 6 to 8 July Jan Nijtmans explained his work on the build system of application based on the Tcl C library using cygwin. It could open the chance to b

Re: Is ServerInitScript still supported?

2012-08-03 Thread Georgios Petasis
Dear Massimo, I also don't know what is happening. Yes, I am using the prework MPM, apache creates a set of httpd processes, I can see them running. I have a script that loads some stuff of my ellogon platform. The script works if I use it as "GlobalInitScript" or "ChildInitScript". But when

Re: APR build for Windows

2012-08-05 Thread Georgios Petasis
Dear Massimo, Since there is some interest, I am trying to build a windows binary for windows (using the 32 bit distribution from apache, cmake and microsoft compiler). I have made some progress, but I have a few problems: a) Where is "SERVER_CONFIG_FILE" defined? Grep in the (built) linux

Re: APR build for Windows

2012-08-06 Thread Georgios Petasis
Στις 6/8/2012 14:03, ο/η Massimo Manghi έγραψε: On 2012-08-05 16:54, Georgios Petasis wrote: Do you think any important definition missing? (Although now I am think it, tcl stubs must not be used...) I forgot this last important point. The rule of thumb I learned from Jan Nijtmans when I

Re: APR build for Windows

2012-08-06 Thread Georgios Petasis
that specific function but I left it around, because I used it myself developing mod_rivet -- Massimo On 2012-08-06 16:21, Georgios Petasis wrote: Dear Massimo, What is SERVER_CONFIG_FILE usde on mod_rivet.c, and where it is defined? Regards, George -

Re: APR build for Windows

2012-08-06 Thread Georgios Petasis
Στις 7/8/2012 01:41, ο/η Georgios Petasis έγραψε: Dear Massimo, I think I have made significant progress with the windows port. I have managed to create the 3 dlls (mod_rivet.dll, rivetlib.dll, rivetparser.dll). I have copied mod_rivet.dll in modules/mod_rivet.so of my windows apache

Re: APR build for Windows

2012-08-07 Thread Georgios Petasis
Στις 7/8/2012 03:12, ο/η Massimo Manghi έγραψε: Hi Georgios, congratulations, really well done! On Tue, 2012-08-07 at 01:41 +0300, Georgios Petasis wrote: Dear Massimo, I think I have made significant progress with the windows port. I have managed to create the 3 dlls (mod_rivet.dll

Re: APR build for Windows

2012-08-07 Thread Georgios Petasis
Στις 7/8/2012 03:22, ο/η Massimo Manghi έγραψε: On Tue, 2012-08-07 at 02:43 +0300, Georgios Petasis wrote: Dear Massimo, I have managed to setup rivet in my pc, and works (sort of). Everything seems to run, init.tcl gets executed, all packages are loaded (including the two dlls), and then a

Re: APR build for Windows

2012-08-07 Thread Georgios Petasis
Στις 7/8/2012 17:08, ο/η Massimo Manghi έγραψε: Hi Georgios I'm starting to enjoy this very productive thread quite a lot. On 2012-08-07 12:04, Georgios Petasis wrote: I am using 2.2, and there is a good reason for it: there is a windows binary available in apache: very good reason i

Re: APR build for Windows

2012-08-08 Thread Georgios Petasis
Στις 8/8/2012 02:27, ο/η Massimo Manghi έγραψε: I could create a 'threaded-mpm' branch where we can work and put our patches at will. Just let me know and it will be done in minutes. This is a great idea. I have never used branches, but we want to keep the experimental stuff separate... You ma

Rivet & DELETE...

2013-05-16 Thread Georgios Petasis
Hi all, I am trying to create a REST api in Rivet, but I am having problems with the DELETE http method. What I get in the client, is HTTP 500, internal server error. I am not sure if my tcl script gets called. Has anyone tried this? George

Re: Rivet & DELETE...

2013-05-16 Thread Georgios Petasis
, Georgios Petasis <mailto:petas...@yahoo.gr>> wrote: Hi all, I am trying to create a REST api in Rivet, but I am having problems with the DELETE http method. What I get in the client, is HTTP 500, internal server error. I am not sure if my tcl script gets called.

Rivet & DELETE...

2013-05-16 Thread Georgios Petasis
Hi all, I am trying to create a REST api in Rivet, but I am having problems with the DELETE http method. What I get in the client, is HTTP 500, internal server error. I am not sure if my tcl script gets called. Has anyone tried this? George --

Re: Rivet & DELETE...

2013-05-16 Thread Georgios Petasis
otationTool/hierarchy.tcl/1. The tcl script I am calling is a modified version of the code I have posted here: http://wiki.tcl.tk/37976 I am out of ideas. GET, POST, PUT, all work. I am having problems only with DELETE. George Στις 16/5/2013 22:01, ο/η Georgios Petasis έγραψε: Στις

Re: Rivet & DELETE...

2013-05-16 Thread Georgios Petasis
ebservices/AnnotationTool/simple.tcl. George Στις 16/5/2013 23:43, ο/η Massimo Manghi έγραψε: please would you post a sample script that causes the 500 error code? -- Massimo On 05/16/2013 09:01 PM, Georgios Petasis wrote: Στις 16/5/2013 21:43, ο/η Jeff Lawson έγραψε: Make sure you are using Rivet 2

Re: Rivet & DELETE...

2013-05-16 Thread Georgios Petasis
wed for the URL /webservices/AnnotationTool/simple.tcl. George Στις 16/5/2013 23:43, ο/η Massimo Manghi έγραψε: please would you post a sample script that causes the 500 error code? -- Massimo On 05/16/2013 09:01 PM, Georgios Petasis wrote: Στις 16/5/2013 21:43, ο/η Jeff Lawson έγραψε: Make sure you

Re: Rivet & DELETE...

2013-05-17 Thread Georgios Petasis
16, 2013 at 4:50 PM, Massimo Manghi <mailto:mxman...@apache.org>> wrote: likewise there is no 405 or HTTP_METHOD_NOT_ALLOWED reference in Rivet C code -- Massimo On 05/16/2013 11:26 PM, Georgios Petasis wrote: If it is a configuration problem, what may

Re: Rivet & DELETE...

2013-05-17 Thread Georgios Petasis
php in the same directory works, rivet returns a 405 error. Any ideas? George Στις 17/5/2013 10:55, ο/η Georgios Petasis έγραψε: I tried with this: DirectoryIndex index.html index.htm index.shtml index.cgi index.tcl index.rvt AllowOverride None Order allow,deny Allow from all R

Re: Rivet & DELETE...

2013-05-17 Thread Georgios Petasis
e URL /~manghi/index.rvt. Apache/2.2.22 (Ubuntu) Server at localhost Port 80 -- Massimo On 05/17/2013 10:24 AM, Georgios Petasis wrote: I am not sure this is a configuration problem. I have created the following php file (method.php), in the same directory as the rivet tcl script:

Re: Rivet & DELETE...

2013-05-19 Thread Georgios Petasis
quest.c This thread brings up the problem with the rather choosy attitude in mod_rivet's design as to the request handling. Maybe it's time for a general review and simplification of the code involved in the request selection. -- Massimo On 05/17/2013 11:34 AM, G

Re: GSoC for Rivet

2014-02-17 Thread Georgios Petasis
Dear Massimo, Στις 14/2/2014 19:15, ο/η Massimo Manghi έγραψε: I wish to take up the opportunity of GSoC for submitting a project. I can work as tutor for it mod_rivet can only work with non-threaded MPM (Multi-Processing Module). An attempt to create a threaded module had been made by George

Re: GSoC for Rivet

2014-03-01 Thread Georgios Petasis
eorge -- Massimo On 02/17/2014 10:02 AM, Georgios Petasis wrote: Dear Massimo, Στις 14/2/2014 19:15, ο/η Massimo Manghi έγραψε: Yes, sorry for that. What I did was: Added a CMake makefile for rivet. This allowed to build rivet under many platforms, including windows. I have tested with WIndows

Re: APR controlled threads running Tcl scripts

2014-03-16 Thread Georgios Petasis
Στις 11/3/2014 11:55, ο/η Massimo Manghi έγραψε: I promised to provide a proof of concept about a program where APR threads are running Tcl interpreters. Yesterday I wrote one based on an example taken from the APR tutorial programs. It worked. I had little doubt, but since I promised... Since G

How to avoid timeouts during long processing?

2014-11-22 Thread Georgios Petasis
Hi all, I have a quite lengthy computation exposed as a service through rivet. What I have observed, is that apache after some time, thinks that the process running my computation has stuck, and starts the same computation in a second process. Is there a way to avoid this? Regards, George

Re: How to avoid timeouts during long processing?

2014-11-24 Thread Georgios Petasis
stops, but it sends some feedback to the client (I know about starting a process and check the status with subsequent calls, but unfortunately the system was not designed this way) Best regards, George let me know -- Massimo On 11/22/2014 12:26 PM, Georgios Petasis wrote: Hi all, I have a

Re: How to avoid timeouts during long processing?

2014-11-25 Thread Georgios Petasis
On 25/11/2014 01:33, Massimo Manghi wrote: On 11/24/2014 06:58 PM, Georgios Petasis wrote: Well it is a badly designed system. I have a lengthy calculation (like 8 yes, definitely hours). So the caller (which is an apache tomcat, written in java) calls my service (apache2 + rivet), and waits

Re: How to avoid timeouts during long processing?

2014-11-25 Thread Georgios Petasis
On 24/11/2014 20:28, Jeff Lawson wrote: It's probably best to perform such long processing as a separate crontab or daemon that runs your Tcl code, rather than doing it all as a single Rivet page. Your Rivet page should instead initiate the processing by using a database or a file to store new

Rivet SVN HEAD...

2014-12-15 Thread Georgios Petasis
Hi all, I have just compiled the latest HEAD of Rivet from SVN under Ubuntu 14.10 64 bit. While I don't get an error while calling a simple script (which contains only a simple "puts hello"), nothing is returned. Any ideas why? (No error is printed in /var/log/apache2/error.log either.) Rega

Re: Rivet SVN HEAD...

2014-12-15 Thread Georgios Petasis
arget-dir=/usr/lib/tcltk/rivet2.2 \ --enable-version-display Best, George -- Massimo On 12/15/2014 04:25 PM, Georgios Petasis wrote: Hi all, I have just compiled the latest HEAD of Rivet from SVN under Ubuntu 14.10 64 bit. While I don't get an error while calling a simple script (whic

Re: Rivet SVN HEAD...

2014-12-15 Thread Georgios Petasis
=experimental or --with-rivet-code=apache-2 -- Massimo On 12/15/2014 04:39 PM, Georgios Petasis wrote: On 15/12/2014 17:30, Massimo Manghi wrote: Hi George did you build the experimental or the traditional (apache-2) code? Hm, I don't know. I followed (my) instractions here: http://www.ellogo

Re: Rivet SVN HEAD...

2014-12-15 Thread Georgios Petasis
EFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="mime.types" -D SERVER_CONFIG_FILE="apache2.conf" George -- Massimo On 12/15/2014 05:14 PM, Georgios Petasis wrote: Dear Massimo, Thanks for the inf

Re: Rivet SVN HEAD...

2014-12-15 Thread Georgios Petasis
experimental code you have the option of running also worker. The event MPM should work with the threaded bridge but I have to check if the right bridge gets loaded -- Massimo On 12/15/2014 05:26 PM, Georgios Petasis wrote: On 15/12/2014 18:16, Massimo Manghi wrote: which MPM are you running? Do you

How to compile trunk?

2015-12-09 Thread Georgios Petasis
Hi all, I am trying to compile rivet trunk under ubuntu 15.04, but something seems wrong. What I did: autoreconf -fi sh configure --enable-64bit --enable-threads \ --with-tcl=/opt/ActiveTcl-8.6/lib \ --with-tclsh=/opt/ActiveTcl-8.6/bin/tclsh8.6 \ --with-apxs=/usr/bin/apxs2 \ --with-rivet-c

Re: How to compile trunk?

2015-12-10 Thread Georgios Petasis
rivet-target-dir=/usr/lib/tcltk/rivet3.0 -- Massimo On 12/09/2015 08:46 PM, Georgios Petasis wrote: Hi all, I am trying to compile rivet trunk under ubuntu 15.04, but something seems wrong. What I did: autoreconf -fi sh configure --enable-64bit --enable-threads \ --with-tcl=/opt/ActiveTcl-8.

Re: How to compile trunk?

2015-12-10 Thread Georgios Petasis
et with apache 2.4.x without a single glitch, are you using the prefork or worker MPMs? -- Massimo On 12/10/2015 03:20 PM, Georgios Petasis wrote: Dear Massimo, Thank you for the corrections. I was able to compile the trunk, but it fails to load due to a missing symbol. Using the newly releas

Re: How to compile trunk?

2015-12-10 Thread Georgios Petasis
ion directory (/usr/lib/apache2/modules). That's important because the bridges go to the rivet installation directory (/usr/lib/tcltk/rivet3.0/mpm in your case) -- Massimo On 12/10/2015 06:37 PM, Georgios Petasis wrote: The missing symbol was "bridge_jump_table". The test

Re: chart of new (sub)project proposals

2016-01-12 Thread Georgios Petasis
Dear Massimo, On 8/1/2016 17:05, Massimo Manghi wrote: - Supporting Apache webserver on Windows systems. Actually I don't know lately what is the real interest around the Apache HTTP web server on Windows, but I had been asked by some Tcl'ers years ago and their interest might haven't waned

Re: chart of new (sub)project proposals

2016-01-12 Thread Georgios Petasis
orate a point on this issue? Or better, why not committing your work as a starting point for further development if you can't doing it yourself? -- Massimo On 01/12/2016 11:53 AM, Georgios Petasis wrote: Dear Massimo, On 8/1/2016 17:05, Massimo Manghi wrote: - Supporting Apache we

Is anybody using Ubuntu "trusty"?

2016-03-24 Thread Georgios Petasis
Hi all, I have to write code that will run in ubuntu 14.04. They have a rivet package (libapache2-mod-rivet), but it is linked to tcl 8.5.15, which is ancient. No TclOO, no tdbc. Is there a package that links to tcl 8.6? I see the packages are available, but no rivet update. It seems it hasn

Re: Is anybody using Ubuntu "trusty"?

2016-03-30 Thread Georgios Petasis
but in any case avoid rivet 2.2.1 -- Massimo On 24-03-2016 19:03, Georgios Petasis wrote: Hi all, I have to write code that will run in ubuntu 14.04. They have a rivet package (libapache2-mod-rivet), but it is linked to tcl 8.5.15, which is ancient. No TclOO, no tdbc. Is there a package that l

How to handle posted from data?

2017-01-30 Thread Georgios Petasis
Hi all, I want to get the data POSTed from a form under firefox. The data firefox is posting are: |-172781025729778| |||Content-Disposition: form-data; name="files[]"; filename=""| |||Content-Type: application/octet-stream| |||-172

Re: How to handle posted from data?

2017-01-30 Thread Georgios Petasis
Ok, I have solved my problem. I used ::rivet::load_response. Regards, George On 30/1/2017 22:00, Georgios Petasis wrote: Hi all, I want to get the data POSTed from a form under firefox. The data firefox is posting are: |-172781025729778| |||Content-Disposition

Re: How to handle posted from data?

2017-01-30 Thread Georgios Petasis
Ok, I have solved my problem. I used ::rivet::load_response. Regards, George On 30/1/2017 22:00, Georgios Petasis wrote: Hi all, I want to get the data POSTed from a form under firefox. The data firefox is posting are: |-172781025729778| |||Content-Disposition

Re: [VOTE] Release Apache Rivet 2.3.4

2017-08-01 Thread Georgios Petasis
+1. Best, George Στις 1/8/2017 02:57, ο Massimo Manghi έγραψε: Thank you Hamon Harald I apologize for insisting, but the vote has formally to be called from the beginning, would you mind to cast your vote (whatever it is of course ;-) ) -- Massimo On 07/28/2017 03:58 PM, Brice Hamon wrot

Re: [VOTE] Release Apache Rivet 2.3.4

2017-08-01 Thread Georgios Petasis
+1. Best, George Στις 1/8/2017 02:57, ο Massimo Manghi έγραψε: Thank you Hamon Harald I apologize for insisting, but the vote has formally to be called from the beginning, would you mind to cast your vote (whatever it is of course ;-) ) -- Massimo On 07/28/2017 03:58 PM, Brice Hamon wrot

Re: reintegrating branches/cmake into trunk

2017-10-29 Thread Georgios Petasis
Well, If merge was uneventful, compilation works, and tests are ok, I would vote for publishing it :-) Best, George Στις 29/10/2017 00:28, ο Massimo Manghi έγραψε: I've attempted a merge --reintegrate from branches/cmake into trunk. The operation was uneventful, compilation of mod_rivet was OK

Re: reintegrating branches/cmake into trunk

2017-10-29 Thread Georgios Petasis
Well, If merge was uneventful, compilation works, and tests are ok, I would vote for publishing it :-) Best, George Στις 29/10/2017 00:28, ο Massimo Manghi έγραψε: I've attempted a merge --reintegrate from branches/cmake into trunk. The operation was uneventful, compilation of mod_rivet was OK

Re: reintegrating branches/cmake into trunk

2017-10-31 Thread Georgios Petasis
Στις 31/10/2017 09:15, ο Massimo Manghi έγραψε: On 10/30/2017 07:27 AM, Georgios Petasis wrote: Well, If merge was uneventful, compilation works, and tests are ok, I would vote for publishing it :-) Best, George I'm going to commit. Just a question (forgive my ignorance): you applied

Re: dropping old src/mod_rivet core module

2017-10-31 Thread Georgios Petasis
I vote to drop it. Best, George Στις 31/10/2017 13:19, ο Massimo Manghi έγραψε: The src/mod_rivet_ng has parted too far away from src/mod_rivet now. I think that we should take a decision but I don't see the point of keeping it, it's just matter of confusion.  -- Massimo -

Re: [VOTE] Release rivet 3.0.0

2018-01-22 Thread Georgios Petasis
Dear Massimo, It is a +1. Sorry for not seeing this earlier. A happy and prosperous 2018, George Στις 17/1/2018 21:02, ο Massimo Manghi έγραψε: Sorry we haven't heard anything from George Petasis who played an important role right from the beginning of the 3.0 development The vote is comple

Rivet 3.0.0: too many connections from mysql...

2018-01-23 Thread Georgios Petasis
Hi all, I have recently updated my OS (from Fedora 26 -> 27), and I have trouble getting my web apps online again. Initially, tdbcmysql was failing, but I have solved that, it works now. In the process, I have updated rivet to the latest version, 3.0.0. After restarting apache, it seems to

Rivet 3.0.0: too many connections from mysql...

2018-01-23 Thread Georgios Petasis
Hi all, I have recently updated my OS (from Fedora 26 -> 27), and I have trouble getting my web apps online again. Initially, tdbcmysql was failing, but I have solved that, it works now. In the process, I have updated rivet to the latest version, 3.0.0. After restarting apache, it seems to

Re: Rivet 3.0.0: too many connections from mysql...

2018-01-23 Thread Georgios Petasis
) are you running?  -- M On 01/23/2018 01:56 PM, Georgios Petasis wrote: Hi all, I have recently updated my OS (from Fedora 26 -> 27), and I have trouble getting my web apps online again. Initially, tdbcmysql was failing, but I have solved that, it works now. In the process, I have upda

Re: Rivet 3.0.0: too many connections from mysql...

2018-01-23 Thread Georgios Petasis
event mpm." And I think I am back to normal. And next time the OS changes the MPM, I will get at least an error while loading apache... Best regards, George Στις 23/1/2018 16:24, ο Georgios Petasis έγραψε: I thought I was using worker, but now I see that Fedora 27 has switched by defaul

Re: Rivet 3.0.0: too many connections from mysql...

2018-01-23 Thread Georgios Petasis
Στις 23/1/2018 18:32, ο Massimo Manghi έγραψε: On 01/23/2018 04:27 PM, Georgios Petasis wrote: Ok, I have changed MPM back to prefork, and I have changed my apache configuration to: LoadModule rivet_module modules/mod_rivet.so RivetServerConf MpmBridge prefork LoadModule rivet_module

Re: Rivet 3.0.0: too many connections from mysql...

2018-01-23 Thread Georgios Petasis
#x27;s compiled into mod_rivet.so  -- Massimo *Da:* Georgios Petasis *Inviato:* martedì 23 gennaio 2018 17:53 *A:* Massimo MANGHI; rivet-dev@tcl.apache.org *Oggetto:* Re: Rivet 3.0.0: too many connections from mysql...

Re: Rivet 3.0.0: too many connections from mysql...

2018-01-23 Thread Georgios Petasis
Well, looking at the code, rivet_prefork_mpm.c contains a call to Rivet_InitCore. rivet_worker_mpm.c does not contain a call to Rivet_InitCore. George Στις 23/1/2018 19:45, ο Georgios Petasis έγραψε: No, it is the only error I have in apache log. Hundreds of the same error... George Στις

Re: Rivet 3.0.1

2018-02-04 Thread Georgios Petasis
Dear Massimo, According to the documentation: https://httpd.apache.org/docs/2.4/developer/new_api_2_4.html We should also modify rivet.c to use AP_DECLARE_MODULE instead of "module AP_MODULE_DECLARE_DATA rivet_module = " we now have. I have tried it, and there was no difference (of course we mu

Re: [VOTE] Rivet 3.0.1

2018-02-08 Thread Georgios Petasis
+1 George Στις 8/2/2018 09:40, ο Harald Oehlmann έγραψε: +1 Cudos to the team ! Harald Am 08.02.2018 um 01:07 schrieb Ronnie Brunner: +1 Cheers Ronnie -- Ronnie Brunner | ronnie.brun...@netcetera.com | T +41-44-297 59 79 | Netcetera AG | 8040 Züri

Mirroring rivet svn to git/github...

2018-05-27 Thread Georgios Petasis
Hi all, I see that many projects have a read-only git mirror. These projects are listed here: http://git.apache.org/ Rivet is not included, and I think that creating such a mirror will be a good idea. What do you think? George

Re: Mirroring rivet svn to git/github...

2018-05-28 Thread Georgios Petasis
o clone a repository:  -- Massimo -------- *Da:* Georgios Petasis *Inviato:* domenica 27 maggio 2018 12:41 *A:* rivet-dev@tcl.apache.org *Oggetto:* Mirroring rivet svn to git/github... Hi all, I see that many projects have a read-only git m

Re: Mirroring rivet svn to git/github...

2018-05-30 Thread Georgios Petasis
Στις 30/5/2018 16:37, ο Massimo Manghi έγραψε: Hi George On 05/28/2018 10:52 AM, Georgios Petasis wrote: Dear Massimo, The advantages for me, even for a read-only mirror are: 1) It can be placed in github. This will add some small visibility. It is just another place that can direct to

Re: [VOTE] Release Rivet 3.0.2

2018-07-02 Thread Georgios Petasis
+1 George Στις 2/7/2018 11:53, ο Massimo Manghi έγραψε: Dear PMC members this is the vote for releasing the artifact http://www.rivetweb.org/~mxm/rivet/rivet-3.0.2rc2.tar.gz as Rivet 3.0.2 GA software [ ] +1 OK [ ] 0  abstain [ ] -1 Needs more work   -- Massimo ---

Re: moving to git?

2018-07-14 Thread Georgios Petasis
+1. I haven't managed to find any documentation for this integration. I was looking at Apache's Tika github repo: https://github.com/apache/tika I see they describe a procedure for contributing through github in their Readme.md file. But I also see there are many pull requests in github. (I a

Re: Releasing Rivet 3.0.0 (Blockchain and Apache Rivet)

2018-10-05 Thread Georgios Petasis
Hi all, I really do not remember mentioning this before (so apologies if I have already mentioned it), but rivet has been used for on-the-fly denormalisation of data from Apache Solr, in the "YourDataStories" platform: http://platform.yourdatastories.eu/ If you go in any of the dashboards (i

Re: Releasing Rivet 3.0.0 (Blockchain and Apache Rivet)

2018-10-08 Thread Georgios Petasis
or my personal curiosity, what version of Rivet are you running in this case? -- Massimo On 10/05/2018 09:03 PM, Georgios Petasis wrote: Hi all, I really do not remember mentioning this before (so apologies if I have already mentioned it), but rivet has been used for on-the-fly denormalisation of

Re: Trouble compiling and running Rivet on CentOS 7

2018-10-08 Thread Georgios Petasis
What I usually do is the following: 1) As root, I create the file: "/etc/ld.so.conf.d/my_rivet.conf" I like adding my_ in front of names, to distinguish them from the ones put there by the system. 2) Write a single line into this file, the following: /opt/ActiveTcl-8.6/lib 3) Save the file /e

Re: Trouble compiling and running Rivet on CentOS 7

2018-10-08 Thread Georgios Petasis
What I usually do is the following: 1) As root, I create the file: "/etc/ld.so.conf.d/my_rivet.conf" I like adding my_ in front of names, to distinguish them from the ones put there by the system. 2) Write a single line into this file, the following: /opt/ActiveTcl-8.6/lib 3) Save the file /e

Re: web site now published from git

2018-10-09 Thread Georgios Petasis
Dear Massimo, Can you please add me as commiter in github? My account is: https://github.com/petasis Best, George Στις 9/10/2018 16:28, ο Massimo MANGHI έγραψε: On 10/09/2018 03:26 PM, George Petasis wrote: Dear Massimo, Good to know. I have to prepare also the report this evening, I will tr

Re: [VOTE] Release rivet 3.0.3

2018-11-18 Thread Georgios Petasis
+1. George Στις 9/11/2018 18:31, ο Massimo MANGHI έγραψε: Dear PMC members this is the vote for releasing the artifact http://www.rivetweb.org/~mxm/rivet/rivet-3.0.3rc1.tar.gz as Rivet 3.0.3 GA software the artifact has two goals - Let DIO package avoid to assume the ::rivet name space

Re: [VOTE] Rivet 3.1.0

2018-11-26 Thread Georgios Petasis
+1 George Στις 23/11/2018 20:41, ο Massimo Manghi έγραψε: Rivet 3.1.0rc1 is available from http://www.rivetweb.org/~mxm/rivet/ The archive is basically the same 3.0.4 archive with only version number bumped to 3.1 (and a really trivial symbol added to doc/rivet.xml.in)  If you don't mind

Re: [VOTE] Rivet 2.4.0

2018-11-26 Thread Georgios Petasis
+1 George Στις 24/11/2018 10:23, ο Massimo Manghi έγραψε: Rivet 2.4.0rc1 is available from http://www.rivetweb.org/~mxm/rivet/ As for version 3.1 this archive too is basically the code proposed in 2.3.6 with a few further small changes (copyright statement in rivetChannel.c, .gitignore) [

Re: mod_rivet Windows build with Visual Studio 2017

2018-12-02 Thread Georgios Petasis
Dear Massimo, Hard to tell without recompiling. Unfortunately, I will attend an event (ICT 2018 in Vienna), and I will be out of office. The problem probably is some mix of dllexport/dllimport for the same function within the same dll. Best, George Στις 1/12/2018 16:24, ο Massimo Manghi έγρα

Re: I am getting repeatedly in Rivet: [core:notice] [pid 13958] AH00052: child pid NNNN exit signal Segmentation fault (11)

2018-12-15 Thread Georgios Petasis
Maybe you are on an OS that uses mariadb (like fedora), or a newer version of mysql than the ones tdbc supports? tdbc::mysql is buggy, if it cannot find the client library it will cause a segmentation fault (which is totally unacceptable for something shipping with tcl core...). If this is t

Re: mod_rivet Windows build with Visual Studio 2017

2018-12-15 Thread Georgios Petasis
Dear Massimo, I am going to undo your changes in cmake/CMakeLists.txt. The ones getting the version from the version file (as it does not work at all under windows). Best, George Στις 2/12/2018 23:36, ο Massimo Manghi έγραψε: On 12/2/18 10:28 PM, Georgios Petasis wrote: Dear Massimo

Re: mod_rivet Windows build with Visual Studio 2017

2018-12-15 Thread Georgios Petasis
Dear Massimo, I have changed (and committed) cmake/CMakeLists.txt changes, that take version from the VERSION file, but using cmake commands for reading and processing the file. So, it works cross-platform. Best, George Στις 15/12/2018 23:06, ο Georgios Petasis έγραψε: Dear Massimo, I am

Re: mod_rivet Windows build with Visual Studio 2017

2018-12-16 Thread Georgios Petasis
Στις 16/12/2018 02:44, ο Massimo Manghi έγραψε: On 12/16/18 1:33 AM, Massimo Manghi wrote: If you have a better way to read the version it's OK, but my method worked with Windows 10 (actually I haven't tested it on Linux and cmake) and IIRC it was based on call to cmake exclusively. It's fi

Re: Still having problems with Windows build

2018-12-16 Thread Georgios Petasis
Στις 9/12/2018 03:52, ο Massimo Manghi έγραψε: I committed in branch winbuild what I made to have mod_rivet build and run again on Windows 10 (but I guess this doesn't depend on the windows version, since last year it was OK on my win10 laptop) I made several changes to cmake/CMakeList.txt and

Re: Still having problems with Windows build

2018-12-16 Thread Georgios Petasis
Στις 16/12/2018 12:30, ο Georgios Petasis έγραψε: Στις 9/12/2018 03:52, ο Massimo Manghi έγραψε: I committed in branch winbuild what I made to have mod_rivet build and run again on Windows 10 (but I guess this doesn't depend on the windows version, since last year it was OK on my win10 l

Re: Still having problems with Windows build

2018-12-16 Thread Georgios Petasis
Στις 16/12/2018 12:48, ο Georgios Petasis έγραψε: Στις 16/12/2018 12:30, ο Georgios Petasis έγραψε: Στις 9/12/2018 03:52, ο Massimo Manghi έγραψε: I committed in branch winbuild what I made to have mod_rivet build and run again on Windows 10 (but I guess this doesn't depend on the wi

Re: Still having problems with Windows build

2018-12-16 Thread Georgios Petasis
Στις 16/12/2018 15:20, ο Georgios Petasis έγραψε: Στις 16/12/2018 12:48, ο Georgios Petasis έγραψε: Στις 16/12/2018 12:30, ο Georgios Petasis έγραψε: Στις 9/12/2018 03:52, ο Massimo Manghi έγραψε: I committed in branch winbuild what I made to have mod_rivet build and run again on Windows 10

Re: Still having problems with Windows build

2018-12-17 Thread Georgios Petasis
Στις 17/12/2018 02:37, ο Massimo Manghi έγραψε: On 12/17/18 1:20 AM, Massimo Manghi wrote: I meant to use the winbuild branch for any development on the Windows build system that required modifications that could interfere with the build on Linux. I wonder if appveyor could point to this bra

Re: Still having problems with Windows build

2018-12-17 Thread Georgios Petasis
Στις 17/12/2018 10:45, ο Georgios Petasis έγραψε: Στις 17/12/2018 02:37, ο Massimo Manghi έγραψε: On 12/17/18 1:20 AM, Massimo Manghi wrote: I meant to use the winbuild branch for any development on the Windows build system that required modifications that could interfere with the build on

Re: Still having problems with Windows build

2018-12-17 Thread Georgios Petasis
Στις 17/12/2018 12:43, ο Massimo Manghi έγραψε: On 12/17/18 10:07 AM, Georgios Petasis wrote: I looked at the Appveyor configuration, I have explicitly selected the master branch. I change the configuration (with all branches), and I tried to separate branches in Readme.md: https

Re: Still having problems with Windows build

2018-12-17 Thread Georgios Petasis
Στις 17/12/2018 13:00, ο Georgios Petasis έγραψε: Στις 17/12/2018 12:43, ο Massimo Manghi έγραψε: On 12/17/18 10:07 AM, Georgios Petasis wrote: I looked at the Appveyor configuration, I have explicitly selected the master branch. I change the configuration (with all branches), and I tried to

Re: Still having problems with Windows build

2018-12-17 Thread Georgios Petasis
Στις 17/12/2018 13:56, ο Massimo MANGHI έγραψε: On 12/17/18 12:01 PM, Georgios Petasis wrote: Ok, you updated VERSION in winbuild branch. Lets see if appveyor will rebuild this. George nothing happened so far, perhaps you have to generate some kind of manual impulse in your account on

Re: Still having problems with Windows build

2018-12-17 Thread Georgios Petasis
Στις 17/12/2018 14:56, ο Massimo Manghi έγραψε: On 12/17/18 1:41 PM, Georgios Petasis wrote: Στις 17/12/2018 13:56, ο Massimo MANGHI έγραψε: >> nothing happened so far, perhaps you have to generate some kind of manual impulse in your account on Appveyor? Another issue is with the br

Re: Rivet pkgIndex.tcl version numbers

2018-12-19 Thread Georgios Petasis
Στις 18/12/2018 15:40, ο Massimo Manghi έγραψε: Automake generated Makefile uses a clever way to generate the Rivet's packages index by running tclsh and pkg_mkIndex within the 'install' target of the Makefile. CMakeList.txt doesn't provide the same feature and in principle pure CMake builds, w

Re: Rivet pkgIndex.tcl version numbers

2018-12-19 Thread Georgios Petasis
Στις 18/12/2018 15:40, ο Massimo Manghi έγραψε: Automake generated Makefile uses a clever way to generate the Rivet's packages index by running tclsh and pkg_mkIndex within the 'install' target of the Makefile. CMakeList.txt doesn't provide the same feature and in principle pure CMake builds, w

  1   2   >