[Beremiz-devel] Fwd: Errors running Beremiz on Arch Linux

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

[Beremiz-devel] Fwd: Errors running Beremiz on Arch Linux

Daniel Mirkin
Dear Beremiz developers:

I'm trying to run Beremiz on Arch Linux.

I've installed all its dependencies:
python2 2.7.15-1
python2-wxpython3 3.0.2.0-1
python2-pyro 4.72-1
python2-numpy 1.14.5-1
nevow 0.14.3-1 (provides python2-nevow)
python2-matplotlib 2.2.2-2
python2-lxml 4.2.1-1

I have build matIEC compiler and launched Beremiz:

python2 Beremiz.py
1) logo splash window appears but immediatly an Error window appears too, showing 12 lines.
2) terminal shows:
<code>
 /usr/lib/python2.7/site-packages/wx-3.0-gtk3/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch
  warnings.warn("wxPython/wxWidgets release number mismatch")
...
 File "/home/daniel/Beremiz/beremiz/dialogs/DiscoveryDialog.py", line 31, in <module>
    from zeroconf import ServiceBrowser, Zeroconf
ImportError: No module named zeroconf
</code>

Attached bug_report.txt

I don't know if this bug is related to zeroconf system capabilities or is only Beremiz internals related.
I've installed avahi (wich provides free zeroconf implementation),  edited /etc/nsswitch.conf and started avahi-daemon.service, but Beremiz still refuses to run, showing the same error.
Any clue on this bug?

BTW: Previously, I've tried to install PLCOpenEditor 1.2 (a Beremiz fork?) from http://www.openplcproject.com/plcopen-editor/

Your answers will be welcome.

Best regards,
Daniel Mirkin
Cel. +54 9 223 524 2171

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

bug_report_2018_06_25__10-08-25.txt (11K) Download Attachment
skv
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] Fwd: Errors running Beremiz on Arch Linux

skv
Administrator

On 18-06-25 11:13, Daniel Mirkin wrote:

> Dear Beremiz developers:
>
> I'm trying to run Beremiz on Arch Linux.
>
> I've installed all its dependencies:
> python2 2.7.15-1
> python2-wxpython3 3.0.2.0-1
> python2-pyro 4.72-1
> python2-numpy 1.14.5-1
> nevow 0.14.3-1 (provides python2-nevow)
> python2-matplotlib 2.2.2-2
> python2-lxml 4.2.1-1
>
> I have build matIEC compiler and launched Beremiz:
>
> python2 Beremiz.py
> 1) logo splash window appears but immediatly an Error window appears too,
> showing 12 lines.
> 2) terminal shows:
> <code>
>  /usr/lib/python2.7/site-packages/wx-3.0-gtk3/wx/_core.py:16629:
> UserWarning: wxPython/wxWidgets release number mismatch
>   warnings.warn("wxPython/wxWidgets release number mismatch")
> ...
>  File "/home/daniel/Beremiz/beremiz/dialogs/DiscoveryDialog.py", line 31,
> in <module>
>     from zeroconf import ServiceBrowser, Zeroconf
> ImportError: No module named zeroconf
> </code>
>
> Attached bug_report.txt
>
> I don't know if this bug is related to zeroconf system capabilities or is
> only Beremiz internals related.
> I've installed avahi (wich provides free zeroconf implementation),  edited
> /etc/nsswitch.conf and started avahi-daemon.service, but Beremiz still
> refuses to run, showing the same error.
> Any clue on this bug?
>
Not any zeroconf-supported service or application is required, but
python module with name zeroconf.

https://bitbucket.org/automforge/beremiz/src/b7d803fc44dba3211bcb113544c6eddc4815ffcd/README.md?at=default&fileviewer=file-view-default
something like this
https://packages.debian.org/buster/python-zeroconf

> BTW: Previously, I've tried to install PLCOpenEditor 1.2 (a Beremiz fork?)
> from http://www.openplcproject.com/plcopen-editor/
> Different bugs arise, see
> https://openplc.discussion.community/post/plcopeneditor-fails-syntax-error-in-plcopeneditor-py-

I'll look into these problems. I'm not using PLCOpenEditor almost.
Apparently you use old PLCOpenEditor, because print functions were
fixed last year.
https://bitbucket.org/automforge/beremiz/commits/91796f408540d648b97d361f387e5aa9cfc8a4c8

> Your answers will be welcome.
A>

> Best regards,
> *Daniel Mirkin*
> *[hidden email] <[hidden email]>*
> *Cel. +54 9 223 524 2171oo app-title:
> beremiz
>
> app-version:
> 1.2-cc7a46953471
>
> cwd:
> /home/daniel/Beremiz/beremiz
>
> date:
> Mon Jun 25 10:08:25 2018
>
> e-type:
> <type 'exceptions.ImportError'>
>
> e-value:
> No module named zeroconf
>
> locals:
>     socket: None
>     __builtins__: {'bytearray': <type 'bytearray'>, 'IndexError': <type 'exceptions.IndexError'>, 'all': <built-in function all>, 'help': Type help() for interactive help, or help(object) for help about object., 'vars': <built-in function vars>, 'SyntaxError': <type 'exceptions.SyntaxError'>, 'unicode': <type 'unicode'>, 'UnicodeDecodeError': <type 'exceptions.UnicodeDecodeError'>, 'memoryview': <type 'memoryview'>, 'isinstance': <built-in function isinstance>, 'copyright': Copyright (c) 2001-2018 Python Software Foundation.
> All Rights Reserved.
>
> Copyright (c) 2000 BeOpen.com.
> All Rights Reserved.
>
> Copyright (c) 1995-2001 Corporation for National Research Initiatives.
> All Rights Reserved.
>
> Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
> All Rights Reserved., 'NameError': <type 'exceptions.NameError'>, 'BytesWarning': <type 'exceptions.BytesWarning'>, 'dict': <type 'dict'>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type 'exceptions.SystemExit'>, 'StandardError': <type 'exceptions.StandardError'>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type 'exceptions.RuntimeWarning'>, 'list': <type 'list'>, 'iter': <built-in function iter>, 'reload': <built-in function reload>, 'Warning': <type 'exceptions.Warning'>, '__package__': None, 'round': <built-in function round>, 'dir': <built-in function dir>, 'cmp': <built-in function cmp>, 'set': <type 'set'>, 'bytes': <type 'str'>, 'reduce': <built-in function reduce>, 'intern': <built-in function intern>, 'issubclass': <built-in function issubclass>, 'Ellipsis': Ellipsis, 'EOFError': <type 'exceptions.EOFError'>, 'locals': <built-in function locals>, 'BufferError': <type 'exceptions.BufferError'>, 'slice': <type 'slice'>, 'FloatingPointError': <type 'exceptions.FloatingPointError'>, 'sum': <built-in function sum>, 'getattr': <built-in function getattr>, 'abs': <built-in function abs>, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'print': <built-in function print>, 'True': True, 'FutureWarning': <type 'exceptions.FutureWarning'>, 'ImportWarning': <type 'exceptions.ImportWarning'>, 'None': None, 'hash': <built-in function hash>, 'ReferenceError': <type 'exceptions.ReferenceError'>, 'len': <built-in function len>, 'credits':     Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands
>     for supporting Python development.  See www.python.org for more information., 'frozenset': <type 'frozenset'>, '__name__': '__builtin__', 'ord': <built-in function ord>, 'super': <type 'super'>, '_': <function GetTranslation at 0x7f66e241c8c0>, 'TypeError': <type 'exceptions.TypeError'>, 'license': Type license() to see the full license text, 'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>, 'UserWarning': <type 'exceptions.UserWarning'>, 'filter': <built-in function filter>, 'range': <built-in function range>, 'staticmethod': <type 'staticmethod'>, 'SystemError': <type 'exceptions.SystemError'>, 'BaseException': <type 'exceptions.BaseException'>, 'pow': <built-in function pow>, 'RuntimeError': <type 'exceptions.RuntimeError'>, 'float': <type 'float'>, 'MemoryError': <type 'exceptions.MemoryError'>, 'StopIteration': <type 'exceptions.StopIteration'>, 'globals': <built-in function globals>, 'divmod': <built-in function divmod>, 'enumerate': <type 'enumerate'>, 'apply': <built-in function apply>, 'LookupError': <type 'exceptions.LookupError'>, 'open': <built-in function open>, 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'basestring': <type 'basestring'>, 'UnicodeError': <type 'exceptions.UnicodeError'>, 'zip': <built-in function zip>, 'hex': <built-in function hex>, 'long': <type 'long'>, 'next': <built-in function next>, 'ImportError': <type 'exceptions.ImportError'>, 'chr': <built-in function chr>, 'xrange': <type 'xrange'>, 'type': <type 'type'>, '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", 'Exception': <type 'exceptions.Exception'>, 'tuple': <type 'tuple'>, 'UnicodeTranslateError': <type 'exceptions.UnicodeTranslateError'>, 'reversed': <type 'reversed'>, 'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>, 'IOError': <type 'exceptions.IOError'>, 'hasattr': <built-in function hasattr>, 'delattr': <built-in function delattr>, 'setattr': <built-in function setattr>, 'raw_input': <built-in function raw_input>, 'SyntaxWarning': <type 'exceptions.SyntaxWarning'>, 'compile': <built-in function compile>, 'ArithmeticError': <type 'exceptions.ArithmeticError'>, 'str': <type 'str'>, 'property': <type 'property'>, 'GeneratorExit': <type 'exceptions.GeneratorExit'>, 'int': <type 'int'>, '__import__': <built-in function __import__>, 'KeyError': <type 'exceptions.KeyError'>, 'coerce': <built-in function coerce>, 'PendingDeprecationWarning': <type 'exceptions.PendingDeprecationWarning'>, 'file': <type 'file'>, 'EnvironmentError': <type 'exceptions.EnvironmentError'>, 'unichr': <built-in function unichr>, 'id': <built-in function id>, 'OSError': <type 'exceptions.OSError'>, 'DeprecationWarning': <type 'exceptions.DeprecationWarning'>, 'min': <built-in function min>, 'UnicodeWarning': <type 'exceptions.UnicodeWarning'>, 'execfile': <built-in function execfile>, 'any': <built-in function any>, 'complex': <type 'complex'>, 'bool': <type 'bool'>, 'ValueError': <type 'exceptions.ValueError'>, 'NotImplemented': NotImplemented, 'map': <built-in function map>, 'buffer': <type 'buffer'>, 'max': <built-in function max>, 'object': <type 'object'>, 'TabError': <type 'exceptions.TabError'>, 'callable': <built-in function callable>, 'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>, 'eval': <built-in function eval>, '__debug__': True, 'IndentationError': <type 'exceptions.IndentationError'>, 'AssertionError': <type 'exceptions.AssertionError'>, 'classmethod': <type 'classmethod'>, 'UnboundLocalError': <type 'exceptions.UnboundLocalError'>, 'NotImplementedError': <type 'exceptions.NotImplementedError'>, 'AttributeError': <type 'exceptions.AttributeError'>, 'OverflowError': <type 'exceptions.OverflowError'>}
>     __file__: None
>     absolute_import: None
>     __package__: None
>     __name__: None
>     listmix: None
>     __doc__: None
>     wx: None
>
> platform:
> Linux-4.17.2-1-ARCH-x86_64-with-glibc2.2.5
>
> python-version:
> 2.7.15
>
> traceback:
>   File "Beremiz.py", line 198, in AppStart
>     self.BackgroundInitialization()
>   File "Beremiz.py", line 131, in BackgroundInitialization
>     self.ImportModules()
>   File "Beremiz.py", line 174, in ImportModules
>     mod = __import__(modname)
>   File "/home/daniel/Beremiz/beremiz/BeremizIDE.py", line 45, in <module>
>     from editors.EditorPanel import EditorPanel
>   File "/home/daniel/Beremiz/beremiz/editors/EditorPanel.py", line 29, in <module>
>     from controls import VariablePanel
>   File "/home/daniel/Beremiz/beremiz/controls/__init__.py", line 34, in <module>
>     from controls.DebugVariablePanel import DebugVariablePanel
>   File "/home/daniel/Beremiz/beremiz/controls/DebugVariablePanel/__init__.py", line 26, in <module>
>     from controls.DebugVariablePanel.DebugVariablePanel import DebugVariablePanel
>   File "/home/daniel/Beremiz/beremiz/controls/DebugVariablePanel/DebugVariablePanel.py", line 45, in <module>
>     from controls.DebugVariablePanel.DebugVariableTextViewer import DebugVariableTextViewer
>   File "/home/daniel/Beremiz/beremiz/controls/DebugVariablePanel/DebugVariableTextViewer.py", line 31, in <module>
>     from controls.DebugVariablePanel.DebugVariableViewer import DebugVariableViewer
>   File "/home/daniel/Beremiz/beremiz/controls/DebugVariablePanel/DebugVariableViewer.py", line 32, in <module>
>     from dialogs.ForceVariableDialog import ForceVariableDialog
>   File "/home/daniel/Beremiz/beremiz/dialogs/__init__.py", line 51, in <module>
>     from dialogs.DiscoveryDialog import DiscoveryDialog
>   File "/home/daniel/Beremiz/beremiz/dialogs/DiscoveryDialog.py", line 31, in <module>
>     from zeroconf import ServiceBrowser, Zeroconf
> <type 'exceptions.ImportError'>: No module named zeroconf
>
> wx-platform:
> __WXGTK__
>
> wx-version:
> 3.0.2.0
>

> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot

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


--
Best regards,
Andrey Skvortsov

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] Fwd: Errors running Beremiz on Arch Linux

Daniel Mirkin
Hello, Andrey.

Thanks you for your fast response!

I've installed python2-zeroconf from AUR and launched Beremiz again.
This solves the "zeroconf module" issue.

But I'm having new troubles running Beremiz now:

File "/home/daniel/Beremiz/beremiz/runtime/PLCObject.py", line 33, in <module>

import Pyro.core as pyro

ImportError: No module named Pyro.core


New bug_report.txt attached.


My piro provider is python2-pyro 4.72-1
I could install a previous version python2-pyro3 3.16-1 from AUR, if this can solve my problem.
What do you think about?

