There might be some security feature of catalina that is affecting you. The
file you are trying to access looks to be in your user folder.

Assuming your J starts with the current directory as your user folder then
you could try:

freadblock 'Documents/OrderInserted.txt';0




On Mon, Oct 14, 2019 at 10:26 AM Eric Iverson <[email protected]>
wrote:

> A few quick ideas.
>
> The failure is on 1!:4 (which is fsize). The same fsize code worked in
> your test with file.txt. This might imply there is something wrong with the
> particular file that fails.
>
> Try with a few other other files and try simpler and different ways of
> accessing OrderInserted.txt. For example, does fread work. Can you load
> that file in the mac text edit app.
>
> I think this is more likely a problem with that file, than with catalina.
>
>
> On Mon, Oct 14, 2019 at 5:14 AM Pablo Landherr <[email protected]>
> wrote:
>
>> JVERSION
>> Engine: j807/j64/darwin
>> Release-d: commercial/2019-03-18T16:07:14
>> Library: 8.07.26
>> Qt IDE: 1.7.10/5.9.8
>> Platform: Darwin 64
>> Installer: J807 install
>> InstallPath: /applications/j64-807
>> Contact: www.jsoftware.com
>>
>> Whenever I try to read existing files (which I could the other day) I get:
>>
>>    freadblock '/Volumes/Macintosh
>> HD/Users/pla/Documents/OrderInserted.txt';0
>> |interface error: freadblock
>> | s=. 1!:4<f
>>
>> But this works
>>
>>   'Test text' fappends 'file.txt'
>> 10
>> freadblock 'file.txt';0
>> ┌──────────┬──┐
>> │Test text │10│
>> └──────────┴──┘
>> ferase 'file.txt'
>> 1
>>
>> Is there a known issue with Catalina? What is my best course of action?
>>
>> Kind regards,
>> Pablo Landherr
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to