Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Twitter stop updating after installing ver.1.9.1

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
User avatar
Angile
Posts: 20
Joined: Sat 30 Oct 2010 3:29 pm
Weather Station: National Geographic 265NC
Operating System: Windows XP Pro
Location: St-Alban, Quebec, Canada
Contact:

Twitter stop updating after installing ver.1.9.1

Post by Angile »

This time the OauthToken seem OK. Twitter is enabled.

[Twitter]
User=xxxxxxxxxxxxxxxx
Password=xxxxxxxxxxx
Enabled=1
Interval=12
OauthToken=xxxxxxxx
OauthTokenSecret=xxxxxxxx
Last edited by steve on Sat 30 Apr 2011 7:34 am, edited 1 time in total.
Reason: Removed Oauth token details
Angile
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Twitter stop updating after installing ver.1.9.1

Post by steve »

It's updating OK for me, and no-one else has a problem, so it's nothing to do with 1.9.1.

Look in the latest diags file to see if there are any Twitter error messages; turn on the debug log, and see if there are any Twitter error messages in there. You could also try deleting the OauthToken and OauthTokenSecret lines from cumulus.ini (with Cumulus stopped) to make it fetch new ones, to see if that helps.
Steve
User avatar
Angile
Posts: 20
Joined: Sat 30 Oct 2010 3:29 pm
Weather Station: National Geographic 265NC
Operating System: Windows XP Pro
Location: St-Alban, Quebec, Canada
Contact:

Re: Twitter stop updating after installing ver.1.9.1

Post by Angile »

in cumulus.009:

after
30/04/11 09:46:39.437 : Station settings done

30/04/11 09:47:17.750 : HTTP/1.1 401 Unauthorized
30/04/11 09:48:15.640 : HTTP/1.1 401 Unauthorized
30/04/11 09:49:14.781 : HTTP/1.1 401 Unauthorized
30/04/11 09:50:16.453 : HTTP/1.1 401 Unauthorized
etc...

Web site, PWS, APRS and WU are OK

Twitter ID and password rechecked and OK

[Twitter]
User=xxxxxxxxxxxxxxxx
Password=xxxxxxxxxxxx
Enabled=1
Interval=1
OauthToken=xxxxxxxx
OauthTokenSecret=xxxxxxxx
Last edited by steve on Sat 30 Apr 2011 5:50 pm, edited 2 times in total.
Reason: Removed Oauth token details again!!!
Angile
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Twitter stop updating after installing ver.1.9.1

Post by steve »

Twitter is saying that your login details are invalid. Have you changed your Twitter user or password? Did deleting the OAuth tokens not help?
Steve
User avatar
Angile
Posts: 20
Joined: Sat 30 Oct 2010 3:29 pm
Weather Station: National Geographic 265NC
Operating System: Windows XP Pro
Location: St-Alban, Quebec, Canada
Contact:

Re: Twitter stop updating after installing ver.1.9.1

Post by Angile »

ID and password checked OK and the same; OAuth tokens are new.
Last edited by Angile on Sat 30 Apr 2011 2:28 pm, edited 1 time in total.
Angile
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Twitter stop updating after installing ver.1.9.1

Post by steve »

So you haven't changed your Twitter user or password recently? Have you tried deleting the OAuth token lines from cumulus.ini - with Cumulus stopped? If your Twitter user or password change, the OAuth tokens are no longer valid and a new set have to be created.

The problem must be something specific to your Twitter account, because I don't have the problem and no-one else seems to be reporting a problem.
Steve
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Twitter stop updating after installing ver.1.9.1

Post by steve »

By the way, there is a Twitter limit of 1000 status updates per day (with corresponding limits per half hour, i.e approx 20 per half hour). You have an interval of one minute, so you will be exceeding these limits.
Steve
User avatar
Angile
Posts: 20
Joined: Sat 30 Oct 2010 3:29 pm
Weather Station: National Geographic 265NC
Operating System: Windows XP Pro
Location: St-Alban, Quebec, Canada
Contact:

Re: Twitter stop updating after installing ver.1.9.1

Post by Angile »

I set it up to 1 minute for testing only; I use to update at 12 minutes intervals. I can send you my twitter.txt content and a temporary password if you want to give a try!
Angile
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Twitter stop updating after installing ver.1.9.1

Post by steve »

Angile wrote:I set it up to 1 minute for testing only; I use to update at 12 minutes intervals. I can send you my twitter.txt content and a temporary password if you want to give a try!
Yes, that's a good idea.
Steve
User avatar
Angile
Posts: 20
Joined: Sat 30 Oct 2010 3:29 pm
Weather Station: National Geographic 265NC
Operating System: Windows XP Pro
Location: St-Alban, Quebec, Canada
Contact:

Re: Twitter stop updating after installing ver.1.9.1

Post by Angile »

Something new (strange)

I changed my "twitter.txt" content to "TEST 123" only and the message went good.

My usual "twitter.txt" content use to hold some word with french accent. Could this be the problem? This file was use with the previous version with issue.
Angile
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Twitter stop updating after installing ver.1.9.1

Post by steve »

Angile wrote:My usual "twitter.txt" content use to hold some word with french accent. Could this be the problem?
Almost certainly. Version 1.9.1 is fully unicode, so it's possible that non-ansi characters are causing the encoding to go wrong.
Steve
User avatar
Angile
Posts: 20
Joined: Sat 30 Oct 2010 3:29 pm
Weather Station: National Geographic 265NC
Operating System: Windows XP Pro
Location: St-Alban, Quebec, Canada
Contact:

Re: Twitter stop updating after installing ver.1.9.1

Post by Angile »

Well Steve, we found the problem, the message is going OK if I remove the french accents in my twitter.txt file. Something must have been change in your new code; the new 1.9.1 version doesn't like "accents" as prior version did recongnize them.
Angile
User avatar
Angile
Posts: 20
Joined: Sat 30 Oct 2010 3:29 pm
Weather Station: National Geographic 265NC
Operating System: Windows XP Pro
Location: St-Alban, Quebec, Canada
Contact:

Re: Twitter stop updating after installing ver.1.9.1

Post by Angile »

Also, the <#currcond> variable do recongnize the accents and show them on Twitter. Only the text included in twitter.txt does not any more.


Temperature actuelle : 18.5 ºC, Humidite : 31 %, Vent : 3.6 km/hre ENE, Pluie tombee : 0.0 mm, Ciel : ensoleillé 14:11 H.A.E.
Angile
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Twitter stop updating after installing ver.1.9.1

Post by steve »

Angile wrote:Also, the <#currcond> variable do recongnize the accents and show them on Twitter. Only the text included in twitter.txt does not any more.
Can you explain what you mean by this? Do you mean that if you put <#currcond> which has accented characters into a twitter.txt, it works OK, but accented characters directly in the twitter.txt file do not?

Could you zip up your original twitter.txt and attach it, please?
Steve
User avatar
Angile
Posts: 20
Joined: Sat 30 Oct 2010 3:29 pm
Weather Station: National Geographic 265NC
Operating System: Windows XP Pro
Location: St-Alban, Quebec, Canada
Contact:

Re: Twitter stop updating after installing ver.1.9.1

Post by Angile »

Have you receive my PM?
Angile
Post Reply