BTW: I know, I know!
Arch Linux, being a rolling release, has packages far away newest than Debian and its derivatives.
It often results in issues if some software needs old versioned dependencies  :-(
But I cann't return to be a "debianist", I'm already a "slave of the bleeding edge software"  :-D

Best regards,

Daniel Mirkin
[hidden email]
Cel. +54 9 223 524 2171


El lun., 25 jun. 2018 a las 11:52, Andrey Skvortsov (<[hidden email]>) escribió:

On 18-06-25 11:13, Daniel Mirkin wrote:
> Dear Beremiz developers:
>
> I'm trying to run Beremiz on Arch Linux.
>
> I've installed all its dependencies:
> python2 2.7.15-1
> python2-wxpython3 3.0.2.0-1
> python2-pyro 4.72-1
> python2-numpy 1.14.5-1
> nevow 0.14.3-1 (provides python2-nevow)
> python2-matplotlib 2.2.2-2
> python2-lxml 4.2.1-1
>
> I have build matIEC compiler and launched Beremiz:
>
> python2 Beremiz.py
> 1) logo splash window appears but immediatly an Error window appears too,
> showing 12 lines.
> 2) terminal shows:
> <code>
>  /usr/lib/python2.7/site-packages/wx-3.0-gtk3/wx/_core.py:16629:
> UserWarning: wxPython/wxWidgets release number mismatch
>   warnings.warn("wxPython/wxWidgets release number mismatch")
> ...
>  File "/home/daniel/Beremiz/beremiz/dialogs/DiscoveryDialog.py", line 31,
> in <module>
>     from zeroconf import ServiceBrowser, Zeroconf
> ImportError: No module named zeroconf
> </code>
>
> Attached bug_report.txt
>
> I don't know if this bug is related to zeroconf system capabilities or is
> only Beremiz internals related.
> I've installed avahi (wich provides free zeroconf implementation),  edited
> /etc/nsswitch.conf and started avahi-daemon.service, but Beremiz still
> refuses to run, showing the same error.
> Any clue on this bug?
>

Not any zeroconf-supported service or application is required, but
python module with name zeroconf.

https://bitbucket.org/automforge/beremiz/src/b7d803fc44dba3211bcb113544c6eddc4815ffcd/README.md?at=default&fileviewer=file-view-default
something like this
https://packages.debian.org/buster/python-zeroconf

> BTW: Previously, I've tried to install PLCOpenEditor 1.2 (a Beremiz fork?)
> from http://www.openplcproject.com/plcopen-editor/
> Different bugs arise, see
> https://openplc.discussion.community/post/plcopeneditor-fails-syntax-error-in-plcopeneditor-py-

I'll look into these problems. I'm not using PLCOpenEditor almost.
Apparently you use old PLCOpenEditor, because print functions were
fixed last year.
https://bitbucket.org/automforge/beremiz/commits/91796f408540d648b97d361f387e5aa9cfc8a4c8

> Your answers will be welcome.
A>
> Best regards,
> *Daniel Mirkin*
> *[hidden email] <[hidden email]>*
> *Cel. +54 9 223 524 2171oo app-title:
> beremiz
>
> app-version:
> 1.2-cc7a46953471
>
> cwd:
> /home/daniel/Beremiz/beremiz
>
> date:
> Mon Jun 25 10:08:25 2018
>
> e-type:
> <type 'exceptions.ImportError'>
>
> e-value:
> No module named zeroconf
>
> locals:
>     socket: None
>     __builtins__: {'bytearray': <type 'bytearray'>, 'IndexError': <type 'exceptions.IndexError'>, 'all': <built-in function all>, 'help': Type help() for interactive help, or help(object) for help about object., 'vars': <built-in function vars>, 'SyntaxError': <type 'exceptions.SyntaxError'>, 'unicode': <type 'unicode'>, 'UnicodeDecodeError': <type 'exceptions.UnicodeDecodeError'>, 'memoryview': <type 'memoryview'>, 'isinstance': <built-in function isinstance>, 'copyright': Copyright (c) 2001-2018 Python Software Foundation.
> All Rights Reserved.
>
> Copyright (c) 2000 BeOpen.com.
> All Rights Reserved.
>
> Copyright (c) 1995-2001 Corporation for National Research Initiatives.
> All Rights Reserved.
>
> Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
> All Rights Reserved., 'NameError': <type 'exceptions.NameError'>, 'BytesWarning': <type 'exceptions.BytesWarning'>, 'dict': <type 'dict'>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type 'exceptions.SystemExit'>, 'StandardError': <type 'exceptions.StandardError'>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type 'exceptions.RuntimeWarning'>, 'list': <type 'list'>, 'iter': <built-in function iter>, 'reload': <built-in function reload>, 'Warning': <type 'exceptions.Warning'>, '__package__': None, 'round': <built-in function round>, 'dir': <built-in function dir>, 'cmp': <built-in function cmp>, 'set': <type 'set'>, 'bytes': <type 'str'>, 'reduce': <built-in function reduce>, 'intern': <built-in function intern>, 'issubclass': <built-in function issubclass>, 'Ellipsis': Ellipsis, 'EOFError': <type 'exceptions.EOFError'>, 'locals': <built-in function locals>, 'BufferError': <type 'exceptions.BufferError'>, 'slice': <type 'slice'>, 'FloatingPointError': <type 'exceptions.FloatingPointError'>, 'sum': <built-in function sum>, 'getattr': <built-in function getattr>, 'abs': <built-in function abs>, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'print': <built-in function print>, 'True': True, 'FutureWarning': <type 'exceptions.FutureWarning'>, 'ImportWarning': <type 'exceptions.ImportWarning'>, 'None': None, 'hash': <built-in function hash>, 'ReferenceError': <type 'exceptions.ReferenceError'>, 'len': <built-in function len>, 'credits':     Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands
>     for supporting Python development.  See www.python.org for more information., 'frozenset': <type 'frozenset'>, '__name__': '__builtin__', 'ord': <built-in function ord>, 'super': <type 'super'>, '_': <function GetTranslation at 0x7f66e241c8c0>, 'TypeError': <type 'exceptions.TypeError'>, 'license': Type license() to see the full license text, 'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>, 'UserWarning': <type 'exceptions.UserWarning'>, 'filter': <built-in function filter>, 'range': <built-in function range>, 'staticmethod': <type 'staticmethod'>, 'SystemError': <type 'exceptions.SystemError'>, 'BaseException': <type 'exceptions.BaseException'>, 'pow': <built-in function pow>, 'RuntimeError': <type 'exceptions.RuntimeError'>, 'float': <type 'float'>, 'MemoryError': <type 'exceptions.MemoryError'>, 'StopIteration': <type 'exceptions.StopIteration'>, 'globals': <built-in function globals>, 'divmod': <built-in function divmod>, 'enumerate': <type 'enumerate'>, 'apply': <built-in function apply>, 'LookupError': <type 'exceptions.LookupError'>, 'open': <built-in function open>, 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'basestring': <type 'basestring'>, 'UnicodeError': <type 'exceptions.UnicodeError'>, 'zip': <built-in function zip>, 'hex': <built-in function hex>, 'long': <type 'long'>, 'next': <built-in function next>, 'ImportError': <type 'exceptions.ImportError'>, 'chr': <built-in function chr>, 'xrange': <type 'xrange'>, 'type': <type 'type'>, '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", 'Exception': <type 'exceptions.Exception'>, 'tuple': <type 'tuple'>, 'UnicodeTranslateError': <type 'exceptions.UnicodeTranslateError'>, 'reversed': <type 'reversed'>, 'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>, 'IOError': <type 'exceptions.IOError'>, 'hasattr': <built-in function hasattr>, 'delattr': <built-in function delattr>, 'setattr': <built-in function setattr>, 'raw_input': <built-in function raw_input>, 'SyntaxWarning': <type 'exceptions.SyntaxWarning'>, 'compile': <built-in function compile>, 'ArithmeticError': <type 'exceptions.ArithmeticError'>, 'str': <type 'str'>, 'property': <type 'property'>, 'GeneratorExit': <type 'exceptions.GeneratorExit'>, 'int': <type 'int'>, '__import__': <built-in function __import__>, 'KeyError': <type 'exceptions.KeyError'>, 'coerce': <built-in function coerce>, 'PendingDeprecationWarning': <type 'exceptions.PendingDeprecationWarning'>, 'file': <type 'file'>, 'EnvironmentError': <type 'exceptions.EnvironmentError'>, 'unichr': <built-in function unichr>, 'id': <built-in function id>, 'OSError': <type 'exceptions.OSError'>, 'DeprecationWarning': <type 'exceptions.DeprecationWarning'>, 'min': <built-in function min>, 'UnicodeWarning': <type 'exceptions.UnicodeWarning'>, 'execfile': <built-in function execfile>, 'any': <built-in function any>, 'complex': <type 'complex'>, 'bool': <type 'bool'>, 'ValueError': <type 'exceptions.ValueError'>, 'NotImplemented': NotImplemented, 'map': <built-in function map>, 'buffer': <type 'buffer'>, 'max': <built-in function max>, 'object': <type 'object'>, 'TabError': <type 'exceptions.TabError'>, 'callable': <built-in function callable>, 'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>, 'eval': <built-in function eval>, '__debug__': True, 'IndentationError': <type 'exceptions.IndentationError'>, 'AssertionError': <type 'exceptions.AssertionError'>, 'classmethod': <type 'classmethod'>, 'UnboundLocalError': <type 'exceptions.UnboundLocalError'>, 'NotImplementedError': <type 'exceptions.NotImplementedError'>, 'AttributeError': <type 'exceptions.AttributeError'>, 'OverflowError': <type 'exceptions.OverflowError'>}
>     __file__: None
>     absolute_import: None
>     __package__: None
>     __name__: None
>     listmix: None
>     __doc__: None
>     wx: None
>
> platform:
> Linux-4.17.2-1-ARCH-x86_64-with-glibc2.2.5
>
> python-version:
> 2.7.15
>
> traceback:
>   File "Beremiz.py", line 198, in AppStart
>     self.BackgroundInitialization()
>   File "Beremiz.py", line 131, in BackgroundInitialization
>     self.ImportModules()
>   File "Beremiz.py", line 174, in ImportModules
>     mod = __import__(modname)
>   File "/home/daniel/Beremiz/beremiz/BeremizIDE.py", line 45, in <module>
>     from editors.EditorPanel import EditorPanel
>   File "/home/daniel/Beremiz/beremiz/editors/EditorPanel.py", line 29, in <module>
>     from controls import VariablePanel
>   File "/home/daniel/Beremiz/beremiz/controls/__init__.py", line 34, in <module>
>     from controls.DebugVariablePanel import DebugVariablePanel
>   File "/home/daniel/Beremiz/beremiz/controls/DebugVariablePanel/__init__.py", line 26, in <module>
>     from controls.DebugVariablePanel.DebugVariablePanel import DebugVariablePanel
>   File "/home/daniel/Beremiz/beremiz/controls/DebugVariablePanel/DebugVariablePanel.py", line 45, in <module>
>     from controls.DebugVariablePanel.DebugVariableTextViewer import DebugVariableTextViewer
>   File "/home/daniel/Beremiz/beremiz/controls/DebugVariablePanel/DebugVariableTextViewer.py", line 31, in <module>
>     from controls.DebugVariablePanel.DebugVariableViewer import DebugVariableViewer
>   File "/home/daniel/Beremiz/beremiz/controls/DebugVariablePanel/DebugVariableViewer.py", line 32, in <module>
>     from dialogs.ForceVariableDialog import ForceVariableDialog
>   File "/home/daniel/Beremiz/beremiz/dialogs/__init__.py", line 51, in <module>
>     from dialogs.DiscoveryDialog import DiscoveryDialog
>   File "/home/daniel/Beremiz/beremiz/dialogs/DiscoveryDialog.py", line 31, in <module>
>     from zeroconf import ServiceBrowser, Zeroconf
> <type 'exceptions.ImportError'>: No module named zeroconf
>
> wx-platform:
> __WXGTK__
>
> wx-version:
> 3.0.2.0
>

> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot

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


--
Best regards,
Andrey Skvortsov

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

bug_report_2018_06_25__12-19-17.txt (10K) Download Attachment
skv
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] Fwd: Errors running Beremiz on Arch Linux

skv
Administrator
Hi Daniel,

On 18-06-25 12:28, Daniel Mirkin wrote:

> Hello, Andrey.
>
> Thanks you for your fast response!
>
> I've installed python2-zeroconf from AUR and launched Beremiz again.
> This solves the "zeroconf module" issue.
>
> But I'm having new troubles running Beremiz now:
>
> File "/home/daniel/Beremiz/beremiz/runtime/PLCObject.py", line 33, in
> <module>
>
> import Pyro.core as pyro
>
> ImportError: No module named Pyro.core
>
>
> New bug_report.txt attached.
>
> My piro provider is python2-pyro 4.72-1
> I could install a previous version python2-pyro3 3.16-1 from AUR, if this
> can solve my problem.
> What do you think about?
It certainly should.
See version of pyro that is used in Debian pyro package, that is
listed in requirements for Debian-based distributions.
https://packages.debian.org/stretch/pyro

And just check that you already have all other dependencies listed in README.
https://bitbucket.org/automforge/beremiz


> BTW: I know, I know!
> Arch Linux, being a rolling release, has packages far away newest than
> Debian and its derivatives.
> It often results in issues if some software needs old versioned
> dependencies  :-(
> But I cann't return to be a "debianist", I'm already a "slave of the
> bleeding edge software"  :-D

Debian Testing is almost rolling release as well. ;-)
BTW if you pack Beremiz for Arch, that would be great.


