You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello i frequently face this error when running the script :
Python38-32/python.exe -X utf8 XMLToCSV.py --annotate --neo4j dblp.xml dblp.dtd import/output.csv --relations author:authored_by journal:published_in publisher:published_by school:submitted_at editor:edited_by cite:has_citation series:is_part_of415\exam\src\dblp-to-csv-master>
Will create relations for attribute(s): author, cite, editor, journal, publisher, school, series
Start!
Reading elements from DTD file...
Finding unique attributes for all elements...
Opening output files...
Parsing XML and writing to CSV files...
Traceback (most recent call last):
File "c:/Users/wassi/Desktop/INFO-H-415/exam/src/dblp-to-csv-master/XMLToCSV.py", line 433, in
main()
File "c:/Users/wassi/Desktop/INFO-H-415/exam/src/dblp-to-csv-master/XMLToCSV.py", line 408, in main
(relations, unique_id, array_elements, element_types) = parse_xml(xml_file, elements, output_files,
File "c:/Users/wassi/Desktop/INFO-H-415/exam/src/dblp-to-csv-master/XMLToCSV.py", line 199, in parse_xml
output_files[current_tag].writerow(data)
File "C:\Users\wassi\AppData\Local\Programs\Python\Python38-32\lib\csv.py", line 154, in writerow
return self.writer.writerow(self._dict_to_list(rowdict))
File "C:\Users\wassi\AppData\Local\Programs\Python\Python38-32\lib\csv.py", line 149, in _dict_to_list
raise ValueError("dict contains fields not in fieldnames: "
ValueError: dict contains fields not in fieldnames: 'publtype'
Any idea ?
The text was updated successfully, but these errors were encountered:
Hello i frequently face this error when running the script :
Any idea ?
The text was updated successfully, but these errors were encountered: