Hi, it seems you have no writing permissions to the directory. Try to set an explicit output file with -o in a directory where you can write.
Best regards, Michael Am 12.07.20 um 03:12 schrieb Reza: > Hi, > > I am using the following command in cmd to export an xml file to csv format. > > python xml2csv.py fcd.xml > > My working directory is "C:\Program Files (x86)\Eclipse\Sumo\tools\xml." I > also put the "fcd.xml" file in this directory. I get the following message > and no csv output when running the code. > > "Traceback (most recent call last): > File "xml2csv.py", line 275, in <module> > main() > File "xml2csv.py", line 261, in main > handler = CSVWriter(attrFinder, options) > File "xml2csv.py", line 152, in __init__ > self.outfiles[root] = getOutStream(options.output) > File "xml2csv.py", line 218, in getOutStream > return io.open(output, 'w', encoding="utf8") > PermissionError: [Errno 13] Permission denied: 'fcd.csv'" > > > > -- > Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/ > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
