GUI icon indicating copy to clipboard operation
GUI copied to clipboard

Saturation tables don't work

Open ibell opened this issue 10 years ago • 2 comments

When I try to build default saturation table with R245fa, I get this traceback on the console:

[py33] C:\Users\Belli\Documents\Code\CoolProp-GUI>python cpgui.py
Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Miniconda\envs\py33\lib\tkinter\__init__.py", line 1489, in __call__
    return self.func(*args)
  File "C:\Users\Belli\Documents\Code\CoolProp-GUI\cpgui_sattable.py", line 211, in calculate
    TLIQ,DLIQ,HLIQ,SLIQ=PropsSI(['T','D','H','S'],'P',pressures[P],'Q',0,self.ref)
  File "CoolProp.pyx", line 158, in CoolProp.CoolProp.PropsSI (CoolProp\CoolProp.cpp:7363)
  File "CoolProp.pyx", line 178, in CoolProp.CoolProp.PropsSI (CoolProp\CoolProp.cpp:7137)
  File "stringsource", line 15, in string.from_py.__pyx_convert_string_from_py_ (CoolProp\CoolProp.cpp:9191)
TypeError: expected bytes, list found

ibell avatar Apr 02 '15 05:04 ibell

That works for me

mayersre avatar Apr 02 '15 15:04 mayersre

Still not working for me. The exception for the table:

Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Miniconda\envs\py33\lib\tkinter\__init__.py", line 1489, in __call__
    return self.func(*args)
  File "C:\Users\Belli\Documents\Code\CoolProp-GUI\cpgui_sattable.py", line 211, in calculate
    TLIQ,DLIQ,HLIQ,SLIQ=PropsSI(['T','D','H','S'],'P',pressures[P],'Q',0,self.ref)
  File "CoolProp.pyx", line 158, in CoolProp.CoolProp.PropsSI (CoolProp\CoolProp.cpp:7363)
  File "CoolProp.pyx", line 178, in CoolProp.CoolProp.PropsSI (CoolProp\CoolProp.cpp:7137)
  File "stringsource", line 15, in string.from_py.__pyx_convert_string_from_py_ (CoolProp\CoolProp.cpp:9191)
TypeError: expected bytes, list found

ibell avatar Apr 03 '15 02:04 ibell