| View previous topic :: View next topic |
| Author |
Message |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Sun Oct 25, 2009 10:08 am Post subject: |
|
|
| transacid wrote: | there seems to be an error in the latest version, or i'm doing something wrong | Code: | | Tcl error [incith::google::public_message]: list must have an even number of elements |
|
What changes did you make to the config?
Try making no changes at all, and see if that works. Because what this appears like is you've altered some config setting incorrectly. Paste your entire config section (just the config portion, not the entire script) here and I could show you what was wrong. _________________ speechles' eggdrop tcl archive |
|
| Back to top |
|
 |
transacid Voice
Joined: 08 Aug 2007 Posts: 12 Location: Hamburg / Germany
|
Posted: Sun Oct 25, 2009 10:22 am Post subject: |
|
|
| speechles wrote: | | transacid wrote: | there seems to be an error in the latest version, or i'm doing something wrong | Code: | | Tcl error [incith::google::public_message]: list must have an even number of elements |
|
What changes did you make to the config?
Try making no changes at all, and see if that works. Because what this appears like is you've altered some config setting incorrectly. Paste your entire config section (just the config portion, not the entire script) here and I could show you what was wrong. | here is a diff of what i changed: http://pastie.org/668947 |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Sun Oct 25, 2009 11:04 am Post subject: |
|
|
After making those exact same changes and rehashing everything works for me.. | Quote: | <speechles> !yt hello @hd
<sp33chy> 36,300 results
<sp33chy> Hi-Q - Hello, Say Hello (slide show (Hi-Q 2009 Produced by The Bombjack www.h) (3:49; 4 days ago; 11,840 views) @ http://youtube.com/watch?v=jaxSba73syE&hl=en
<sp33chy> Learning English - Lesson Two (Hello/G (In this lesson we look at the many ways) (7:47; 3 months ago; 160,989 views) @ http://youtube.com/watch?v=6f_FtzgL9y4&fmt=22&hl=en
<sp33chy> *RARE - Snow Leopard HELLO! (!!!WATCH THIS RARE FOOTAGE OF A SNOW LEO) (0:55; 1 month ago; 7,443 views) @ http://youtube.com/watch?v=0cCDqbiGvoQ&fmt=22&hl=en
<sp33chy> Zap Mama - Hello To Mama (Hello to Mama is the first single off) (3:58; 5 months ago; 11,177 views) @ http://youtube.com/watch?v=7dzGcN_eQv4&fmt=22&hl=en
<speechles> !trends 2009-10-25
<sp33chy> 1 marine corps marathon 2009, 2 daylight savings time 2009 fall back, 3 time change october 2009, 4 day light savings 2009, 5 brookville roadster, 6 san jose mercury news, 7 lyoto machida vs shogun rua fight video, 8 american pie band camp, 9 bob griese juan pablo montoya, 10 raising cain, 11 time new york, 12 ufc 104 torrent, 13 purgatory movie, 14 chrome shop mafia, 15
<sp33chy> rosanna al yami, 16 india vs australia live cricket streaming 2009, 17 ufc 104 post fight press conference, 18 wasim akram wife died, 19 crystle lightning, 20 atomic clock, 21 arielle kebbel, 22 four christmases, 23 dst 2009, 24 dream 12, 25 eastern standard time
<speechles> !gf nds in aus
<sp33chy> NDS Australia (AUS)
<sp33chy> 10/26 Blood Bowl
<sp33chy> 10/28 Bakugan Battle Brawlers, Bakugan Battle Brawlers (Collector's Edition)
<sp33chy> 10/29 Cars Race-O-Rama
<sp33chy> 11/04 Barbie and the Three Musketeers, Star Wars Battlefront: Elite Squadron
<sp33chy> 11/05 Girls Life Makeover, Rabbids Go Home, Women's Murder Club: Games of Passion, World of Zoo
<sp33chy> 11/10 Call of Duty: Modern Warfare: Mobilized
<sp33chy> 11/11 iCarly
<sp33chy> 11/12 Astro Boy: The Video Game, BEN 10: ALIEN FORCE Vilgax Attacks, C.O.P. The Recruit, Cooking Mama 3, Pokemon Mystery Dungeon: Explorers of Sky, SpongeBob's Truth or Square
<sp33chy> 11/19 Assassin's Creed II: Discovery, Cloudy With a Chance of Meatballs |
What version of eggdrop are you using? and also, which version of tcl?
I'm using windrop 1.6.17 above, maybe this is the problem? I have friends using 1.6.19 and 1.6.18 just fine, which puzzles me. Maybe your eggdrop is <1.6.17 ?? _________________ speechles' eggdrop tcl archive |
|
| Back to top |
|
 |
transacid Voice
Joined: 08 Aug 2007 Posts: 12 Location: Hamburg / Germany
|
Posted: Sun Oct 25, 2009 11:11 am Post subject: |
|
|
| speechles wrote: |
What version of eggdrop are you using? and also, which version of tcl?
I'm using windrop 1.6.17 above, maybe this is the problem? I have friends using 1.6.19 and 1.6.18 just fine, which puzzles me. Maybe your eggdrop is <1.6.17 ?? |
| Code: | | eggdrop v1.6.19+ctcpfix |
| Code: | tcl version 8.4.16
EDIT: oh actually eggdrop is linked against tcl 8.5.7 |
|
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Sun Oct 25, 2009 11:20 am Post subject: |
|
|
| transacid wrote: | | speechles wrote: |
What version of eggdrop are you using? and also, which version of tcl?
I'm using windrop 1.6.17 above, maybe this is the problem? I have friends using 1.6.19 and 1.6.18 just fine, which puzzles me. Maybe your eggdrop is <1.6.17 ?? |
| Code: | | eggdrop v1.6.19+ctcpfix |
|
Can you possibly, post the results of .set errorInfo (note the large I this is important). If your bot replies with "What? Do you need .help?" you will need to enable this. Open eggdrop.conf and make sure both "unbind tcl.." and "unbind set.." are changed into "bind tcl..." and "bind set..." then save and .restart the bot.
Immediately after the bot gives that error message, on the partyline type .set errorInfo and paste the results. This will easily allow me to know where the problem stems from. _________________ speechles' eggdrop tcl archive |
|
| Back to top |
|
 |
transacid Voice
Joined: 08 Aug 2007 Posts: 12 Location: Hamburg / Germany
|
Posted: Sun Oct 25, 2009 11:27 am Post subject: |
|
|
| that's odd, after binding these too things suddenly it works. is it save to let these be bound (i'm the only user of the bot) |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Sun Oct 25, 2009 11:34 am Post subject: |
|
|
| transacid wrote: | | that's odd, after binding these too things suddenly it works. is it save to let these be bound (i'm the only user of the bot) |
They will only allow (+n) users, owners, to use them. And as such, you being the only user of the bot. Unless you have a split personality disorder (jekyll/hyde) this should be fine.  _________________ speechles' eggdrop tcl archive
Last edited by speechles on Sun Oct 25, 2009 11:36 am; edited 1 time in total |
|
| Back to top |
|
 |
transacid Voice
Joined: 08 Aug 2007 Posts: 12 Location: Hamburg / Germany
|
Posted: Sun Oct 25, 2009 11:36 am Post subject: |
|
|
| speechles wrote: | | transacid wrote: | | that's odd, after binding these too things suddenly it works. is it save to let these be bound (i'm the only user of the bot) |
They will only allow (+n) users, owners, to use them. And as such, you being the only user of the bot. Unless you have a split personality disorder (jekyl/hyde) this should be fine.  | but still i wonder why it only works when allowing this. it worked before without these options |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Sun Oct 25, 2009 11:37 am Post subject: |
|
|
| transacid wrote: | | speechles wrote: | | transacid wrote: | | that's odd, after binding these too things suddenly it works. is it save to let these be bound (i'm the only user of the bot) |
They will only allow (+n) users, owners, to use them. And as such, you being the only user of the bot. Unless you have a split personality disorder (jekyl/hyde) this should be fine.  | but still i wonder why it only works when allowing this. it worked before without these options |
I think it's more that you .restart'd the bot than anything else. Some lingering bad configuration change was left on your bot. Every config change you must .rehash your bot for them to have any affect. This is what I suspect was the case. _________________ speechles' eggdrop tcl archive |
|
| Back to top |
|
 |
