-
Notifications
You must be signed in to change notification settings - Fork 63
Error when exporting to csv #24
Comments
Could you send the full traceback please ? I think it is probably a dumb encoding not specified error as described here, but I want to be sure |
|
I'm currently working on the v3 so I won't push correction for now, what you can do is
w.write(','.join(self.dict_keys)+'\n'+"\n".join([",".join([str(v).replace('\n','</b>').replace(',','</c>') for v in d.values()]) for d in self.list]))
w.write(','.join(self.dict_keys)+'\n'+"\n".join([",".join([str(v).replace('\n','</b>').replace(',','</c>') for v in d.values()]) for d in self.list]), encoding="utf-8") Tell me if it works or not |
When exporting to a csv file using this command:
sterra export -ssid {SSID} -u {Username} -t followers -f csv
I get an error saying
UnicodeEncodeError: 'charmap' codec can't encode characters in position 397-398: character maps to <undefined>
The text was updated successfully, but these errors were encountered: