Error: Cannot find file *.rvt

Ask questions or report problems
Michael
Posts: 3
Joined: Wed Feb 07, 2018 9:53 am

Error: Cannot find file *.rvt

Postby Michael » Wed Feb 07, 2018 10:19 am

Hi,

here some sort of bug report.
I got some strange behaviour in a specific Raven constellation. I have a copy of Alouette example (taken from Walkthrough#3) in the folder Alouette and my Raven.exe at the same level as Alouette folder. If I try to start

Code: Select all

./Raven.exe Alouette/Alouette -o Alouette/out/
I get the error:
Exiting Gracefully: :RedirectToFile: Cannot find file AlouetteObservedFlow.rvt
Error Type: Bad input data

After some trial and error I found, that Raven cannot handle the :RedirectToFile command correct, if the name of the redirected file starts with the same name as the rvi-file, and if Raven.exe is one folder above the actual project folder. In the example above it means, that I can rename AlouetteObservedFlow.rvt to AlouettObservedFlow.rvt (mind the missing e) and change the entry in Alouette.rvt and everything works fine.

What works: Alouette folder and Raven.exe in different places, e.g.,

Code: Select all

./Raven.exe test/Alouette/Alouette -o test/Alouette/out/
or if you write absolute paths

Code: Select all

./Raven.exe /path/to/your/projects/Alouette/Alouette -o
/path/to/your/projects/Alouette/out/
or what is even enough

Code: Select all

./Raven.exe ../parentfolder/Alouette/Alouette -o Alouette/out/
(a strange solution). I assume an internal replacing in the name strings.

I work in Linux, but after short tests in Windows it seems to be the same.

A second minor remark to Alouette example: as a Linux file system is case sensitive, it would be nice if you change line 15 in Alouette.rvt to :RedirectToFile ALUgauge.rvt.

Cheers,
Michael

rchlumsk
Posts: 156
Joined: Fri Sep 16, 2016 3:18 pm

Re: Error: Cannot find file *.rvt

Postby rchlumsk » Wed Feb 07, 2018 12:48 pm

Hi Michael

This is a strange bug, I tried this out and was able to replicate it with v2.7 on 64bit Windows. I have passed the bug report along to the Raven team to address it. Thank you for pointing this out, much appreciated!

Cheers,
Rob
Robert Chlumsky
rchlumsk@uwaterloo.ca

jrcraig
Posts: 57
Joined: Tue Jul 05, 2016 1:08 pm

Re: Error: Cannot find file *.rvt

Postby jrcraig » Wed Feb 07, 2018 3:26 pm

great bug find, and I appreciate the follow up diagnosis!
-James


Return to “Help & Support”