<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/rollem/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/rollem/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/rollem/bugs/</id><updated>2001-01-19T18:50:16Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>Bug in pickling of tables prevents compiling</title><link href="https://sourceforge.net/p/rollem/bugs/1/" rel="alternate"/><published>2001-01-19T18:50:16Z</published><updated>2001-01-19T18:50:16Z</updated><author><name>Joshua Macy</name><uri>https://sourceforge.net/u/jmacy/</uri></author><id>https://sourceforge.netab819e249eb5e1fc67e2251dad9b7ac380be8aa4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;For some (but apparently not all) tables, pickling and unpickling results in a pickle error complaining that the pickle file was truncated.  This doesn't seem to have anything to do with whether the files were read/written with the 'b' option, but rather with the exact structure of the table being pickled.  For intance, the &amp;amp;quot;Hello World&amp;amp;quot; table constructed &amp;amp;quot;by hand&amp;amp;quot; in the doctest in table.py can be successfully pickled and unpickled, but the same table read from an XML file using rollsax.py gets the pickle error after running compile.py and then roll.py.  Apparently there's something different about the master table created by the doctest and the master table returned by the content handler.&lt;/p&gt;
&lt;p&gt;At the moment, I'm at a loss as to exactly what the difference is, particularly with such a simple table; I'll probably end up creating a unittest that compares the two master tables field-by-field, but not right now.  Since the compile.py utility only exists as a speed optimization for large tables, and so far nobody has complained that it hasn't worked (which probably means nobody uses it), fixing it isn't urgent.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>