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.

error in google script

Old posts that have not been replied to for several years.
Locked
K
Kaarel
Halfop
Posts: 91
Joined: Sat Apr 26, 2003 5:24 am

error in google script

Post by Kaarel »

I downloaded a google script, but that is not working

<Botman> [20:42] Tcl error [pub:google]: error writing "stderr": bad file number


I would like to know what stderr means.

http://www.egghelp.org/files/tcl/google-0.2.1.zip <---that one

Please can anybody cof that file or send me a working script to kaarel006@hot.ee
S
Storm
Voice
Posts: 36
Joined: Fri Apr 25, 2003 12:59 am
Location: Vancouver, Canada

Post by Storm »

is alltools.tcl loaded?
if not, load it -- > source scripts/alltools.tcl
btw, are u from Estonia or Latvia? cuz your e-mail... :D
K
Kaarel
Halfop
Posts: 91
Joined: Sat Apr 26, 2003 5:24 am

Post by Kaarel »

Storm wrote:is alltools.tcl loaded?

btw, are u from Estonia or Latvia? cuz your e-mail... :D

Estonia
K
Kaarel
Halfop
Posts: 91
Joined: Sat Apr 26, 2003 5:24 am

Post by Kaarel »

I loaded the alltools.tcl


<Kaarel> !google Pc games
<Kaarel> !image neeger

<Botman> [14:23] Tcl error [pub:google]: error writing "stderr": bad file number
<Botman> [14:23] Tcl error [pub:image]: error writing "stderr": bad file number
K
Kaarel
Halfop
Posts: 91
Joined: Sat Apr 26, 2003 5:24 am

Post by Kaarel »

Can anybody help me?
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

The error sounds like something you may see on a windrop. Look through the script and find any lines that are like:

puts stderr "blah blah blah"
puts stderr $somevar

You can delete them.
K
Kaarel
Halfop
Posts: 91
Joined: Sat Apr 26, 2003 5:24 am

Post by Kaarel »

stdragon wrote:The error sounds like something you may see on a windrop. Look through the script and find any lines that are like:

puts stderr "blah blah blah"
puts stderr $somevar

You can delete them.

These lines were only in that google script
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

Did you delete them?
K
Kaarel
Halfop
Posts: 91
Joined: Sat Apr 26, 2003 5:24 am

Post by Kaarel »

1 question


In that script there is a line package require http


What that means

Please can anybody send me a google script what he/she uses. I really need google script
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

The questions remains! Did you delete the lines as noted?

As for the "package require http". This is a command, saying the script needs the HTTP package, to perform comunications with a webserver.

This is how the scripts comunicate with the google search system.
K
Kaarel
Halfop
Posts: 91
Joined: Sat Apr 26, 2003 5:24 am

Post by Kaarel »

It worked



BIG BIG THANKS to all of you
Locked