Ask Your Question

i got error when i click "export to excel" in .out file

asked 2019-04-10 07:50:07 -0500

gust7417 gravatar image

updated 2019-04-10 19:06:54 -0500

jconto gravatar image

I am using PSS / E32 version. I run dynamic simulation, get OUT file, and then use OUT file to "export to excel" in graph file of OUT file. Please help me this error

I think I have an error because I have a lot of python version

Traceback (most recent call last):
  File ".\", line 1983, in _xlsout
  File ".\", line 1074, in xlsout
  File ".\", line 435, in _xls_export
  File ".\", line 1870, in workbook
  File ".\", line 180, in __init__

  File "C:\Python25\Lib\site-packages\win32com\client\", line 536, in EnsureDispatch
    mod = EnsureModule(tla[0], tla[1], tla[3], tla[4], bForDemand=bForDemand)
  File "C:\Python25\Lib\site-packages\win32com\client\", line 449, in EnsureModule
    if module.MinorVersion != tlbAttributes[4] or genpy.makepy_version != module.makepy_version:

AttributeError: 'module' object has no attribute 'MinorVersion
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2019-05-02 19:42:40 -0500

drsgao gravatar image

I did the same thing and also got errors, though they are not the same as yours. What I have done is to write a script that imports the dyntools module and convert the OUT files into CSV files. Then I could plot things with matplotlib.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools


Asked: 2019-04-10 07:50:07 -0500

Seen: 129 times

Last updated: May 02 '19