teacup install of Expect

Posted by fgraffjr on 2011-09-28 08:00

I cannot seem to install Expect. Can someone tell me what I am missing?

C:\>teacup install -v Expect
Resolving Expecthttp://teapot.activestate.com: Retrieving remote INDEX status ..
.
http://teapot.activestate.com: Got Status Failed
http://teapot.activestate.com: Got Status = 0 (HTTP INTERNAL ERROR: couldn't o
pen socket: connection timed out
HTTP INTERNAL ERROR: while executing
HTTP INTERNAL ERROR: "http::geturl http://teapot.activestate.com/db/status -bina
ry 0 -command {::snit::RT.CallInstance ::repository::proxy::Snit_inst2 Receive {
command {::s..."
HTTP INTERNAL ERROR: ("eval" body line 1)
HTTP INTERNAL ERROR: invoked from within
HTTP INTERNAL ERROR: "# Compiled -- no source code available
HTTP INTERNAL ERROR: error "called a copy of a compiled script"")
http://teapot.activestate.com: Disabled local processing. No status
... Not found in the archives.

While a more fuzzy search disregarding letter case and accepting
substrings was done, we are sorry to say that it yielded no possible
candidates for installation either.

Questions to consider:
Have you spelled the name correctly ?
Including the proper case of characters ?

Note that teacup's 'search' command allows you to locate packages by
subject, categories, and the like.

Aborting installation, was not able to locate the requested
entity.

grahams
ActiveState Staff
Wed, 2011-11-23 13:15

The connection to the server seems to have failed to open the default socket, and timed out.

Try setting an http_proxy environment variable (Perl uses the same variable, and it is described well in the Perl documentation)

http://docs.activestate.com/activeperl/5.14/faq/ActivePerl-faq2.html#htt...

daveburch235 | Tue, 2012-02-07 13:55

I am having the same trouble as fgraffjr in trying to search for anything using teacup, and I already have the http_proxy variable set to our office's proxy server address. OS is Windows 7 x64, and I installed the 64-bit version of ActiveTcl today.

(System32) 22 % teacup search expect
0 entities found

Problems which occurred during the operation:
* http://teapot.activestate.com :
HTTP INTERNAL ERROR: expected integer but got "" HTTP INTERNAL
ERROR: while executing HTTP INTERNAL ERROR: "http::geturl
http://teapot.activestate.com/search/key%20name%20rex%20%28%3fi%29expect
-binary 0 -command {::snit::RT.CallInstance
::repository::proxy:..." HTTP INTERNAL ERROR: ("eval" body line
1) HTTP INTERNAL ERROR: invoked from within HTTP INTERNAL ERROR:
"# Compiled -- no source code available HTTP INTERNAL ERROR:
error "called a copy of a compiled script""

(System32) 23 % teacup proxy http://172.18.16.21 80
Proxying through http://172.18.16.21 @ 80
(System32) 24 % teacup search expect
0 entities found

Problems which occurred during the operation:
* http://teapot.activestate.com :
HTTP INTERNAL ERROR: expected integer but got "" HTTP INTERNAL
ERROR: while executing HTTP INTERNAL ERROR: "http::geturl
http://teapot.activestate.com/search/key%20name%20rex%20%28%3fi%29expect
-binary 0 -command {::snit::RT.CallInstance
::repository::proxy:..." HTTP INTERNAL ERROR: ("eval" body line
1) HTTP INTERNAL ERROR: invoked from within HTTP INTERNAL ERROR:
"# Compiled -- no source code available HTTP INTERNAL ERROR:
error "called a copy of a compiled script""

(System32) 25 %

grahams
ActiveState Staff
Fri, 2012-03-16 11:02

Try troubleshooting the settings you have put into the http_proxy variable from an interactive run of teacup:

teacup proxy HOST PORT

teacup list

If you have set up USERNAME:PWD@URL:PORT, and your proxy only requires URL:PORT, you will get a message like you report.

However, even if you solve the connection issue, there isn't an Expect you can use with 64-bit ActiveTcl on Windows.
http://community.activestate.com/faq/where-expect