is this a bug or a site source error?

2011-11-05 Thread Dave Higton
Please try:

http://opensource.com/life/11/11/drm-graveyard-brief-history-digital-rights-management-music

(I hope I've copied that out correctly; I can't seem to drag it out of
NS.)

I get a warning from NetSurf: Error while processing content unencoding:
invalid code lengths set

Is this a bug in NetSurf, or is it an error in the site's source
code?  If it's a bug, I will happily report it.

Dave



Re: is this a bug or a site source error?

2011-11-05 Thread Dr Alan Leighton
In message 4c9c8e2d52.davehig...@dsl.pipex.com
  Dave Higton davehig...@dsl.pipex.com wrote:

 Please try:

 http://opensource.com/life/11/11/drm-graveyard-brief-history-digital-r
 ights-management-music

 (I hope I've copied that out correctly; I can't seem to drag it out of
 NS.)

 I get a warning from NetSurf: Error while processing content unencoding:
 invalid code lengths set

Me too,

Alan


-- 



Re: is this a bug or a site source error?

2011-11-05 Thread Dr Peter Young
On 5 Nov 2011  Tony Moore old_coas...@yahoo.co.uk wrote:

 On 5 Nov 2011, Dave Higton davehig...@dsl.pipex.com wrote:

 Please try:

 http://opensource.com/life/11/11/drm-graveyard-brief-history-digital-r
 ights-management-music

 (I hope I've copied that out correctly; I can't seem to drag it out of
 NS.)

 I get a warning from NetSurf: Error while processing content
 unencoding: invalid code lengths set

 Here, using NetSurf r13077, running on RO 6.20, there is no error, and
 the page is displayed, more or less correctly. However, for reasons not
 understood, NetSurf decided to re-scan the fonts before loading (NetSurf
 was not running, when I double-clicked the URL).

Here it does the crash with r13124 and RISC OS 4.02.

With best wishes,

Peter.

-- 
Peter   \  /  zfc Lu \ Prestbury, Cheltenham,  Glos. GL52
and  \/ ____  \  England.
family   / /  \ | | |\ | /  _  \  http://pnyoung.orpheusweb.co.uk
/  \__/ \_/ | \| \__/   \__ pnyo...@ormail.co.uk



Re: is this a bug or a site source error?

2011-11-05 Thread John-Mark Bell
On Sat, 2011-11-05 at 21:13 +, Dave Higton wrote:
 Please try:
 
 http://opensource.com/life/11/11/drm-graveyard-brief-history-digital-rights-management-music
 
 (I hope I've copied that out correctly; I can't seem to drag it out of
 NS.)
 
 I get a warning from NetSurf: Error while processing content unencoding:
 invalid code lengths set
 
 Is this a bug in NetSurf, or is it an error in the site's source
 code?  If it's a bug, I will happily report it.

The site responds with a gzip-encoded stream containing trailing
garbage. This causes the HTTP library we use to complain with the
message you see. r13129 contains an egregious hack around the problem
which should make it work as well as can be expected.


John-Mark.




Re: is this a bug or a site source error?

2011-11-05 Thread John-Mark Bell
On Sat, 2011-11-05 at 22:45 +, Tony Moore wrote:
 On 5 Nov 2011, John-Mark Bell j...@netsurf-browser.org wrote:
  On Sat, 2011-11-05 at 21:13 +, Dave Higton wrote:
 
 [snip]
 
   http://opensource.com/life/11/11/drm-graveyard-brief-history-digital-rights-management-music
 
 [snip]
 
  The site responds with a gzip-encoded stream containing trailing
  garbage. This causes the HTTP library we use to complain with the
  message you see.
 
 In that case, why does r13077 have no problem with the site?

Most likely because you're fetching it through a proxy server which
fixes the brokenness. Certainly, there's no reason for r13077 to work
any better than later versions in this respect.


John-Mark.




Hit counter problem

2011-11-05 Thread Richard Porter
I've just noticed that some of my hit counters aren't working on 
NetSurf although they do work on Oregano, Fresco, Firefox, etc.

To take one example, the source code is as follows:

img src=/cgi-sys/Count.cgi?df=ricp.dat|display=Counter|ft=6|md=6|frg 
b=100;139;216|dd=K alt=hit counter

On NetSurf this returns an image containing the following message 
instead of the digits:

Counter datafile /var/cpanel/Counters/ricp.dat%7Cdisplay=Counter%7Cft 
=6%7Cmd=6%7Cfrgb=100;139;216%7Cdd=K must be created in cPanel first!

Obviously the whole request is getting to the server otherwise it 
couldn't display it in the returned image, so what is going wrong?
The datafile path should only be as far as ricp.dat so is the request 
being sent in such a way that it thinks the whole lot is part of the 
filename?

-- 
Richard Porterhttp://www.minijem.plus.com/
  mailto:r...@minijem.plus.com
I don't want a user experience - I just want stuff that works.



Re: is this a bug or a site source error?

2011-11-05 Thread Tony Moore
On 5 Nov 2011, John-Mark Bell j...@netsurf-browser.org wrote:
 On Sat, 2011-11-05 at 22:45 +, Tony Moore wrote:
  On 5 Nov 2011, John-Mark Bell j...@netsurf-browser.org wrote:
   On Sat, 2011-11-05 at 21:13 +, Dave Higton wrote:
 
  [snip]
 
http://opensource.com/life/11/11/drm-graveyard-brief-history-digital-rights-management-music
 
  [snip]
 
   The site responds with a gzip-encoded stream containing trailing
   garbage. This causes the HTTP library we use to complain with the
   message you see.
 
  In that case, why does r13077 have no problem with the site?

 Most likely because you're fetching it through a proxy server which
 fixes the brokenness. Certainly, there's no reason for r13077 to work
 any better than later versions in this respect.

NetSurf is configured to use 'No proxy'. Is it possible that my ISP
connects via a proxy, without my knowledge?

Tony