RoboPro programs fail to open

Alles rund um TX(T) und RoboPro, mit ft-Hard- und Software
Computing using original ft hard- and software
Forumsregeln
Bitte beachte die Forumsregeln!
Antworten
johnnyage
Beiträge: 3
Registriert: 07 Nov 2023, 22:30

RoboPro programs fail to open

Beitrag von johnnyage » 16 Jan 2024, 20:02

Hello, we are using Robopro in our school and we are facing this very irritating problem:
Our students work on their own programs, they save it on their local computer desktop or documents folder and when they come back next week, almost every time some of them get an error message and their program won't open correctly.
This only happens when working with subprograms.
Some of their subprograms are lost and so the main program doesn't work. They have to do everything again.
See screenshots.
What is the problem here?
Dateianhänge
Error2.jpg
Error2.jpg (506.63 KiB) 961 mal betrachtet
error1.jpg
error1.jpg (382.94 KiB) 961 mal betrachtet

hypnotoad
Beiträge: 121
Registriert: 16 Feb 2019, 12:43
Wohnort: 30559 Hannover
Kontaktdaten:

Re: RoboPro programs fail to open

Beitrag von hypnotoad » 16 Jan 2024, 21:31

It seems to be an xml error. If you attach the file as zip file, I can have a look what happens in that mentioned line.

Benutzeravatar
Dirk Fox
ft:pedia-Herausgeber
Beiträge: 1833
Registriert: 01 Nov 2010, 00:49
Wohnort: Karlsruhe
Kontaktdaten:

Re: RoboPro programs fail to open

Beitrag von Dirk Fox » 17 Jan 2024, 12:06

Hello johnnyage,

fischertechnik added functionality in ROBO Pro over time - so with every version, programs using these new functions aren't readable any more by older versions of ROBO Pro. I could imagine that the ROBO Pro versions on the local computers are not all identical. Therefore, I propose to upgrade *all* computers to the current version (programs generated with older versions will be still readable):
https://www.fischertechnik.de/-/media/f ... bopro.ashx

Regards,
Dirk

johnnyage
Beiträge: 3
Registriert: 07 Nov 2023, 22:30

Re: RoboPro programs fail to open

Beitrag von johnnyage » 18 Jan 2024, 14:26

Thanks for your replies.
We have the latest version on all computers and they always use the same computer every week so there should be no problem with program versions.
I can't attach a zip file here so the example of a faulty program is here:
https://www.uschovna.cz/zasilka/NYHAVCXMUARKATSF-5NA/
(It's a popular czech filesharing service, just click "Stáhnout zásilku")
Thanks!

johnnyage
Beiträge: 3
Registriert: 07 Nov 2023, 22:30

Re: RoboPro programs fail to open

Beitrag von johnnyage » 18 Jan 2024, 14:33

So I checked the line 1208 in the rpp file, it's the last line but the program shouldn't end there. It didn't save properly.
Any ideas why this might have happened?
The students use the "save" icon, they wait and then they close the program.
Is there a flaw in the save function or on our computers?
Also I notices that it sometimes takes a VERY long time to save. I mean like 20 seconds. The program appears frozen during that time.

hypnotoad
Beiträge: 121
Registriert: 16 Feb 2019, 12:43
Wohnort: 30559 Hannover
Kontaktdaten:

Re: RoboPro programs fail to open

Beitrag von hypnotoad » 18 Jan 2024, 14:52

Hi. I compared with some of my rpp files, and I immediately found some files which are corrupted like yours. :(

Benutzeravatar
fishfriend
Beiträge: 1820
Registriert: 26 Nov 2010, 11:45

Re: RoboPro programs fail to open

Beitrag von fishfriend » 18 Jan 2024, 16:36

Hallo...
Hmmm witch version of RoboPro do you use ?
My Version say that there is a error at line 7.
Mit freundlichen Grüßen
Holger
7 <roboexpert>0</roboexpert>
Level - Problem?
ft Riesenräder PDF: ftcommunity.de/knowhow/bauanleitungen
TX-Light: Arduino und ftduino mit RoboPro

hypnotoad
Beiträge: 121
Registriert: 16 Feb 2019, 12:43
Wohnort: 30559 Hannover
Kontaktdaten:

Re: RoboPro programs fail to open

Beitrag von hypnotoad » 18 Jan 2024, 18:20

Because I realized that my recent rpp files are corrupt, I found a quite easy way to reproduce the problem with RoboPro 4.7.0:
- create a new program
- add APDS9960_init and APDS9660_gest objects to it
- maybe wire them and
- save _on_a_nas_ mapped to a local drive (e.g. x:\robopro)

This will hang RoboPro and killing it will result in a corrupted rpp file. The solution is to wait several minutes until saving finished.

Even if the resulting file is not big, it might take very long to save.

In my case, the solution would be to work locally and copy the files to nas later. But I don't know if your students have a similar problem.

Benutzeravatar
fishfriend
Beiträge: 1820
Registriert: 26 Nov 2010, 11:45

Re: RoboPro programs fail to open

Beitrag von fishfriend » 19 Jan 2024, 16:17

Hallo...
On a older version of Windows, there is a Marker, where you can set, that windows save not direcly on a medium.
Like to save on a USB-stick. There is a buffer. Maybe on a NAS it is the same or leike that, a Marker you can change to direct saving.
Mit freundlichen Grüßen
Holger
ft Riesenräder PDF: ftcommunity.de/knowhow/bauanleitungen
TX-Light: Arduino und ftduino mit RoboPro

Antworten