firstred / page-speed

Automatically exported from code.google.com/p/page-speed
0 stars 0 forks source link

xpi file corrupted #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Trying to install page-speed for FF 3.5b4 in Fedora 11. Got this error:

Firefox could not install the file at 

file:///tmp/page-speed.xpi

because: Not a valid install package
-207

Firebug version installed is 1.4.0b2

It looks like that the xpi file downloaded is always corrupted.

Original issue reported on code.google.com by clodoald...@gmail.com on 24 Jun 2009 at 4:25

GoogleCodeExporter commented 9 years ago
The page-speed I'm trying is 1.0.1.1

Downloaded also with Opera and the same result. Trying to open it with the 
archive
manager shows this message:

[/home/cpn/Download/page-speed.xpi]
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
zipinfo:  cannot find zipfile directory in one of 
/home/cpn/Download/page-speed.xpi or
          /home/cpn/Download/page-speed.xpi.zip, and cannot find
/home/cpn/Download/page-speed.xpi.ZIP, period.

Original comment by clodoald...@gmail.com on 24 Jun 2009 at 4:30

GoogleCodeExporter commented 9 years ago

> Downloaded also with Opera and the same result.

You have to install pagespeed.xpi by fetching the URL in firefox.  If you go to 
this
page:

http://code.google.com/speed/page-speed/download.html

*in firefox*, and click on the "install page speed 1.0.1.1 beta" button, do you 
get
the error?  (You need to install the beta because the released version, 
1.0.0.0, does
not support Firefox 3.5) 

Sam

Original comment by sker...@google.com on 24 Jun 2009 at 6:40

GoogleCodeExporter commented 9 years ago
That was the first thing I did. Only downloaded manually after that failed.

Original comment by clodoald...@gmail.com on 24 Jun 2009 at 6:55

GoogleCodeExporter commented 9 years ago

Can you try installing in the latest release candidate?  Choosing 'Check For 
Updates...' from the firefox help 
menu should get you 3.5rc2.  

Sam

Original comment by sker...@google.com on 25 Jun 2009 at 3:55

GoogleCodeExporter commented 9 years ago
Now with FF 3.5. Same problem

Original comment by clodoald...@gmail.com on 3 Jul 2009 at 5:32

GoogleCodeExporter commented 9 years ago
When I run zipinfo on page-speed.xpi, I do not get the error.  Lets see if the 
file
is being truncated.  See if you get a file with the same size and md5sum as I 
get:

