Hi,

I was running pyjamas from the ubuntu packages, but apparently they are a 
bit outdated and some classes are not implemented. Notably, Anchor. Also, 
the interface to Timer has changed.

So I have decided to remove the system packages and use the master branch 
from the github repo, for both web deployments and pyjs desktop.
The only system package (as far as I understand) that I have installed is 
python-hulahop, since I have not been able to install that by hand.

But now I have other errors, which prevent me from running pyjs desktop 
(the web deployments are running fine)

gonvaled@pegasus ~/projects/test_project/pyjs/wavilon-portal (develop)» 
~/tmp/pyjs/bin/pyjd Portal.py
returning /home/gonvaled/.pyjd/prefs.js for key NS_APP_PREFS_50_FILE
loaded
set_main_frame <Browser object at 0xb74150a4 (hulahop+webview+WebView at 
0xa382000)>
Traceback (most recent call last):
  File "Portal.py", line 71, in <module>
    p.onModuleLoad()
  File "Portal.py", line 57, in onModuleLoad
    DeferredCommand.add(self)
  File "/home/gonvaled/tmp/pyjs/library/pyjamas/DeferredCommand.py", line 
9, in add
    maybeSetDeferredCommandTimer()
  File "/home/gonvaled/tmp/pyjs/library/pyjamas/DeferredCommand.py", line 
27, in maybeSetDeferredCommandTimer
    Timer(1, onTimer)
  File "/home/gonvaled/tmp/pyjs/library/pyjamas/Timer.py", line 114, in 
__init__
    self.schedule(delayMillis)
  File "/home/gonvaled/tmp/pyjs/library/pyjamas/Timer.py", line 154, in 
schedule
    self.__tid = self.__setTimeout(delayMillis)
  File "/home/gonvaled/tmp/pyjs/library/pyjamas/Timer.py", line 183, in 
__setTimeout
    raise NotImplementedError, 'Timer is not fully implemented for your 
platform'
NotImplementedError: Timer is not fully implemented for your platform

I have verified that my platform is detected, but it seems it is not:

gonvaled@pegasus ~/tmp/pyjs/examples/browserdetect (master)» 
~/tmp/pyjs/bin/pyjd BrowserDetect.py 

"Browser not detected/supported"

How can I solve this problem?

BR,
Daniel

Reply via email to