omnibib-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [omnibib-devel] Erros em Slave.pm e Socket.pm


From: Rodrigo Real
Subject: Re: [omnibib-devel] Erros em Slave.pm e Socket.pm
Date: 14 Oct 2003 10:37:38 -0300
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Rodrigo Real <address@hidden> writes:

Oi denovo

Parece que o problema estah no parse do arquivo bibtex, o servidor nao
estah conseguindo reconhecer nenhuma entrada do bibtex.

Pelo que entendi era para o servidor estar entrando no loop:

while ($bib =~ 
/address@hidden([a-zA-Z\-]+)\s*\{\s*([\w\-\.:]+)\s*,(.*?)^\}$/gsm) {  

na funcao parse_bibfile do BibTeXBackend. Coloquei uns prints dentro
do while, mas ele nao estah entrando nesse while. Acho que pode ser
algum detalhe na expressao regular. Dei uma mexida nela, mas nao
obtive nenhum resultado.

[]s
Rodrigo


> Rodrigo Real <address@hidden> writes:
> 
> Oi
> 
> O boca-aberta aqui jah achou o problema. Eu nao tinha entendido o
> formato do arquivo de configuracao para a especificacao do "location".
> 
> Agora nao estah mais dando o erro do Slave.pm.
> 
> Mas as minhas consultas ainda nao estao retornando nada.
> 
> Estou com um arquivo .bib assim:
> 
> @InBook{parsons02:_game_theor_decis_theor_agent_based_system,
>   author =     {Simon Parsons and Michael Wooldridge},
>   editor =     {Simon Parsons and Piotr Gmytrasiewicz and Michael Wooldridge},
>   title =      {Game Theory and Decision Theory in Agent-Based Systems},
>   chapter =    1,
>   chaptertitle = {Game Theory and Decision Theory},
>   publisher =          {Kluwer Academics Publishers},
>   year =       2002,
>   address =    {Dordrecht, Holanda},
>   pages =      {1--28},
>   ISBN = {1-4020-7115-9}
> }
> 
> @inproceedings{ferrari84,
>  author = {Domenico Ferrari},
>  title = {On the foundations of artificial workload design},
>  booktitle = {Proceedings of the 1984 ACM SIGMETRICS conference on 
> Measurement and modeling of computer systems},
>  year = 1984,
>  isbn = {0-89791-141-5},
>  pages = {8--14},
>  }
> 
> Meu arquivo de configuracoes estah assim:
> #
> # OmniBib server configuration
> #
> 
> # server location; this is a free-form specifier (can be your hostname, 
> # city, institution, etc.)
> #location             my server
> location              moe
> 
> # BibTeX-based configuration
> backend_type          bibtex          # backend type
> bibtexbackend_file    /home/rreal/temp/teste.bib
> 
> # MySQL-based configuration
> #backend_type         mysql           # backend type
> #mysqlbackend_db              omnibib
> #mysqlbackend_user    avila
> #mysqlbackend_pass    avila
> 
> # do not modify these unless you know what you're doing :-)
> port          1500            # default server port
> max_conn      1               # max. client connections (currently unused)
> cache_size    1024            # server cache size, in KB (currently unused)
> 
> Meu peers estah vazio.
> 
> Fiz uma consulta assim:
> omnibib --search author ferrari
> 
> 
> Nao retornou nada... tentei por telnet tambem direto na porta, mas nao
> obtive sucesso. 
> 
> []s
> Rodrigo
> 
> 
> 
> > Oi pessoal
> > 
> > Nao sei se estou mosqueando com alguma coisa, mas estou com umas
> > mensagens de erro no servidor e ele nao estah retornando nada
> > nunca. Olhem abaixo:
> > 
> > Use of uninitialized value in concatenation (.) or string at
> > /usr/local/lib/site_perl/OmniBib/Slave.pm line 53.
> > Attempt to free unreferenced scalar at 
> > /usr/lib/perl/5.8.1/IO/Socket.pm line 46.
> > 
> > Vi que jah circularam umas mensagens falando sobre o erro do
> > Socket.pm, mas nao encontrei nas mensagens se alguem tinha conseguido
> > contornar.
> > 
> > Algum palpite?
> > 
> > []s
> > Rodrigo
> > 
> > 
> > 
> > 
> > _______________________________________________
> > omnibib-devel mailing list
> > address@hidden
> > http://mail.nongnu.org/mailman/listinfo/omnibib-devel
> 
> 
> _______________________________________________
> omnibib-devel mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/omnibib-devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]