Announcement

REXYGEN forum has been moved. This one is closed.
Head over to the new REXYGEN Community Forum at https://forum.rexygen.com.

Looking forward to meeting you there!
 

#1 2018-01-31 16:45:03

marcusallen10@googlemail.com
Member
Registered: 2018-01-31
Posts: 6

Generating RexHMI

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

#2 2018-02-01 12:15:18

jaroslav_sobota
Administrator
Registered: 2015-10-27
Posts: 535

Re: Generating RexHMI

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

Offline

#3 2018-02-01 14:48:07

marcusallen10@googlemail.com
Member
Registered: 2018-01-31
Posts: 6

Re: Generating RexHMI

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

#4 2018-02-01 15:24:17

osevera
REX developer
Registered: 2015-10-27
Posts: 13
Website

Re: Generating RexHMI

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

#5 2018-02-01 18:33:59

marcusallen10@googlemail.com
Member
Registered: 2018-01-31
Posts: 6

Re: Generating RexHMI

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

#6 2018-02-01 22:36:07

marcusallen10@googlemail.com
Member
Registered: 2018-01-31
Posts: 6

Re: Generating RexHMI

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

#7 2018-02-02 09:38:19

jaroslav_sobota
Administrator
Registered: 2015-10-27
Posts: 535

Re: Generating RexHMI

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

Offline

#8 2018-02-02 11:24:25

marcusallen10@googlemail.com
Member
Registered: 2018-01-31
Posts: 6

Re: Generating RexHMI

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

#9 2018-02-03 15:32:21

marcusallen10@googlemail.com
Member
Registered: 2018-01-31
Posts: 6

Re: Generating RexHMI

Hi Jaraslov,

Problem solved.  The missing dll was the final problem. Thanks for the prompt replies and assistance.

Regards

Marcus

Offline

#10 2018-02-05 17:11:22

jaroslav_sobota
Administrator
Registered: 2015-10-27
Posts: 535

Re: Generating RexHMI

Thanks for the feedback, glad I could help.

Kind regards,
Jaroslav

Offline

Board footer

Powered by FluxBB