Hi, The Timer is not working on windows. I tracked to the Timer.mshtml.py.
It looks it is missing reference to pyjd.threading and
pyjd.add_timer_queue().
In the old release, the pyjd/__init__.py imports mshtml, that contains
add_timer_queue(). Subsequently mshtml imports threading thus making it
visible to all the user objects.
How this can be worked around, even if not by a full fix?
More info: I added a break point in imputil.py at the 2nd print line below:
def _import_hook(self, fqname, globals=None, locals=None,
fromlist=None,
level=-1):
"""Python calls this hook to locate and import a module."""
parts = fqname.split('.')
+ if 'Timer' in fqname:
+ print " Time in fqname ", fqname, " to load... ", __file__,
"\n"
+ print " Time in fqname ", fqname, " ... "
>From there it tracked to _fs_import() in imports.py, I can see when loading
Timer it actually loads Timer.mshtml.
Any hinds or comments are more than welcome.
Thanks.
--
---
You received this message because you are subscribed to the Google Groups
"Pyjs.org Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.