Tags:
create new tag
, view all tags

Question

When I try to Find more Extensions I get the following Error:

Consulting TWiki.org... Software error: connect: Unknown error. GET /cgi-bin/view/Plugins/FastReport?skin=text&contenttype=text/plain HTTP/1.0 Host: twiki.org User-agent: TWikiConfigure? /1.0 +http://twiki.org/

For help, please send mail to the webmaster (admin@yourhostPLEASENOSPAM.com), giving this error message and the time and date of the error.

Is there something wrong with my configuration or is it a Bug of Twiki

I have no Warnings and Errors in configure

Maybe I need some more Packages for IndigoPerl?

Environment

TWiki version: TWikiRelease04x01x01
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows XP
Web server: Apache 2.0.44 (Win32)
Perl version: mod_perl/1.99_08Perl/v5.8.6 (IndigoPerl? )
Client OS: Windows XP
Web Browser: IE 6
Categories: Installation, Plugins

-- DavidSchulze - 09 Feb 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

This could be a bug with TWiki on IndigoPerl; this is a new feature that it is not tested on many platforms. Feel free to file a bug report at Bugs:WebHome.

-- PeterThoeny - 10 Feb 2007

I am getting the same error... did you find a way around it David?

connect: Unknown error. GET /cgi-bin/view/Plugins/FastReport?skin=text&contenttype=text/plain HTTP/1.0 Host: twiki.org User-agent: TWikiConfigure? /1.0 +http://twiki.org/

-- JasonOKeeffe - 26 Feb 2007

I am getting a different error when trying to install plugin from configure

Fetching http://twiki.org/p/pub/Plugins/MailerContrib/MailerContrib.tgz...

Warning: I can't install http://twiki.org/p/pub/Plugins/MailerContrib/MailerContrib.tgz because I don't recognise the download as a gzip file. Warning: Extension may not have been packaged correctly. Trying for a .zip file instead.

Fetching http://twiki.org/p/pub/Plugins/MailerContrib/MailerContrib.zip... Unpacking... Archive::Zip is not installed; trying unzip on the command line unzip failed: Bad file descriptor Failed to unpack archive \tmp\lqT9OZflxi.zip

Software error: Use of uninitialized value in pattern match (m//) at /twiki/lib/TWiki/Configure/UIs/EXTEND.pm line 227.

I tried many different plugins, they all get the same error.

-- TonyTse - 10 Apr 2007

I was getting a "Connection timed out" error and found out that I needed to specify the proxy server/port in the configuration screen first.

Now it seems to complete without any issues but doesn't find any extensions at all. Do I need to set TWIKI_REPOSITORIES somewhere to get it to work?

-- PankajPant - 18 May 2007

Some progress. I had to add User-agent in Configure/UI.pm:263

261:    my $req = "GET $path HTTP/1.0\r\nHost: $host\r\nUser-agent: TWikiConfigure/1.0 +http://twiki.org/\r\n\r\n";
262:    if ($TWiki::cfg{PROXY}{HOST} && $TWiki::cfg{PROXY}{PORT}) {
263:        $req = "GET http://$host:$port$path HTTP/1.0\r\nUser-agent: TWikiConfigure/1.0 +http://twiki.org/\r\n\r\n";
264:        $host = $TWiki::cfg{PROXY}{HOST};
265:        $port = $TWiki::cfg{PROXY}{PORT};
266:    }

Now I am stuck at a similar point as TonyTse (q0 Apr 2007).

-- PankajPant - 21 May 2007

More changes (to Configure/UIs/EXTEND.pm):

63c63
<     } elsif ($ar !~ s!^.*Content-Type: application/x-gzip\r\n\r\n!!is) {
---
>     } elsif ($ar !~ s!^.*Content-Type: application/x-gzip.*\r\n\r\n!!is) {
88c88
<       } elsif ($ar !~ s#^.*Content-Type: application/zip\r\n\r\n##is) {
---
>       } elsif ($ar !~ s#^.*Content-Type: application/zip.*\r\n\r\n##is) {  

The Content-Type field might not be the last in the HTTP header. This probably should be filed as a bug report.

By the way, I'm using 4.1.2.

-- PankajPant - 21 May 2007

Filed Bugs:Item4113.

-- PankajPant - 22 May 2007

I am getting an error report when trying to download extensions by configure. Using TWiki 4.1.2 and Xubuntu Feisty fawn, Apache/2.2.3, Perl version 5.8.8.

Find TWiki Extensions
Consulting TWiki.org...
Software error:

Use of uninitialized value in concatenation (.) or string at /var/www/TWiki2/lib/TWiki/Configure/UIs/EXTENSIONS.pm line 121.

For help, please send mail to the webmaster (webmaster@localhost), giving this error message and the time and date of the error.

The file EXTENSION.pm (lines 94 - 121):

sub ui {
    my $this = shift;
    my $table =
      CGI::Tr(join('', map { CGI::th({valign=>'bottom' },
                                     $headNames{$_}) } @tableHeads));

    my $rows = 0;
    my $installed = 0;
    foreach my $ext (@{$this->_getListOfExtensions()}) {
        my $row = '';
        foreach my $f (@tableHeads) {
            my $text;
            if ($f eq 'install') {
                my $link = $TWiki::query->url().
                  '?action=InstallExtension'.
                    ';data='.$ext->{data}.
                    ';pub='.$ext->{pub}.
                    ';extension='.$ext->{topic};
                $text = 'Install';
                if ($ext->{installedVersion}) {
                    $text = 'Upgrade';
                    $installed++;
                }
                $text = CGI::a({ href => $link }, $text);
            } else {
                $text = $ext->{$f}||'-';
                if ($f eq 'topic') {
                    my $link = $ext->{data}.$ext->{topic};

-- MikkoLaakso - 15 Jul 2007

Please file a bug report at Bugs:WebHome if this is a new issue.

-- PeterThoeny - 16 Jul 2007

 
Change status to:
Topic revision: r9 - 16 Jul 2007 - 00:53:47 - PeterThoeny
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback