Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problem when Compiling and generating dynamic library files

I have written model in conec.flx. Now I want to compile and get dynamic library files dsuse.dll. I put conec.flx in Root directory:PTI/ PSSE/EXAMPLE. And then I open PSS/E Command Prompt and type"compile". And the result is

C:\Program Files (x86)\PTI\PSSE34\EXAMPLE>compile Traceback (most recent call last): File "C:\Program Files (x86)\PTI\PSSE34\PSSBIN\cmdlusr.py", line 58, in <module> psseenvmanager.compile(major, cmpsources, modsources=modsources) File "psseenvmanager.pyx", line 5727, in psseenvmanager.compile File "psseenvmanager.pyx", line 5496, in psseenvmanager.compilelinkmain File "psseenvmanager.pyx", line 3034, in psseenvmanager.initfindvscmp File "psseenvmanager.pyx", line 1730, in psseenvmanager.getvsvrnssettings File "psseenvmanager.pyx", line 2916, in psseenvmanager.writ_log File "C:\Python27\lib\codecs.py", line 706, in write return self.writer.write(data) File "C:\Python27\lib\codecs.py", line 369, in write data, consumed = self.encode(object, self.errors) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 130: ordinal not in range(128)

I don't know how to deal with it.

Problem when Compiling and generating dynamic library files

I have written model in conec.flx. Now I want to compile and get dynamic library files dsuse.dll. I put conec.flx in Root directory:PTI/ PSSE/EXAMPLE. And then I open PSS/E Command Prompt and type"compile". And the result is

Your PATH is now set to run PSS-34 programs! C:\Program Files (x86)\PTI\PSSE34\EXAMPLE>compile Traceback (most recent call last): last):
File "C:\Program Files (x86)\PTI\PSSE34\PSSBIN\cmdlusr.py", line 58, in <module> psse<module>psseenvmanager.compile(major, cmpsources, modsources=modsources) modsources=modsources)
File "psseenvmanager.pyx", line 5727, in psseenvmanager.compile manager.compile
File "psseenvmanager.pyx", line 5496, in psseenvmanager.compilelinkmain main
File "psse
envmanager.pyx", line 3034, in psseenvmanager.initfindvscmp cmp
File "psse
envmanager.pyx", line 1730, in psseenvmanager.getvsvrnssettings settings
File "psse
envmanager.pyx", line 2916, in psseenvmanager.writ_log writ_log
File "C:\Python27\lib\codecs.py", line 706, in write write return self.writer.write(data) self.writer.write(data)
File "C:\Python27\lib\codecs.py", line 369, in write write data, consumed = self.encode(object, self.errors) self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 130: ordinal not in range(128)range(128)
If no errors, run "cload4"

I don't know how to deal with it.