z0rc Voice
Joined: 13 Oct 2008 Posts: 7
|
Posted: Mon Nov 02, 2009 10:52 am Post subject: |
|
|
Script with UTF-8 hacked eggdrop works almost perfectly. There is still some issues with russian wikipedia/wikimedia:
Also doesn't work youtube local search with non-latin symbols:
And google books:
|
|
| Back to top |
|
 |
Anahel Halfop

Joined: 03 Jul 2009 Posts: 48 Location: Dom!
|
Posted: Mon Nov 02, 2009 4:06 pm Post subject: |
|
|
| Code: | <tomek> !wiki .ru russia
<~Nekomimi> Russia — Википедия | Russia (русск. Россия)— термин, имеющий несколько значений: Russia (фильм)— фильм Киры Муратовой. Russia goodbye— песня Верки Сердючки. Наша Russia— российский комедийный телесериал. Руша (англ. Russia)— деревня в штате Огайо. Источник — «http://ru.wikipedia.org/wiki/R
<tomek> !yt .ru тарас
<~Nekomimi> 75700 результаты | lisiy babai taras budni (Просто проверяем новенький ноут, а точне) (1:24; 6 дн. назад; Просмотров: 2) @ http://ru.youtube.com/watch?v=UhrI9hSq_rc&hl=ru&fmt=18 | Тарас Бульба. Трейлер к фильму. (Режиссер: Владимир Бортко В ролях: Богда) (2:03; 1 год назад; Просмотров: 382947) @ http://ru.youtube.com/watch?v=h
<tomek> !yt .ru taras
<~Nekomimi> 75200 результаты | Tara Lawson: The Real Life Paranormal (New Russian movie "Taras Bulba". Movie) (5:48; 1 год назад; Просмотров: 155240) @ http://ru.youtube.com/watch?v=fDJZGRoJTN0&hl=ru&fmt=18 | Тарас Бульба. Трейлер к фильму. (Режиссер: Владимир Бортко В ролях: Богда) (2:05; 1 год назад; Просмотров: 382947) @ http://ru.youtube.com/watch?v=hR0N4GCR1Cc&hl=ru
<~Nekomimi> год назад; Просмотров: 87014) @ http://ru.youtube.com/watch?v=yrrwzfAI5uU&hl=ru&fmt=18
<tomek> !gb .com pelevin
<~Nekomimi> Google | The Yellow Arrow? (Victor Pelevin, Andrew Bromfield - Fiction - 1997 - 96 pages) @ http://books.google.com?id=HAayLgIMo_kC | Buddha's Little Finger? (Victor Pelevin - Fiction - 2001 - 352 pages) @ http://books.google.com?id=RooBAAAACAAJ | Omon Ra? (Viktor Pelevin, Andrew Bromfield - Fiction - 1998 - 153 pages) @ http://books.google.com?id=IVGKcYf_hr4C
<tomek> !wikim .lurkmore.ru гет
<~Nekomimi> Каждому сообщению на имиджбордах присваивается свой порядковый номер. Легендарный 3k-гет в разделе /b/ двача Гет (от англ. to get, получить) — «поимка» своим постом красивого или круглого номера, например 252525, 77777 или 100000. Видимо, сие как-то связано с фапаньем н |
^^ my bot didnt have any problems with it
look at this post and do what speechles wrote:
http://forum.egghelp.org/viewtopic.php?p=90356#90356 |
|
| Back to top |
|
 |