>
> *Daniel [hidden email] <[hidden email]>*
> *Cel. +54 9 223 524 2171*
>
>
> El lun., 25 jun. 2018 a las 11:52, Andrey Skvortsov (<
> [hidden email]>) escribió:
>
> >
> > On 18-06-25 11:13, Daniel Mirkin wrote:
> > > Dear Beremiz developers:
> > >
> > > I'm trying to run Beremiz on Arch Linux.
> > >
> > > I've installed all its dependencies:
> > > python2 2.7.15-1
> > > python2-wxpython3 3.0.2.0-1
> > > python2-pyro 4.72-1
> > > python2-numpy 1.14.5-1
> > > nevow 0.14.3-1 (provides python2-nevow)
> > > python2-matplotlib 2.2.2-2
> > > python2-lxml 4.2.1-1
> > >
> > > I have build matIEC compiler and launched Beremiz:
> > >
> > > python2 Beremiz.py
> > > 1) logo splash window appears but immediatly an Error window appears too,
> > > showing 12 lines.
> > > 2) terminal shows:
> > > <code>
> > >  /usr/lib/python2.7/site-packages/wx-3.0-gtk3/wx/_core.py:16629:
> > > UserWarning: wxPython/wxWidgets release number mismatch
> > >   warnings.warn("wxPython/wxWidgets release number mismatch")
> > > ...
> > >  File "/home/daniel/Beremiz/beremiz/dialogs/DiscoveryDialog.py", line 31,
> > > in <module>
> > >     from zeroconf import ServiceBrowser, Zeroconf
> > > ImportError: No module named zeroconf
> > > </code>
> > >
> > > Attached bug_report.txt
> > >
> > > I don't know if this bug is related to zeroconf system capabilities or is
> > > only Beremiz internals related.
> > > I've installed avahi (wich provides free zeroconf implementation),
> > edited
> > > /etc/nsswitch.conf and started avahi-daemon.service, but Beremiz still
> > > refuses to run, showing the same error.
> > > Any clue on this bug?
> > >
> >
> > Not any zeroconf-supported service or application is required, but
> > python module with name zeroconf.
> >
> >
> > https://bitbucket.org/automforge/beremiz/src/b7d803fc44dba3211bcb113544c6eddc4815ffcd/README.md?at=default&fileviewer=file-view-default
> > something like this
> > https://packages.debian.org/buster/python-zeroconf
> >
> > > BTW: Previously, I've tried to install PLCOpenEditor 1.2 (a Beremiz
> > fork?)
> > > from http://www.openplcproject.com/plcopen-editor/
> > > Different bugs arise, see
> > >
> > https://openplc.discussion.community/post/plcopeneditor-fails-syntax-error-in-plcopeneditor-py-
> >
> > I'll look into these problems. I'm not using PLCOpenEditor almost.
> > Apparently you use old PLCOpenEditor, because print functions were
> > fixed last year.
> >
> > https://bitbucket.org/automforge/beremiz/commits/91796f408540d648b97d361f387e5aa9cfc8a4c8
> >
> > > Your answers will be welcome.
> > A>
> > > Best regards,
> > > *Daniel Mirkin*
> > > *[hidden email] <[hidden email]>*
> > > *Cel. +54 9 223 524 2171oo app-title:
> > > beremiz
> > >
> > > app-version:
> > > 1.2-cc7a46953471
> > >
> > > cwd:
> > > /home/daniel/Beremiz/beremiz
> > >
> > > date:
> > > Mon Jun 25 10:08:25 2018
> > >
> > > e-type:
> > > <type 'exceptions.ImportError'>
> > >
> > > e-value:
> > > No module named zeroconf
> > >
> > > locals:
> > >     socket: None
> > >     __builtins__: {'bytearray': <type 'bytearray'>, 'IndexError': <type
> > 'exceptions.IndexError'>, 'all': <built-in function all>, 'help': Type
> > help() for interactive help, or help(object) for help about object.,
> > 'vars': <built-in function vars>, 'SyntaxError': <type
> > 'exceptions.SyntaxError'>, 'unicode': <type 'unicode'>,
> > 'UnicodeDecodeError': <type 'exceptions.UnicodeDecodeError'>, 'memoryview':
> > <type 'memoryview'>, 'isinstance': <built-in function isinstance>,
> > 'copyright': Copyright (c) 2001-2018 Python Software Foundation.
> > > All Rights Reserved.
> > >
> > > Copyright (c) 2000 BeOpen.com.
> > > All Rights Reserved.
> > >
> > > Copyright (c) 1995-2001 Corporation for National Research Initiatives.
> > > All Rights Reserved.
> > >
> > > Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
> > > All Rights Reserved., 'NameError': <type 'exceptions.NameError'>,
> > 'BytesWarning': <type 'exceptions.BytesWarning'>, 'dict': <type 'dict'>,
> > 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin':
> > <built-in function bin>, 'SystemExit': <type 'exceptions.SystemExit'>,
> > 'StandardError': <type 'exceptions.StandardError'>, 'format': <built-in
> > function format>, 'repr': <built-in function repr>, 'sorted': <built-in
> > function sorted>, 'False': False, 'RuntimeWarning': <type
> > 'exceptions.RuntimeWarning'>, 'list': <type 'list'>, 'iter': <built-in
> > function iter>, 'reload': <built-in function reload>, 'Warning': <type
> > 'exceptions.Warning'>, '__package__': None, 'round': <built-in function
> > round>, 'dir': <built-in function dir>, 'cmp': <built-in function cmp>,
> > 'set': <type 'set'>, 'bytes': <type 'str'>, 'reduce': <built-in function
> > reduce>, 'intern': <built-in function intern>, 'issubclass': <built-in
> > function issubclass>, 'Ellipsis': Ellipsis, 'EOFError': <type
> > 'exceptions.EOFError'>, 'locals': <built-in function locals>,
> > 'BufferError': <type 'exceptions.BufferError'>, 'slice': <type 'slice'>,
> > 'FloatingPointError': <type 'exceptions.FloatingPointError'>, 'sum':
> > <built-in function sum>, 'getattr': <built-in function getattr>, 'abs':
> > <built-in function abs>, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit,
> > 'print': <built-in function print>, 'True': True, 'FutureWarning': <type
> > 'exceptions.FutureWarning'>, 'ImportWarning': <type
> > 'exceptions.ImportWarning'>, 'None': None, 'hash': <built-in function
> > hash>, 'ReferenceError': <type 'exceptions.ReferenceError'>, 'len':
> > <built-in function len>, 'credits':     Thanks to CWI, CNRI, BeOpen.com,
> > Zope Corporation and a cast of thousands
> > >     for supporting Python development.  See www.python.org for more
> > information., 'frozenset': <type 'frozenset'>, '__name__': '__builtin__',
> > 'ord': <built-in function ord>, 'super': <type 'super'>, '_': <function
> > GetTranslation at 0x7f66e241c8c0>, 'TypeError': <type
> > 'exceptions.TypeError'>, 'license': Type license() to see the full license
> > text, 'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>,
> > 'UserWarning': <type 'exceptions.UserWarning'>, 'filter': <built-in
> > function filter>, 'range': <built-in function range>, 'staticmethod': <type
> > 'staticmethod'>, 'SystemError': <type 'exceptions.SystemError'>,
> > 'BaseException': <type 'exceptions.BaseException'>, 'pow': <built-in
> > function pow>, 'RuntimeError': <type 'exceptions.RuntimeError'>, 'float':
> > <type 'float'>, 'MemoryError': <type 'exceptions.MemoryError'>,
> > 'StopIteration': <type 'exceptions.StopIteration'>, 'globals': <built-in
> > function globals>, 'divmod': <built-in function divmod>, 'enumerate': <type
> > 'enumerate'>, 'apply': <built-in function apply>, 'LookupError': <type
> > 'exceptions.LookupError'>, 'open': <built-in function open>, 'quit': Use
> > quit() or Ctrl-D (i.e. EOF) to exit, 'basestring': <type 'basestring'>,
> > 'UnicodeError': <type 'exceptions.UnicodeError'>, 'zip': <built-in function
> > zip>, 'hex': <built-in function hex>, 'long': <type 'long'>, 'next':
> > <built-in function next>, 'ImportError': <type 'exceptions.ImportError'>,
> > 'chr': <built-in function chr>, 'xrange': <type 'xrange'>, 'type': <type
> > 'type'>, '__doc__': "Built-in functions, exceptions, and other
> > objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...'
> > in slices.", 'Exception': <type 'exceptions.Exception'>, 'tuple': <type
> > 'tuple'>, 'UnicodeTranslateError': <type
> > 'exceptions.UnicodeTranslateError'>, 'reversed': <type 'reversed'>,
> > 'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>, 'IOError':
> > <type 'exceptions.IOError'>, 'hasattr': <built-in function hasattr>,
> > 'delattr': <built-in function delattr>, 'setattr': <built-in function
> > setattr>, 'raw_input': <built-in function raw_input>, 'SyntaxWarning':
> > <type 'exceptions.SyntaxWarning'>, 'compile': <built-in function compile>,
> > 'ArithmeticError': <type 'exceptions.ArithmeticError'>, 'str': <type
> > 'str'>, 'property': <type 'property'>, 'GeneratorExit': <type
> > 'exceptions.GeneratorExit'>, 'int': <type 'int'>, '__import__': <built-in
> > function __import__>, 'KeyError': <type 'exceptions.KeyError'>, 'coerce':
> > <built-in function coerce>, 'PendingDeprecationWarning': <type
> > 'exceptions.PendingDeprecationWarning'>, 'file': <type 'file'>,
> > 'EnvironmentError': <type 'exceptions.EnvironmentError'>, 'unichr':
> > <built-in function unichr>, 'id': <built-in function id>, 'OSError': <type
> > 'exceptions.OSError'>, 'DeprecationWarning': <type
> > 'exceptions.DeprecationWarning'>, 'min': <built-in function min>,
> > 'UnicodeWarning': <type 'exceptions.UnicodeWarning'>, 'execfile': <built-in
> > function execfile>, 'any': <built-in function any>, 'complex': <type
> > 'complex'>, 'bool': <type 'bool'>, 'ValueError': <type
> > 'exceptions.ValueError'>, 'NotImplemented': NotImplemented, 'map':
> > <built-in function map>, 'buffer': <type 'buffer'>, 'max': <built-in
> > function max>, 'object': <type 'object'>, 'TabError': <type
> > 'exceptions.TabError'>, 'callable': <built-in function callable>,
> > 'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>, 'eval':
> > <built-in function eval>, '__debug__': True, 'IndentationError': <type
> > 'exceptions.IndentationError'>, 'AssertionError': <type
> > 'exceptions.AssertionError'>, 'classmethod': <type 'classmethod'>,
> > 'UnboundLocalError': <type 'exceptions.UnboundLocalError'>,
> > 'NotImplementedError': <type 'exceptions.NotImplementedError'>,
> > 'AttributeError': <type 'exceptions.AttributeError'>, 'OverflowError':
> > <type 'exceptions.OverflowError'>}
> > >     __file__: None
> > >     absolute_import: None
> > >     __package__: None
> > >     __name__: None
> > >     listmix: None
> > >     __doc__: None
> > >     wx: None
> > >
> > > platform:
> > > Linux-4.17.2-1-ARCH-x86_64-with-glibc2.2.5
> > >
> > > python-version:
> > > 2.7.15
> > >
> > > traceback:
> > >   File "Beremiz.py", line 198, in AppStart
> > >     self.BackgroundInitialization()
> > >   File "Beremiz.py", line 131, in BackgroundInitialization
> > >     self.ImportModules()
> > >   File "Beremiz.py", line 174, in ImportModules
> > >     mod = __import__(modname)
> > >   File "/home/daniel/Beremiz/beremiz/BeremizIDE.py", line 45, in <module>
> > >     from editors.EditorPanel import EditorPanel
> > >   File "/home/daniel/Beremiz/beremiz/editors/EditorPanel.py", line 29,
> > in <module>
> > >     from controls import VariablePanel
> > >   File "/home/daniel/Beremiz/beremiz/controls/__init__.py", line 34, in
> > <module>
> > >     from controls.DebugVariablePanel import DebugVariablePanel
> > >   File
> > "/home/daniel/Beremiz/beremiz/controls/DebugVariablePanel/__init__.py",
> > line 26, in <module>
> > >     from controls.DebugVariablePanel.DebugVariablePanel import
> > DebugVariablePanel
> > >   File
> > "/home/daniel/Beremiz/beremiz/controls/DebugVariablePanel/DebugVariablePanel.py",
> > line 45, in <module>
> > >     from controls.DebugVariablePanel.DebugVariableTextViewer import
> > DebugVariableTextViewer
> > >   File
> > "/home/daniel/Beremiz/beremiz/controls/DebugVariablePanel/DebugVariableTextViewer.py",
> > line 31, in <module>
> > >     from controls.DebugVariablePanel.DebugVariableViewer import
> > DebugVariableViewer
> > >   File
> > "/home/daniel/Beremiz/beremiz/controls/DebugVariablePanel/DebugVariableViewer.py",
> > line 32, in <module>
> > >     from dialogs.ForceVariableDialog import ForceVariableDialog
> > >   File "/home/daniel/Beremiz/beremiz/dialogs/__init__.py", line 51, in
> > <module>
> > >     from dialogs.DiscoveryDialog import DiscoveryDialog
> > >   File "/home/daniel/Beremiz/beremiz/dialogs/DiscoveryDialog.py", line
> > 31, in <module>
> > >     from zeroconf import ServiceBrowser, Zeroconf
> > > <type 'exceptions.ImportError'>: No module named zeroconf
> > >
> > > wx-platform:
> > > __WXGTK__
> > >
> > > wx-version:
> > > 3.0.2.0
> > >
> >
> > >
> > ------------------------------------------------------------------------------
> > > Check out the vibrant tech community on one of the world's most
> > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> >
> > > _______________________________________________
> > > Beremiz-devel mailing list
> > > [hidden email]
> > > https://lists.sourceforge.net/lists/listinfo/beremiz-devel
> >
> >
> > --
> > Best regards,
> > Andrey Skvortsov
> >

