Antwort: Fwd: Re: reloading regex files

View: New views
4 Messages — Rating Filter:   Alert me  

Parent Message unknown Antwort: Fwd: Re: reloading regex files

by Thomas Eckardt/eck :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

in sub checkOptionList

ist:

                unless (open($INCL,'<',"$ifile")) {

besser:

                unless (open($INCL,'<',"$base/$ifile")) {

Thomas




"Fritz Borgstedt" <fb@...>
23.10.2009 23:10
Bitte antworten an
ASSP development mailing list <assp-test@...>


An
"Thomas Eckardt/eck" <Thomas.Eckardt@...>
Kopie

Thema
Fwd: Re: [Assp-test] reloading regex files






Kannst du mir mal helfen, ich komm da nicht weiter,

Quote Fochi: " I also did not suspect that ASSP was not able to load
included files with relative paths."
Quote Fribo:  " ASSP is loading included files with relative path. I
do not understand what you are reporting."

Fritz,

Procedure to re-create the problem:
1) Use ASSP GUI and Click the edit file button for Test Regular
Expression* (testRe)
2) Insert two lines, one with relative, the other with absolute path.
    # include /usr/local/assp/files/testGOOD.txt
    # include files/testBAD.txt
    The GUI works Ok and creates the two files
3) Edit both files and put something there.
     Check the log and you will notice that ASSP was only able to
reload the file with the absolute path.

The data on the other file is not loaded.
Please note that ASSP was able to load
'/usr/local/assp/files/testGOOD.txt'
but failed to load 'files/testBAD.txt' with message No such file or
directory.



Complimentary Reference log report:
It is important to note that I edited both files from ASSP GUI and so
the GUI can read/write the included files
Please note that although ASSP GUI worked for both relative and full
path,
BUT the only loaded the regex file that was created with full path.

