Re: Problem with "Save page location as text".

2011-10-16 Thread Steve Fryatt
On 16 Oct, Harriet Bazley wrote in message
<9107212352.harr...@blueyonder.co.uk>:

> Brilliant - I think this is almost certainly the root cause of the similar
> 'black hole' problem I've been having for a long time with saving images:

Yes, it was a general problem with the save dialogue initialisation anywhere
in the menu structure, which has probably been lurking for a while and bit
if the previous save had been to a path of more than about 50 characters.

I've just been through the bug tracker and closed off a few other tickets
that also seem to be the same problem; if anyone disagrees, let me know.

-- 
Steve Fryatt - Leeds, England

http://www.stevefryatt.org.uk/



Re: Problem with "Save page location as text".

2011-10-16 Thread Harriet Bazley
On 12 Oct 2011 as I do recall,
  Dr Peter Young  wrote:

> On 11 Oct 2011  Steve Fryatt  wrote:
>
> > On 11 Oct, Dr Peter Young wrote in message
> > :
>
> >> On 11 Oct 2011  cj  wrote:
> >>
> >>> ... and further tests show that other apps are happy saving to an even
> >>> greater depth than I tried with Netsurf, so the problem appears to be
> >>> Netsurf related.
>
> > Well identified; thanks.  Ick.
>
> > If I've understood the code correctly, I /think/ r13037 should sort things.
> > Let me know if it doesn't.
>
> Yes, that's done it. Many thanks.
>
Brilliant - I think this is almost certainly the root cause of the
similar 'black hole' problem I've been having for a long time with
saving images:
http://sourceforge.net/tracker/?func=detail&aid=3413051&group_id=51719&atid=464312

-- 
Harriet Bazley ==  Loyaulte me lie ==

Abstinence makes the heart grow fonder.



Re: Problem with "Save page location as text".

2011-10-12 Thread Dr Peter Young
On 11 Oct 2011  Steve Fryatt  wrote:

> On 11 Oct, Dr Peter Young wrote in message
> :

>> On 11 Oct 2011  cj  wrote:
>> 
>>> ... and further tests show that other apps are happy saving to an even
>>> greater depth than I tried with Netsurf, so the problem appears to be
>>> Netsurf related.

> Well identified; thanks.  Ick.

> If I've understood the code correctly, I /think/ r13037 should sort things.
> Let me know if it doesn't.

Yes, that's done it. Many thanks.

With best wishes,

Peter.

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



Re: Problem with "Save page location as text".

2011-10-11 Thread Dr Peter Young
On 11 Oct 2011  Steve Fryatt  wrote:

> On 11 Oct, Dr Peter Young wrote in message
> :

>> On 11 Oct 2011  cj  wrote:
>> 
>>> ... and further tests show that other apps are happy saving to an even
>>> greater depth than I tried with Netsurf, so the problem appears to be
>>> Netsurf related.

> Well identified; thanks.  Ick.

> If I've understood the code correctly, I /think/ r13037 should sort things.
> Let me know if it doesn't.

That build doesn't seem to have come though the system yet, but I'll 
look again in the morning. Thanks.

With best wishes,

Peter.

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



Re: Problem with "Save page location as text".

2011-10-11 Thread Steve Fryatt
On 11 Oct, Dr Peter Young wrote in message
:

> On 11 Oct 2011  cj  wrote:
> 
> > ... and further tests show that other apps are happy saving to an even
> > greater depth than I tried with Netsurf, so the problem appears to be
> > Netsurf related.

Well identified; thanks.  Ick.

If I've understood the code correctly, I /think/ r13037 should sort things. 
Let me know if it doesn't.

> I'm sure I've seen postings about another app, I can't remember which,
> which has or had problems with deeply-nested directories.

Things go wonky generally at about 230-ish characters.  This wasn't that
problem.

-- 
Steve Fryatt - Leeds, England

http://www.stevefryatt.org.uk/



Re: Problem with "Save page location as text".

2011-10-11 Thread Dr Peter Young
On 11 Oct 2011  cj  wrote:

> In article <47289a2052.pnyo...@pnyoung.ormail.co.uk>,
>Dr Peter Young  wrote:
>> I've been doing the saves in today's directory of Transient, which
>> is fairly deep in the directory hierarchy. I've tried now saving
>> to a temporary directory in the root, and can save as many times
>> as I like. As NetSurf obviously isn't at fault here, is it
>> Transient or the filer that is causing the problem? In any case,
>> the bug report can be closed, I think.

> I guess the test is to continually add a dir recursively inside your
> temporary directory, and see at what point the save fails - then try
> a save from a different app. It could still be a problem in NetSurf
> when it has a long filepath to deal with. The other test is to use
> short and long names for the directories to see if it is simply the
> length of path, or the depth of the path.

I'm glad you've done that experiment, as I'm constitutionally lazy.

> Actually I have just tried a test and Netsurf does go into a black
> hole when the path is long. It does not need to be the same save. Eg
> save the location text into a deep directory. Goes ok. Open another
> save dialogue, e.g. save full page - NS exits immediately the save as
> dialogue opens. There may be a problem with memory buffering for the
> file names.