> app-title:
> beremiz
>
> app-version:
> 1.2-cc7a46953471
>
> cwd:
> /home/daniel/Beremiz/beremiz
>
> date:
> Mon Jun 25 12:19:17 2018
>
> e-type:
> <type 'exceptions.ImportError'>
>
> e-value:
> No module named Pyro.core
>
> locals:
>     _ctypes: None
>     time: None
>     Thread: None
>     __builtins__: {'bytearray': <type 'bytearray'>, 'IndexError': <type 'exceptions.IndexError'>, 'all': <built-in function all>, 'help': Type help() for interactive help, or help(object) for help about object., 'vars': <built-in function vars>, 'SyntaxError': <type 'exceptions.SyntaxError'>, 'unicode': <type 'unicode'>, 'UnicodeDecodeError': <type 'exceptions.UnicodeDecodeError'>, 'memoryview': <type 'memoryview'>, 'isinstance': <built-in function isinstance>, 'copyright': Copyright (c) 2001-2018 Python Software Foundation.
> All Rights Reserved.
>
> Copyright (c) 2000 BeOpen.com.
> All Rights Reserved.
>
> Copyright (c) 1995-2001 Corporation for National Research Initiatives.
> All Rights Reserved.
>
> Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
> All Rights Reserved., 'NameError': <type 'exceptions.NameError'>, 'BytesWarning': <type 'exceptions.BytesWarning'>, 'dict': <type 'dict'>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type 'exceptions.SystemExit'>, 'StandardError': <type 'exceptions.StandardError'>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type 'exceptions.RuntimeWarning'>, 'list': <type 'list'>, 'iter': <built-in function iter>, 'reload': <built-in function reload>, 'Warning': <type 'exceptions.Warning'>, '__package__': None, 'round': <built-in function round>, 'dir': <built-in function dir>, 'cmp': <built-in function cmp>, 'set': <type 'set'>, 'bytes': <type 'str'>, 'reduce': <built-in function reduce>, 'intern': <built-in function intern>, 'issubclass': <built-in function issubclass>, 'Ellipsis': Ellipsis, 'EOFError': <type 'exceptions.EOFError'>, 'locals': <built-in function locals>, 'BufferError': <type 'exceptions.BufferError'>, 'slice': <type 'slice'>, 'FloatingPointError': <type 'exceptions.FloatingPointError'>, 'sum': <built-in function sum>, 'getattr': <built-in function getattr>, 'abs': <built-in function abs>, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'print': <built-in function print>, 'True': True, 'FutureWarning': <type 'exceptions.FutureWarning'>, 'ImportWarning': <type 'exceptions.ImportWarning'>, 'None': None, 'hash': <built-in function hash>, 'ReferenceError': <type 'exceptions.ReferenceError'>, 'len': <built-in function len>, 'credits':     Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands
>     for supporting Python development.  See www.python.org for more information., 'frozenset': <type 'frozenset'>, '__name__': '__builtin__', 'ord': <built-in function ord>, 'super': <type 'super'>, '_': <function GetTranslation at 0x7f386381d8c0>, 'TypeError': <type 'exceptions.TypeError'>, 'license': Type license() to see the full license text, 'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>, 'UserWarning': <type 'exceptions.UserWarning'>, 'filter': <built-in function filter>, 'range': <built-in function range>, 'staticmethod': <type 'staticmethod'>, 'SystemError': <type 'exceptions.SystemError'>, 'BaseException': <type 'exceptions.BaseException'>, 'pow': <built-in function pow>, 'RuntimeError': <type 'exceptions.RuntimeError'>, 'float': <type 'float'>, 'MemoryError': <type 'exceptions.MemoryError'>, 'StopIteration': <type 'exceptions.StopIteration'>, 'globals': <built-in function globals>, 'divmod': <built-in function divmod>, 'enumerate': <type 'enumerate'>, 'apply': <built-in function apply>, 'LookupError': <type 'exceptions.LookupError'>, 'open': <built-in function open>, 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'basestring': <type 'basestring'>, 'UnicodeError': <type 'exceptions.UnicodeError'>, 'zip': <built-in function zip>, 'hex': <built-in function hex>, 'long': <type 'long'>, 'next': <built-in function next>, 'ImportError': <type 'exceptions.ImportError'>, 'chr': <built-in function chr>, 'xrange': <type 'xrange'>, 'type': <type 'type'>, '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", 'Exception': <type 'exceptions.Exception'>, 'tuple': <type 'tuple'>, 'UnicodeTranslateError': <type 'exceptions.UnicodeTranslateError'>, 'reversed': <type 'reversed'>, 'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>, 'IOError': <type 'exceptions.IOError'>, 'hasattr': <built-in function hasattr>, 'delattr': <built-in function delattr>, 'setattr': <built-in function setattr>, 'raw_input': <built-in function raw_input>, 'SyntaxWarning': <type 'exceptions.SyntaxWarning'>, 'compile': <built-in function compile>, 'ArithmeticError': <type 'exceptions.ArithmeticError'>, 'str': <type 'str'>, 'property': <type 'property'>, 'GeneratorExit': <type 'exceptions.GeneratorExit'>, 'int': <type 'int'>, '__import__': <built-in function __import__>, 'KeyError': <type 'exceptions.KeyError'>, 'coerce': <built-in function coerce>, 'PendingDeprecationWarning': <type 'exceptions.PendingDeprecationWarning'>, 'file': <type 'file'>, 'EnvironmentError': <type 'exceptions.EnvironmentError'>, 'unichr': <built-in function unichr>, 'id': <built-in function id>, 'OSError': <type 'exceptions.OSError'>, 'DeprecationWarning': <type 'exceptions.DeprecationWarning'>, 'min': <built-in function min>, 'UnicodeWarning': <type 'exceptions.UnicodeWarning'>, 'execfile': <built-in function execfile>, 'any': <built-in function any>, 'complex': <type 'complex'>, 'bool': <type 'bool'>, 'ValueError': <type 'exceptions.ValueError'>, 'NotImplemented': NotImplemented, 'map': <built-in function map>, 'buffer': <type 'buffer'>, 'max': <built-in function max>, 'object': <type 'object'>, 'TabError': <type 'exceptions.TabError'>, 'callable': <built-in function callable>, 'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>, 'eval': <built-in function eval>, '__debug__': True, 'IndentationError': <type 'exceptions.IndentationError'>, 'AssertionError': <type 'exceptions.AssertionError'>, 'classmethod': <type 'classmethod'>, 'UnboundLocalError': <type 'exceptions.UnboundLocalError'>, 'NotImplementedError': <type 'exceptions.NotImplementedError'>, 'AttributeError': <type 'exceptions.AttributeError'>, 'OverflowError': <type 'exceptions.OverflowError'>}
>     Lock: None
>     __file__: None
>     traceback: None
>     absolute_import: None
>     __package__: None
>     sys: None
>     ctypes: None
>     Timer: None
>     Semaphore: None
>     __name__: None
>     os: None
>     __doc__: None
>     Event: None
>
> platform:
> Linux-4.17.2-1-ARCH-x86_64-with-glibc2.2.5
>
> python-version:
> 2.7.15
>
> traceback:
>   File "Beremiz.py", line 198, in AppStart
>     self.BackgroundInitialization()
>   File "Beremiz.py", line 131, in BackgroundInitialization
>     self.ImportModules()
>   File "Beremiz.py", line 174, in ImportModules
>     mod = __import__(modname)
>   File "/home/daniel/Beremiz/beremiz/BeremizIDE.py", line 45, in <module>
>     from editors.EditorPanel import EditorPanel
>   File "/home/daniel/Beremiz/beremiz/editors/EditorPanel.py", line 29, in <module>
>     from controls import VariablePanel
>   File "/home/daniel/Beremiz/beremiz/controls/__init__.py", line 44, in <module>
>     from controls.LogViewer import LogViewer
>   File "/home/daniel/Beremiz/beremiz/controls/LogViewer.py", line 36, in <module>
>     from runtime.loglevels import LogLevelsCount, LogLevels
>   File "/home/daniel/Beremiz/beremiz/runtime/__init__.py", line 27, in <module>
>     from runtime.PLCObject import PLCObject, PLCprint
>   File "/home/daniel/Beremiz/beremiz/runtime/PLCObject.py", line 33, in <module>
>     import Pyro.core as pyro
> <type 'exceptions.ImportError'>: No module named Pyro.core
>
> wx-platform:
> __WXGTK__
>
> wx-version:
> 3.0.2.0
>

> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot

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


--
Best regards,
Andrey Skvortsov



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] Fwd: Errors running Beremiz on Arch Linux

Daniel Mirkin
Dear Andrey:

Many, many thanks!!!

I have followed your sugerences:
I've replaced python2-pyro 4.72-1 by its previous version python2-pyro3 3.16-1 (from AUR), and have installed python2-zeroconf.
Now Beremiz1.2-cc7a46953471 is running in my Arch Linux machine!

Now, I'm learning how to program in Beremiz IDE.
And I planned to upload the generated .st file to a RPI model 1B with MODBus slaves, using the OpenPLC runtimes and drivers (by Thiago R. Alves).

OT?: despite the python2-pyro replacement and the python2-zeroconf install, PLCOpenEditor 1.2 still fails to run, showing its same issues (see my first post).

------

<quote>
Debian Testing is almost rolling release as well. ;-)
BTW if you pack Beremiz for Arch, that would be great.
</quote>

When (and if) I have some free time, I will try to write a Beremiz PKGBUILD for AUR (recipe to compile and install third software not available in official Arch repositories).
I'm not an experiencied "pkgbuilder" (my usbpicprog PKGBUILD in AUR still waits for corrections), but I will try hard...
BTW: I supose that Beremiz, being a multipart software (IDE plus matIEC), must be installed in an own directory under /opt, as opencascade, flatcam (python based software, too), sozi, etc.
Your opinions on this will be welcome.

Best regards,

Daniel Mirkin
[hidden email]
Cel. +54 9 223 524 2171


El lun., 25 jun. 2018 a las 13:48, Andrey Skvortsov (<[hidden email]>) escribió:
Hi Daniel,

On 18-06-25 12:28, Daniel Mirkin wrote:
> Hello, Andrey.
>
> Thanks you for your fast response!
>
> I've installed python2-zeroconf from AUR and launched Beremiz again.
> This solves the "zeroconf module" issue.
>
> But I'm having new troubles running Beremiz now:
>
> File "/home/daniel/Beremiz/beremiz/runtime/PLCObject.py", line 33, in
> <module>
>
> import Pyro.core as pyro
>
> ImportError: No module named Pyro.core
>
>
> New bug_report.txt attached.
>
> My piro provider is python2-pyro 4.72-1
> I could install a previous version python2-pyro3 3.16-1 from AUR, if this
> can solve my problem.
> What do you think about?

It certainly should.
See version of pyro that is used in Debian pyro package, that is
listed in requirements for Debian-based distributions.
https://packages.debian.org/stretch/pyro

And just check that you already have all other dependencies listed in README.
https://bitbucket.org/automforge/beremiz


> BTW: I know, I know!
> Arch Linux, being a rolling release, has packages far away newest than
> Debian and its derivatives.
> It often results in issues if some software needs old versioned
> dependencies  :-(
> But I cann't return to be a "debianist", I'm already a "slave of the
> bleeding edge software"  :-D

Debian Testing is almost rolling release as well. ;-)
BTW if you pack Beremiz for Arch, that would be great.


