The problem isn't specific to jqt, but also seen in jconsole and even
regular DOS commands.

For example, I created a "c:\my drive" with the exact same file as in
"g:\my drive". Then in a command shell, ordinary commands like "dir" and
"type" do not work properly:

E:\>dir "c:\my drive"
 Volume in drive C has no label.
 Volume Serial Number is 1CBA-33B6

 Directory of c:\my drive

2018-01-31  03:02 PM    <DIR>          .
2018-01-31  03:02 PM    <DIR>          ..
2018-01-31  03:00 PM                11 t1.ijs
               1 File(s)             11 bytes
               2 Dir(s)  51,331,174,400 bytes free

E:\>dir "g:\my drive"
 Volume in drive G is Google Drive File Stream
 Volume Serial Number is 1983-1116

 Directory of g:\

2018-01-31  01:39 PM    <DIR>          My Drive
               0 File(s)              0 bytes
               1 Dir(s)  32,176,885,760 bytes free

E:\>type "c:\my drive\t1.ijs"

A=: 123

E:\>type "g:\my drive\t1.ijs"
The system cannot find the path specified.

... but the file is there in g:

E:\>g:

G:\>cd my drive

G:\My Drive>type t1.ijs

A=: 123


On Wed, Jan 31, 2018 at 2:00 PM, Raul Miller <[email protected]> wrote:

> I have seen similar behavior when trying to read from device files.
>
> In that case, the reported size of the content was zero, but reading
> from the file would nevertheless produce results (and, in some cases,
> eventually one would encounter an end of file).
>
> I don't have a google drive setup active right now, to verify this.
> But a quick web search shows people using roundabout mechanisms to
> determine the size of files in google drive, so this seems a likely
> issue.
>
> --
> Raul
>
>
> On Wed, Jan 31, 2018 at 4:45 PM, chris burke <[email protected]> wrote:
> > Thanks, I can duplicate this and will take a look.  I can see files in g:
> > using dir in J, but cannot open them.
> >
> > I have never used Google Drive Stream before so would appreciate any
> > suggestions as to what might be going wrong.
> >
> > On Wed, Jan 31, 2018 at 1:12 PM, Skip Cave <[email protected]>
> wrote:
> >
> >> All,
> >>
> >> I have several projects I am working on, and I frequently use different
> >> machines to work on the same project. I want to keep the J code files
> in a
> >> cloud-based folder, so I can access the files from any device. However,
> it
> >> looks like he JQt editor has a bug that prevents it from accessing
> >> cloud-based files.
> >>
> >> I keep my files and folders in Google Drive Stream, which Google has
> >> designed to work like a local G: drive on all my machines. With all my
> >> other apps (Word, Acrobat, etc.) l can navigate to the G: drive file,
> >> double-click the file, and the file will open in the application. Google
> >> essentially proxies the cloud-based files on my local machines, so when
> I
> >> double-click on the file name, File Stream downloads the file, and
> presents
> >> it to the application to be opened.
> >>
> >> However, when I use the J806 editor to navigate to the J code folder in
> >> drive G:, I can open the folder, and double-click the .ijs file, but
> >> NOTHING HAPPENS.  The file won't load into the J interpreter. I have
> tried
> >> various machines (all Windows 10), and they all have the same problem.
> >>
> >> Is there any way to fix this? Am I doing something wrong? Do I need to
> set
> >> a default path?
> >>
> >>
> >> Skip Cave
> >> Cave Consulting LLC
> >> ----------------------------------------------------------------------
> >> 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
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to