Interesting, but going beyond my knowledge, I'm afraid. One for the 
developers, if it may in fact be a NetSurf bug?

With best wishes,

Peter.

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



Re: Problem with "Save page location as text".

2011-10-11 Thread Dr Peter Young
On 11 Oct 2011  cj  wrote:

> ... and further tests show that other apps are happy saving to an
> even greater depth than I tried with Netsurf, so the problem appears
> to be Netsurf related.

I'm sure I've seen postings about another app, I can't remember which, 
which has or had problems with deeply-nested directories.

With best wishes,

Peter.

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



Re: Problem with "Save page location as text".

2011-10-11 Thread cj
... and further tests show that other apps are happy saving to an
even greater depth than I tried with Netsurf, so the problem appears
to be Netsurf related.

-- 
Chris Johnson



Re: Problem with "Save page location as text".

2011-10-11 Thread cj
In article <47289a2052.pnyo...@pnyoung.ormail.co.uk>,
   Dr Peter Young  wrote:
> I've been doing the saves in today's directory of Transient, which
> is fairly deep in the directory hierarchy. I've tried now saving
> to a temporary directory in the root, and can save as many times
> as I like. As NetSurf obviously isn't at fault here, is it
> Transient or the filer that is causing the problem? In any case,
> the bug report can be closed, I think.

I guess the test is to continually add a dir recursively inside your
temporary directory, and see at what point the save fails - then try
a save from a different app. It could still be a problem in NetSurf
when it has a long filepath to deal with. The other test is to use
short and long names for the directories to see if it is simply the
length of path, or the depth of the path.

Actually I have just tried a test and Netsurf does go into a black
hole when the path is long. It does not need to be the same save. Eg
save the location text into a deep directory. Goes ok. Open another
save dialogue, e.g. save full page - NS exits immediately the save as
dialogue opens. There may be a problem with memory buffering for the
file names.

-- 
Chris Johnson



Re: Problem with "Save page location as text".

2011-10-11 Thread Dr Peter Young
On 11 Oct 2011  cj  wrote:

> In article <47289a2052.pnyo...@pnyoung.ormail.co.uk>,
>Dr Peter Young  wrote:
>> I've been doing the saves in today's directory of Transient, which
>> is fairly deep in the directory hierarchy. I've tried now saving
>> to a temporary directory in the root, and can save as many times
>> as I like.

> I actually did all the saving into a few dirs of Transient as well,
> when all was fine. However, the path would have been fairly short -
> e.g. ADFS::Dorset1.$.Transient.Default.110919

Now, mine is ADFS::HardDisc4.$.!BOOT.Resources.!Scrap.ScrapDirs.ID4017 
6b01.Transient.Default.2011/10/11 which is where Transient put it by 
default, so it's presumably something in the filer rather than 
Transient.

With best wishes,

Peter.

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



Re: Problem with "Save page location as text".

2011-10-11 Thread cj
In article <47289a2052.pnyo...@pnyoung.ormail.co.uk>,
   Dr Peter Young  wrote:
> I've been doing the saves in today's directory of Transient, which
> is fairly deep in the directory hierarchy. I've tried now saving
> to a temporary directory in the root, and can save as many times
> as I like.

I actually did all the saving into a few dirs of Transient as well,
when all was fine. However, the path would have been fairly short -
e.g. ADFS::Dorset1.$.Transient.Default.110919

-- 
Chris Johnson



Re: Problem with "Save page location as text".

2011-10-11 Thread Dr Peter Young
On 11 Oct 2011  Steve Fryatt  wrote:

> On 11 Oct, Dr Peter Young wrote in message
> <9c238b2052.pnyo...@pnyoung.ormail.co.uk>:

>> On 11 Oct 2011  Steve Fryatt  wrote:
>>
>>> Hmm.  It doesn't here.  If you load NetSurf, go to a page, try that
>>> action twice, does it do it?  Or do you need to have been browsing
>>> around first?
>> 
>> Just re-run NetSurf with my home page www.bbc.co.uk and have tried two
>> saves of page location before doing anything else, and NetSurf vanished
>> again.

> It works fine here, for some reason.  Final straw clutch: where on the page
> are you clicking Menu, and does that make any difference?

Doesn't seem to, but of course I can't try all the possibilities.

 Should I just submit a logfile anyway?
>> 
>> Sorry, should have said bug report, and will do that.

> OK, thanks; I'll look at the logfile.

Sorry, perpetuated typo of mine. There isn't a logfile.

> IIRC, this (or a similar problem) has been reported before, and I couldn't
> reproduce it then either.

And Chris has reported this too. Aha! Just had a rush of blood to the 
brain cell: I've been doing the saves in today's directory of 
Transient, which is fairly deep in the directory hierarchy. I've tried 
now saving to a temporary directory in the root, and can save as many 
times as I like. As NetSurf obviously isn't at fault here, is it 
Transient or the filer that is causing the problem? In any case, the 
bug report can be closed, I think.