>
> *Daniel [hidden email] <[hidden email]>*
> *Cel. +54 9 223 524 2171*
>
>
> El lun., 25 jun. 2018 a las 11:52, Andrey Skvortsov (<
> [hidden email]>) escribió:
>
> >
> > On 18-06-25 11:13, Daniel Mirkin wrote:
> > > Dear Beremiz developers:
> > >
> > > I'm trying to run Beremiz on Arch Linux.
> > >
> > > I've installed all its dependencies:
> > > python2 2.7.15-1
> > > python2-wxpython3 3.0.2.0-1
> > > python2-pyro 4.72-1
> > > python2-numpy 1.14.5-1
> > > nevow 0.14.3-1 (provides python2-nevow)
> > > python2-matplotlib 2.2.2-2
> > > python2-lxml 4.2.1-1
> > >
> > > I have build matIEC compiler and launched Beremiz:
> > >
> > > python2 Beremiz.py
> > > 1) logo splash window appears but immediatly an Error window appears too,
> > > showing 12 lines.
> > > 2) terminal shows:
> > > <code>
> > >  /usr/lib/python2.7/site-packages/wx-3.0-gtk3/wx/_core.py:16629:
> > > UserWarning: wxPython/wxWidgets release number mismatch
> > >   warnings.warn("wxPython/wxWidgets release number mismatch")
> > > ...
> > >  File "/home/daniel/Beremiz/beremiz/dialogs/DiscoveryDialog.py", line 31,
> > > in <module>
> > >     from zeroconf import ServiceBrowser, Zeroconf
> > > ImportError: No module named zeroconf
> > > </code>
> > >
> > > Attached bug_report.txt
> > >
> > > I don't know if this bug is related to zeroconf system capabilities or is
> > > only Beremiz internals related.
> > > I've installed avahi (wich provides free zeroconf implementation),
> > edited
> > > /etc/nsswitch.conf and started avahi-daemon.service, but Beremiz still
> > > refuses to run, showing the same error.
> > > Any clue on this bug?
> > >
> >
> > Not any zeroconf-supported service or application is required, but
> > python module with name zeroconf.
> >
> >
> > https://bitbucket.org/automforge/beremiz/src/b7d803fc44dba3211bcb113544c6eddc4815ffcd/README.md?at=default&fileviewer=file-view-default
> > something like this
> > https://packages.debian.org/buster/python-zeroconf
> >
> > > BTW: Previously, I've tried to install PLCOpenEditor 1.2 (a Beremiz
> > fork?)
> > > from http://www.openplcproject.com/plcopen-editor/
> > > Different bugs arise, see
> > >
> > https://openplc.discussion.community/post/plcopeneditor-fails-syntax-error-in-plcopeneditor-py-
> >
> > I'll look into these problems. I'm not using PLCOpenEditor almost.
> > Apparently you use old PLCOpenEditor, because print functions were
> > fixed last year.
> >
> > https://bitbucket.org/automforge/beremiz/commits/91796f408540d648b97d361f387e5aa9cfc8a4c8
> >
> > > Your answers will be welcome.
> > A>
> > > Best regards,
> > > *Daniel Mirkin*
> > > *[hidden email] <[hidden email]>*
> > > *Cel. +54 9 223 524 2171oo app-title:
> > > beremiz
> > >
> > > app-version:
> > > 1.2-cc7a46953471
> > >
> > > cwd:
> > > /home/daniel/Beremiz/beremiz
> > >
> > > date:
> > > Mon Jun 25 10:08:25 2018
> > >
> > > e-type:
> > > <type 'exceptions.ImportError'>
> > >
> > > e-value:
> > > No module named zeroconf
> > >
> > > locals:
> > >     socket: None
> > >     __builtins__: {'bytearray': <type 'bytearray'>, 'IndexError': <type
> > 'exceptions.IndexError'>, 'all': <built-in function all>, 'help': Type
> > help() for interactive help, or help(object) for help about object.,
> > 'vars': <built-in function vars>, 'SyntaxError': <type
> > 'exceptions.SyntaxError'>, 'unicode': <type 'unicode'>,
> > 'UnicodeDecodeError': <type 'exceptions.UnicodeDecodeError'>, 'memoryview':
> > <type 'memoryview'>, 'isinstance': <built-in function isinstance>,
> > 'copyright': Copyright (c) 2001-2018 Python Software Foundation.
> > > All Rights Reserved.
> > >
> > > Copyright (c) 2000 BeOpen.com.
> > > All Rights Reserved.
> > >
> > > Copyright (c) 1995-2001 Corporation for National Research Initiatives.
> > > All Rights Reserved.
> > >
> > > Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
> > > All Rights Reserved., 'NameError': <type 'exceptions.NameError'>,
> > 'BytesWarning': <type 'exceptions.BytesWarning'>, 'dict': <type 'dict'>,
> > 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin':
> > <built-in function bin>, 'SystemExit': <type 'exceptions.SystemExit'>,
> > 'StandardError': <type 'exceptions.StandardError'>, 'format': <built-in
> > function format>, 'repr': <built-in function repr>, 'sorted': <built-in
> > function sorted>, 'False': False, 'RuntimeWarning': <type
> > 'exceptions.RuntimeWarning'>, 'list': <type 'list'>, 'iter': <built-in
> > function iter>, 'reload': <built-in function reload>, 'Warning': <type
> > 'exceptions.Warning'>, '__package__': None, 'round': <built-in function
> > round>, 'dir': <built-in function dir>, 'cmp': <built-in function cmp>,
> > 'set': <type 'set'>, 'bytes': <type 'str'>, 'reduce': <built-in function
> > reduce>, 'intern': <built-in function intern>, 'issubclass': <built-in
> > function issubclass>, 'Ellipsis': Ellipsis, 'EOFError': <type
> > 'exceptions.EOFError'>, 'locals': <built-in function locals>,
> > 'BufferError': <type 'exceptions.BufferError'>, 'slice': <type 'slice'>,
> > 'FloatingPointError': <type 'exceptions.FloatingPointError'>, 'sum':
> > <built-in function sum>, 'getattr': <built-in function getattr>, 'abs':
> > <built-in function abs>, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit,
> > 'print': <built-in function print>, 'True': True, 'FutureWarning': <type
> > 'exceptions.FutureWarning'>, 'ImportWarning': <type
> > 'exceptions.ImportWarning'>, 'None': None, 'hash': <built-in function
> > hash>, 'ReferenceError': <type 'exceptions.ReferenceError'>, 'len':
> > <built-in function len>, 'credits':     Thanks to CWI, CNRI, BeOpen.com,
> > Zope Corporation and a cast of thousands
> > >     for supporting Python development.  See www.python.org for more
> > information., 'frozenset': <type 'frozenset'>, '__name__': '__builtin__',
> > 'ord': <built-in function ord>, 'super': <type 'super'>, '_': <function
> > GetTranslation at 0x7f66e241c8c0>, 'TypeError': <type
> > 'exceptions.TypeError'>, 'license': Type license() to see the full license
> > text, 'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>,
> > 'UserWarning': <type 'exceptions.UserWarning'>, 'filter': <built-in
> > function filter>, 'range': <built-in function range>, 'staticmethod': <type
> > 'staticmethod'>, 'SystemError': <type 'exceptions.SystemError'>,
> > 'BaseException': <type 'exceptions.BaseException'>, 'pow': <built-in
> > function pow>, 'RuntimeError': <type 'exceptions.RuntimeError'>, 'float':
> > <type 'float'>, 'MemoryError': <type 'exceptions.MemoryError'>,
> > 'StopIteration': <type 'exceptions.StopIteration'>, 'globals': <built-in
> > function globals>, 'divmod': <built-in function divmod>, 'enumerate': <type
> > 'enumerate'>, 'apply': <built-in function apply>, 'LookupError': <type
> > 'exceptions.LookupError'>, 'open': <built-in function open>, 'quit': Use
> > quit() or Ctrl-D (i.e. EOF) to exit, 'basestring': <type 'basestring'>,
> > 'UnicodeError': <type 'exceptions.UnicodeError'>, 'zip': <built-in function
> > zip>, 'hex': <built-in function hex>, 'long': <type 'long'>, 'next':
> > <built-in function next>, 'ImportError': <type 'exceptions.ImportError'>,
> > 'chr': <built-in function chr>, 'xrange': <type 'xrange'>, 'type': <type
> > 'type'>, '__doc__': "Built-in functions, exceptions, and other
> > objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...'
> > in slices.", 'Exception': <type 'exceptions.Exception'>, 'tuple': <type
> > 'tuple'>, 'UnicodeTranslateError': <type
> > 'exceptions.UnicodeTranslateError'>, 'reversed': <type 'reversed'>,
> > 'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>, 'IOError':
> > <type 'exceptions.IOError'>, 'hasattr': <built-in function hasattr>,
> > 'delattr': <built-in function delattr>, 'setattr': <built-in function
> > setattr>, 'raw_input': <built-in function raw_input>, 'SyntaxWarning':
> > <type 'exceptions.SyntaxWarning'>, 'compile': <built-in function compile>,
> > 'ArithmeticError': <type 'exceptions.ArithmeticError'>, 'str': <type
> > 'str'>, 'property': <type 'property'>, 'GeneratorExit': <type
> > 'exceptions.GeneratorExit'>, 'int': <type 'int'>, '__import__': <built-in
> > function __import__>, 'KeyError': <type 'exceptions.KeyError'>, 'coerce':
> > <built-in function coerce>, 'PendingDeprecationWarning': <type
> > 'exceptions.PendingDeprecationWarning'>, 'file': <type 'file'>,
> > 'EnvironmentError': <type 'exceptions.EnvironmentError'>, 'unichr':
> > <built-in function unichr>, 'id': <built-in function id>, 'OSError': <type
> > 'exceptions.OSError'>, 'DeprecationWarning': <type
> > 'exceptions.DeprecationWarning'>, 'min': <built-in function min>,
> > 'UnicodeWarning': <type 'exceptions.UnicodeWarning'>, 'execfile': <built-in
> > function execfile>, 'any': <built-in function any>, 'complex': <type
> > 'complex'>, 'bool': <type 'bool'>, 'ValueError': <type
> > 'exceptions.ValueError'>, 'NotImplemented': NotImplemented, 'map':
> > <built-in function map>, 'buffer': <type 'buffer'>, 'max': <built-in
> > function max>, 'object': <type 'object'>, 'TabError': <type
> > 'exceptions.TabError'>, 'callable': <built-in function callable>,
> > 'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>, 'eval':
> > <built-in function eval>, '__debug__': True, 'IndentationError': <type
> > 'exceptions.IndentationError'>, 'AssertionError': <type
> > 'exceptions.AssertionError'>, 'classmethod': <type 'classmethod'>,
> > 'UnboundLocalError': <type 'exceptions.UnboundLocalError'>,
> > 'NotImplementedError': <type 'exceptions.NotImplementedError'>,
> > 'AttributeError': <type 'exceptions.AttributeError'>, 'OverflowError':
> > <type 'exceptions.OverflowError'>}
> > >     __file__: None
> > >     absolute_import: None
> > >     __package__: None
> > >     __name__: None
> > >     listmix: None
> > >     __doc__: None
> > >     wx: None
> > >
> > > platform:
> > > Linux-4.17.2-1-ARCH-x86_64-with-glibc2.2.5
> > >
> > > python-version:
> > > 2.7.15
> > >
> > > traceback:
> > >   File "Beremiz.py", line 198, in AppStart
> > >     self.BackgroundInitialization()
> > >   File "Beremiz.py", line 131, in BackgroundInitialization
> > >     self.ImportModules()
> > >   File "Beremiz.py", line 174, in ImportModules
> > >     mod = __import__(modname)
> > >   File "/home/daniel/Beremiz/beremiz/BeremizIDE.py", line 45, in <module>
> > >     from editors.EditorPanel import EditorPanel
> > >   File "/home/daniel/Beremiz/beremiz/editors/EditorPanel.py", line 29,
> > in <module>
> > >     from controls import VariablePanel
> > >   File "/home/daniel/Beremiz/beremiz/controls/__init__.py", line 34, in
> > <module>
> > >     from controls.DebugVariablePanel import DebugVariablePanel
> > >   File
> > "/home/daniel/Beremiz/beremiz/controls/DebugVariablePanel/__init__.py",
> > line 26, in <module>
> > >     from controls.DebugVariablePanel.DebugVariablePanel import
> > DebugVariablePanel
> > >   File
> > "/home/daniel/Beremiz/beremiz/controls/DebugVariablePanel/DebugVariablePanel.py",
> > line 45, in <module>
> > >     from controls.DebugVariablePanel.DebugVariableTextViewer import
> > DebugVariableTextViewer
> > >   File
> > "/home/daniel/Beremiz/beremiz/controls/DebugVariablePanel/DebugVariableTextViewer.py",
> > line 31, in <module>
> > >     from controls.DebugVariablePanel.DebugVariableViewer import
> > DebugVariableViewer
> > >   File
> > "/home/daniel/Beremiz/beremiz/controls/DebugVariablePanel/DebugVariableViewer.py",
> > line 32, in <module>
> > >     from dialogs.ForceVariableDialog import ForceVariableDialog
> > >   File "/home/daniel/Beremiz/beremiz/dialogs/__init__.py", line 51, in
> > <module>
> > >     from dialogs.DiscoveryDialog import DiscoveryDialog
> > >   File "/home/daniel/Beremiz/beremiz/dialogs/DiscoveryDialog.py", line
> > 31, in <module>
> > >     from zeroconf import ServiceBrowser, Zeroconf
> > > <type 'exceptions.ImportError'>: No module named zeroconf
> > >
> > > wx-platform:
> > > __WXGTK__
> > >
> > > wx-version:
> > > 3.0.2.0
> > >
> >
> > >
> > ------------------------------------------------------------------------------
> > > Check out the vibrant tech community on one of the world's most
> > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> >
> > > _______________________________________________
> > > Beremiz-devel mailing list
> > > [hidden email]
> > > https://lists.sourceforge.net/lists/listinfo/beremiz-devel
> >
> >
> > --
> > Best regards,
> > Andrey Skvortsov
> >

> app-title:
> beremiz
>
> app-version:
> 1.2-cc7a46953471
>
> cwd:
> /home/daniel/Beremiz/beremiz
>
> date:
> Mon Jun 25 12:19:17 2018
>
> e-type:
> <type 'exceptions.ImportError'>
>
> e-value:
> No module named Pyro.core
>
> locals:
>     _ctypes: None
>     time: None
>     Thread: None
>     __builtins__: {'bytearray': <type 'bytearray'>, 'IndexError': <type 'exceptions.IndexError'>, 'all': <built-in function all>, 'help': Type help() for interactive help, or help(object) for help about object., 'vars': <built-in function vars>, 'SyntaxError': <type 'exceptions.SyntaxError'>, 'unicode': <type 'unicode'>, 'UnicodeDecodeError': <type 'exceptions.UnicodeDecodeError'>, 'memoryview': <type 'memoryview'>, 'isinstance': <built-in function isinstance>, 'copyright': Copyright (c) 2001-2018 Python Software Foundation.
> All Rights Reserved.
>
> Copyright (c) 2000 BeOpen.com.
> All Rights Reserved.
>
> Copyright (c) 1995-2001 Corporation for National Research Initiatives.
> All Rights Reserved.
>
> Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
> All Rights Reserved., 'NameError': <type 'exceptions.NameError'>, 'BytesWarning': <type 'exceptions.BytesWarning'>, 'dict': <type 'dict'>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type 'exceptions.SystemExit'>, 'StandardError': <type 'exceptions.StandardError'>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type 'exceptions.RuntimeWarning'>, 'list': <type 'list'>, 'iter': <built-in function iter>, 'reload': <built-in function reload>, 'Warning': <type 'exceptions.Warning'>, '__package__': None, 'round': <built-in function round>, 'dir': <built-in function dir>, 'cmp': <built-in function cmp>, 'set': <type 'set'>, 'bytes': <type 'str'>, 'reduce': <built-in function reduce>, 'intern': <built-in function intern>, 'issubclass': <built-in function issubclass>, 'Ellipsis': Ellipsis, 'EOFError': <type 'exceptions.EOFError'>, 'locals': <built-in function locals>, 'BufferError': <type 'exceptions.BufferError'>, 'slice': <type 'slice'>, 'FloatingPointError': <type 'exceptions.FloatingPointError'>, 'sum': <built-in function sum>, 'getattr': <built-in function getattr>, 'abs': <built-in function abs>, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'print': <built-in function print>, 'True': True, 'FutureWarning': <type 'exceptions.FutureWarning'>, 'ImportWarning': <type 'exceptions.ImportWarning'>, 'None': None, 'hash': <built-in function hash>, 'ReferenceError': <type 'exceptions.ReferenceError'>, 'len': <built-in function len>, 'credits':     Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands
>     for supporting Python development.  See www.python.org for more information., 'frozenset': <type 'frozenset'>, '__name__': '__builtin__', 'ord': <built-in function ord>, 'super': <type 'super'>, '_': <function GetTranslation at 0x7f386381d8c0>, 'TypeError': <type 'exceptions.TypeError'>, 'license': Type license() to see the full license text, 'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>, 'UserWarning': <type 'exceptions.UserWarning'>, 'filter': <built-in function filter>, 'range': <built-in function range>, 'staticmethod': <type 'staticmethod'>, 'SystemError': <type 'exceptions.SystemError'>, 'BaseException': <type 'exceptions.BaseException'>, 'pow': <built-in function pow>, 'RuntimeError': <type 'exceptions.RuntimeError'>, 'float': <type 'float'>, 'MemoryError': <type 'exceptions.MemoryError'>, 'StopIteration': <type 'exceptions.StopIteration'>, 'globals': <built-in function globals>, 'divmod': <built-in function divmod>, 'enumerate': <type 'enumerate'>, 'apply': <built-in function apply>, 'LookupError': <type 'exceptions.LookupError'>, 'open': <built-in function open>, 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'basestring': <type 'basestring'>, 'UnicodeError': <type 'exceptions.UnicodeError'>, 'zip': <built-in function zip>, 'hex': <built-in function hex>, 'long': <type 'long'>, 'next': <built-in function next>, 'ImportError': <type 'exceptions.ImportError'>, 'chr': <built-in function chr>, 'xrange': <type 'xrange'>, 'type': <type 'type'>, '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", 'Exception': <type 'exceptions.Exception'>, 'tuple': <type 'tuple'>, 'UnicodeTranslateError': <type 'exceptions.UnicodeTranslateError'>, 'reversed': <type 'reversed'>, 'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>, 'IOError': <type 'exceptions.IOError'>, 'hasattr': <built-in function hasattr>, 'delattr': <built-in function delattr>, 'setattr': <built-in function setattr>, 'raw_input': <built-in function raw_input>, 'SyntaxWarning': <type 'exceptions.SyntaxWarning'>, 'compile': <built-in function compile>, 'ArithmeticError': <type 'exceptions.ArithmeticError'>, 'str': <type 'str'>, 'property': <type 'property'>, 'GeneratorExit': <type 'exceptions.GeneratorExit'>, 'int': <type 'int'>, '__import__': <built-in function __import__>, 'KeyError': <type 'exceptions.KeyError'>, 'coerce': <built-in function coerce>, 'PendingDeprecationWarning': <type 'exceptions.PendingDeprecationWarning'>, 'file': <type 'file'>, 'EnvironmentError': <type 'exceptions.EnvironmentError'>, 'unichr': <built-in function unichr>, 'id': <built-in function id>, 'OSError': <type 'exceptions.OSError'>, 'DeprecationWarning': <type 'exceptions.DeprecationWarning'>, 'min': <built-in function min>, 'UnicodeWarning': <type 'exceptions.UnicodeWarning'>, 'execfile': <built-in function execfile>, 'any': <built-in function any>, 'complex': <type 'complex'>, 'bool': <type 'bool'>, 'ValueError': <type 'exceptions.ValueError'>, 'NotImplemented': NotImplemented, 'map': <built-in function map>, 'buffer': <type 'buffer'>, 'max': <built-in function max>, 'object': <type 'object'>, 'TabError': <type 'exceptions.TabError'>, 'callable': <built-in function callable>, 'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>, 'eval': <built-in function eval>, '__debug__': True, 'IndentationError': <type 'exceptions.IndentationError'>, 'AssertionError': <type 'exceptions.AssertionError'>, 'classmethod': <type 'classmethod'>, 'UnboundLocalError': <type 'exceptions.UnboundLocalError'>, 'NotImplementedError': <type 'exceptions.NotImplementedError'>, 'AttributeError': <type 'exceptions.AttributeError'>, 'OverflowError': <type 'exceptions.OverflowError'>}
>     Lock: None
>     __file__: None
>     traceback: None
>     absolute_import: None
>     __package__: None
>     sys: None
>     ctypes: None
>     Timer: None
>     Semaphore: None
>     __name__: None
>     os: None
>     __doc__: None
>     Event: None
>
> platform:
> Linux-4.17.2-1-ARCH-x86_64-with-glibc2.2.5
>
> python-version:
> 2.7.15
>
> traceback:
>   File "Beremiz.py", line 198, in AppStart
>     self.BackgroundInitialization()
>   File "Beremiz.py", line 131, in BackgroundInitialization
>     self.ImportModules()
>   File "Beremiz.py", line 174, in ImportModules
>     mod = __import__(modname)
>   File "/home/daniel/Beremiz/beremiz/BeremizIDE.py", line 45, in <module>
>     from editors.EditorPanel import EditorPanel
>   File "/home/daniel/Beremiz/beremiz/editors/EditorPanel.py", line 29, in <module>
>     from controls import VariablePanel
>   File "/home/daniel/Beremiz/beremiz/controls/__init__.py", line 44, in <module>
>     from controls.LogViewer import LogViewer
>   File "/home/daniel/Beremiz/beremiz/controls/LogViewer.py", line 36, in <module>
>     from runtime.loglevels import LogLevelsCount, LogLevels
>   File "/home/daniel/Beremiz/beremiz/runtime/__init__.py", line 27, in <module>
>     from runtime.PLCObject import PLCObject, PLCprint
>   File "/home/daniel/Beremiz/beremiz/runtime/PLCObject.py", line 33, in <module>
>     import Pyro.core as pyro
> <type 'exceptions.ImportError'>: No module named Pyro.core
>
> wx-platform:
> __WXGTK__
>
> wx-version:
> 3.0.2.0
>

> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot

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


--
Best regards,
Andrey Skvortsov



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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] Fwd: Errors running Beremiz on Arch Linux

