[Isis-users] Inverted file generation(MX)
Guilda Ascencio
guildaa at gmail.com
Thu Jun 11 18:15:49 CEST 2015
Hola Edwin.
El programa del fullinv usa el parámetro $mx_path que está definido en el
config.php para determinar el nombre y localización del mx a utilizar.
Ejemplo:
//path to the mx program (include the name of the program)
$mx_path="/ABCD/www/cgi-bin/$cisis_ver"."mx.exe";
$cisis_ver es otro parámetro de config.php que puede utilizarse para
indicar el nombre de la carpeta donde se encuentra alojado el mx. Esto
permite que cada base de datos, de acuerdo a sus características, pueda
trabajar con la versión apropiada del wxis y del mx y demás utilitarios
Entonces puedes ajustar ese parámetro para que apunte a la versión del mx
que sea la correcta.
Este parámetro puede ser diferente para cada base de datos si se define en
el archivo dbn/dr_path.def (ver
http://abcdwiki.net/wiki/es/index.php?title=Dr_path.def) o en el archivo
abcd.def (ver http://http://abcdwiki.net/wiki/es/index.php?title=Abcd.def)
Saludos
On Thu, Jun 11, 2015 at 5:12 AM, Edwin Hübner <edwin.hubner at gmail.com>
wrote:
> (See English below)
>
> Olá Guilda,
> Talvez isto pode interessar a você e outros.
> Eu resolvi o problema de geração do IF através do mx interno do ABCD,
> renomeando mx.exe de forma que não seja executado, por exemplo mx_win.exe,
> e renomeando mx (versão Linux) para mx.exe, visto que o comando mx do ABCD
> usa mx.exe. Isto faz sentido? Existe outra solução?
> Att,
> Edwin
> -----------
>
> Hello Guild,
> Perhaps this may interest you and others.
> I solved the problem of the IF generation via the internal mx of ABCD,
> renaming mx.exe so that it not be executed, for example mx_win.exe, and
> renaming mx (Linux version) to mx.exe, since the mx command of ABCD uses
> mx.exe.
> Does that make sense? Is there another solusion?
> Reagrds,
> Edwin
>
>
>
> 2015-05-19 10:39 GMT-03:00 Edwin Hübner <edwin.hubner at gmail.com>:
>
>> (See in english below)
>> Estou tendo dois problemas com geração do IF em Linux UBUNTU:
>> 1. O comando mx interno usa mx.exe e para mim, em Linux, só funciona com
>> mx (sem o .exe)
>> 2. Não funciona com isisuc.tab, dando a mensagem fatal:uctab=isisuc.tab
>> Eu já substitui isisuc.tab por várias versões que funcionam bem em Windows,
>> mas todos apresentam o mesmo problema, então, não pode ser um problema do
>> arquivo isisuc.tab.
>> No entanto, em linha de comando funciona bem se usar uctab=ansi. porém,
>> mesmo renomeando isiuc.tab e isisac.tab para forçar o sistema a usar ansi,
>> o comando interno não funciona. Imagino que seja pelo fato de usar mx.exe.
>> Como posso contornar este problema para fazer o comando mx interno
>> funcionar em Linux?
>> Gracias
>> Edwin
>> ------
>> I am having two problems with the IF generation in Linux UBUNTU:
>> 1.The Internal mx command uses mx.exe and for me, in Linux, it only
>> works with mx (without the .exe)
>> 2. Does not work with isisuc.tab, giving the message fatal : uctab=
>> isisuc.tab I've replaced isisuc.tab by several versions that work well in
>> Windows, but all have the same problem, so it may not be a problem of
>> the isisuc.tab file
>> However, in command line it works well when I use uctab=ansi. but even
>> renaming isiuc.tab and isisac.tab to force the system to use ansi, the internal
>> command does not work. I suppose it's because it uses mx.exe. How can I make
>> the internal mx command to work on Linux?
>> Thanks,
>> Edwin
>>
>> 2015-05-19 9:41 GMT-03:00 Guilda Ascencio <guildaa at gmail.com>:
>>
>>> El comando correcto es uctab=ansi actab=ansi para que utilize los
>>> archivos internos
>>>
>>>
>>>
>>> On Mon, May 18, 2015 at 3:51 PM, Edwin Hübner <edwin.hubner at gmail.com>
>>> wrote:
>>>
>>>> Hi,
>>>> Is ansiuc.tab the same as isisuc.tab? I got this message using
>>>> isisuc.tab, The message says fatal: uctab=isisuc.tab
>>>> I'm using Linux UBUNTU.
>>>> I thing you always need the tab files.
>>>> Regards,
>>>> Edwin
>>>>
>>>> 2015-05-18 16:57 GMT-03:00 Renate Morgenstern <rmorgenstern at iway.na>:
>>>>
>>>>> Hi,
>>>>>
>>>>> I did as you suggested, however, the uctab gives an error message:
>>>>>
>>>>> /opt/ABCD/www/cgi-bin/mx sclib fst=@sclib.fst stw=@sclib.stw
>>>>> actab=ansiac.tab uctab=ansiuc.tab fullinv/ansi=sclib -all now tell=1000
>>>>>
>>>>> fatal: uctab=ansiuc.tab.
>>>>>
>>>>> Question: If my database does not have the t ñ and Ñ, I do not need
>>>>> the isisac and isisuc tables?
>>>>> Renate
>>>>>
>>>>>
>>>>>
>>>>> 3. rename the isisuc.tab and isisac.tab to force the option
>>>>> uctab=ansi actab=ansi
>>>>>
>>>>>
>>>>> The only issue with this option is that ñ and Ñ will be converted
>>>>> to N.
>>>>>
>>>>>
>>>>> The problem is that isisuc.tab and isisac.tab some times are not
>>>>> well formatted for linux. I'm attaching the isisuc and isisac that are
>>>>> running in abcdwiki which is a linux server. In abcdwiki the inverted file
>>>>> generation with mx works properly.
>>>>>
>>>>>
>>>>> You can also edit the tables with vi or another text editor to see
>>>>> if the format is correct. (see
>>>>> http://abcdwiki.net/wiki/es/index.php?title=La_tabla_de_extracci%C3%B3n_de_campos_%28FST%29
>>>>> Tabla de caracteres alfabéticos (isisac.tab) y Tabla de conversión de
>>>>> minúsculas a mayúsculas (isisuc.tab).
>>>>>
>>>>>
>>>>> If this tables are absent wxis uses by default built in tables
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Mon, May 18, 2015 at 9:00 AM, Edwin Hübner <edwin.hubner at gmail.com>
>>>>> wrote:
>>>>>
>>>>> Hi,
>>>>> I also can not perform the inverted file generation in Linux. I tried
>>>>> the command line and also through the internal mx command. When I run it
>>>>> on the command line,it displays the message "fatal: uctab=isisuc.tab" I
>>>>> have replaced isisuc.tab with one that works on Windows, but the result was
>>>>> the same.
>>>>>
>>>>> Any help?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Edwin
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> 2015-05-18 8:08 GMT-03:00 Guilda Ascencio <guildaa at gmail.com>:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> 1. run the query directly from the console to see what happens.
>>>>> 2. Check if the isisuc.tab and isisac.tab are ok.
>>>>>
>>>>> 3. rename the isisuc.tab and isisac.tab to force the option
>>>>> uctab=ansi actab=ansi
>>>>>
>>>>>
>>>>>
>>>>> On Mon, May 18, 2015 at 2:40 AM, Renate Morgenstern <
>>>>> rmorgenstern at iway.na> wrote:
>>>>>
>>>>> Here is the screen shot now.
>>>>>
>>>>> HI Guilda,
>>>>>
>>>>> I have the same problem as Mr. Bhowa.
>>>>>
>>>>> renate at user-laptop:~$ /opt/ABCD/www/cgi-bin/ what
>>>>> bash: /opt/ABCD/www/cgi-bin/: Is a directory
>>>>>
>>>>> See screenshot as well.
>>>>> I usually use the wxis to create the IF, but for a large database it
>>>>> will often time-out.
>>>>>
>>>>>
>>>>>
>>>>> Regards
>>>>> Renate
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Is the command */ABCD/www/cgi-bin/ what *responding?
>>>>>
>>>>>
>>>>> On Fri, May 15, 2015 at 10:33 AM, bhowa tg <bhowatg at gmail.com> wrote:
>>>>>
>>>>> Testing if the file */ABCD/www/cgi-bin/* exists
>>>>> *OK!!*
>>>>>
>>>>> Testing the execution of */ABCD/www/cgi-bin/*
>>>>> *Command line: /ABCD/www/cgi-bin/ what *
>>>>>
>>>>>
>>>>>
>>>>> *let me try from the console*
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Fri, May 15, 2015 at 4:56 PM, Guilda Ascencio <guildaa at gmail.com>
>>>>> wrote:
>>>>>
>>>>> if you click on thes test link in mx: /ABCD/www/cgi-bin/ *Test* do
>>>>> you get something like this?:
>>>>>
>>>>> Testing if the file */ABCD/www/cgi-bin/mx.exe* exists
>>>>> *OK!!*
>>>>>
>>>>> Testing the execution of */ABCD/www/cgi-bin/mx.exe*
>>>>> *Command line: /ABCD/www/cgi-bin/mx.exe what *
>>>>>
>>>>> CISIS Interface v5.2b/PC32/M/32767/16/60/I - Utility MX
>>>>> CISIS Interface v5.2b/.iy0/Z/4GB/GIZ/DEC/ISI/UTL/INVX/B7/FAT/CIP/CGI/MX
>>>>> Copyright (c)BIREME/PAHO 2006. [http://www.bireme.br/products/cisis]
>>>>>
>>>>>
>>>>> If not, try to check if the mx program is located in the folder and
>>>>> with execution rights.
>>>>>
>>>>>
>>>>> Another cause for this error is when the isisuc.tab and isisac.tab are
>>>>> not found.
>>>>>
>>>>>
>>>>> If the test of the mx succeds, try to execute the query from the
>>>>> console to see what happens
>>>>>
>>>>>
>>>>>
>>>>> On Fri, May 15, 2015 at 10:10 AM, bhowa tg <bhowatg at gmail.com> wrote:
>>>>>
>>>>> Colleagues'
>>>>>
>>>>>
>>>>> after executing Inverted file generation(MX) am getting error message
>>>>> below.. What have i done wrong with my index?
>>>>>
>>>>>
>>>>> thanking you in advance
>>>>>
>>>>>
>>>>> tg
>>>>>
>>>>>
>>>>>
>>>>> Command line:
>>>>> database: /ABCD/www/bases/zamcom/data/zamcom
>>>>> fst: @/ABCD/www/bases/zamcom/data/zamcom.fst
>>>>> mx: /ABCD/www/cgi-bin/ Test
>>>>> <http://localhost:9090/central/utilities/mx_test.php>
>>>>> uctab: /ABCD/www/bases/isisuc.tab
>>>>> actab: /ABCD/www/bases/isisac.tab
>>>>> ------------------------------
>>>>>
>>>>>
>>>>>
>>>>> Query: /ABCD/www/cgi-bin/ /ABCD/www/bases/zamcom/data/zamcom
>>>>> fst=@/ABCD/www/bases/zamcom/data/zamcom.fst
>>>>> uctab=/ABCD/www/bases/isisuc.tab actab=/ABCD/www/bases/isisac.tab
>>>>> fullinv=/ABCD/www/bases/zamcom/data/zamcom -all now tell=100
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *Out: *
>>>>> *process NOT EXECUTED*
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> bhowa tg
>>>>> Infoprenuer, abcdZim.org
>>>>> bhowatg at gmail.com IM & skypeID: bhowatg
>>>>> blog: http://bhowatg.blogspot.com
>>>>> http://facebook.com/groups/abcdzim/; http://twitter.com/bhowatg
>>>>> www.abcdZim.co.cc
>>>>>
>>>>>
>>>>> "there are two equally dangerous extremes-
>>>>> to shut reason out and to let nothing else in"
>>>>> Pascal, 1670
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> isis-users mailing list
>>>>> isis-users at iccisis.org
>>>>> To manage your own subscription options go to:
>>>>> http://lists.iccisis.org/listinfo/isis-users
>>>>> Or contact Henk Rutten: hlrutten at xs4all.nl
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> bhowa tg
>>>>> Infoprenuer, abcdZim.org
>>>>> bhowatg at gmail.com IM & skypeID: bhowatg
>>>>> blog: http://bhowatg.blogspot.com
>>>>> http://facebook.com/groups/abcdzim/; http://twitter.com/bhowatg
>>>>> www.abcdZim.co.cc
>>>>>
>>>>>
>>>>> "there are two equally dangerous extremes-
>>>>> to shut reason out and to let nothing else in"
>>>>> Pascal, 1670
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> isis-users mailing listisis-users at iccisis.org
>>>>> To manage your own subscription options go to: http://lists.iccisis.org/listinfo/isis-users
>>>>> Or contact Henk Rutten: hlrutten at xs4all.nl
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Renate Morgenstern
>>>>> Tel.: +264 61 242124
>>>>> Cell: +264 81 2910284
>>>>> Fax: 088637518
>>>>> Windhoek, Namibia
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Edwin Hübner
>>>> (21)99647-1675
>>>>
>>>
>>>
>>
>>
>> --
>> Edwin Hübner
>> (21)99647-1675
>>
>
>
>
> --
> Edwin Hübner
> (21)99647-1675
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20150611/b423410d/attachment.html>
More information about the isis-users
mailing list