Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saturation tables don't work #18

Open
ibell opened this issue Apr 2, 2015 · 2 comments
Open

Saturation tables don't work #18

ibell opened this issue Apr 2, 2015 · 2 comments

Comments

@ibell
Copy link
Contributor

ibell commented Apr 2, 2015

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
@mayersre
Copy link
Contributor

mayersre commented Apr 2, 2015

That works for me

@ibell
Copy link
Contributor Author

ibell commented Apr 3, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants