You are not logged in.
Pages: 1
Topic closed
Hi,
I’m working through the getting started manual and have hit a snag. The test algorithams work fine and compile.
However the HMI generating fails on my getting started example and all of the other examples.
Error :-
My getting started project:-
Generating RexHMI ...
Source: C:\Users\Marcus Allen\Documents\RexProjects\hmisrc
Destination: C:\Users\Marcus Allen\Documents\RexProjects\hmi
Error: unable to start "GenRexHMI.py "C:\Users\Marcus Allen\Documents\RexProjects\hmisrc" "C:\Users\Marcus Allen\Documents\RexProjects\hmi" "--clean" "--copy""
Error: Generation of RexHMI failed: -1
example projects:-
Generating RexHMI ...
Source: C:\Users\Marcus Allen\Documents\rex2\hmisrc
Destination: C:\Users\Marcus Allen\Documents\rex2\hmi
Error: unable to start "GenRexHMI.py "C:\Users\Marcus Allen\Documents\rex2\hmisrc" "C:\Users\Marcus Allen\Documents\rex2\hmi" "--clean" "--copy""
Error: Generation of RexHMI failed: -1
Can any one help.
Offline
Hi Marcus,
sorry to hear about the difficulties. Can you please specify what operating system are you using and what version(s) of REX is installed on your PC? Thanks!
Kind regards,
Jaroslav
Monarco HAT for Raspberry Pi - Lightweight I/O for monitoring, archiving and control.
Raspberry Pi in industrial automation!
Offline
Hi,
Thanks for the prompt reply.
I am running Windows 7 on a Mac as a virtual machine.
I can download to the pi and monitor the algorithms.
I am using the latest version of REX 2.50.5.
Thanks
Offline
Hello Marcus,
we are using python for building the HMI, the python interpreter is part of the installation. Have you install the HMI Designer? If yes can you please open the HMI Designer and run Extensions -> REX HMI -> Version info. If about window opens you will see the version of the python and we will know that interpreter is not the issue. Otherwise we will try to find the issue elsewhere.
Regards
Ondrej
Offline
Hi,
HMI designer is noted in the menu but is not installed.
Do I need to re install REX.
Edit :-
I’ve re-installed REX software. I think the previous install was “compact” rather than
“full” . My bad. I’ve done a full install now. When I’m back to my computer I’ll
Check if this has cured the problem. I’ll let you know the outcome.
Thanks for the help so far
Marcus.
Last edited by marcusallen10@googlemail.com (2018-02-01 19:47:19)
Offline
Hi,
Ive re installed and now REX HMIdesigner is now installed.
I still get an error when trying to compile the getting started for Monaco Hat example.
error :-
Processing project file C:\Users\Marcus Allen\Documents\rex2\myproject_exec.mdl
Generating RexHMI ...
Source: C:\Users\Marcus Allen\Documents\rex2\hmisrc
Destination: C:\Users\Marcus Allen\Documents\rex2\hmi
Traceback (most recent call last):
File "C:\Program Files (x86)\REX Controls\REX 2.50.5.8614\HmiDesigner\share\extensions\rexhmi\htmlBuilder.py", line 39, in <module>
from PyQt5 import QtGui
ImportError: DLL load failed: The specified module could not be found.
Error: Generating SVG file designer.html failed!
Error: "GenRexHMI.py "C:\Users\Marcus Allen\Documents\rex2\hmisrc" "C:\Users\Marcus Allen\Documents\rex2\hmi" "--clean" "--copy"" finished with error code 1
Error: Generation of RexHMI failed: 1
The HMI Designer version gives :-
Traceback (most recent call last):
File "about.py", line 12, in <module>
import aboutGui
File "C:\Program Files (x86)\REX Controls\REX 2.50.5.8614\HmiDesigner\share\extensions\rexhmi\version\aboutGui.py", line 12, in <module>
from PyQt5 import QtCore, QtGui, QtWidgets
ImportError: DLL load failed: The specified module could not be found.
Thanks
Marcus
Offline
Hi Marcus,
well done, you have reached another level. The mentioned problem is solved in this forum thread.
Let me know if this does the trick.
With kind regards,
Jaroslav
Monarco HAT for Raspberry Pi - Lightweight I/O for monitoring, archiving and control.
Raspberry Pi in industrial automation!
Offline
Hi Jaroslav,
Thanks, I’ll try that when I am at my machine. Probably during the week end.
I’ll post the results here.
Many thanks.
Marcus.
Offline
Hi Jaraslov,
Problem solved. The missing dll was the final problem. Thanks for the prompt replies and assistance.
Regards
Marcus
Offline
Thanks for the feedback, glad I could help.
Kind regards,
Jaroslav
Monarco HAT for Raspberry Pi - Lightweight I/O for monitoring, archiving and control.
Raspberry Pi in industrial automation!
Offline
Pages: 1
Topic closed