I have been bothered by an issue of un-refreshed cache (in fact not even know
what to call it) for a while.
First of all this is Windows 10. It goes this way:
module m(...){ ... }
m();
then I modified content, lets say, add an echo:
module m(...){ ... ; echo(...); }
m();
but the revised content is not reflected (in this case, nothing is showing
up in the console).
If I then change the name of the module to :
module m2(...){ ... ; echo(...); }
m2();
OpenSCAD complains "WARNING: Ignoring unknown module 'm'. " even though I
don't call m() this time.
Clearning cache or restarting OpenSCAD doesn't help.
Also puzzling is that it happens sometimes but not all the time and I have
no way to predict when it will occur.
I suspect this is a Window problem but not sure. Anyone knows of what
happens and how to fix it ?
$ Runsun Pan, PhD $ libs: scadx , doctest , faces ( git ), offline doc ( git ), runscad.py ( 2 , git ), editor of choice: CudaText ( OpenSCAD lexer ); $ Tips ; $ Snippets
--
Sent from: http://forum.openscad.org/
Is it possible your clock is is going backwards on your PC?
On 16 August 2018 at 17:37, runsun runsun@gmail.com wrote:
I have been bothered by an issue of un-refreshed cache (in fact not even
know
what to call it) for a while.
First of all this is Windows 10. It goes this way:
module m(...){ ... }
m();
then I modified content, lets say, add an echo:
module m(...){ ... ; echo(...); }
m();
but the revised content is not reflected (in this case, nothing is showing
up in the console).
If I then change the name of the module to :
module m2(...){ ... ; echo(...); }
m2();
OpenSCAD complains "WARNING: Ignoring unknown module 'm'. " even though I
don't call m() this time.
Clearning cache or restarting OpenSCAD doesn't help.
Also puzzling is that it happens sometimes but not all the time and I have
no way to predict when it will occur.
I suspect this is a Window problem but not sure. Anyone knows of what
happens and how to fix it ?
$ Runsun Pan, PhD $ libs: scadx , doctest , faces ( git ), offline doc (
git ), runscad.py ( 2 , git ), editor of choice: CudaText ( OpenSCAD lexer
); $ Tips ; $ Snippets
--
Sent from: http://forum.openscad.org/
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Doesn't seem like it. At least the time is correct as of now, and the problem
persists.
$ Runsun Pan, PhD $ libs: scadx , doctest , faces ( git ), offline doc ( git ), runscad.py ( 2 , git ), editor of choice: CudaText ( OpenSCAD lexer ); $ Tips ; $ Snippets
--
Sent from: http://forum.openscad.org/
restarting OpenSCAD doesn't help.
So openscad still complains about things no longer in the source code after
a restart?
It doesn't have a persistent cache, so I have no idea how it can see an out
of date version of the source code after a restart. Are you using an
external editor?
On 17 August 2018 at 05:20, runsun runsun@gmail.com wrote:
Doesn't seem like it. At least the time is correct as of now, and the
problem
persists.
$ Runsun Pan, PhD $ libs: scadx , doctest , faces ( git ), offline doc (
git ), runscad.py ( 2 , git ), editor of choice: CudaText ( OpenSCAD lexer
); $ Tips ; $ Snippets
--
Sent from: http://forum.openscad.org/
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
@nophead
Apology for late reply. Yes I am using an external editor.
As of now, the issue no longer exits after the Windows restarted overnight
two days ago.
$ Runsun Pan, PhD $ libs: scadx , doctest , faces ( git ), offline doc ( git ), runscad.py ( 2 , git ), editor of choice: CudaText ( OpenSCAD lexer ); $ Tips ; $ Snippets
--
Sent from: http://forum.openscad.org/