Welcome, Guest
Username: Password: Remember me

TOPIC: uncontrolled error from python

uncontrolled error from python 8 years 7 months ago #20961

  • chandarrou
  • chandarrou's Avatar
hello,
I remarked that my simulations are successful for the first or the second time but the I get at the next time an error message said "
... handling result files

+> New.cas
_____________
runcode::main:
:
uncontroled error from python:: WindowsError(32, 'The process cannot acces
s the file because it is being used by another process')
~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "C:\opentelemac-mascaret\v7p1\scripts\python27\runcode.py", line 1604, in
main
runCAS(cfgname,cfg,codeName,casFiles,options)
File "C:\opentelemac-mascaret\v7p1\scripts\python27\runcode.py", line 1388, in
runCAS
CASFiles[name],ncsize,options.bypass)
File "C:\opentelemac-mascaret\v7p1\scripts\python27\runcode.py", line 455, in
processECR
shutil.move(cref,bs+'_old'+str(i)+es)
File "C:\opentelemac-mascaret\python27\lib\shutil.py", line 302, in move
os.unlink(src)
WindowsError: [Error 32] The process cannot access the file because it is being
used by another process: 'C:\\Users\\Ayoub\\Desktop\\anza\\Avril\\jadid.slf"

I don't know exactely where this problem is comming from ?
especially that it becomes good if I restart my PC .
The administrator has disabled public write access.

uncontrolled error from python 8 years 7 months ago #20963

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi

Are you using another program to visualize the result during the computation?
The result file seems to be used by another process when telemac try to copy the new result file on it (same name)

Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: chandarrou

uncontrolled error from python 8 years 7 months ago #20976

  • chandarrou
  • chandarrou's Avatar
think you very very mutch it's run very well Know
The administrator has disabled public write access.
Moderators: pham

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