skv
Administrator
Hi Daniel,

On 18-06-25 19:10, Daniel Mirkin wrote:

> Dear Andrey:
>
> Many, many thanks!!!
>
> I have followed your sugerences:
> I've replaced python2-pyro 4.72-1 by its previous version python2-pyro3
> 3.16-1 (from AUR), and have installed python2-zeroconf.
> Now Beremiz1.2-cc7a46953471 is running in my Arch Linux machine!
>
> Now, I'm learning how to program in Beremiz IDE.

> And I planned to upload the generated .st file to a RPI model 1B with
> MODBus slaves, using the OpenPLC runtimes and drivers (by Thiago R. Alves).
BTW you may run Beremiz runtime on RPi (we've done it recently during
performance analysis of Beremiz). With that you can program and live debug PLC
program from Beremiz directly. [5]
Mario de Sousa (author of matiec) wrote
Modbus extension for Beremiz (master and slave support).
Unfortunately any RPi-specific drivers are not available, but it's
possible to use python extension to write any target specific code in python.


> OT?: despite the python2-pyro replacement and the python2-zeroconf
> install, PLCOpenEditor
> 1.2 still fails to run, showing its same issues (see my first post).

Of course, because pyro and zeroconf are used only for communication
with runtime and by Beremiz PLC runtime itself.
The problem with PLCOpenEditor is a regression introduced by
5701225 ("replaced normal panel with scrolled panel under project
properties") [4]. I'll look into that.


> ------
>
> <quote>
> Debian Testing is almost rolling release as well. ;-)
> BTW if you pack Beremiz for Arch, that would be great.
> </quote>
>
> When (and if) I have some free time, I will try to write a Beremiz PKGBUILD
> for AUR (recipe to compile and install third software not available in
> official Arch repositories).
> I'm not an experiencied "pkgbuilder" (my usbpicprog PKGBUILD in AUR still
> waits for corrections), but I will try hard...
Or you may write short wiki article how to run Beremiz on Arch, so
your experience is not lost and we may point people to it in the
future. [3]

> BTW: I supose that Beremiz, being a multipart software (IDE plus matIEC),
> must be installed in an own directory under /opt, as opencascade, flatcam
> (python based software, too), sozi, etc.
> Your opinions on this will be welcome.

I don't know much about Arch packaging rules.
matiec is standalone application it may be used without Beremiz, so
I'd package it separately. Beremiz itself is complex beast, hard to
say what would be a best way to package it.
For example, you may look like packaging was done in Alt Linux [1] & [2].

1. https://packages.altlinux.org/en/Sisyphus/srpms/matiec
2. https://packages.altlinux.org/en/Sisyphus/srpms/beremiz
3. https://bitbucket.org/automforge/beremiz/wiki/Home
4. https://bitbucket.org/automforge/beremiz/commits/570122574a97b40fa06b07174ef9d905311047bd
5. https://youtu.be/lYKLZQrD1sM?t=2m17s

