This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

UNOFFICIAL incith-google 2.1x (Nov30,2o12)

Support & discussion of released scripts, and announcements of new releases.
Post Reply
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

BeBoo wrote:I updated to the latest version and it works. Thanks :-)

Never answered my net/chan question :-P
Eris free net (mother irc, aka efnet)
net: irc.efnet.net -- chan: #roms-isos
nick: speechles

If you wanna speak in person I usually idle there 24/7..
U
Uasheno
Voice
Posts: 3
Joined: Fri Feb 22, 2008 4:47 pm

Post by Uasheno »

This works very well, but I've encountered the following problem when using the wikipedia function.

Code: Select all

Tcl error [incith::google::private_message]: couldn't compile regular expression pattern: parentheses () not balanced
Did I miss something?
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

Uasheno wrote:This works very well, but I've encountered the following problem when using the wikipedia function.

Code: Select all

Tcl error [incith::google::private_message]: couldn't compile regular expression pattern: parentheses () not balanced
Did I miss something?
Thats most likely the dynamic regexp which is mainly used for #subtagging within wikipedia.
I've since corrected that with a better (albeit not perfect) regexp which shouldn't cause this type of problem. Regetting the v1.9.8a script should solve that issue. If it doesn't let me know the query you were using with !wikipedia which creates this error.
U
Uasheno
Voice
Posts: 3
Joined: Fri Feb 22, 2008 4:47 pm

Post by Uasheno »

I get this error no matter the query I do (!wiki Hello, !wiki sgfsdgsd, etc), except if the query is empty (doesn't return anything, but that's as expected).
Switched the script to 1.9.8a, but that didn't solve it. Oh, and I run my eggdrop on a personal linux machine (not a shell); not sure if it's related though.
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

Uasheno wrote:I get this error no matter the query I do (!wiki Hello, !wiki sgfsdgsd, etc), except if the query is empty (doesn't return anything, but that's as expected).
Switched the script to 1.9.8a, but that didn't solve it. Oh, and I run my eggdrop on a personal linux machine (not a shell); not sure if it's related though.
Probably is related, as your tcl libraries need to be current, as do any other eggdrop specific dependencies. Because it works fine for me, and I'm sure many others.
<speechles> !wiki Hello
<sp33chy> Hello | Hello is a salutation or greeting in the English language and is synonymous with other greetings such as Hi or Hey. Hello was recorded in dictionaries in 1883. @ http://en.wikipedia.org/wiki/Hello
<speechles> !wiki sgfsdgsd
<sp33chy> No results found. For help on searching within Wikipedia, please see Wikipedia:Searching
<speechles> !wiki wikipedia:searching
<sp33chy> Wikipedia:Searching | This article provides a detailed overview of Wikipedia's search feature, and instructions on using external search engines, such as Google, to find information. For a short introduction to searching Wikipedia, see Look it up. @ http://en.wikipedia.org/wiki/Wikipedia:Searching
<speechles> !wiki wikipedia:look it up
<sp33chy> Wikipedia:Look it up | The quickest way to find information here is to look it up directly. On the left-hand side of your screen there is a Search box with two buttons under it labeled "Go" and "Search". Just type something into the box, like Bicycle, and press enter or click the Go button. This will take you directly to Wikipedia's article on Bicycle. There you will most likely find answers to every
<sp33chy> question you ever had about bikes, and quite a few you didn't. If you have any problems, the rest of this article suggests ways to solve them. @ http://en.wikipedia.org/wiki/Wikipedia:Look_it_up
Have you left the variable wiki_country "en" (left it engish) or changed it to something else?

Edit: btw, keep in mind .country.switches can be used at any time, the default country is used at times no country is specified.
Last edited by speechles on Sun Feb 24, 2008 11:43 am, edited 2 times in total.
U
Uasheno
Voice
Posts: 3
Joined: Fri Feb 22, 2008 4:47 pm

Post by Uasheno »

Hmm; corrected after using a fresh, non-configured incith-google-v1.98a.tcl as the only script loaded in eggdrop. Weird, but it works now. Thanks!
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

Uasheno wrote:Hmm; corrected after using a fresh, non-configured incith-google-v1.98a.tcl as the only script loaded in eggdrop. Weird, but it works now. Thanks!
Forgot to mention, If your using a windows machine to edit this script, hopefully your using wordpad to save any changes. Saving with notepad may introduce unicode errors into the script (ie., mangles complex regexps/equations) and causes this exact type of error/behavior. For anyone doing any serious editing of tcl scripts on a windows based machine I highly recommend using ConTEXT because of it's syntax highlighting and user interface.
t
testebr
Halfop
Posts: 86
Joined: Thu Dec 01, 2005 12:22 pm

Post by testebr »

Hi,

I'm here to report an small error with translate:

[14:20:01] <me> !trans en@pt transaction is underway
[14:20:02] <bot> Google says: (en->pt) Transacção% 20is% 20underway

;)
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

testebr wrote:Hi,

I'm here to report an small error with translate:

[14:20:01] <me> !trans en@pt transaction is underway
[14:20:02] <bot> Google says: (en->pt) Transacção% 20is% 20underway

