<div class="markdown_content"><ul>
<li><strong>status</strong>: open --&gt; closed-wont-fix</li>
</ul>
<hr />
<p><strong> <a class="alink strikethrough" href="http://sourceforge.net/p/cwb/bugs/59/">[bugs:#59]</a> cwb-makeall aborts uninformatively if there are too many attributes</strong></p>
<p><strong>Status:</strong> closed-wont-fix<br />
<strong>Group:</strong> TODO-4.0<br />
<strong>Labels:</strong> CL low-level library <br />
<strong>Created:</strong> Fri Sep 13, 2013 11:15 AM UTC by Andrew Hardie<br />
<strong>Last Updated:</strong> Sun Jun 29, 2014 10:08 PM UTC<br />
<strong>Owner:</strong> Andrew Hardie</p>
<p>It is possible to create a corpus using cwb-encode that cannot be processed by cwb-makeall (or any tool that uses the CL, but cwb-makeall is the one where you notice it!) because it has too many attributes.</p>
<p>The bug is as follows: the YACC parser produces an error, with the message printed twice:</p>
<p>syntax error<br />
Parse Error</p>
<p>(plus boiler plate inserted by cregerror_cleanup())</p>
<p>This seems to arise from the "error" component in the Yacc grammar in parser.y.</p>
<p>I triggered this error with S-attributes (I was indexing <em>lots</em> of XML elements, each of which had 3 or 4 attributes). Removing most of them from the registry file made the problem go away. Thus, I infer that the problem was caused by too many attributes - I assume it could not have been a syntax error in the reg file, because that was written by cwb-encode!</p>
<p>Solution: I am not even sure one is needed because this entire area of the code will go away in v 3.9/4.0, and it is clearly not hampering most users. If there <em>is</em> an effective maximum number of attributes, perhaps that should be mentioned in the cwb-encode man file for 3.5.</p>
<hr />
<p>Sent from sourceforge.net because cwb@sslmit.unibo.it is subscribed to <a href="https://sourceforge.net/p/cwb/bugs/">https://sourceforge.net/p/cwb/bugs/</a></p>
<p>To unsubscribe from further messages, a project admin can change settings at <a href="https://sourceforge.net/p/cwb/admin/bugs/options.">https://sourceforge.net/p/cwb/admin/bugs/options.</a>  Or, if this is a mailing list, you can unsubscribe from the mailing list.</p></div>