You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 27, 2019. It is now read-only.
diff --git a/lib/oelite/parse/oeparse.py b/lib/oelite/parse/oeparse.py
index d2087a9..7ccbdb7 100644
--- a/lib/oelite/parse/oeparse.py
+++ b/lib/oelite/parse/oeparse.py
@@ -22,7 +22,8 @@ class OEParser(object):
# ply <= 3.4
self.tokens = lexer.lextokens.keys()
oelite.util.makedirs("tmp/ply")
- picklefile = "tmp/ply/" + self.__class__.__module__ + ".p"
+ #picklefile = "tmp/ply/" + self.__class__.__module__ + ".p"
+ picklefile = None
self.yacc = ply.yacc.yacc(module=self, debug=0, picklefile=picklefile)
if meta is not None:
self.meta = meta
As far as I can tell, the code in both ply-3.4 and core-3.5 (my previous versions) were the same in the relevant places, i.e. ply.yacc.yacc(..., picklefile=picklefile) and read_pickle().
What I have noticed is that after certain recipe changes (haven't found a
pattern), all recipes need be reparsed, but usally it takes the regular
amount fo time.
This because the data is still cached, just in another location:
core/lib/oelite/parse/parsetab.py
On Mon, Oct 12, 2015 at 1:13 PM, Esben Haabendal [email protected]
wrote:
Have you had time to look more into it.
Would be nice to resolve this issue before releasing 4.0.1.
—
Reply to this email directly or view it on GitHub #30 (comment).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Decided to do a fresh build after upgrading to core/4.0.0 by removing tmp/.
tmp/ply is an empty directory.
The text was updated successfully, but these errors were encountered: