Forum Discussion
FICO
5 years agoCommunity Manager
Issue with scenario attachments; attachment not found
Hello - looking for advice/help related to an issue with scenario attachments. we are using python to create several excel workbook files, which contain model input data. we have a set of strings (i...
FICO
5 years agoCommunity Manager
Hi Gary,
since your application is running on Windows, it's possible that a virus scanner (e.g. Windows Defender) temporarily has a file lock on you xlsx file. Another problem could be, that the Python component that creates the xlsx file doesn't properly release the file handle. Which component are you using to create the xlsx files?
To see whether Windows Defender causes the problem, you could try to add a small loop: If the file size returned by Mosel is zero, wait for a few seconds, and then try again to get the file size.
By the way: Do you strictly need the combination of Mosel and Python? Or would it be an option to use pure Python, and switch to the new 'xpressinsight' Python package and write an Insight app in pure Python?
Regards,
Johannes
Related Content
Related Content
- 11Views0likes2Comments
