rwl / muntjac

A web application GUI toolkit
http://www.muntiacus.org
Apache License 2.0
42 stars 14 forks source link

Invient charts demo timestamp error #10

Open rwl opened 12 years ago

rwl commented 12 years ago

Running invient_demo_app.py, the "updating each second" demo raises the error:

"timestamp out of range for platform localtime()/gmtime() function"

rwl commented 12 years ago

Serving at: http://localhost:8880/

WARNING:

Muntjac is running in DEBUG MODE. Add productionMode=true to INI to disable debug features.

To show debug window, add ?debug to your application URL.

WWW-2871DC6B13D - - [07/Jun/2012 23:35:01] "POST /UIDL?windowName=1 HTTP/1.1" 200 203 c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac\terminal \gwt\server\abstract_application_servlet.py:1922: DeprecationWarning: deprecated warn("deprecated", DeprecationWarning) parent : Line, selected : Basic c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac\ui \grid_layout.py:721: DeprecationWarning: replaced by setComponentAlignment warn('replaced by setComponentAlignment', DeprecationWarning) c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac\terminal \gwt\server\abstract_communication_manager.py:1657: DeprecationWarning: deprecated warn("deprecated", DeprecationWarning) c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \application.py:625: DeprecationWarning: this method is called be the terminal implementation only and might be removed or moved in the future. Instead of overriding this method, add your L{IUriHandler} to a top level L{Window} (eg. getMainWindow().addUriHanler(handler) instead. "instead."), DeprecationWarning) WWW-2871DC6B13D - - [07/Jun/2012 23:35:08] "GET / HTTP/1.1" 200 2675 WWW-2871DC6B13D - - [07/Jun/2012 23:35:08] "GET /VAADIN/widgetsets/ org.muntiacus.MuntjacWidgetSet/ org.muntiacus.MuntjacWidgetSet.nocache.js?1339083308187 HTTP/1.1" 200 10176 WWW-2871DC6B13D - - [07/Jun/2012 23:35:08] "GET /VAADIN/widgetsets/ org.muntiacus.MuntjacWidgetSet/clear.cache.gif HTTP/1.1" 304 0 WWW-2871DC6B13D - - [07/Jun/2012 23:35:08] "GET /VAADIN/widgetsets/ org.muntiacus.MuntjacWidgetSet/lib/codemirror.js HTTP/1.1" 304 0 WWW-2871DC6B13D - - [07/Jun/2012 23:35:08] "GET /VAADIN/widgetsets/ org.muntiacus.MuntjacWidgetSet/mode/rst/rst.js HTTP/1.1" 304 0 WWW-2871DC6B13D - - [07/Jun/2012 23:35:08] "GET /VAADIN/widgetsets/ org.muntiacus.MuntjacWidgetSet/mode/clike/clike.js HTTP/1.1" 304 0 WWW-2871DC6B13D - - [07/Jun/2012 23:35:08] "GET /VAADIN/widgetsets/ org.muntiacus.MuntjacWidgetSet/mode/javascript/javascript.js HTTP/1.1" 304 0 WWW-2871DC6B13D - - [07/Jun/2012 23:35:08] "GET /VAADIN/widgetsets/ org.muntiacus.MuntjacWidgetSet/mode/xml/xml.js HTTP/1.1" 304 0 WWW-2871DC6B13D - - [07/Jun/2012 23:35:08] "GET /VAADIN/widgetsets/ org.muntiacus.MuntjacWidgetSet/mode/css/css.js HTTP/1.1" 304 0 WWW-2871DC6B13D - - [07/Jun/2012 23:35:08] "GET /VAADIN/widgetsets/ org.muntiacus.MuntjacWidgetSet/mode/plsql/plsql.js HTTP/1.1" 304 0 WWW-2871DC6B13D - - [07/Jun/2012 23:35:08] "GET /VAADIN/widgetsets/ org.muntiacus.MuntjacWidgetSet/mode/python/python.js HTTP/1.1" 304 0 WWW-2871DC6B13D - - [07/Jun/2012 23:35:08] "GET /VAADIN/widgetsets/ org.muntiacus.MuntjacWidgetSet/js/highcharts.js HTTP/1.1" 304 0 WWW-2871DC6B13D - - [07/Jun/2012 23:35:08] "GET /VAADIN/widgetsets/ org.muntiacus.MuntjacWidgetSet/mode/php/php.js HTTP/1.1" 304 0 WWW-2871DC6B13D - - [07/Jun/2012 23:35:08] "GET /VAADIN/widgetsets/ org.muntiacus.MuntjacWidgetSet/mode/lua/lua.js HTTP/1.1" 304 0 WWW-2871DC6B13D - - [07/Jun/2012 23:35:08] "GET /VAADIN/widgetsets/ org.muntiacus.MuntjacWidgetSet/jquery/jquery-1.4.4.min.js HTTP/1.1" 304 0 WWW-2871DC6B13D - - [07/Jun/2012 23:35:08] "GET /VAADIN/widgetsets/ org.muntiacus.MuntjacWidgetSet/js/modules/exporting.js HTTP/1.1" 304 0 WWW-2871DC6B13D - - [07/Jun/2012 23:35:08] "GET /VAADIN/themes/ chartdemo/styles.css HTTP/1.1" 304 0 WWW-2871DC6B13D - - [07/Jun/2012 23:35:08] "GET /VAADIN/themes/ reindeer/styles.css HTTP/1.1" 304 0 WWW-2871DC6B13D - - [07/Jun/2012 23:35:08] "GET /VAADIN/themes/base/ common/img/loading-indicator.gif HTTP/1.1" 304 0 c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac\ui \abstract_component.py:152: DeprecationWarning: Use getStyleName() instead warn('Use getStyleName() instead', DeprecationWarning) c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac\ui \button.py:209: DeprecationWarning: use CheckBox instead warn('use CheckBox instead', DeprecationWarning) c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac\ui \abstract_text_field.py:136: DeprecationWarning: deprecated warn('deprecated', DeprecationWarning) WWW-2871DC6B13D - - [07/Jun/2012 23:35:09] "POST /UIDL? repaintAll=1&sh=900&sw=1440&cw=890&ch=613&vw=890&vh=613&fr=&tzo=-480&rtzo=-480&dstd=0&dston=false&curdate=1339083309250&wsver=6.7.1 HTTP/1.1" 200 9386 parent : Spline, selected : Updating each second ERROR: ITerminal error: timestamp out of range for platform localtime()/gmtime() function Traceback (most recent call last): File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \terminal\gwt\server\abstract_communication_manager.py", line 1005, in handleVariableBurst self.changeVariables(source, owner, m) File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \terminal\gwt\server\abstract_communication_manager.py", line 1050, in changeVariables owner.changeVariables(source, m) File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \ui\tree.py", line 340, in changeVariables super(Tree, self).changeVariables(source, variables) File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \ui\abstract_select.py", line 355, in changeVariables self.setValue(idd, True) File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \ui\abstract_select.py", line 464, in setValue repaintIsNotNeeded) File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \ui\abstract_field.py", line 441, in setValue self.fireValueChange(repaintIsNotNeeded) File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \ui\abstract_field.py", line 784, in fireValueChange self.fireEvent(event) File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \ui\abstract_component.py", line 995, in fireEvent self._eventRouter.fireEvent(event) File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \event\event_router.py", line 103, in fireEvent listener.receiveEvent(event) File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \event\listener_method.py", line 285, in receiveEvent m(event) File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \addon\invient\demo\invient_demo_win.py", line 3808, in valueChange self._window.showChart(demoSeriesTypeName, seriesInstanceName) File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \addon\invient\demo\invient_demo_win.py", line 247, in showChart self.showSplineUpdatingEachSecond() File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \addon\invient\demo\invient_demo_win.py", line 2005, in showSplineUpdatingEachSecond self.getUpdatedDate(dtNow, cnt), random())) File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \addon\invient\demo\invient_demo_win.py", line 2038, in getUpdatedDate return datetime.utcfromtimestamp(ts) ValueError: timestamp out of range for platform localtime()/gmtime() function Traceback (most recent call last): File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \terminal\gwt\server\abstract_communication_manager.py", line 1005, in handleVariableBurst self.changeVariables(source, owner, m) File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \terminal\gwt\server\abstract_communication_manager.py", line 1050, in changeVariables owner.changeVariables(source, m) File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \ui\tree.py", line 340, in changeVariables super(Tree, self).changeVariables(source, variables) File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \ui\abstract_select.py", line 355, in changeVariables self.setValue(idd, True) File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \ui\abstract_select.py", line 464, in setValue repaintIsNotNeeded) File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \ui\abstract_field.py", line 441, in setValue self.fireValueChange(repaintIsNotNeeded) File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \ui\abstract_field.py", line 784, in fireValueChange self.fireEvent(event) File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \ui\abstract_component.py", line 995, in fireEvent self._eventRouter.fireEvent(event) File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \event\event_router.py", line 103, in fireEvent listener.receiveEvent(event) File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \event\listener_method.py", line 285, in receiveEvent m(event) File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \addon\invient\demo\invient_demo_win.py", line 3808, in valueChange self._window.showChart(demoSeriesTypeName, seriesInstanceName) File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \addon\invient\demo\invient_demo_win.py", line 247, in showChart self.showSplineUpdatingEachSecond() File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \addon\invient\demo\invient_demo_win.py", line 2005, in showSplineUpdatingEachSecond self.getUpdatedDate(dtNow, cnt), random())) File "c:\Python26\lib\site-packages\muntjac-1.1.0-py2.6.egg\muntjac \addon\invient\demo\invient_demo_win.py", line 2038, in getUpdatedDate return datetime.utcfromtimestamp(ts) ValueError: timestamp out of range for platform localtime()/gmtime() function