| View previous topic :: View next topic |
| Author |
Message |
Nocty Voice
Joined: 17 Jun 2014 Posts: 15
|
Posted: Tue Oct 21, 2014 11:51 am Post subject: Found the issue |
|
|
Special thanks to thommey and chrfle over at #egghelp for helping me find the issue.
If you have other scripts that make http::register calls, you must comment out those calls and source twitter.tcl before them, otherwise the scripts will conflict with each other. |
|
| Back to top |
|
 |
Xion Voice
Joined: 21 Feb 2016 Posts: 3
|
Posted: Sun Feb 21, 2016 5:55 pm Post subject: |
|
|
&Xion • +follow @citronresearch
16:46 twitt3r • OAuth failed: (401) Errors: [{code: 32; Message: could not authenticate you.}] ( ok )
Anyone that can help with this im stumped |
|
| Back to top |
|
 |
NewzNZ Halfop

Joined: 05 Mar 2009 Posts: 60
|
Posted: Mon Feb 22, 2016 6:04 pm Post subject: |
|
|
| Hi - things working ok here..perhaps try re-generating your twitter oauth keys? |
|
| Back to top |
|
 |
Xion Voice
Joined: 21 Feb 2016 Posts: 3
|
Posted: Mon Feb 29, 2016 7:50 pm Post subject: |
|
|
invalid command name "sha1::sha1"
I get that command doing +follow and !tweet. any ideas? |
|
| Back to top |
|
 |
Xion Voice
Joined: 21 Feb 2016 Posts: 3
|
Posted: Tue Mar 08, 2016 7:13 pm Post subject: |
|
|
| Does this do automatic retweeting? if so what am i missing to set it up? |
|
| Back to top |
|
 |
Nocty Voice
Joined: 17 Jun 2014 Posts: 15
|
Posted: Mon Apr 25, 2016 11:23 am Post subject: Mishandling Retweets and directed tweets (@username) |
|
|
Script is currently mishandling retweets or any tweet containing an @username reference, attributing them to the wrong Twitter handle:
| Code: | | <Vlesk@Vlesk> Got some bomb ass viet food, my visa approved and Game of Thrones while spending time with the homie @Vlesk. Life is great today < (13s ago) |
Tweet above is not by "Vlesk" but is directed to him "@Vlesk". This appears to cause the calls to screen name / user name to reference the last mentioned @ in the Tweet rather than the person originating it.
Retweets containing @ also have a related issue:
| Code: | | <Skyen@TBSkyen> RT @TBSkyen: @RiotQuickshot @BeccaCRoberts I only know one way to respond to amazing news https://t.co/n78aBf3rZu (0s ago) |
This is a retweet of something by "TBSkyen" but is actually being retweeted by "RiotQuickShot"--this only seems to happen if the retweet starts with an @username as the below retweet displays correctly:
| Code: | | <FORG1VEN retweeting Erik van Helvert@TabzzLoL> RT @TabzzLoL: >take t2 tower botlane at 12 minutes (53s ago) |
|
|
| Back to top |
|
 |
SignZ Voice
Joined: 17 Jun 2010 Posts: 18
|
Posted: Fri Jun 03, 2016 5:07 am Post subject: |
|
|
Really weird thing happening to my bot for the last couple days. Whenever I want to start it with the twitter.tcl loaded, I'm getting the following error:
| Code: | [10:58:54] Tcl error in file 'eggdrop.conf':
[10:58:54] invalid command name "
[10:58:54] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
|
I have no idea what exactly broke in the .tcl file (I redownloaded it already but without any luck of it working again). |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Fri Jun 03, 2016 8:31 am Post subject: |
|
|
Is that the whole crash message?
Also, examine eggdrop.conf carefully. (Have you recently made an edit to it? )
Do you have a line with just a " on it? As in perhaps a typo or accidental carriage return cause a " to move down a line?
It would be easy to prove that the problem is or is not in that script file.
Simply comment out the source line that loads it.
If your bot will then run normally, then the problem is either in that script file (and I think you'd see more in the crash message) or in the source line that tries to load it.
If the problem persists, then you know it is nothing to do with that script file or the line that loads it. _________________ For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia ! |
|
| Back to top |
|
 |
SignZ Voice
Joined: 17 Jun 2010 Posts: 18
|
Posted: Fri Jun 03, 2016 8:49 am Post subject: |
|
|
Yup, that's the whole message (which really confuses me). I tried commenting out the line already (in fact, I have to do that to even start the bot).
If the eggdrop.conf got the following 4 lines, it won't start (showing the error above)
| Code: | source scripts/sha1.tcl
source scripts/base64.tcl
source scripts/oauth.tcl
source scripts/twitter.tcl
|
Commenting it out
| Code: | source scripts/sha1.tcl
source scripts/base64.tcl
source scripts/oauth.tcl
#source scripts/twitter.tcl
|
lets the bot start normally.
Just tried re-adding (uncommenting) the line, did a .restart on partyline and that resulted in
| Code: | [14:44:57] <Cthulhu> [14:44:54] Tcl error in file 'eggdrop.conf':
[14:44:57] <Cthulhu> [14:44:54] invalid command name "
[14:44:57] <Cthulhu> [14:44:54] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR) |
again (strangely enough, in the partyline there's some hyphen-like symbol (which won't copy/paste properly over here) after the " in invalid command name " ). That can be seen here |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Fri Jun 03, 2016 9:16 am Post subject: |
|
|
Something came to mind...
I assume you are editing these script files, according to the directions in them, to configure them.
How do you go about that?
What are you using to edit them? _________________ For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia ! |
|
| Back to top |
|
 |
SignZ Voice
Joined: 17 Jun 2010 Posts: 18
|
Posted: Fri Jun 03, 2016 9:49 am Post subject: |
|
|
| The same program I've used for years, Notepad++. |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Fri Jun 03, 2016 10:04 am Post subject: |
|
|
| SignZ wrote: | | The same program I've used for years, Notepad++. |
So it is not likely that the problem is with the editor introducing something unwanted.
If you wish, pastebin the faulty script here:
http://paste.tclhelp.net/
and post the link to it here. Maybe somebody here can spot it.
Maybe the pastebin itself will point you to the error. _________________ For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia ! |
|
| Back to top |
|
 |
SignZ Voice
Joined: 17 Jun 2010 Posts: 18
|
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Fri Jun 03, 2016 11:00 am Post subject: |
|
|
I'm not familiar with that command that the pastebin thinks is an error, and I haven't looked it up.
But, for the heck of it, I copy-n-pasted from that pastebin, into nano, and saved.
Made no edits.
For what it is worth....
That script loaded fine in a bot of mine. No crash. _________________ For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia ! |
|
| Back to top |
|
 |
silkvistor Voice
Joined: 13 Aug 2016 Posts: 1
|
Posted: Tue Aug 16, 2016 9:12 am Post subject: |
|
|
i have a problem when added to multiple channel, its okey at 1st channel but in 2nd and 3rd channel not display. I already set here
| Code: | set twitter(accts) {
"#chan1|acct1|consumer_key1|consumer_secret1|access_token_key1|access_token_secret1"
"#chan2|acct2|consumer_key2|consumer_secret2|access_token_key2|access_token_secret2"
"#chan3|acct3|consumer_key3|consumer_secret3|access_token_key3|access_token_secret3"
} |
Also
| Code: | .chanset #channel1 +twitter
.chanset #channel2 +twitter
.chanset #channel3 +twitter |
But nothing happen at chanel 2 & 3. Please help. Thx |
|
| Back to top |
|
 |
|