Oct-23-09 11:51:40 IP 201.87.68.64 (201.87 (25) matches
allowAdminConnectionsFrom
Oct-23-09 11:51:40 Admin connection from 201.87.68.64:3051;
page:/edit; reading file:files/bombtestRe.txt
Oct-23-09 11:51:52 IP 201.87.68.64 (201.87 (25) matches
allowAdminConnectionsFrom
Oct-23-09 11:51:52 Admin connection from 201.87.68.64:3052;
page:/edit; writing file:files/bombtestRe.txt
Oct-23-09 11:52:01 AdminInfo: option list include file
'/usr/local/assp/files/testGOOD.txt' processed for (testRe)
Oct-23-09 11:52:01 AdminInfo: failed to open option list include file
for reading 'files/testBAD.txt' (testRe): No such file or directory
Oct-23-09 11:52:01 Option list file:
'/usr/local/assp/files/bombtestRe.txt' reloaded (testRe) with 14
records

ls -la gives:
drwxr-xr-x  2 root root     4096 Oct 23 11:36 files
-rw-r--r--  1 root root   178 Oct 23 11:36 testGOOD.txt
-rw-r--r--  1 root root   171 Oct 23 11:02 testBAD.txt

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market and
stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Assp-test mailing list
Assp-test@...
https://lists.sourceforge.net/lists/listinfo/assp-test





DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally
privileged and protected in law and are intended solely for the use of the

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no
known virus in this email!
*******************************************************


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Assp-test mailing list
Assp-test@...
https://lists.sourceforge.net/lists/listinfo/assp-test

Parent Message unknown Re: Antwort: Fwd: Re: reloading regex files

by Hilario Fochi Silveira-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That is it Fritz & Thomas,
1.6.0 build 3.07 is working good!
both the reload and the immediate reload feature (as well as the
timed feature).
congratulations for your good job

Best Regards,

Hilario Fochi

At 06:00 2009-10-24, you wrote:

>in sub checkOptionList
>ist:
>                 unless (open($INCL,'<',"$ifile")) {
>besser:
>                 unless (open($INCL,'<',"$base/$ifile")) {
>Thomas
>
>"Fritz Borgstedt" <fb@...>
>23.10.2009 23:10
>Bitte antworten an
>ASSP development mailing list <assp-test@...>
>
>An
>"Thomas Eckardt/eck" <Thomas.Eckardt@...>
>Kopie
>
>Thema
>Fwd: Re: [Assp-test] reloading regex files
>
>Kannst du mir mal helfen, ich komm da nicht weiter,
>
>Quote Fochi: " I also did not suspect that ASSP was not able to load
>included files with relative paths."
>Quote Fribo:  " ASSP is loading included files with relative path. I
>do not understand what you are reporting."
>
>Fritz,
>
>Procedure to re-create the problem:
>1) Use ASSP GUI and Click the edit file button for Test Regular
>Expression* (testRe)
>2) Insert two lines, one with relative, the other with absolute path.
>     # include /usr/local/assp/files/testGOOD.txt
>     # include files/testBAD.txt
>     The GUI works Ok and creates the two files
>3) Edit both files and put something there.
>      Check the log and you will notice that ASSP was only able to
>reload the file with the absolute path.
>
>The data on the other file is not loaded.
>Please note that ASSP was able to load
>'/usr/local/assp/files/testGOOD.txt'
>but failed to load 'files/testBAD.txt' with message No such file or
>directory.
>
>Complimentary Reference log report:
>It is important to note that I edited both files from ASSP GUI and so
>the GUI can read/write the included files
>Please note that although ASSP GUI worked for both relative and full
>path,
>BUT the only loaded the regex file that was created with full path.
>
>Oct-23-09 11:51:40 IP 201.87.68.64 (201.87 (25) matches
>allowAdminConnectionsFrom
>Oct-23-09 11:51:40 Admin connection from 201.87.68.64:3051;
>page:/edit; reading file:files/bombtestRe.txt
>Oct-23-09 11:51:52 IP 201.87.68.64 (201.87 (25) matches
>allowAdminConnectionsFrom
>Oct-23-09 11:51:52 Admin connection from 201.87.68.64:3052;
>page:/edit; writing file:files/bombtestRe.txt
>Oct-23-09 11:52:01 AdminInfo: option list include file
>'/usr/local/assp/files/testGOOD.txt' processed for (testRe)
>Oct-23-09 11:52:01 AdminInfo: failed to open option list include file
>for reading 'files/testBAD.txt' (testRe): No such file or directory
>Oct-23-09 11:52:01 Option list file:
>'/usr/local/assp/files/bombtestRe.txt' reloaded (testRe) with 14
>records
>
>ls -la gives:
>drwxr-xr-x  2 root root     4096 Oct 23 11:36 files
>-rw-r--r--  1 root root   178 Oct 23 11:36 testGOOD.txt
>-rw-r--r--  1 root root   171 Oct 23 11:02 testBAD.txt


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Assp-test mailing list
Assp-test@...
https://lists.sourceforge.net/lists/listinfo/assp-test

Re: Antwort: Fwd: Re: reloading regex files

by Fritz Borgstedt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ASSP development mailing list <assp-test@...>
schreibt:

>in sub checkOptionList
>
>ist:
>
>                unless (open($INCL,'<',"$ifile")) {
>
>besser:
>
>                unless (open($INCL,'<',"$base/$ifile")) {
>
>Thomas


IMHO ist

                $ifile="$base/$ifile" if $ifile!~/^\Q$base\E/i;
                my $INCL;
                unless (open($INCL,'<',"$ifile")) {

vielleicht besser


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Assp-test mailing list
Assp-test@...
https://lists.sourceforge.net/lists/listinfo/assp-test

auto/stop

by Hilario Fochi Silveira-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

assp 1.6.1.1 build 0.0.01     line 23730

To start realtime maillog, click on [Auto], to stop realtime maillog,
click on [Stop]

But there is no auto or Stop buton to click


Regards,

Hilario Fochi Silveira
Soliton Controles Industriais Ltda.
Rua Alfredo Pujol, 1010
Sao Paulo - SP - BRAZIL
Tel: +55 11 2950-1834          Fax: +55 11 2979-8980  
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Assp-test mailing list
Assp-test@...
https://lists.sourceforge.net/lists/listinfo/assp-test