Good news. Finally OpenPLC is installed. I tried on windows7. There was no problem. With W10, I tried different methods. Installing cygwin manually with only the git package (as say in doc) did not operate .
well i tried this one :
First, erase all the installation with unistall utility. Then launch OpenPLC Installer. The last commands did not execure for obscure reasons. there are:
Execute: "C:\Windows\system32\cmd.exe" /c START "" /WAIT "C:\Users\domin\OpenPLC\install_cygwin.cmd"
Execute: "C:\Windows\system32\cmd.exe" /c START "" /WAIT "C:\Users\domin\OpenPLC\install_runtime.cmd"
So installing cygwin manually: downloading and launching setup-x86_64.exe. Here I installed this packages manually : ca-certificates,wget,gcc-core,gcc-g++,git,pkg-config,automake,autoconf,libtool,make,python2,python2-pip,sqlite3 .
After I launched a rebase. And runtime works.
Hope this helps someone.
Dom
I tried it like this and it worked but when I open Runtime i get this error
Verifying Runtime Installation...
* Serving Flask app "webserver" (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
Traceback (most recent call last):
File "webserver.py", line 2405, in <module>
app.run(debug=False, host='0.0.0.0', threaded=True, port=8080)
File "/usr/lib/python2.7/site-packages/flask/app.py", line 990, in run
run_simple(host, port, self, **options)
File "/usr/lib/python2.7/site-packages/werkzeug/serving.py", line 1052, in run_simple
inner()
File "/usr/lib/python2.7/site-packages/werkzeug/serving.py", line 1005, in inner
fd=fd,
File "/usr/lib/python2.7/site-packages/werkzeug/serving.py", line 848, in make_server
host, port, app, request_handler, passthrough_errors, ssl_context, fd=fd
File "/usr/lib/python2.7/site-packages/werkzeug/serving.py", line 740, in __init__
HTTPServer.__init__(self, server_address, handler)
File "/usr/lib/python2.7/SocketServer.py", line 420, in __init__
self.server_bind()
File "/usr/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind
SocketServer.TCPServer.server_bind(self)
File "/usr/lib/python2.7/SocketServer.py", line 434, in server_bind
self.socket.bind(self.server_address)
File "/usr/lib/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 112] Address already in use
Press [Enter] key to close...
I have no idea what's wrong