Welcome, Guest
Username: Password: Remember me

TOPIC: LECBREACH: READ ERROR ON THE BREACHES DATA FILE AT LINE 2

LECBREACH: READ ERROR ON THE BREACHES DATA FILE AT LINE 2 2 years 2 months ago #41044

  • gregory
  • gregory's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 28
Bonjour,

Sur deux modèles différents, je parviens à faire tourner la modélisation sans la brèche. Mais si je paramètre :

FICHIER DE DONNEES DES BRECHES ='breach.txt'
BRECHE =true

avec le fichier en brèche en pièce jointe j'obtiens l'erreur suivante:

LECBREACH: READ ERROR ON THE BREACHES DATA FILE AT LINE 2
PLANTE: PROGRAM STOPPED AFTER AN ERROR
RETURNING EXIT CODE: 2

L'exemple présent dans l'installation dénommé "breach" fonctionne.

J'ai essayé beaucoup de choses mais je ne parviens pas à débugger la fonctionnalité brèche.

Quelqu'un a t-il déjà rencontré cette erreur? a t-il une solution à me proposer?

En vous remerciant
Attachments:
The administrator has disabled public write access.

LECBREACH: READ ERROR ON THE BREACHES DATA FILE AT LINE 2 2 years 2 months ago #41045

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Please use English to maximize the potential users who will answer you
If the example works and not yours, try to copy the exemple file and just change the values

I suspect a problem with french words with special letters like é or è...

Regards
Christophe
The administrator has disabled public write access.

LECBREACH: READ ERROR ON THE BREACHES DATA FILE AT LINE 2 2 years 2 months ago #41047

  • gregory
  • gregory's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 28
Thanks Christophe.

Is difficult to copy the file of breach's example because they are very different models. But, I me inspire it, without success.

I would be sure, only one breche.txt file is necassary for use breach fonction on the dyke? Or i must to realise special manipulation in geometry file for example?
The administrator has disabled public write access.

LECBREACH: READ ERROR ON THE BREACHES DATA FILE AT LINE 2 2 years 2 months ago #41048

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Only the file is requested (and the keyword of course)
I agree the models are different but you could use the example breach file as a skeleton and just fill it with your own values.
I don't think there is french comment in the example --> my remarks about characters problems...
Christophe
The administrator has disabled public write access.

LECBREACH: READ ERROR ON THE BREACHES DATA FILE AT LINE 2 2 years 2 months ago #41050

  • gregory
  • gregory's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 28
the breach file is already do. For the paramatre file( cas) , it's do partially.I do lot of tests. I ask me if this is a problem of compilation even if without breach it's ok and the breach example(of telemac installtion)with breche on 'true' it's ok too.

I thanks you for your help.
The administrator has disabled public write access.

LECBREACH: READ ERROR ON THE BREACHES DATA FILE AT LINE 2 2 years 2 months ago #41051

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
If the example works, there is no possible compilation problem, except if you use local fortran file where you adapted lecbreach.f
Christophe
The administrator has disabled public write access.

LECBREACH: READ ERROR ON THE BREACHES DATA FILE AT LINE 2 2 years 2 months ago #41049

  • gregory
  • gregory's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 28
gregory wrote:
Thanks Christophe.

Is difficult to copy the file of breach's example because they are very different models. But, I me inspire it, without success.

I would be sure, only one breche.txt file is necassary for use breach fonction on the dyke? Or i must to realise special manipulation in geometry file for example?

The error message* seems easy but i can't find a solution since any days. :(

*LECBREACH: READ ERROR ON THE BREACHES DATA FILE AT LINE 2
The administrator has disabled public write access.

LECBREACH: READ ERROR ON THE BREACHES DATA FILE AT LINE 2 2 years 2 months ago #41052

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Yes that's sounds easy.
Often a stupid problem of specific characters or similar...
Check in the temporary directory how this breach file looks, maybe this could help you
Christophe
The administrator has disabled public write access.

LECBREACH: READ ERROR ON THE BREACHES DATA FILE AT LINE 2 2 years 2 months ago #41053

  • PMV
  • PMV's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 149
  • Thank you received: 42
it might be your text file encoding.

If I copy the breach.txt from the example into your text file I can reproduce the error.

Example file is ANSI where as you file is UTF-8-BOM.

Copy your text into the example breach.txt and save at the required location and you should be fine.

Hope that helps,

Patrick
The administrator has disabled public write access.

LECBREACH: READ ERROR ON THE BREACHES DATA FILE AT LINE 2 2 years 2 months ago #41055

  • gregory
  • gregory's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 28
YES. :woohoo:

It was a encoding problem. It's necessary to save the file breach in ANSI encoding.

MANY THANKS TO BOTH OF YOU

(ps: my version is version v8p2)
The administrator has disabled public write access.
Moderators: pham

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.