Citezen

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Citezen

abergel
Hi!

Apparently, Citezen does not parse scg.bib (http://scg.unibe.ch/scgbib). The following expression raises an error: CZBibParser parse: (FileStream fileNamed: '/Users/alexandrebergel/Workspace/scgbib/scg.bib') contents

Is there something obvious I missed?

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






Reply | Threaded
Open this post in threaded view
|

Re: Citezen

Stéphane Ducasse
did you try to find the ugly entries that break it
because I can parse all rmod.bib.

Stef

On Dec 12, 2011, at 12:26 PM, Alexandre Bergel wrote:

> Hi!
>
> Apparently, Citezen does not parse scg.bib (http://scg.unibe.ch/scgbib). The following expression raises an error: CZBibParser parse: (FileStream fileNamed: '/Users/alexandrebergel/Workspace/scgbib/scg.bib') contents
>
> Is there something obvious I missed?
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Citezen

abergel
Not yet. Smacc does not tell where the error happen.

Cheers,
Alexandre


On 12 Dec 2011, at 08:42, Stéphane Ducasse wrote:

> did you try to find the ugly entries that break it
> because I can parse all rmod.bib.
>
> Stef
>
> On Dec 12, 2011, at 12:26 PM, Alexandre Bergel wrote:
>
>> Hi!
>>
>> Apparently, Citezen does not parse scg.bib (http://scg.unibe.ch/scgbib). The following expression raises an error: CZBibParser parse: (FileStream fileNamed: '/Users/alexandrebergel/Workspace/scgbib/scg.bib') contents
>>
>> Is there something obvious I missed?
>>
>> Cheers,
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






Reply | Threaded
Open this post in threaded view
|

Re: Citezen

Schwab,Wilhelm K
FWIW, my most common source of unparsable entries is Google Scholar.  The problems arise when a name contains non-ascii characters.  The author name in the entry will have correct syntax (and works fine), but name assigned to the entry as a whole will be invalid.  Replacing the accented character(s) with the nearest ascii equivalent works.


________________________________________
From: [hidden email] [[hidden email]] on behalf of Alexandre Bergel [[hidden email]]
Sent: Monday, December 12, 2011 7:26 AM
To: [hidden email]
Subject: Re: [Pharo-project] Citezen

Not yet. Smacc does not tell where the error happen.

Cheers,
Alexandre


On 12 Dec 2011, at 08:42, Stéphane Ducasse wrote:

> did you try to find the ugly entries that break it
> because I can parse all rmod.bib.
>
> Stef
>
> On Dec 12, 2011, at 12:26 PM, Alexandre Bergel wrote:
>
>> Hi!
>>
>> Apparently, Citezen does not parse scg.bib (http://scg.unibe.ch/scgbib). The following expression raises an error: CZBibParser parse: (FileStream fileNamed: '/Users/alexandrebergel/Workspace/scgbib/scg.bib') contents
>>
>> Is there something obvious I missed?
>>
>> Cheers,
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.







Reply | Threaded
Open this post in threaded view
|

Re: Citezen

Stéphane Ducasse
In reply to this post by abergel
check the stream?

Stef

On Dec 12, 2011, at 1:26 PM, Alexandre Bergel wrote:

> Not yet. Smacc does not tell where the error happen.
>
> Cheers,


Reply | Threaded
Open this post in threaded view
|

Re: Citezen

onierstrasz
In reply to this post by abergel

We are using Citezen-Pier to parse the scgbib on our web site. I'm on the Netherlands right now so I cannot check ...

cheers
on

---
Prof. Dr. O. Nierstrasz    -- [hidden email]
Software Composition Group -- http://scg.unibe.ch/oscar
University of Bern         -- Tel/Fax +41 31 631.4618/3355


On 12 Dec 2011, at 12:26, Alexandre Bergel <[hidden email]> wrote:

> Hi!
>
> Apparently, Citezen does not parse scg.bib (http://scg.unibe.ch/scgbib). The following expression raises an error: CZBibParser parse: (FileStream fileNamed: '/Users/alexandrebergel/Workspace/scgbib/scg.bib') contents
>
> Is there something obvious I missed?
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Citezen

abergel
I haven't checked closely, but it may comes from the bibitem Kort08a:

@incollection{Kort08a,
  author       = {Kortenkamp, David and Simmons, Reid},
  title        = {Robotic systems architectures and programming},
  chapter      = {8},
  booktitle    = {Springer Handbook of Robotics},
  pages        = {187--206},
  address      = {Berlin, Heidelberg},
  publisher    = {Springer},
  doi          = {10.1007/978-3-540-30301-5},
  year         = {2008},
  keywords     = {robotics springer damiencbib},
  isbn         = {978-3-540-23957-4}
}
}

Obviously, there is a mismatch of the curly brackets. But both bibtex and "make test" are happy. Strange. Maybe a white character is somewhere between.

Cheers,
Alexandre

On 12 Dec 2011, at 12:50, Oscar Nierstrasz wrote:

>
> We are using Citezen-Pier to parse the scgbib on our web site. I'm on the Netherlands right now so I cannot check ...
>
> cheers
> on
>
> ---
> Prof. Dr. O. Nierstrasz    -- [hidden email]
> Software Composition Group -- http://scg.unibe.ch/oscar
> University of Bern         -- Tel/Fax +41 31 631.4618/3355
>
>
> On 12 Dec 2011, at 12:26, Alexandre Bergel <[hidden email]> wrote:
>
>> Hi!
>>
>> Apparently, Citezen does not parse scg.bib (http://scg.unibe.ch/scgbib). The following expression raises an error: CZBibParser parse: (FileStream fileNamed: '/Users/alexandrebergel/Workspace/scgbib/scg.bib') contents
>>
>> Is there something obvious I missed?
>>
>> Cheers,
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






Reply | Threaded
Open this post in threaded view
|

Re: Citezen

Schwab,Wilhelm K
Ok, I'll bite: is the mismatch somehow acceptable?  Without the extraneous brace, Citezen parses the text; with the extraneous brace, it gives a token not expected error, which seems completely correct.

Am I missing something?  My image is a little old (if it ain't broke...), so maybe there has been a breaking change??

Bill



________________________________________
From: [hidden email] [[hidden email]] on behalf of Alexandre Bergel [[hidden email]]
Sent: Monday, December 12, 2011 2:54 PM
To: Oscar Nierstrasz
Cc: Pharo Development
Subject: Re: [Pharo-project] Citezen

I haven't checked closely, but it may comes from the bibitem Kort08a:

@incollection{Kort08a,
  author       = {Kortenkamp, David and Simmons, Reid},
  title        = {Robotic systems architectures and programming},
  chapter      = {8},
  booktitle    = {Springer Handbook of Robotics},
  pages        = {187--206},
  address      = {Berlin, Heidelberg},
  publisher    = {Springer},
  doi          = {10.1007/978-3-540-30301-5},
  year         = {2008},
  keywords     = {robotics springer damiencbib},
  isbn         = {978-3-540-23957-4}
}
}

Obviously, there is a mismatch of the curly brackets. But both bibtex and "make test" are happy. Strange. Maybe a white character is somewhere between.

Cheers,
Alexandre

On 12 Dec 2011, at 12:50, Oscar Nierstrasz wrote:

>
> We are using Citezen-Pier to parse the scgbib on our web site. I'm on the Netherlands right now so I cannot check ...
>
> cheers
> on
>
> ---
> Prof. Dr. O. Nierstrasz    -- [hidden email]
> Software Composition Group -- http://scg.unibe.ch/oscar
> University of Bern         -- Tel/Fax +41 31 631.4618/3355
>
>
> On 12 Dec 2011, at 12:26, Alexandre Bergel <[hidden email]> wrote:
>
>> Hi!
>>
>> Apparently, Citezen does not parse scg.bib (http://scg.unibe.ch/scgbib). The following expression raises an error: CZBibParser parse: (FileStream fileNamed: '/Users/alexandrebergel/Workspace/scgbib/scg.bib') contents
>>
>> Is there something obvious I missed?
>>
>> Cheers,
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.







Reply | Threaded
Open this post in threaded view
|

Re: Citezen

onierstrasz
In reply to this post by abergel
Seems to parse ok.

http://scg.unibe.ch/scgbib?query=Kort08a

---
Prof. Dr. O. Nierstrasz    -- [hidden email]
Software Composition Group -- http://scg.unibe.ch/oscar
University of Bern         -- Tel/Fax +41 31 631.4618/3355


On 12 Dec 2011, at 20:54, Alexandre Bergel <[hidden email]> wrote:

> I haven't checked closely, but it may comes from the bibitem Kort08a:
>
> @incollection{Kort08a,
>  author       = {Kortenkamp, David and Simmons, Reid},
>  title        = {Robotic systems architectures and programming},
>  chapter      = {8},
>  booktitle    = {Springer Handbook of Robotics},
>  pages        = {187--206},
>  address      = {Berlin, Heidelberg},
>  publisher    = {Springer},
>  doi          = {10.1007/978-3-540-30301-5},
>  year         = {2008},
>  keywords     = {robotics springer damiencbib},
>  isbn         = {978-3-540-23957-4}
> }
> }
>
> Obviously, there is a mismatch of the curly brackets. But both bibtex and "make test" are happy. Strange. Maybe a white character is somewhere between.
>
> Cheers,
> Alexandre
>
> On 12 Dec 2011, at 12:50, Oscar Nierstrasz wrote:
>
>>
>> We are using Citezen-Pier to parse the scgbib on our web site. I'm on the Netherlands right now so I cannot check ...
>>
>> cheers
>> on
>>
>> ---
>> Prof. Dr. O. Nierstrasz    -- [hidden email]
>> Software Composition Group -- http://scg.unibe.ch/oscar
>> University of Bern         -- Tel/Fax +41 31 631.4618/3355
>>
>>
>> On 12 Dec 2011, at 12:26, Alexandre Bergel <[hidden email]> wrote:
>>
>>> Hi!
>>>
>>> Apparently, Citezen does not parse scg.bib (http://scg.unibe.ch/scgbib). The following expression raises an error: CZBibParser parse: (FileStream fileNamed: '/Users/alexandrebergel/Workspace/scgbib/scg.bib') contents
>>>
>>> Is there something obvious I missed?
>>>
>>> Cheers,
>>> Alexandre
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>>
>>>
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>