First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
2019-10-23 09:28:16 -0500 | received badge | ● Famous Question (source) |
2019-10-21 09:38:34 -0500 | answered a question | dyntools.CHNF TypeError: sequence item 0: expected string, int found Thank you all for replying. It is not caused by either outfile (str) and outvrsn(int), they are both in correct format. I can be sure about that. This script was developed for years and tests with numerous systems. It is the first time we got this error. And there must be some issues in the dynamic run embedded in outfile causing this problem. I will update if I find the bug. BTW, is there a good manual for dyntools? I am not able to find one. |
2019-10-21 02:57:56 -0500 | received badge | ● Notable Question (source) |
2019-10-19 19:38:06 -0500 | received badge | ● Popular Question (source) |
2019-10-18 13:47:20 -0500 | commented answer | dyntools.CHNF TypeError: sequence item 0: expected string, int found Thanks for the reply. Yes, I knew it is caused by some mixing of string and int in the out file. But I am not able to locate it according to the error message: File ".\dyntools.py", line 1411, in init File ".\dyntools.py", line 247, in init Any suggestion? |
2019-10-18 12:04:36 -0500 | asked a question | dyntools.CHNF TypeError: sequence item 0: expected string, int found In python script: chnf = dyntools.CHNF(outfile,outvrsn=0) The full error message : File ".\dyntools.py", line 1411, in init File ".\dyntools.py", line 247, in init TypeError: sequence item 0: expected string, int found What may cause this problem? Thank you |
2019-10-18 12:03:32 -0500 | asked a question | dyntools.CHNF, TypeError: sequence item 0: expected string, int found In python script: chnf = dyntools.CHNF(outfile,outvrsn=0) The full message : File ".\dyntools.py", line 1411, in init File ".\dyntools.py", line 247, in init TypeError: sequence item 0: expected string, int found What may cause this problem? |