$ wget https://dl-ssl.google.com/page-speed/current/page-speed.xpi
--13:59:15--  https://dl-ssl.google.com/page-speed/current/page-speed.xpi
           => `page-speed.xpi'
Resolving dl-ssl.google.com... 209.85.133.93, 209.85.133.190, 72.14.247.93, ...
Connecting to dl-ssl.google.com|209.85.133.93|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,712,102 (1.6M) [application/x-xpinstall]

100%[===========================================================================
===================================================>]
1,712,102      3.27M/s

$ md5sum page-speed.xpi
eafa494b3b792e9029ed99e4fa7a21e9  page-speed.xpi

$ du -ab  page-speed.xpi
1712102 page-speed.xpi

$ zipinfo page-speed.xpi
Archive:  page-speed.xpi   1712102 bytes   68 files
-rw-r--r--  2.0 unx      405 b- defN  5-Jun-09 12:34 chrome.manifest
-rw-r--r--  2.0 unx     3102 b- defN  4-Jun-09 10:22 
chrome/activity/content/activity.css
-rw-r--r--  2.0 unx      937 b- defN  4-Jun-09 10:22 
chrome/activity/content/activity.xul
-rw-r--r--  2.0 unx     2358 b- defN  4-Jun-09 10:22
chrome/activity/content/delayableFunctions.xul
-rw-r--r--  2.0 unx     4059 b- defN  4-Jun-09 10:22
chrome/activity/content/firebugOverlay.xul
-rw-r--r--  2.0 unx     5748 b- defN 22-Jun-09 13:39
chrome/activity/content/timelineOverlay.xul
-rw-r--r--  2.0 unx     1907 b- defN  4-Jun-09 10:22
chrome/activity/content/uncalledFunctions.xul
-rw-r--r--  2.0 unx     4694 b- defN 22-Jun-09 13:39
chrome/pagespeed/content/pagespeedOverlay.xul
-rw-r--r--  2.0 unx      916 b- defN  4-Jun-09 10:22
chrome/pagespeed/content/pagespeedUtilOverlay.xul
-rw-r--r--  2.0 unx     1037 b- defN  4-Jun-09 10:22
chrome/pagespeed/content/scoreIcon.png
-rw-r--r--  2.0 unx      872 b- defN  4-Jun-09 10:22 
components/IActivityProfiler.xpt
-rw-r--r--  2.0 unx      128 b- defN  4-Jun-09 10:22 
components/IComponentCollector.xpt
-rw-r--r--  2.0 unx      176 b- defN  4-Jun-09 10:22 
components/IImageCompressor.xpt
-rw-r--r--  2.0 unx      122 b- defN  4-Jun-09 10:22 
components/IStateStorage.xpt
-rw-r--r--  2.0 unx      354 b- defN  4-Jun-09 10:22 
defaults/preferences/activity.js
-rw-r--r--  2.0 unx      351 b- defN  4-Jun-09 15:13 
defaults/preferences/pagespeed.js
-rw-r--r--  2.0 unx     1772 b- defN 22-Jun-09 19:38 install.rdf
-rw-r--r--  2.0 unx   697068 b- defN  4-Jun-09 10:22
platform/Darwin_ppc-gcc3/components/libpagespeed.dylib
-rw-r--r--  2.0 unx   674760 b- defN  4-Jun-09 10:22
platform/Darwin_x86-gcc3/components/libpagespeed.dylib
-rw-r--r--  2.0 unx   861012 b- defN  4-Jun-09 10:22
platform/Linux_x86-gcc3/components/libpagespeed.so
-rw-r--r--  2.0 unx   991944 b- defN  4-Jun-09 10:22
platform/Linux_x86_64-gcc3/components/libpagespeed.so
-rw-r--r--  2.0 unx   557056 b- defN  4-Jun-09 10:22
platform/WINNT_x86-msvc/components/pagespeed.dll
-rw-r--r--  2.0 unx     2704 b- defN  4-Jun-09 10:22
chrome/activity/content/app-state-observer.js
-rw-r--r--  2.0 unx     3809 b- defN  4-Jun-09 10:22 
chrome/activity/content/fileutil.js
-rw-r--r--  2.0 unx     6403 b- defN 22-Jun-09 19:32
chrome/activity/content/firebug-glue.js
-rw-r--r--  2.0 unx     4712 b- defN  4-Jun-09 10:22
chrome/activity/content/firebug-protector.js
-rw-r--r--  2.0 unx    12461 b- defN  4-Jun-09 10:22
chrome/activity/content/js-event-fetcher.js
-rw-r--r--  2.0 unx     9120 b- defN  4-Jun-09 10:22
chrome/activity/content/network-observer.js
-rw-r--r--  2.0 unx    13083 b- defN  4-Jun-09 10:22
chrome/activity/content/observer-base.js
-rw-r--r--  2.0 unx     7220 b- defN  4-Jun-09 10:22
chrome/activity/content/preference.js
-rw-r--r--  2.0 unx     4927 b- defN 22-Jun-09 13:39 
chrome/activity/content/profiler.js
-rw-r--r--  2.0 unx    11060 b- defN  4-Jun-09 10:22
chrome/activity/content/request-observer.js
-rw-r--r--  2.0 unx     8541 b- defN  4-Jun-09 10:22
chrome/activity/content/timeline-manager.js
-rw-r--r--  2.0 unx    14847 b- defN  4-Jun-09 10:22
chrome/activity/content/timeline-model.js
-rw-r--r--  2.0 unx    37947 b- defN  4-Jun-09 10:22
chrome/activity/content/timeline-view.js
-rw-r--r--  2.0 unx    26897 b- defN 22-Jun-09 13:39 
chrome/activity/content/ui.js
-rw-r--r--  2.0 unx     2173 b- defN  4-Jun-09 10:22 
chrome/activity/content/xpcom.js
-rw-r--r--  2.0 unx    23225 b- defN  4-Jun-09 10:22
chrome/pagespeed/content/cacheControlLint.js
-rw-r--r--  2.0 unx     2438 b- defN  4-Jun-09 10:22
chrome/pagespeed/content/callbackHolder.js
-rw-r--r--  2.0 unx     3891 b- defN  4-Jun-09 10:22
chrome/pagespeed/content/combineScriptsAndStylesLint.js
-rw-r--r--  2.0 unx     6021 b- defN  4-Jun-09 10:22
chrome/pagespeed/content/cookieSizeLint.js
-rw-r--r--  2.0 unx    19721 b- defN  4-Jun-09 10:22
chrome/pagespeed/content/cssEfficiencyChecker.js
-rw-r--r--  2.0 unx     2178 b- defN 22-Jun-09 13:39
chrome/pagespeed/content/cssExpressionLint.js
-rw-r--r--  2.0 unx     1389 b- defN  4-Jun-09 10:22 
chrome/pagespeed/content/deps.js
-rw-r--r--  2.0 unx     8350 b- defN  4-Jun-09 10:22 
chrome/pagespeed/content/dnsLint.js
-rw-r--r--  2.0 unx     3026 b- defN  4-Jun-09 10:22
chrome/pagespeed/content/duplicateResourceLint.js
-rw-r--r--  2.0 unx     2863 b- defN  4-Jun-09 10:22 
chrome/pagespeed/content/gzipLint.js
-rw-r--r--  2.0 unx    16529 b- defN 22-Jun-09 13:39
chrome/pagespeed/content/imageCompressionLint.js
-rw-r--r--  2.0 unx     4674 b- defN  6-Jun-09 19:29
chrome/pagespeed/content/imageDimensionsLint.js
-rw-r--r--  2.0 unx    23201 b- defN  4-Jun-09 10:22
chrome/pagespeed/content/jsCoverageLint.js
-rw-r--r--  2.0 unx    12863 b- defN 22-Jun-09 13:39 
chrome/pagespeed/content/lint.js
-rw-r--r--  2.0 unx     7981 b- defN 22-Jun-09 13:39
chrome/pagespeed/content/minifyJsLint.js
-rw-r--r--  2.0 unx     8385 b- defN  4-Jun-09 10:22
chrome/pagespeed/content/pageLoadTimer.js
-rw-r--r--  2.0 unx    16222 b- defN 22-Jun-09 13:39
chrome/pagespeed/content/pagespeedContext.js
-rw-r--r--  2.0 unx    23633 b- defN 22-Jun-09 19:33
chrome/pagespeed/content/pagespeedPanel.js
-rw-r--r--  2.0 unx     5620 b- defN  4-Jun-09 10:22
chrome/pagespeed/content/parallelizeDownloadLint.js
-rw-r--r--  2.0 unx     1676 b- defN  4-Jun-09 10:22
chrome/pagespeed/content/redirectLint.js
-rw-r--r--  2.0 unx     3666 b- defN  4-Jun-09 10:22
chrome/pagespeed/content/staticNoCookieLint.js
-rw-r--r--  2.0 unx     3640 b- defN  4-Jun-09 10:22
chrome/pagespeed/content/styleBlocksInBodyLint.js
-rw-r--r--  2.0 unx     4624 b- defN  4-Jun-09 10:22
chrome/pagespeed/content/stylesBeforeScriptsLint.js
-rw-r--r--  2.0 unx    10991 b- defN  4-Jun-09 10:22
chrome/pagespeed/content/unusedCssLint.js
-rw-r--r--  2.0 unx    19144 b- defN  4-Jun-09 10:22
chrome/pagespeed/content/userAgentController.js
-rw-r--r--  2.0 unx    67672 b- defN 22-Jun-09 13:39 
chrome/pagespeed/content/util.js
-rw-r--r--  2.0 unx    52611 b- defN  5-Jun-09 12:34
components/componentCollectorService.js
-rw-r--r--  2.0 unx     3186 b- defN  4-Jun-09 10:23 
components/stateStorageService.js
-rw-r--r--  2.0 unx     8066 b- defN  4-Jun-09 10:22 
chrome/pagespeed/content/jsmin.js
-rw-r--r--  2.0 unx    41227 b- defN  4-Jun-09 10:22 
chrome/activity/content/base.js
-rw-r--r--  2.0 unx     3130 b- defN  4-Jun-09 10:22
chrome/activity/content/disposable.js
68 files, 4388525 bytes uncompressed, 1701436 bytes compressed:  61.2%

Sam

Original comment by sker...@google.com on 6 Jul 2009 at 6:03

GoogleCodeExporter commented 9 years ago
I ran into this same error when attempting to install into Firefox 3.5
on a Windows XP (SP3) machine.

I was able to work around the problem by using wget to retrieve the file
to a webserver that I control, and then install the .xpi from there.

I noted that the certificate used on the https: server didn't match when
I used wget, so I had to tell it --no-check-certificate -- perhaps this
problem is what is messing up the auto-install of the .xpi file?

# wget https://dl-ssl.google.com/page-speed/current/page-speed.xpi
--15:18:44--  https://dl-ssl.google.com/page-speed/current/page-speed.xpi
           => `page-speed.xpi'
Resolving dl-ssl.google.com... 74.125.19.91, 72.14.247.93, 72.14.247.136, ...
Connecting to dl-ssl.google.com|74.125.19.91|:443... connected.
ERROR: Certificate verification error for dl-ssl.google.com: unable to get local
issuer certificate
To connect to dl-ssl.google.com insecurely, use `--no-check-certificate'.
Unable to establish SSL connection.

-Kurt

Original comment by kurt.l...@gmail.com on 6 Jul 2009 at 9:14

GoogleCodeExporter commented 9 years ago
Now it wgeted correctly without the --no-check-certificate. Didn't try to wget
before. And also installed directly from the download page clicking the install 
button.

The Analyze button does nothing but I guess that's another problem.

Original comment by clodoald...@gmail.com on 7 Jul 2009 at 3:51

GoogleCodeExporter commented 9 years ago

Is there anything unusual about your network configuration that might explain 
why the
download was failing?  For example, are you behind a NAT, do other apps show 
signs of
network flakiness, or are you on a VPN?

If clicking "Analyze Performance" after loading a web page does not show scores 
for
the page, than please open a new issue.

Sam

Original comment by sker...@google.com on 7 Jul 2009 at 5:11