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
I created a simple tap as per the provided example and it worked. I am able to see the streams on my cmd prompt but when I am trying to target to excel then it is giving error.
Command I ran:-
python tap_country.py | path\singer\target\target-csv-master.virtualenvs\target-csv\Scripts\target-csv -c path\singer\target\target-csv-master\config.json
Error I am facing:-
Traceback (most recent call last):
File "C:\Users\munish.singla\Downloads\singer\target\target-csv-master.virtualenvs\target-csv\Scripts\target-csv-script.py", line 11, in
load_entry_point('target-csv==0.3.0', 'console_scripts', 'target-csv')()
File "c:\users\munish.singla\downloads\singer\target\target-csv-master.virtualenvs\target-csv\lib\site-packages\target_csv.py", line 147, in main
config.get('destination_path', ''))
File "c:\users\munish.singla\downloads\singer\target\target-csv-master.virtualenvs\target-csv\lib\site-packages\target_csv.py", line 89, in persist_messages
writer.writerow(flattened_record)
File "C:\Users\munish.singla\AppData\Local\Programs\Python\Python37\lib\csv.py", line 155, in writerow
return self.writer.writerow(self._dict_to_list(rowdict))
File "C:\Users\munish.singla\AppData\Local\Programs\Python\Python37\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 932-938: character maps to
The text was updated successfully, but these errors were encountered:
I created a simple tap as per the provided example and it worked. I am able to see the streams on my cmd prompt but when I am trying to target to excel then it is giving error.
Command I ran:-
python tap_country.py | path\singer\target\target-csv-master.virtualenvs\target-csv\Scripts\target-csv -c path\singer\target\target-csv-master\config.json
Error I am facing:-
Traceback (most recent call last):
File "C:\Users\munish.singla\Downloads\singer\target\target-csv-master.virtualenvs\target-csv\Scripts\target-csv-script.py", line 11, in
load_entry_point('target-csv==0.3.0', 'console_scripts', 'target-csv')()
File "c:\users\munish.singla\downloads\singer\target\target-csv-master.virtualenvs\target-csv\lib\site-packages\target_csv.py", line 147, in main
config.get('destination_path', ''))
File "c:\users\munish.singla\downloads\singer\target\target-csv-master.virtualenvs\target-csv\lib\site-packages\target_csv.py", line 89, in persist_messages
writer.writerow(flattened_record)
File "C:\Users\munish.singla\AppData\Local\Programs\Python\Python37\lib\csv.py", line 155, in writerow
return self.writer.writerow(self._dict_to_list(rowdict))
File "C:\Users\munish.singla\AppData\Local\Programs\Python\Python37\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 932-938: character maps to
The text was updated successfully, but these errors were encountered: