Ask Your Question
0

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

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

gust7417 gravatar image

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

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 ".\dyntools.py", line 1983, in _xlsout
  File ".\dyntools.py", line 1074, in xlsout
  File ".\dyntools.py", line 435, in _xls_export
  File ".\excelpy.py", line 1870, in workbook
  File ".\excelpy.py", line 180, in __init__

  File "C:\Python25\Lib\site-packages\win32com\client\gencache.py", line 536, in EnsureDispatch
    mod = EnsureModule(tla[0], tla[1], tla[3], tla[4], bForDemand=bForDemand)
  File "C:\Python25\Lib\site-packages\win32com\client\gencache.py", 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
0

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

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

Stats

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

Seen: 872 times

Last updated: May 02 '19