shadrach Halfop
Joined: 14 Dec 2007 Posts: 74
|
Posted: Tue Nov 03, 2009 11:25 am Post subject: |
|
|
| Quote: | | Mininova search seems to have stopped working. |
OK it's working now. 
Last edited by shadrach on Tue Nov 03, 2009 1:40 pm; edited 1 time in total |
|
| Back to top |
|
 |
z0rc Voice
Joined: 13 Oct 2008 Posts: 7
|
Posted: Tue Nov 03, 2009 12:14 pm Post subject: |
|
|
| I'm stupid. Just lowered the split_length and problem was fixed. But there is still some misparsing with wiki's non-english disambiguation pages. |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Sun Nov 08, 2009 2:55 pm Post subject: |
|
|
| Quote: | <speechles> !g .nl weer:amsterdam
<sp33chy> Weer voor Amsterdam: 5 °C, Actueel: Overwegend bewolkt, Wind: NO - 13 km/h; Luchtvochtigheid: 100%; za: Kans op regen (12°C|3°C); zo: Hier en daar zonnig (9°C|3°C); ma: Hier en daar zonnig (9°C|5°C)
<speechles> !g .de wetter:stuttgart
<sp33chy> Wetter für Stuttgart: 4 °C, Aktuell: Meistens bewölkt, Wind: N mit 11 km/h; Feuchtigkeit: 87%; Sa.: Vereinzelt regen (8°C|0°C); So.: Teils sonnig (8°C|1°C); Mo.: Vereinzelt schnee (9°C|-1°C)
<speechles> !g .fr temps:paris
<sp33chy> Météo à Paris: 7 °C, Actuellement : Nuageux dans l'ensemble, Vent : NE 14 km/h; Humidité : 87 %; dim.: Brouillard (2°C|9°C); lun.: Brouillard (5°C|11°C); mar.: Brouillard (2°C|10°C) |
This is one of the new features now supported. Depending on the regional server your on, you can now get fully multilanguage supported weather. This was recently added by google, and now supported by this script. Also have corrected the way wikipedia/wikimedia #anchor subtag lookup's are performed. They are no longer detected using looping whiles which can hang the bot. It's performed now with an inline regexp and a foreach iterating over this. The foreach loop cannot produce an endless loop like the nested while could. This makes wikipedia/wikimedia anchor/toc lookups much faster. Also corrected various things here and there which I've since forgotten what they even were. There are still some problems with total results showing and a few other minor problems, but for the most part everything here works as intended.
Get the new script here: Incith:Google v1.9.9v .. Most important, have a fun..
| z0rc wrote: | | I'm stupid. Just lowered the split_length and problem was fixed. But there is still some misparsing with wiki's non-english disambiguation pages. |
I can't visit every page (mediawiki/wikipedia/etc/etc/endless-list-of-sites-here/etc) in every language (insert huge list here of languages) so without knowing what your query was it's not possible for me to duplicate this. This should support 99.999% of mediawiki enabled wiki sites, as well as supporting wikipedia itself with additional features. When I see it for myself I can correct it within both procedures, until then I can only slant my head slightly left, and go.. hmmm ...
| shadrach wrote: | | Quote: | | Mininova search seems to have stopped working. |
OK it's working now.  |
BREIN/MPAA/RIAA/ESA are currently causing disruption in their, um.. "service".. This will result in that part of the script occasionally returning time-outs, or no replies, misreporting the amounts of seeds/peers, and other issues. This is unavoidable due their situation. Once they fix this, the script is fixed in this regard. Enjoy it while it lasts, and be aware this uses the "suprnova" template, so adapting it to any site using this template (piratebay,mininova,etc) a rather trivial task. It may involve more than changing the url, because sometimes they re-arrange the table listing the rows, so the capture group ordering needs to be adjusted for this. Other than that, the template is used on most of the larger torrent sites search page. _________________ speechles' eggdrop tcl archive |
|
| Back to top |
|
 |
z0rc Voice
Joined: 13 Oct 2008 Posts: 7
|
Posted: Mon Nov 09, 2009 1:10 pm Post subject: |
|
|
| Quote: | | without knowing what your query was it's not possible for me to duplicate this. |
Bot is patched for UTF-8 and dirty_encode is 1. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|