;)
This stems from the encode_strings section and earlier builds of this script. If your using 1.9.8a it should not cause this problem.
<speechles> !trans en@pt transaction is underway
<sp33chy> Google says: (en->pt) Operação está em andamento
If it still continues to be problematic for translate (and you are in fact using 1.9.8a) let me know...

*** NOTE: also added some new features to google video and youtube.

Google video now operates as a database, not merely a flash video site, so you can get content from practically any site just using a single trigger.
Youtube on the other hand, is only videos uploaded to youtube or google video (the site, not the database)

Both can use the same command prefixes, languages, etc...
<speechles> !yt wrestling duration:long
<sp33chy> YouTube results | Pro Wrestling Report - Feb 29, 2008 (55:50) @ http://youtube.com/watch?v=DcZRZo1vDj0 | Hardcore Wrestling (27:21) @ http://youtube.com/watch?v=nTQ260Z3Vpw | Oldest Pro Wrestling on Film: Caddock (25:50) @ http://youtube.com/watch?v=JQl6mmAtkbE | OSU Wrestling v. Iowa (02:01:49) @ http://youtube.com/watch?v=z5KJUdUFu-w | Talk Wrestling 14: RVD shoots on John
<sp33chy> (23:03) @ http://youtube.com/watch?v=fofeteAPkbM
<speechles> !v wrestling duration:long
<sp33chy> 1,915 Results | Hardcore Wrestling (27 min - Sep 22, 2006) @ http://video.google.com/videoplay?docid ... 6838471012 | Oldest Pro Wrestling on Film: Caddock (26 min - Nov 13, 2006) @ http://video.google.com/videoplay?docid ... 7650880945 | Andy Kaufman's Wrestling Career!!! (33 min - Jan 23, 2007) @ http://video.google.com/videoplay?docid ... 2784807213 | OSU Wrestling v. Iowa
<sp33chy> (2 hr 2 min - Jul 23, 2007) @ http://video.google.com/videoplay?docid ... 6699434004
<speechles> !v futurama duration:long
<sp33chy> 441 Results | Futurama - Less than Hero (24 min) @ http://video.google.com/videoplay?docid ... 6798731472 | Futurama 511 Three Hundered Big Boys (23 min) @ http://video.google.com/videoplay?docid ... 3413655900 | FUTURAMA - Benders Big Score PARTE 1 (22 min) @ http://video.google.com/videoplay?docid ... 6567135512 | Futurama: Bender's Big Score 2007 ( Ru (1 hr 29 min) @
<sp33chy> http://video.google.com/videoplay?docid ... 0388418816
Google video always uses google links even tho it might just produce a small top frame and load the actual video from another site. This is intentional so google video (the database) isn't ripped off from impressions...
t
testebr
Halfop
Posts: 86
Joined: Thu Dec 01, 2005 12:22 pm

Post by testebr »

Sorry, false bug!

The problem was solved with just instalation of newest version.
V
VinDiesel
Voice
Posts: 11
Joined: Sun Oct 14, 2007 6:25 am

Post by VinDiesel »

http://ereader.kiczek.com/UNOFFICIAL-in ... -v1.95.tcl ( v1.9.5 - July 18th, 2oo7 ) - OLD
http://ereader.kiczek.com/incith-google-v1.98a.tcl ( v1.9.8a - Feb 14th, 2oo8 ) - Present BETA

Link corrupt...
Give new link for download this file?
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

VinDiesel wrote:http://ereader.kiczek.com/UNOFFICIAL-in ... -v1.95.tcl ( v1.9.5 - July 18th, 2oo7 ) - OLD
http://ereader.kiczek.com/incith-google-v1.98a.tcl ( v1.9.8a - Feb 14th, 2oo8 ) - Present BETA

Link corrupt...
Give new link for download this file?
Corrupt? it's basically a text file...(1.9.5... who cares, its mostly broken, just left for posterity)
If your seeing it corrupt for 1.9.8a, try regetting the file again, it appears fine here. Clean your web cache.

note: if your using some strange editor (notepad on windows is strange) to edit with there may be comments/complex regexps/equations destroyed when saving. Some comments/regexps/equations can be interpreted instead as indications to change encodings therby destroying the script when you save, even when making only config changes. It's best to use a "true/pure" text editor...
a
arbiter
Voice
Posts: 8
Joined: Mon Oct 24, 2005 8:21 pm

Post by arbiter »

i think he means its a dead link
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

arbiter wrote:i think he means its a dead link
I think he meant what he said, he didn't say the link is dead. He said corrupt. Which is impossible since the entire domain is under my control (not some free webspace that will die within a month)...
It's also powweb hosted, so at times perhaps your IP range isn't able to load the website due to the multiple internet outages reported this week. This is more than likely just one of those things out of our control that we must deal with.. :(
i
iNFERNiS
Voice
Posts: 13
Joined: Tue Aug 21, 2007 11:03 am

Post by iNFERNiS »

hmm, google is not working for me at all, no response. Most of the other things work though.
Post Reply