Hi,

It looks like you may have a degree symbol character (0xb8) in your import 
data and that is causing the python CSV reader to fail. Open your source 
data file and have a look. If there is a degree symbol in there you should 
be able to delete it/them and save the file. Probably worth while looking 
for any other symbols as well. If you cannot find a degree symbol in the 
source data could you please post the source data file or email it to me 
and I will see what I can find.

Gary

On Tuesday, 15 December 2020 at 02:54:25 UTC+10 will...@gmail.com wrote:

> Hi all,
>
> I apologize if this was already asked. I did a quick search and didn't 
> find anything. I'm trying to import data using wee_import from a downloaded 
> file from Weathercloud. I lost my internal temperature data and I'm trying 
> to rebuild it.
>
> I'm getting an error when trying to import using a conf file called 
> weathercloud.conf that I created using the example for CSV in the 
> /etc/weewx/import directory.
>
> I'm using the command
>
> sudo wee_import --import-config/home/wwray/weathercloud.conf --dry-run 
> --verbose
>
> I'm getting the following error.
> [image: Screenshot 2020-12-14 115135.jpg]
>
> I have tried with ascii and the source_encoding = ascii  I've tried 
> editing the file in notepad++ to convert to utf-8 and I've even opened it 
> up in a hex editor online. I can't see any reason why it won't import.  
>
> Any help would be appreciated.
>
> Thanks,
> Will
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/75bf414e-7ab4-46ef-96f7-9017e54ff397n%40googlegroups.com.

Reply via email to