[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

new type (2) the solution that we find!



I think we have found a solution!

Using the debugger we found the problem came to the openning of the deck file. The program tried to open a deck file called error.txt.
We have deleted this file name in the settings (program arguments), and it works!

Thank you for your help
  ----- Original Message ----- 
  From: Werner Keilholz 
  To: trnsys@relay.doit.wisc.edu 
  Sent: Wednesday, December 19, 2001 3:09 PM
  Subject: Re: new type (2)


  Hi Laurent and Sabine, 
  most of the time, this error means that TRNSYS could not create 
  one or several output files - typically the .lst file. 

  So you should check if 
  - the absolute path exists (e.g., you don't have ASSIGN "\mydata\project.lst" ... 
    where \mydata doesn't exist 
  - the file is not locked (e.g., opened in Word, Excel, or another copy 
    of TRNSYS; reboot to be sure); 

  If this is not the case, and you think the error could come from 
  your DLL, you should run your DLL in the FORTRAN debugger to 
  see where the crash occurs (look at the 'Call Stack' window to 
  find the calling SUBROUTINE). 

  Hope this helps, 

  Werner 

  Laurent Serres wrote: 

    Dear TRNSYS users,with the help of Jeff (thanks a lot :-)) we managed to recompile the trnlib.dll , but at "execute trnsys.exe" the following message appears: error 1, check listing file.In the TRNSYS manual this error 1 is explained to be an error of Cnfgtr.trn . So we checked this file, but don't find any error: first line = MICR , 2nd - 8th line =Y.What could be the problem ? Where can we find the listing file mentionned in the message? (No file ' *.lst ' was created !) There's no file ' error.txt ' at debugging. Please help us.Thank you very much ! Sabine Hoffmann etSERRES Laurent  
    IUT Génie Civil 
    3, Rue du Clos Courtel 
    BP 90422 
    35704 RENNES CEDEX 7 
    FRANCE 
    Encore un nouveau numéro ! Tel: (33) 2 23 23 42 02<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> 
    Fax: (33) 2 23 23 40 50

    e-mail: laurent.serres@univ-rennes1.fr
  -- 
    /    \____ Werner Keilholz, Project Manager 
    \____/     CSTB Sophia Antipolis, ILC Division 
    /    \____ s-mail: BP 209, 06904 SOPHIA ANTIPOLIS,  F R A N C E 
    \____/     phone: +33 (0)4 93 95 67 00 -- fax: +33 (0)4 93 95 67 33 
    /    \____ Mailto:werner@cstb.fr 
    \____/     http://evl.cstb.fr/english/team/WK/werner.htm 

               I'd rather be happy than right every day - Slartibartfast