SyntaxError in twitter.py

44 views
Skip to first unread message

DaveStLou

unread,
May 8, 2020, 8:48:58 AM5/8/20
to weewx-user

Hi I'm new to weewx and Python. I'm switching from CumulusMx and I've gotten the basics running on my Raspberry Pi.

 

My trouble is when I attempt to install the Twitter extension. I've followed the instructions here:https://github.com/weewx/weewx/wiki/Twitter except I found I had to put sudo before "wee_extension --install weewx-twitter.zip" to avoid a permission error in the usr folder.

 

After entering the api credentials, I see this a SyntaxError in the syslog: https://pastebin.com/17uVf3E0

 

I assumed it was due to Python 3 incompatibility but when I switched to Python 2, I see the same error.

 

Thanks in advance for any help!

 


Tom Keffer

unread,
May 8, 2020, 12:02:42 PM5/8/20
to weewx-user
The twitter extension has not been ported to Python 3. I'm working on it as we type and should have something out later today.

-tk

--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/93c7a3cd-cefe-465d-ada3-8b8747e00f19%40googlegroups.com.

Tom Keffer

unread,
May 8, 2020, 2:28:17 PM5/8/20
to weewx-user
Dave,

Can you give this copy of twitter.py a try?

-tk

DaveStLou

unread,
May 8, 2020, 4:33:50 PM5/8/20
to weewx-user


On Friday, May 8, 2020 at 1:28:17 PM UTC-5, Tom Keffer wrote:
Dave,

Can you give this copy of twitter.py a try?

-tk

Tom, it's running without error. I'm putting in some content to post now and doing further testing. I'll let you know if I run into any issues but appears to be fixed. Thanks! 
Reply all
Reply to author
Forward
0 new messages