entity-aware-relation-classification icon indicating copy to clipboard operation
entity-aware-relation-classification copied to clipboard

Meet some problem in logger.py

Open Jerryten opened this issue 6 years ago • 11 comments

    str_parse = str(process.communicate()[0]).split("\\n")[-2]

IndexError: list index out of range

Jerryten avatar Jul 03 '19 14:07 Jerryten

Hello, I have encountered the same problem, have you solved it?

W-watermellon avatar Jul 19 '19 09:07 W-watermellon

check the package you have installed could be used.

---Original--- From: "W-watermellon"[email protected] Date: Fri, Jul 19, 2019 17:35 PM To: "roomylee/entity-aware-relation-classification"[email protected]; Cc: "Jerry"[email protected];"Author"[email protected]; Subject: Re: [roomylee/entity-aware-relation-classification] Meet some problem in logger.py (#6)

Hello, I have encountered the same problem, have you solved it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

Jerryten avatar Jul 19 '19 09:07 Jerryten

thank you,i will check it,, I would like to ask if you can send me a copy of the debugged code for this paper.thank you.

W-watermellon avatar Jul 19 '19 09:07 W-watermellon

In fact that the bug do not exist in code. The problem is owing to your package not the code. Pay more time on it.

---Original--- From: "W-watermellon"[email protected] Date: Fri, Jul 19, 2019 17:35 PM To: "roomylee/entity-aware-relation-classification"[email protected]; Cc: "Jerry"[email protected];"Author"[email protected]; Subject: Re: [roomylee/entity-aware-relation-classification] Meet some problem in logger.py (#6)

Hello, I have encountered the same problem, have you solved it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

Jerryten avatar Jul 19 '19 10:07 Jerryten

okey,thank you ,i will check it

------------------ 原始邮件 ------------------ 发件人: "Jerry"[email protected]; 发送时间: 2019年7月19日(星期五) 晚上6:08 收件人: "roomylee/entity-aware-relation-classification"[email protected]; 抄送: "阳光的快乐生活"[email protected];"Comment"[email protected]; 主题: Re: [roomylee/entity-aware-relation-classification] Meet some problemin logger.py (#6)

In fact that the bug do not exist in code. The problem is owing to your package not the code. Pay more time on it.

---Original--- From: "W-watermellon"[email protected] Date: Fri, Jul 19, 2019 17:35 PM To: "roomylee/entity-aware-relation-classification"[email protected]; Cc: "Jerry"[email protected];"Author"[email protected]; Subject: Re: [roomylee/entity-aware-relation-classification] Meet some problem in logger.py (#6)

Hello, I have encountered the same problem, have you solved it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

W-watermellon avatar Jul 19 '19 10:07 W-watermellon

I fllow requirement.txt ,use tensorflow==1.8.0,tensorboard==1.8.0,tensorflow-gpu==1.8.0,tensorflow-hub==0.1.1 ,but it still error, str_parse = str(process.communicate()[0]).split("\n")[-2] ValueError: read of closed file.

W-watermellon avatar Jul 19 '19 13:07 W-watermellon

I run the code in windows .And i change the code there 【process = subprocess.Popen(["perl", perl_path, prediction_path, target_path], stdout=subprocess.PIPE,shell=True)】,i add the last [shell=True],then the error changed ValueError: read of closed file.

W-watermellon avatar Jul 19 '19 13:07 W-watermellon

@Jerryten Hi Would you like to teach me how to fix this problem? Which package should be checked? Thx

jiaweixian avatar Nov 07 '19 08:11 jiaweixian

Hello, have you solved this problem? can you tell me how to fix this problem?

xxxxyan avatar Dec 26 '19 06:12 xxxxyan

please install the strawberry and perl

------------------ 原始邮件 ------------------ 发件人: "xxxyy95"<[email protected]>; 发送时间: 2019年12月26日(星期四) 下午2:03 收件人: "roomylee/entity-aware-relation-classification"<[email protected]>; 抄送: "WU"<[email protected]>; "Mention"<[email protected]>; 主题: Re: [roomylee/entity-aware-relation-classification] Meet some problem in logger.py (#6)

Hello, have you solved this problem? can you tell me how to fix this problem?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

Jerryten avatar Dec 26 '19 06:12 Jerryten

The strawberry and perl are three modules that i need to install ? Like "pip install the&nbsp","pip install strawberry"? i have installed perl.

xxxxyan avatar Dec 26 '19 06:12 xxxxyan