`Traceback (most recent call last):
File "fmcrawler_sql.py", line 317, in <module>
crawl(initFighter=fighter,K=4)
File "fmcrawler_sql.py", line 114, in crawl
write_page_to_database(initFighterURL,cur)
File "fmcrawler_sql.py", line 292, in write_page_to_database
write_fights_to_database(fights,cur)
File "fmcrawler_sql.py", line 211, in write_fights_to_database
fightId = hash(bothFighters+fight['Event'])
TypeError: cannot concatenate 'str' and 'list' objects
`
이 줄에는 어떤 문제가 있습니까?데이터베이스 : TypeError : 'str'및 'list'개체를 연결할 수 없습니다.
당신이 몸에 의문을 제기하지만, 그것은 매우 설명하지, 당신의 문제에 대해 많이 이야기하지만, 당신이 가진 문자열을 연결하려고하는 것 같습니다하지 않습니다 목록 객체 :'bothFighters + fight [ 'Event']', 일부 코드 게시! –
해당 오류를 발생시키는 충분한 양의 코드를 표시해야합니다. [최소한의 완전하고 검증 가능한 예제를 만드는 방법] (http://stackoverflow.com/help/mcve)를 참조하십시오. –