Re: Cache on Atari build

2014-10-21 Thread Peter Slegg
Should there be anything appearring in the cache folder ?

When I turn on OS debug output I can see errors:

pid 143 (ns020): sys_socket: fd 10
pid 143 (ns020): sys_connect(10, 0x253AA80, 16)
pid 143 (ns020): sys_connect(10): error -325
pid 143 (ns020): Fstat64(u:\g\Applications\netsurf\res\cache\d\2\K\K\2KKRZQA): 
path2cookie returned -33
pid 143 (ns020): Freadlink: unable to find 
u:\g\Applications\netsurf\res\cache\d\2\K\K\2KKRZQA
pid 143 (ns020): do_open(u:\g\Applications\netsurf\res\cache\d\2\K\K\2KKRZQA): 
error -33
No such file or directory.
pid 143 (ns020): sys_getsockopt(10, 65535, 4, 0x253AD10, 0x253AD14)


Peter


On Wed, 1 Oct 2014 18:58:39 , Peter Slegg p.sl...@scubadivers.co.uk wrote:

 I tried build 2126 and 2127 and they both stopped with a Failed to
 Initialise message.

 A look in the log showed it was trying top open res/cache/control
 so I created an empty folder res/cache

 Netsurf was then able to start.

 Should this empty cache folder be added to the build ?

 Is caching now enabled on all the platforms ?

 Peter








Re: Cache on Atari build

2014-10-08 Thread Chris Young


On 5 October 2014 01:20:48 BST, Ole Loots o...@monochrom.net wrote:

Unpacking the package makes sure there is an folder called res/cache,
AFAIK.
I don't know how the netsurf core behaves when the folder is not found.


I think the front end is supposed to ensure it exists before enabling caching. 

Chris 



Re: Cache on Atari build

2014-10-07 Thread Ole Loots
Hello.

Am Donnerstag, den 02.10.2014, 09:10 +0200 schrieb J. F. Lemaire:
 On 2 October 2014 00:38, cj ch...@chris-johnson.org.uk wrote:
  I would have thought that any sensibly implemented system should
  automatically create folders that do not exist, rather than die.
 
 That's what happened on my Atari system so I'm surprised that it
 wasn't the case for Peter.

Unpacking the package makes sure there is an folder called res/cache,
AFAIK.
I don't know how the netsurf core behaves when the folder is not found. 

Greets,
Ole




Re: Cache on Atari build

2014-10-02 Thread J. F. Lemaire
On 2 October 2014 00:38, cj ch...@chris-johnson.org.uk wrote:
 In article 000def68.01ffd4900...@smtp.freeola.net,
Peter Slegg p.sl...@scubadivers.co.uk wrote:
 A look in the log showed it was trying top open res/cache/control
 so I created an empty folder res/cache

 Netsurf was then able to start.

 I would have thought that any sensibly implemented system should
 automatically create folders that do not exist, rather than die.

That's what happened on my Atari system so I'm surprised that it
wasn't the case for Peter.

Cheers,
JFL
-- 
Jean-François Lemaire



Cache on Atari build

2014-10-01 Thread Peter Slegg

I tried build 2126 and 2127 and they both stopped with a Failed to
Initialise message.

A look in the log showed it was trying top open res/cache/control
so I created an empty folder res/cache

Netsurf was then able to start.

Should this empty cache folder be added to the build ?

Is caching now enabled on all the platforms ?

Peter






Re: Cache on Atari build

2014-10-01 Thread cj
In article 000def68.01ffd4900...@smtp.freeola.net,
   Peter Slegg p.sl...@scubadivers.co.uk wrote:
 A look in the log showed it was trying top open res/cache/control
 so I created an empty folder res/cache

 Netsurf was then able to start.

I would have thought that any sensibly implemented system should
automatically create folders that do not exist, rather than die.

-- 
Chris Johnson