Some further clues. I now think it's something with the directories that's keeping J out. Before, I had copied the entire directory from one HD to another without any improvement. Now I copied one file (OrderInserted.txt) from a "locked" directory to an "open" one and from there J could read it just fine. So, the files are probably not the problem, but how I make the directories let J in, I don't know. Any tip you can offer would be appreciated.
Thx, On Tue, Oct 15, 2019 at 11:09 AM Pablo Landherr <[email protected]> wrote: > Thanks for looking into this for me. Trying your suggestions results in > the following: > > Yes, all files I try can be opened with the Mac's text edit app and they > look fine. All the files were from before the upgrade and I had used J > extensively to read them without any problems at all. > > When I start Jqt it appears to be in /volumes/Macintosh > HD/Applications/j64-807/ and when I try to use fdir to look at contents in > Documents (as you can see below) I don't get anything. So in a way you seem > to be right: Catalina doesn't allow J to read any files not created by J or > certain directories. But this problem is new to me and coincides with > upgrading to Catalina. I have looked at security settings and think I've > given J access to "everything, everywhere". But the problem persists. > > Thanks for any help you can provide, > Pablo Landherr > > load '/users/pla/j64-807-user/projects/cogito/run.ijs' > > dp2016_sub > > /VOLUMES/Pablo-1TB/captured/nasdaq/nordic_sub/ > > x=:fread (dp2016_sub,'OrderInserted.txt');0 100 > > x > > _1 > > fsize dp2016_sub,'OrderInserted.txt' > > _1 > > fdir '*.*' > > ┌──────────────────┬───────────────────┬────┬───┬──────┬──────────┐ > > │jbrk.app │2019 3 20 20 55 46 │96 │rwx│----d-│drwxr-xr-x│ > > ├──────────────────┼───────────────────┼────┼───┼──────┼──────────┤ > > │.DS_Store │2019 10 10 11 38 16│6148│rw-│-h----│-rw-r--r--│ > > ├──────────────────┼───────────────────┼────┼───┼──────┼──────────┤ > > │updatejqt.sh │2019 3 20 20 55 48 │153 │rwx│------│-rwxr-xr-x│ > > ├──────────────────┼───────────────────┼────┼───┼──────┼──────────┤ > > │readme.txt │2019 3 20 20 55 48 │474 │rw-│------│-rw-r--r--│ > > ├──────────────────┼───────────────────┼────┼───┼──────┼──────────┤ > > │sierra-fix.command│2019 3 20 20 55 48 │473 │rwx│------│-rwxr-xr-x│ > > ├──────────────────┼───────────────────┼────┼───┼──────┼──────────┤ > > │jhs.app │2019 3 20 20 55 46 │96 │rwx│----d-│drwxr-xr-x│ > > ├──────────────────┼───────────────────┼────┼───┼──────┼──────────┤ > > │jcon.app │2019 3 20 20 55 46 │96 │rwx│----d-│drwxr-xr-x│ > > ├──────────────────┼───────────────────┼────┼───┼──────┼──────────┤ > > │jqt.app │2019 3 20 20 55 46 │96 │rwx│----d-│drwxr-xr-x│ > > └──────────────────┴───────────────────┴────┴───┴──────┴──────────┘ > > fdir '/volumes/*.*' > > fdir '/volumes/Pablo-1TB/*.*' > > fdir '/volumes/Pablo-1TB/captured/*.*' > > fdir '/volumes/Pablo-1TB/captured/nasdaq/*.*' > > fdir '/volumes/Pablo-1TB/captured/nasdaq/nordic_sub/*.*' > > fdir '/volumes/Macintosh HD/*.*' > > ┌──────────┬───────────────────┬─────┬───┬──────┬──────────┐ > > │.DS_Store │2019 8 25 0 20 44 │0 │r--│rh----│-rw-rw-r--│ > > ├──────────┼───────────────────┼─────┼───┼──────┼──────────┤ > > │.file │2019 8 25 0 20 45 │0 │---│-h----│----------│ > > ├──────────┼───────────────────┼─────┼───┼──────┼──────────┤ > > │.fseventsd│2019 10 10 10 48 16│10528│---│-h--d-│drwx------│ > > ├──────────┼───────────────────┼─────┼───┼──────┼──────────┤ > > │.vol │2019 8 25 0 20 22 │64 │r-x│rh--d-│drwxr-xr-x│ > > └──────────┴───────────────────┴─────┴───┴──────┴──────────┘ > > fdir '/volumes/Macintosh HD/users/*.*' > > ┌──────────┬─────────────────┬─┬───┬──────┬──────────┐ > > │.localized│2019 8 26 2 26 29│0│r--│rh----│-rw-r--r--│ > > └──────────┴─────────────────┴─┴───┴──────┴──────────┘ > > 3{.fdir '/volumes/Macintosh HD/users/pla/*.*' > > ┌───────────────┬───────────────────┬──────┬───┬──────┬──────────┐ > > │.jhistory │2019 10 10 11 37 41│0 │rw-│-h----│-rw-------│ > > ├───────────────┼───────────────────┼──────┼───┼──────┼──────────┤ > > │.condarc │2019 4 17 15 32 56 │40 │rw-│-h----│-rw-r--r--│ > > ├───────────────┼───────────────────┼──────┼───┼──────┼──────────┤ > > │Exercises.ipynb│2019 5 21 10 44 54 │275392│rw-│------│-rw-r--r--│ > > └───────────────┴───────────────────┴──────┴───┴──────┴──────────┘ > > 3{.fdir '/volumes/Macintosh HD/users/pla/Documents/*.*' > > ┌┬┬┬┬┬┐ > > │││││││ > > ├┼┼┼┼┼┤ > > │││││││ > > ├┼┼┼┼┼┤ > > │││││││ > > └┴┴┴┴┴┘ > > > On Mon, Oct 14, 2019 at 5:15 PM Eric Iverson <[email protected]> > wrote: > >> 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 >> > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