>
> Best regards,
>
>
> *Daniel [hidden email] <[hidden email]>*
> *Cel. +54 9 223 524 2171*
>
>
> El lun., 25 jun. 2018 a las 13:48, Andrey Skvortsov (<
> [hidden email]>) escribió:
>
> > Hi Daniel,
> >
> > On 18-06-25 12:28, Daniel Mirkin wrote:
> > > Hello, Andrey.
> > >
> > > Thanks you for your fast response!
> > >
> > > I've installed python2-zeroconf from AUR and launched Beremiz again.
> > > This solves the "zeroconf module" issue.
> > >
> > > But I'm having new troubles running Beremiz now:
> > >
> > > File "/home/daniel/Beremiz/beremiz/runtime/PLCObject.py", line 33, in
> > > <module>
> > >
> > > import Pyro.core as pyro
> > >
> > > ImportError: No module named Pyro.core
> > >
> > >
> > > New bug_report.txt attached.
> > >
> > > My piro provider is python2-pyro 4.72-1
> > > I could install a previous version python2-pyro3 3.16-1 from AUR, if this
> > > can solve my problem.
> > > What do you think about?
> >
> > It certainly should.
> > See version of pyro that is used in Debian pyro package, that is
> > listed in requirements for Debian-based distributions.
> > https://packages.debian.org/stretch/pyro
> >
> > And just check that you already have all other dependencies listed in
> > README.
> > https://bitbucket.org/automforge/beremiz
> >
> >
> > > BTW: I know, I know!
> > > Arch Linux, being a rolling release, has packages far away newest than
> > > Debian and its derivatives.
> > > It often results in issues if some software needs old versioned
> > > dependencies  :-(
> > > But I cann't return to be a "debianist", I'm already a "slave of the
> > > bleeding edge software"  :-D
> >
> > Debian Testing is almost rolling release as well. ;-)
> > BTW if you pack Beremiz for Arch, that would be great.
> >
> >
> > >
> > > *Daniel [hidden email] <[hidden email]>*
> > > *Cel. +54 9 223 524 2171*
> > >
> > >
> > > El lun., 25 jun. 2018 a las 11:52, Andrey Skvortsov (<
> > > [hidden email]>) escribió:
> > >
> > > >
> > > > On 18-06-25 11:13, Daniel Mirkin wrote:
> > > > > Dear Beremiz developers:
> > > > >
> > > > > I'm trying to run Beremiz on Arch Linux.
> > > > >
> > > > > I've installed all its dependencies:
> > > > > python2 2.7.15-1
> > > > > python2-wxpython3 3.0.2.0-1
> > > > > python2-pyro 4.72-1
> > > > > python2-numpy 1.14.5-1
> > > > > nevow 0.14.3-1 (provides python2-nevow)
> > > > > python2-matplotlib 2.2.2-2
> > > > > python2-lxml 4.2.1-1
> > > > >
> > > > > I have build matIEC compiler and launched Beremiz:
> > > > >
> > > > > python2 Beremiz.py
> > > > > 1) logo splash window appears but immediatly an Error window appears
> > too,
> > > > > showing 12 lines.
> > > > > 2) terminal shows:
> > > > > <code>
> > > > >  /usr/lib/python2.7/site-packages/wx-3.0-gtk3/wx/_core.py:16629:
> > > > > UserWarning: wxPython/wxWidgets release number mismatch
> > > > >   warnings.warn("wxPython/wxWidgets release number mismatch")
> > > > > ...
> > > > >  File "/home/daniel/Beremiz/beremiz/dialogs/DiscoveryDialog.py",
> > line 31,
> > > > > in <module>
> > > > >     from zeroconf import ServiceBrowser, Zeroconf
> > > > > ImportError: No module named zeroconf
> > > > > </code>
> > > > >
> > > > > Attached bug_report.txt
> > > > >
> > > > > I don't know if this bug is related to zeroconf system capabilities
> > or is
> > > > > only Beremiz internals related.
> > > > > I've installed avahi (wich provides free zeroconf implementation),
> > > > edited
> > > > > /etc/nsswitch.conf and started avahi-daemon.service, but Beremiz
> > still
> > > > > refuses to run, showing the same error.
> > > > > Any clue on this bug?
> > > > >
> > > >
> > > > Not any zeroconf-supported service or application is required, but
> > > > python module with name zeroconf.
> > > >
> > > >
> > > >
> > https://bitbucket.org/automforge/beremiz/src/b7d803fc44dba3211bcb113544c6eddc4815ffcd/README.md?at=default&fileviewer=file-view-default
> > > > something like this
> > > > https://packages.debian.org/buster/python-zeroconf
> > > >
> > > > > BTW: Previously, I've tried to install PLCOpenEditor 1.2 (a Beremiz
> > > > fork?)
> > > > > from http://www.openplcproject.com/plcopen-editor/
> > > > > Different bugs arise, see
> > > > >
> > > >
> > https://openplc.discussion.community/post/plcopeneditor-fails-syntax-error-in-plcopeneditor-py-
> > > >
> > > > I'll look into these problems. I'm not using PLCOpenEditor almost.
> > > > Apparently you use old PLCOpenEditor, because print functions were
> > > > fixed last year.
> > > >
> > > >
> > https://bitbucket.org/automforge/beremiz/commits/91796f408540d648b97d361f387e5aa9cfc8a4c8
> > > >
> > > > > Your answers will be welcome.
> > > > A>
> > > > > Best regards,
> > > > > *Daniel Mirkin*
> > > > > *[hidden email] <[hidden email]>*
> > > > > *Cel. +54 9 223 524 2171oo app-title:
> > > > > beremiz
> > > > >
> > > > > app-version:
> > > > > 1.2-cc7a46953471
> > > > >
> > > > > cwd:
> > > > > /home/daniel/Beremiz/beremiz
> > > > >
> > > > > date:
> > > > > Mon Jun 25 10:08:25 2018
> > > > >
> > > > > e-type:
> > > > > <type 'exceptions.ImportError'>
> > > > >
> > > > > e-value:
> > > > > No module named zeroconf
> > > > >
> > > > > locals:
> > > > >     socket: None
> > > > >     __builtins__: {'bytearray': <type 'bytearray'>, 'IndexError':
> > <type
> > > > 'exceptions.IndexError'>, 'all': <built-in function all>, 'help': Type
> > > > help() for interactive help, or help(object) for help about object.,
> > > > 'vars': <built-in function vars>, 'SyntaxError': <type
> > > > 'exceptions.SyntaxError'>, 'unicode': <type 'unicode'>,
> > > > 'UnicodeDecodeError': <type 'exceptions.UnicodeDecodeError'>,
> > 'memoryview':
> > > > <type 'memoryview'>, 'isinstance': <built-in function isinstance>,
> > > > 'copyright': Copyright (c) 2001-2018 Python Software Foundation.
> > > > > All Rights Reserved.
> > > > >
> > > > > Copyright (c) 2000 BeOpen.com.
> > > > > All Rights Reserved.
> > > > >
> > > > > Copyright (c) 1995-2001 Corporation for National Research
> > Initiatives.
> > > > > All Rights Reserved.
> > > > >
> > > > > Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
> > > > > All Rights Reserved., 'NameError': <type 'exceptions.NameError'>,
> > > > 'BytesWarning': <type 'exceptions.BytesWarning'>, 'dict': <type
> > 'dict'>,
> > > > 'input': <built-in function input>, 'oct': <built-in function oct>,
> > 'bin':
> > > > <built-in function bin>, 'SystemExit': <type 'exceptions.SystemExit'>,
> > > > 'StandardError': <type 'exceptions.StandardError'>, 'format': <built-in
> > > > function format>, 'repr': <built-in function repr>, 'sorted': <built-in
> > > > function sorted>, 'False': False, 'RuntimeWarning': <type
> > > > 'exceptions.RuntimeWarning'>, 'list': <type 'list'>, 'iter': <built-in
> > > > function iter>, 'reload': <built-in function reload>, 'Warning': <type
> > > > 'exceptions.Warning'>, '__package__': None, 'round': <built-in function
> > > > round>, 'dir': <built-in function dir>, 'cmp': <built-in function cmp>,
> > > > 'set': <type 'set'>, 'bytes': <type 'str'>, 'reduce': <built-in
> > function
> > > > reduce>, 'intern': <built-in function intern>, 'issubclass': <built-in
> > > > function issubclass>, 'Ellipsis': Ellipsis, 'EOFError': <type
> > > > 'exceptions.EOFError'>, 'locals': <built-in function locals>,
> > > > 'BufferError': <type 'exceptions.BufferError'>, 'slice': <type
> > 'slice'>,
> > > > 'FloatingPointError': <type 'exceptions.FloatingPointError'>, 'sum':
> > > > <built-in function sum>, 'getattr': <built-in function getattr>, 'abs':
> > > > <built-in function abs>, 'exit': Use exit() or Ctrl-D (i.e. EOF) to
> > exit,
> > > > 'print': <built-in function print>, 'True': True, 'FutureWarning':
> > <type
> > > > 'exceptions.FutureWarning'>, 'ImportWarning': <type
> > > > 'exceptions.ImportWarning'>, 'None': None, 'hash': <built-in function
> > > > hash>, 'ReferenceError': <type 'exceptions.ReferenceError'>, 'len':
> > > > <built-in function len>, 'credits':     Thanks to CWI, CNRI,
> > BeOpen.com,
> > > > Zope Corporation and a cast of thousands
> > > > >     for supporting Python development.  See www.python.org for more
> > > > information., 'frozenset': <type 'frozenset'>, '__name__':
> > '__builtin__',
> > > > 'ord': <built-in function ord>, 'super': <type 'super'>, '_': <function
> > > > GetTranslation at 0x7f66e241c8c0>, 'TypeError': <type
> > > > 'exceptions.TypeError'>, 'license': Type license() to see the full
> > license
> > > > text, 'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>,
> > > > 'UserWarning': <type 'exceptions.UserWarning'>, 'filter': <built-in
> > > > function filter>, 'range': <built-in function range>, 'staticmethod':
> > <type
> > > > 'staticmethod'>, 'SystemError': <type 'exceptions.SystemError'>,
> > > > 'BaseException': <type 'exceptions.BaseException'>, 'pow': <built-in
> > > > function pow>, 'RuntimeError': <type 'exceptions.RuntimeError'>,
> > 'float':
> > > > <type 'float'>, 'MemoryError': <type 'exceptions.MemoryError'>,
> > > > 'StopIteration': <type 'exceptions.StopIteration'>, 'globals':
> > <built-in
> > > > function globals>, 'divmod': <built-in function divmod>, 'enumerate':
> > <type
> > > > 'enumerate'>, 'apply': <built-in function apply>, 'LookupError': <type
> > > > 'exceptions.LookupError'>, 'open': <built-in function open>, 'quit':
> > Use
> > > > quit() or Ctrl-D (i.e. EOF) to exit, 'basestring': <type 'basestring'>,
> > > > 'UnicodeError': <type 'exceptions.UnicodeError'>, 'zip': <built-in
> > function
> > > > zip>, 'hex': <built-in function hex>, 'long': <type 'long'>, 'next':
> > > > <built-in function next>, 'ImportError': <type
> > 'exceptions.ImportError'>,
> > > > 'chr': <built-in function chr>, 'xrange': <type 'xrange'>, 'type':
> > <type
> > > > 'type'>, '__doc__': "Built-in functions, exceptions, and other
> > > > objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents
> > `...'
> > > > in slices.", 'Exception': <type 'exceptions.Exception'>, 'tuple': <type
> > > > 'tuple'>, 'UnicodeTranslateError': <type
> > > > 'exceptions.UnicodeTranslateError'>, 'reversed': <type 'reversed'>,
> > > > 'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>,
> > 'IOError':
> > > > <type 'exceptions.IOError'>, 'hasattr': <built-in function hasattr>,
> > > > 'delattr': <built-in function delattr>, 'setattr': <built-in function
> > > > setattr>, 'raw_input': <built-in function raw_input>, 'SyntaxWarning':
> > > > <type 'exceptions.SyntaxWarning'>, 'compile': <built-in function
> > compile>,
> > > > 'ArithmeticError': <type 'exceptions.ArithmeticError'>, 'str': <type
> > > > 'str'>, 'property': <type 'property'>, 'GeneratorExit': <type
> > > > 'exceptions.GeneratorExit'>, 'int': <type 'int'>, '__import__':
> > <built-in
> > > > function __import__>, 'KeyError': <type 'exceptions.KeyError'>,
> > 'coerce':
> > > > <built-in function coerce>, 'PendingDeprecationWarning': <type
> > > > 'exceptions.PendingDeprecationWarning'>, 'file': <type 'file'>,
> > > > 'EnvironmentError': <type 'exceptions.EnvironmentError'>, 'unichr':
> > > > <built-in function unichr>, 'id': <built-in function id>, 'OSError':
> > <type
> > > > 'exceptions.OSError'>, 'DeprecationWarning': <type
> > > > 'exceptions.DeprecationWarning'>, 'min': <built-in function min>,
> > > > 'UnicodeWarning': <type 'exceptions.UnicodeWarning'>, 'execfile':
> > <built-in
> > > > function execfile>, 'any': <built-in function any>, 'complex': <type
> > > > 'complex'>, 'bool': <type 'bool'>, 'ValueError': <type
> > > > 'exceptions.ValueError'>, 'NotImplemented': NotImplemented, 'map':
> > > > <built-in function map>, 'buffer': <type 'buffer'>, 'max': <built-in
> > > > function max>, 'object': <type 'object'>, 'TabError': <type
> > > > 'exceptions.TabError'>, 'callable': <built-in function callable>,
> > > > 'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>, 'eval':
> > > > <built-in function eval>, '__debug__': True, 'IndentationError': <type
> > > > 'exceptions.IndentationError'>, 'AssertionError': <type
> > > > 'exceptions.AssertionError'>, 'classmethod': <type 'classmethod'>,
> > > > 'UnboundLocalError': <type 'exceptions.UnboundLocalError'>,
> > > > 'NotImplementedError': <type 'exceptions.NotImplementedError'>,
> > > > 'AttributeError': <type 'exceptions.AttributeError'>, 'OverflowError':
> > > > <type 'exceptions.OverflowError'>}
> > > > >     __file__: None
> > > > >     absolute_import: None
> > > > >     __package__: None
> > > > >     __name__: None
> > > > >     listmix: None
> > > > >     __doc__: None
> > > > >     wx: None
> > > > >
> > > > > platform:
> > > > > Linux-4.17.2-1-ARCH-x86_64-with-glibc2.2.5
> > > > >
> > > > > python-version:
> > > > > 2.7.15
> > > > >
> > > > > traceback:
> > > > >   File "Beremiz.py", line 198, in AppStart
> > > > >     self.BackgroundInitialization()
> > > > >   File "Beremiz.py", line 131, in BackgroundInitialization
> > > > >     self.ImportModules()
> > > > >   File "Beremiz.py", line 174, in ImportModules
> > > > >     mod = __import__(modname)
> > > > >   File "/home/daniel/Beremiz/beremiz/BeremizIDE.py", line 45, in
> > <module>
> > > > >     from editors.EditorPanel import EditorPanel
> > > > >   File "/home/daniel/Beremiz/beremiz/editors/EditorPanel.py", line
> > 29,
> > > > in <module>
> > > > >     from controls import VariablePanel
> > > > >   File "/home/daniel/Beremiz/beremiz/controls/__init__.py", line 34,
> > in
> > > > <module>
> > > > >     from controls.DebugVariablePanel import DebugVariablePanel
> > > > >   File
> > > > "/home/daniel/Beremiz/beremiz/controls/DebugVariablePanel/__init__.py",
> > > > line 26, in <module>
> > > > >     from controls.DebugVariablePanel.DebugVariablePanel import
> > > > DebugVariablePanel
> > > > >   File
> > > >
> > "/home/daniel/Beremiz/beremiz/controls/DebugVariablePanel/DebugVariablePanel.py",
> > > > line 45, in <module>
> > > > >     from controls.DebugVariablePanel.DebugVariableTextViewer import
> > > > DebugVariableTextViewer
> > > > >   File
> > > >
> > "/home/daniel/Beremiz/beremiz/controls/DebugVariablePanel/DebugVariableTextViewer.py",
> > > > line 31, in <module>
> > > > >     from controls.DebugVariablePanel.DebugVariableViewer import
> > > > DebugVariableViewer
> > > > >   File
> > > >
> > "/home/daniel/Beremiz/beremiz/controls/DebugVariablePanel/DebugVariableViewer.py",
> > > > line 32, in <module>
> > > > >     from dialogs.ForceVariableDialog import ForceVariableDialog
> > > > >   File "/home/daniel/Beremiz/beremiz/dialogs/__init__.py", line 51,
> > in
> > > > <module>
> > > > >     from dialogs.DiscoveryDialog import DiscoveryDialog
> > > > >   File "/home/daniel/Beremiz/beremiz/dialogs/DiscoveryDialog.py",
> > line
> > > > 31, in <module>
> > > > >     from zeroconf import ServiceBrowser, Zeroconf
> > > > > <type 'exceptions.ImportError'>: No module named zeroconf
> > > > >
> > > > > wx-platform:
> > > > > __WXGTK__
> > > > >
> > > > > wx-version:
> > > > > 3.0.2.0
> > > > >
> > > >
> > > > >
> > > >
> > ------------------------------------------------------------------------------
> > > > > Check out the vibrant tech community on one of the world's most
> > > > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > > >
> > > > > _______________________________________________
> > > > > Beremiz-devel mailing list
> > > > > [hidden email]
> > > > > https://lists.sourceforge.net/lists/listinfo/beremiz-devel
> > > >
> > > >
> > > > --
> > > > Best regards,
> > > > Andrey Skvortsov
> > > >
> >
> > > app-title:
> > > beremiz
> > >
> > > app-version:
> > > 1.2-cc7a46953471
> > >
> > > cwd:
> > > /home/daniel/Beremiz/beremiz
> > >
> > > date:
> > > Mon Jun 25 12:19:17 2018
> > >
> > > e-type:
> > > <type 'exceptions.ImportError'>
> > >
> > > e-value:
> > > No module named Pyro.core
> > >
> > > locals:
> > >     _ctypes: None
> > >     time: None
> > >     Thread: None
> > >     __builtins__: {'bytearray': <type 'bytearray'>, 'IndexError': <type
> > 'exceptions.IndexError'>, 'all': <built-in function all>, 'help': Type
> > help() for interactive help, or help(object) for help about object.,
> > 'vars': <built-in function vars>, 'SyntaxError': <type
> > 'exceptions.SyntaxError'>, 'unicode': <type 'unicode'>,
> > 'UnicodeDecodeError': <type 'exceptions.UnicodeDecodeError'>, 'memoryview':
> > <type 'memoryview'>, 'isinstance': <built-in function isinstance>,
> > 'copyright': Copyright (c) 2001-2018 Python Software Foundation.
> > > All Rights Reserved.
> > >
> > > Copyright (c) 2000 BeOpen.com.
> > > All Rights Reserved.
> > >
> > > Copyright (c) 1995-2001 Corporation for National Research Initiatives.
> > > All Rights Reserved.
> > >
> > > Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
> > > All Rights Reserved., 'NameError': <type 'exceptions.NameError'>,
> > 'BytesWarning': <type 'exceptions.BytesWarning'>, 'dict': <type 'dict'>,
> > 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin':
> > <built-in function bin>, 'SystemExit': <type 'exceptions.SystemExit'>,
> > 'StandardError': <type 'exceptions.StandardError'>, 'format': <built-in
> > function format>, 'repr': <built-in function repr>, 'sorted': <built-in
> > function sorted>, 'False': False, 'RuntimeWarning': <type
> > 'exceptions.RuntimeWarning'>, 'list': <type 'list'>, 'iter': <built-in
> > function iter>, 'reload': <built-in function reload>, 'Warning': <type
> > 'exceptions.Warning'>, '__package__': None, 'round': <built-in function
> > round>, 'dir': <built-in function dir>, 'cmp': <built-in function cmp>,
> > 'set': <type 'set'>, 'bytes': <type 'str'>, 'reduce': <built-in function
> > reduce>, 'intern': <built-in function intern>, 'issubclass': <built-in
> > function issubclass>, 'Ellipsis': Ellipsis, 'EOFError': <type
> > 'exceptions.EOFError'>, 'locals': <built-in function locals>,
> > 'BufferError': <type 'exceptions.BufferError'>, 'slice': <type 'slice'>,
> > 'FloatingPointError': <type 'exceptions.FloatingPointError'>, 'sum':
> > <built-in function sum>, 'getattr': <built-in function getattr>, 'abs':
> > <built-in function abs>, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit,
> > 'print': <built-in function print>, 'True': True, 'FutureWarning': <type
> > 'exceptions.FutureWarning'>, 'ImportWarning': <type
> > 'exceptions.ImportWarning'>, 'None': None, 'hash': <built-in function
> > hash>, 'ReferenceError': <type 'exceptions.ReferenceError'>, 'len':
> > <built-in function len>, 'credits':     Thanks to CWI, CNRI, BeOpen.com,
> > Zope Corporation and a cast of thousands
> > >     for supporting Python development.  See www.python.org for more
> > information., 'frozenset': <type 'frozenset'>, '__name__': '__builtin__',
> > 'ord': <built-in function ord>, 'super': <type 'super'>, '_': <function
> > GetTranslation at 0x7f386381d8c0>, 'TypeError': <type
> > 'exceptions.TypeError'>, 'license': Type license() to see the full license
> > text, 'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>,
> > 'UserWarning': <type 'exceptions.UserWarning'>, 'filter': <built-in
> > function filter>, 'range': <built-in function range>, 'staticmethod': <type
> > 'staticmethod'>, 'SystemError': <type 'exceptions.SystemError'>,
> > 'BaseException': <type 'exceptions.BaseException'>, 'pow': <built-in
> > function pow>, 'RuntimeError': <type 'exceptions.RuntimeError'>, 'float':
> > <type 'float'>, 'MemoryError': <type 'exceptions.MemoryError'>,
> > 'StopIteration': <type 'exceptions.StopIteration'>, 'globals': <built-in
> > function globals>, 'divmod': <built-in function divmod>, 'enumerate': <type
> > 'enumerate'>, 'apply': <built-in function apply>, 'LookupError': <type
> > 'exceptions.LookupError'>, 'open': <built-in function open>, 'quit': Use
> > quit() or Ctrl-D (i.e. EOF) to exit, 'basestring': <type 'basestring'>,
> > 'UnicodeError': <type 'exceptions.UnicodeError'>, 'zip': <built-in function
> > zip>, 'hex': <built-in function hex>, 'long': <type 'long'>, 'next':
> > <built-in function next>, 'ImportError': <type 'exceptions.ImportError'>,
> > 'chr': <built-in function chr>, 'xrange': <type 'xrange'>, 'type': <type
> > 'type'>, '__doc__': "Built-in functions, exceptions, and other
> > objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...'
> > in slices.", 'Exception': <type 'exceptions.Exception'>, 'tuple': <type
> > 'tuple'>, 'UnicodeTranslateError': <type
> > 'exceptions.UnicodeTranslateError'>, 'reversed': <type 'reversed'>,
> > 'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>, 'IOError':
> > <type 'exceptions.IOError'>, 'hasattr': <built-in function hasattr>,
> > 'delattr': <built-in function delattr>, 'setattr': <built-in function
> > setattr>, 'raw_input': <built-in function raw_input>, 'SyntaxWarning':
> > <type 'exceptions.SyntaxWarning'>, 'compile': <built-in function compile>,
> > 'ArithmeticError': <type 'exceptions.ArithmeticError'>, 'str': <type
> > 'str'>, 'property': <type 'property'>, 'GeneratorExit': <type
> > 'exceptions.GeneratorExit'>, 'int': <type 'int'>, '__import__': <built-in
> > function __import__>, 'KeyError': <type 'exceptions.KeyError'>, 'coerce':
> > <built-in function coerce>, 'PendingDeprecationWarning': <type
> > 'exceptions.PendingDeprecationWarning'>, 'file': <type 'file'>,
> > 'EnvironmentError': <type 'exceptions.EnvironmentError'>, 'unichr':
> > <built-in function unichr>, 'id': <built-in function id>, 'OSError': <type
> > 'exceptions.OSError'>, 'DeprecationWarning': <type
> > 'exceptions.DeprecationWarning'>, 'min': <built-in function min>,
> > 'UnicodeWarning': <type 'exceptions.UnicodeWarning'>, 'execfile': <built-in
> > function execfile>, 'any': <built-in function any>, 'complex': <type
> > 'complex'>, 'bool': <type 'bool'>, 'ValueError': <type
> > 'exceptions.ValueError'>, 'NotImplemented': NotImplemented, 'map':
> > <built-in function map>, 'buffer': <type 'buffer'>, 'max': <built-in
> > function max>, 'object': <type 'object'>, 'TabError': <type
> > 'exceptions.TabError'>, 'callable': <built-in function callable>,
> > 'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>, 'eval':
> > <built-in function eval>, '__debug__': True, 'IndentationError': <type
> > 'exceptions.IndentationError'>, 'AssertionError': <type
> > 'exceptions.AssertionError'>, 'classmethod': <type 'classmethod'>,
> > 'UnboundLocalError': <type 'exceptions.UnboundLocalError'>,
> > 'NotImplementedError': <type 'exceptions.NotImplementedError'>,
> > 'AttributeError': <type 'exceptions.AttributeError'>, 'OverflowError':
> > <type 'exceptions.OverflowError'>}
> > >     Lock: None
> > >     __file__: None
> > >     traceback: None
> > >     absolute_import: None
> > >     __package__: None
> > >     sys: None
> > >     ctypes: None
> > >     Timer: None
> > >     Semaphore: None
> > >     __name__: None
> > >     os: None
> > >     __doc__: None
> > >     Event: None
> > >
> > > platform:
> > > Linux-4.17.2-1-ARCH-x86_64-with-glibc2.2.5
> > >
> > > python-version:
> > > 2.7.15
> > >
> > > traceback:
> > >   File "Beremiz.py", line 198, in AppStart
> > >     self.BackgroundInitialization()
> > >   File "Beremiz.py", line 131, in BackgroundInitialization
> > >     self.ImportModules()
> > >   File "Beremiz.py", line 174, in ImportModules
> > >     mod = __import__(modname)
> > >   File "/home/daniel/Beremiz/beremiz/BeremizIDE.py", line 45, in <module>
> > >     from editors.EditorPanel import EditorPanel
> > >   File "/home/daniel/Beremiz/beremiz/editors/EditorPanel.py", line 29,
> > in <module>
> > >     from controls import VariablePanel
> > >   File "/home/daniel/Beremiz/beremiz/controls/__init__.py", line 44, in
> > <module>
> > >     from controls.LogViewer import LogViewer
> > >   File "/home/daniel/Beremiz/beremiz/controls/LogViewer.py", line 36, in
> > <module>
> > >     from runtime.loglevels import LogLevelsCount, LogLevels
> > >   File "/home/daniel/Beremiz/beremiz/runtime/__init__.py", line 27, in
> > <module>
> > >     from runtime.PLCObject import PLCObject, PLCprint
> > >   File "/home/daniel/Beremiz/beremiz/runtime/PLCObject.py", line 33, in
> > <module>
> > >     import Pyro.core as pyro
> > > <type 'exceptions.ImportError'>: No module named Pyro.core
> > >
> > > wx-platform:
> > > __WXGTK__
> > >
> > > wx-version:
> > > 3.0.2.0
> > >
> >
> > >
> > ------------------------------------------------------------------------------
> > > Check out the vibrant tech community on one of the world's most
> > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> >
> > > _______________________________________________
> > > Beremiz-devel mailing list
> > > [hidden email]
> > > https://lists.sourceforge.net/lists/listinfo/beremiz-devel
> >
> >
> > --
> > Best regards,
> > Andrey Skvortsov
> >
> >
> >

> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot

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


--
Best regards,
Andrey Skvortsov

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

signature.asc (849 bytes) Download Attachment
skv
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] Fwd: Errors running Beremiz on Arch Linux

skv
Administrator
In reply to this post by Daniel Mirkin
Hi Daniel,

On 18-06-25 19:10, Daniel Mirkin wrote:

> Dear Andrey:
>
> Many, many thanks!!!
>
> I have followed your sugerences:
> I've replaced python2-pyro 4.72-1 by its previous version python2-pyro3
> 3.16-1 (from AUR), and have installed python2-zeroconf.
> Now Beremiz1.2-cc7a46953471 is running in my Arch Linux machine!
>
> Now, I'm learning how to program in Beremiz IDE.
> And I planned to upload the generated .st file to a RPI model 1B with
> MODBus slaves, using the OpenPLC runtimes and drivers (by Thiago R. Alves).
>
> OT?: despite the python2-pyro replacement and the python2-zeroconf
> install, PLCOpenEditor
> 1.2 still fails to run, showing its same issues (see my first post).
>
> ------
>
> <quote>
> Debian Testing is almost rolling release as well. ;-)
> BTW if you pack Beremiz for Arch, that would be great.
> </quote>
>
> When (and if) I have some free time, I will try to write a Beremiz PKGBUILD
> for AUR (recipe to compile and install third software not available in
> official Arch repositories).
> I'm not an experiencied "pkgbuilder" (my usbpicprog PKGBUILD in AUR still
> waits for corrections), but I will try hard...
> BTW: I supose that Beremiz, being a multipart software (IDE plus matIEC),
> must be installed in an own directory under /opt, as opencascade, flatcam
> (python based software, too), sozi, etc.
> Your opinions on this will be welcome.
I've just found this:
https://aur.archlinux.org/packages/beremiz-hg
https://aur.archlinux.org/packages/matiec-hg/
https://github.com/giscan/Beremiz-arch

--
Best regards,
Andrey Skvortsov

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

signature.asc (849 bytes) Download Attachment
skv
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] Fwd: Errors running Beremiz on Arch Linux

skv
Administrator
In reply to this post by skv
Hi Daniel,

On 18-06-26 11:10, Andrey Skvortsov wrote:

>
>
> > OT?: despite the python2-pyro replacement and the python2-zeroconf
> > install, PLCOpenEditor
> > 1.2 still fails to run, showing its same issues (see my first post).
>
> Of course, because pyro and zeroconf are used only for communication
> with runtime and by Beremiz PLC runtime itself.
> The problem with PLCOpenEditor is a regression introduced by
> 5701225 ("replaced normal panel with scrolled panel under project
> properties") [4]. I'll look into that.
I've fixed the problem with project properties dialog.
https://bitbucket.org/automforge/beremiz/commits/12cb48823b8c474c853ef9ef3117153b89fe4fd5


--
Best regards,
Andrey Skvortsov

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] Fwd: Errors running Beremiz on Arch Linux

Daniel Mirkin
Dear Andrey:

I just have discovered beremiz-hg and matiec-hg in AUR, too (parallel remote thinking?).

beremiz-hg PKGBUILDs from AUR, and from https://github.com/giscan/, have errors in depends=( ) statements.
I have corrected them and installing  Beremiz with your latest patch natively in my system (see below).

Just now, I'm writing to beremiz-hg maintainer in AUR, Nathan Lowe <[hidden email]>, sending him my comments and my modified PKGBUILD.
I send my beremiz-hg PKGBUILD (and matiec-hc PKGBUILD) to you too,  attached to this email; you can freely upload these to Beremiz Wiki, if you like.

Running Beremiz in RPI:
I think that OpenPLC Project has developed the driver necessary to comunicate RPI with MODBus modules.

Thiago Alves wrote to me:
<quote>
About your approach on the Pi, it should work fine. However, OpenPLC runtime v3 is lacking support for slave modbus devices, as I'm still building the frontend for that feature. You can use OpenPLC runtime v2 if you want to try it now. The installation instructions are pretty similar:
1. Install required packages: 
sudo apt-get update 
sudo apt-get install build-essential pkg-config bison flex autoconf automake libtool make nodejs git
2. Build
cd OpenPLC_v2
./build.sh
3. Start runtime
sudo nodejs server.js
At the end of the build process, it will ask you which driver you want to use. In your case, select the Modbus driver. The configuration of the Modbus driver is explained here:  http://www.openplcproject.com/getting-started-modbus-io
</quote>

I'm trying to borrow Modbus I/O modules from my friends: hardware have become so expensive in my country, Argentina, after the huge devaluation of our currency, 50% in less than six months :-(
Thanks you for your development and for your attention, again!

[daniel@hardwork ~]$ pacman -Qi beremiz-hg
Name            : beremiz-hg
Version         : 1.2.r2195.12cb48823b8c-1
Description     : An integrated development environment for machine automation
Architecture    : x86_64
URL             : https://bitbucket.org/skvorl/beremiz
Licenses        : GPL2  LGPL2
Groups          : None
Provides        : beremiz
Depends On      : matiec-hg  python2  python2-wxpython3  python2-numpy  nevow  python2-matplotlib  python2-lxml  python2-pyro3  python2-zeroconf  gtk-update-icon-cache  desktop-file-utils
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : beremiz
Replaces        : None
Installed Size  : 20,00 MiB
Packager        : Daniel H. Mirkin <danielmirkin at gmail dot com>
Build Date      : mar 26 jun 2018 10:33:45 -03
Install Date    : mar 26 jun 2018 10:34:28 -03
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : None

Best regards,

Daniel Mirkin
[hidden email]
Cel. +54 9 223 524 2171


El mar., 26 jun. 2018 a las 8:59, Andrey Skvortsov (<[hidden email]>) escribió:
Hi Daniel,

On 18-06-26 11:10, Andrey Skvortsov wrote:
>
>
> > OT?: despite the python2-pyro replacement and the python2-zeroconf
> > install, PLCOpenEditor
> > 1.2 still fails to run, showing its same issues (see my first post).
>
> Of course, because pyro and zeroconf are used only for communication
> with runtime and by Beremiz PLC runtime itself.
> The problem with PLCOpenEditor is a regression introduced by
> 5701225 ("replaced normal panel with scrolled panel under project
> properties") [4]. I'll look into that.

I've fixed the problem with project properties dialog.
https://bitbucket.org/automforge/beremiz/commits/12cb48823b8c474c853ef9ef3117153b89fe4fd5


--
Best regards,
Andrey Skvortsov
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

beremiz-hg_PKGBUILD (3K) Download Attachment
matiec-hg_PKGBUILD (1K) Download Attachment
skv
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] Fwd: Errors running Beremiz on Arch Linux

skv
Administrator
Hi Daniel,

On 18-06-26 10:54, Daniel Mirkin wrote:
> Dear Andrey:
>
> I just have discovered beremiz-hg and matiec-hg in AUR, too (parallel
> remote thinking?).
>
> beremiz-hg PKGBUILDs from AUR, and from https://github.com/giscan/, have
> errors in depends=( ) statements.
> I have corrected them and installing  Beremiz with your latest patch
> natively in my system (see below).
Most likely dependencies of Beremiz have changed sligthly since then.

> Just now, I'm writing to beremiz-hg maintainer in AUR, Nathan Lowe <
> [hidden email]>, sending him my comments and my modified PKGBUILD.
> I send my beremiz-hg PKGBUILD (and matiec-hc PKGBUILD) to you too,
> attached to this email; you can freely upload these to Beremiz Wiki, if you
> like.
Thank you very much for fixing dependencies. I'll link beremiz-hg/matiec-hg AUR on beremiz.org
in section about Arch Linux support.

> *Running Beremiz in RPI:*
> *I think that OpenPLC Project has developed the driver necessary to
> comunicate RPI with MODBus modules.*

Beremiz already has drivers for Modbus Master and Slave (as I wrote
before). I've never used them myself. But I could look into that
tomorrow and add test project(s), because Netza Guadarrama was interested
recently in Modbus support as well.

> *I'm trying to borrow Modbus I/O modules from my friends: hardware have
> become so expensive in my country, Argentina, after the huge devaluation of
> our currency, 50% in less than six months :-(*
> Thanks you for your development and for your attention, again!

Do you use Modbus RTU or TCP?


--
Best regards,
Andrey Skvortsov

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

signature.asc (849 bytes) Download Attachment