[Beremiz-devel] SyntaxError from zeroconf.py

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Beremiz-devel] SyntaxError from zeroconf.py

Beremiz-Devel mailing list
Hi colleagues, i got this error when Beremiz starts on Windows:

https://cloud.mail.ru/public/5eNB/Wq9pHMvRD

$ /c/Python27/python /d/brmz/beremiz/beremiz/Beremiz.py
Traceback (most recent call last):
  File "D:/brmz/beremiz/beremiz/Beremiz.py", line 206, in AppStart
    self.BackgroundInitialization()
  File "D:/brmz/beremiz/beremiz/Beremiz.py", line 139, in
BackgroundInitialization
    self.ImportModules()
  File "D:/brmz/beremiz/beremiz/Beremiz.py", line 182, in ImportModules
    mod = __import__(modname)
  File "D:\brmz\beremiz\beremiz\BeremizIDE.py", line 44, in <module>
    from editors.EditorPanel import EditorPanel
  File "D:\brmz\beremiz\beremiz\editors\EditorPanel.py", line 29, in
<module>
    from controls import VariablePanel
  File "D:\brmz\beremiz\beremiz\controls\__init__.py", line 34, in <module>
    from controls.DebugVariablePanel import DebugVariablePanel
  File "D:\brmz\beremiz\beremiz\controls\DebugVariablePanel\__init__.py",
line 26, in <module>
    from controls.DebugVariablePanel.DebugVariablePanel import
DebugVariablePanel
  File
"D:\brmz\beremiz\beremiz\controls\DebugVariablePanel\DebugVariablePanel.py",
line 44, in <module>
    from controls.DebugVariablePanel.DebugVariableTextViewer import
DebugVariableTextViewer
  File
"D:\brmz\beremiz\beremiz\controls\DebugVariablePanel\DebugVariableTextViewer.py",
line 31, in <module>
    from controls.DebugVariablePanel.DebugVariableViewer import
DebugVariableViewer
  File
"D:\brmz\beremiz\beremiz\controls\DebugVariablePanel\DebugVariableViewer.py",
line 34, in <module>
    from dialogs.ForceVariableDialog import ForceVariableDialog
  File "D:\brmz\beremiz\beremiz\dialogs\__init__.py", line 52, in <module>
    from dialogs.DiscoveryDialog import DiscoveryDialog
  File "D:\brmz\beremiz\beremiz\dialogs\DiscoveryDialog.py", line 32, in
<module>
    from zeroconf import ServiceBrowser, Zeroconf
  File "C:\Python27\lib\site-packages\zeroconf.py", line 175
    def current_time_millis() -> float:
                              ^
SyntaxError: invalid syntax

What I did wrong?



--
Sent from: http://beremiz-devel.2374573.n4.nabble.com/


_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel
skv
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] SyntaxError from zeroconf.py

skv
Administrator
On 18-11-28 01:17, zmic via Beremiz-devel wrote:

> Hi colleagues, i got this error when Beremiz starts on Windows:
>
> https://cloud.mail.ru/public/5eNB/Wq9pHMvRD
>
> $ /c/Python27/python /d/brmz/beremiz/beremiz/Beremiz.py
> Traceback (most recent call last):
>   File "D:/brmz/beremiz/beremiz/Beremiz.py", line 206, in AppStart
>     self.BackgroundInitialization()
>   File "D:/brmz/beremiz/beremiz/Beremiz.py", line 139, in
> BackgroundInitialization
>     self.ImportModules()
>   File "D:/brmz/beremiz/beremiz/Beremiz.py", line 182, in ImportModules
>     mod = __import__(modname)
>   File "D:\brmz\beremiz\beremiz\BeremizIDE.py", line 44, in <module>
>     from editors.EditorPanel import EditorPanel
>   File "D:\brmz\beremiz\beremiz\editors\EditorPanel.py", line 29, in
> <module>
>     from controls import VariablePanel
>   File "D:\brmz\beremiz\beremiz\controls\__init__.py", line 34, in <module>
>     from controls.DebugVariablePanel import DebugVariablePanel
>   File "D:\brmz\beremiz\beremiz\controls\DebugVariablePanel\__init__.py",
> line 26, in <module>
>     from controls.DebugVariablePanel.DebugVariablePanel import
> DebugVariablePanel
>   File
> "D:\brmz\beremiz\beremiz\controls\DebugVariablePanel\DebugVariablePanel.py",
> line 44, in <module>
>     from controls.DebugVariablePanel.DebugVariableTextViewer import
> DebugVariableTextViewer
>   File
> "D:\brmz\beremiz\beremiz\controls\DebugVariablePanel\DebugVariableTextViewer.py",
> line 31, in <module>
>     from controls.DebugVariablePanel.DebugVariableViewer import
> DebugVariableViewer
>   File
> "D:\brmz\beremiz\beremiz\controls\DebugVariablePanel\DebugVariableViewer.py",
> line 34, in <module>
>     from dialogs.ForceVariableDialog import ForceVariableDialog
>   File "D:\brmz\beremiz\beremiz\dialogs\__init__.py", line 52, in <module>
>     from dialogs.DiscoveryDialog import DiscoveryDialog
>   File "D:\brmz\beremiz\beremiz\dialogs\DiscoveryDialog.py", line 32, in
> <module>
>     from zeroconf import ServiceBrowser, Zeroconf
>   File "C:\Python27\lib\site-packages\zeroconf.py", line 175
>     def current_time_millis() -> float:
>                               ^
> SyntaxError: invalid syntax
>
> What I did wrong?

What version of zeroconf do you use?
--
Best regards,
Andrey Skvortsov


_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] SyntaxError from zeroconf.py

Beremiz-Devel mailing list
My zeroconf version is (0.21.3).




--
Sent from: http://beremiz-devel.2374573.n4.nabble.com/


_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel
skv
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] SyntaxError from zeroconf.py

skv
Administrator
On 18-11-28 01:42, zmic via Beremiz-devel wrote:
> My zeroconf version is (0.21.3).
As it was said before couple times on this mailing list, this version
of zeroconf does *NOT* supports python2.

See zeroconf changelog
https://pypi.org/project/zeroconf/

--
Best regards,
Andrey Skvortsov


_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel