octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #61080] GUI Editor cannot handle network paths


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #61080] GUI Editor cannot handle network paths
Date: Wed, 25 Aug 2021 14:13:22 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #5, bug #61080 (project octave):

Thanks gentlemen for picking up so promptly.

@jwe comment #3:
Using the full path works fine. Sorry for not mentioning immediately, I did
try that.


@ comment #2:
> ...assigned the drive letter "T:" to the network share
"\\waternet.local\Totaal".
Correct, our IT dept did.
>But the dialog says that the file `...\Digitaliseren_boringen\showcrs`
doesn't exist (which presumably is correct).
Correct. It's not so odd if one realizes that Octave's working directory was
'...\Digitaliseren_boringen'; I guess the GUI editor, not being able to follow
the canonical path to where showcrs.m lives (just including 'm-files\ML\' in
between), figured it should live in the present working directory then.


@ comment #4:
(Below verbatim block hand-typed, I can't copy from a remote desktop to local 
(security) and Savannah is blocked at work)

>> file_in_path (path (), 'showcrs.m')
ans = 
>>


> Does one of the following commands (or both) open the editor with the file
for you?
>     __event_manager_edit_file__ ('\\waternet.local\Totaal\TOP\Projecten
OA\23 Hydrologie Bronnen\Hy
Aktief\Philip\Digitaliseren_boringen\m-files\ML\showcrs.m')
That one works;

>     __event_manager_edit_file__ ('T:\TOP\Projecten OA\23 Hydrologie
Bronnen\Hy Aktief\Philip\Digitaliseren_boringen\m-files\ML\showcrs.m')
Works as well.

> (I hope I don't have a typo somewhere in that path...)
You've done a remarkable job :-)

[OT]
Yeah at work we have some ridiculously long paths; the above aren't quite the
worst. And that's after we stubbornly dropped a few intermediate subdirs that
some overhead depts. insisted were required because of the way yet other
departments set up their projects (uniformity is a goal in itself these
days).
Windows' 256 bytes (or characters?) file path limit is looming at all times
... :-)


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61080>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]