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

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Wed Feb 20, 2008 11:11 pm Post subject: |
|
|
| BeBoo wrote: | I updated to the latest version and it works. Thanks
Never answered my net/chan question  |
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.. |
|
| Back to top |
|
 |
Uasheno Voice
Joined: 22 Feb 2008 Posts: 3
|
Posted: Fri Feb 22, 2008 4:50 pm Post subject: |
|
|
This works very well, but I've encountered the following problem when using the wikipedia function.
| Code: | | Tcl error [incith::google::private_message]: couldn't compile regular expression pattern: parentheses () not balanced |
Did I miss something? |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Fri Feb 22, 2008 9:22 pm Post subject: |
|
|
| Uasheno wrote: | This works very well, but I've encountered the following problem when using the wikipedia function.
| Code: | | 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. |
|
| Back to top |
|
 |
Uasheno Voice
Joined: 22 Feb 2008 Posts: 3
|
Posted: Sat Feb 23, 2008 5:22 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Sat Feb 23, 2008 11:52 pm Post subject: |
|
|
| 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. | Quote: | <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 |
|
| Back to top |
|
 |
Uasheno Voice
Joined: 22 Feb 2008 Posts: 3
|
Posted: Sun Feb 24, 2008 6:40 am Post subject: |
|
|
| 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! |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Sun Feb 24, 2008 8:03 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
testebr Halfop
Joined: 01 Dec 2005 Posts: 86
|
Posted: Mon Mar 03, 2008 1:23 pm Post subject: |
|
|
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
 |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Mon Mar 03, 2008 2:52 pm Post subject: |
|
|
| 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. | Quote: | <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...
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... |
|
| Back to top |
|
 |
testebr Halfop
Joined: 01 Dec 2005 Posts: 86
|
Posted: Mon Mar 03, 2008 3:27 pm Post subject: |
|
|
Sorry, false bug!
The problem was solved with just instalation of newest version. |
|
| Back to top |
|
 |
VinDiesel Voice
Joined: 14 Oct 2007 Posts: 11
|
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Thu Mar 06, 2008 5:26 pm Post subject: |
|
|
| VinDiesel wrote: | http://ereader.kiczek.com/UNOFFICIAL-incith-google-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... |
|
| Back to top |
|
 |
arbiter Voice
Joined: 24 Oct 2005 Posts: 8
|
Posted: Fri Mar 07, 2008 7:05 pm Post subject: |
|
|
| i think he means its a dead link |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Fri Mar 07, 2008 10:18 pm Post subject: |
|
|
| 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..  |
|
| Back to top |
|
 |
iNFERNiS Voice
Joined: 21 Aug 2007 Posts: 13
|
Posted: Mon Mar 10, 2008 6:38 pm Post subject: |
|
|
| hmm, google is not working for me at all, no response. Most of the other things work though. |
|
| 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
|
|