With best wishes,

Peter.

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



Re: Problem with "Save page location as text".

2011-10-11 Thread Dr Peter Young
On 11 Oct 2011  cj  wrote:

> In article <9c238b2052.pnyo...@pnyoung.ormail.co.uk>,
>Dr Peter Young  wrote:
>> Just re-run NetSurf with my home page www.bbc.co.uk and have tried
>> two saves of page location before doing anything else, and NetSurf
>> vanished again.

> I have tried and failed to reproduce this using this and other site.
> I am on r13025 and RISC OS 5.16 (Iyonix).

See my reply to Steve. It seems as if it's not NetSurf's fault after 
all.

With best wishes,

Peter.

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



Re: Problem with "Save page location as text".

2011-10-11 Thread cj
In article <9c238b2052.pnyo...@pnyoung.ormail.co.uk>,
   Dr Peter Young  wrote:
> Just re-run NetSurf with my home page www.bbc.co.uk and have tried
> two saves of page location before doing anything else, and NetSurf
> vanished again.

I have tried and failed to reproduce this using this and other site.
I am on r13025 and RISC OS 5.16 (Iyonix).

-- 
Chris Johnson



Re: Problem with "Save page location as text".

2011-10-11 Thread Steve Fryatt
On 11 Oct, Dr Peter Young wrote in message
<9c238b2052.pnyo...@pnyoung.ormail.co.uk>:

> On 11 Oct 2011  Steve Fryatt  wrote:
>
> > Hmm.  It doesn't here.  If you load NetSurf, go to a page, try that
> > action twice, does it do it?  Or do you need to have been browsing
> > around first?
> 
> Just re-run NetSurf with my home page www.bbc.co.uk and have tried two
> saves of page location before doing anything else, and NetSurf vanished
> again.

It works fine here, for some reason.  Final straw clutch: where on the page
are you clicking Menu, and does that make any difference?

> > > Should I just submit a logfile anyway?
> 
> Sorry, should have said bug report, and will do that.

OK, thanks; I'll look at the logfile.

IIRC, this (or a similar problem) has been reported before, and I couldn't
reproduce it then either.

-- 
Steve Fryatt - Leeds, England

http://www.stevefryatt.org.uk/



Re: Problem with "Save page location as text".

2011-10-11 Thread Dr Peter Young
On 11 Oct 2011  Steve Fryatt  wrote:

> On 11 Oct, Dr Peter Young wrote in message
> <9433842052.pnyo...@pnyoung.ormail.co.uk>:

>> This has become entirely predictable over the last few weeks, and has just
>> happened to me three times running. I haven't yet raised a bug report, as
>> by the nature of the problem there is no logfile to submit.
>> 
>> If I try twice in the same NetSurf session to do a save page location as
>> text, on the second attempt as soon as I slide the pointer off the arrow
>> in the "text" sub-menu, NetSurf just vanishes in an invisible puff of
>> smoke. Because it hasn't shut down properly, there's nothing relevant in
>> the logfile.

> Hmm.  It doesn't here.  If you load NetSurf, go to a page, try that action
> twice, does it do it?  Or do you need to have been browsing around first?

Just re-run NetSurf with my home page www.bbc.co.uk and have tried two 
saves of page location before doing anything else, and NetSurf 
vanished again.

>> Should I just submit a logfile anyway?

Sorry, should have said bug report, and will do that.

With best wishes,

Peter.

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



Re: Problem with "Save page location as text".

2011-10-11 Thread Steve Fryatt
On 11 Oct, Dr Peter Young wrote in message
<9433842052.pnyo...@pnyoung.ormail.co.uk>:

> This has become entirely predictable over the last few weeks, and has just
> happened to me three times running. I haven't yet raised a bug report, as
> by the nature of the problem there is no logfile to submit.
> 
> If I try twice in the same NetSurf session to do a save page location as
> text, on the second attempt as soon as I slide the pointer off the arrow
> in the "text" sub-menu, NetSurf just vanishes in an invisible puff of
> smoke. Because it hasn't shut down properly, there's nothing relevant in
> the logfile.

Hmm.  It doesn't here.  If you load NetSurf, go to a page, try that action
twice, does it do it?  Or do you need to have been browsing around first?

> Should I just submit a logfile anyway?

Please.

-- 
Steve Fryatt - Leeds, England

http://www.stevefryatt.org.uk/



Problem with "Save page location as text".

2011-10-11 Thread Dr Peter Young
This has become entirely predictable over the last few weeks, and has 
just happened to me three times running. I haven't yet raised a bug 
report, as by the nature of the problem there is no logfile to submit.

If I try twice in the same NetSurf session to do a save page location 
as text, on the second attempt as soon as I slide the pointer off the 
arrow in the "text" sub-menu, NetSurf just vanishes in an invisible 
puff of smoke. Because it hasn't shut down properly, there's nothing 
relevant in the logfile.

Should I just submit a logfile anyway?

This is on RISC OS 5.16, and currently with test build r13031.

With best wishes,

Peter.

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