2
19
Fork
You've already forked array
3

use() does not open file after changing working directory #42

Open
opened 2025年11月26日 13:32:13 +01:00 by kapitaali · 1 comment
Contributor
Copy link

tried the following with my both laptops:

have a subdir with script.kap file in it

 ]cd /home/user/.../subdir
Changed working directory to: /home/user/.../subdir
 use("script.kap") 
Error at: 1:1: Error loading file: script.kap: java.io.FileNotFoundException: script.kap (No such file or directory)
 use("./script.kap") 
Error at: 1:1: Error loading file: ./script.kap: java.io.FileNotFoundException: ./script.kap (No such file or directory)

however, I am able to do

"testing-dir" io:write "1 2 3 test"

and I will find testing-dir in subdir

tried the following with my both laptops: have a subdir with script.kap file in it ``` ]cd /home/user/.../subdir Changed working directory to: /home/user/.../subdir use("script.kap") Error at: 1:1: Error loading file: script.kap: java.io.FileNotFoundException: script.kap (No such file or directory) use("./script.kap") Error at: 1:1: Error loading file: ./script.kap: java.io.FileNotFoundException: ./script.kap (No such file or directory) ``` however, I am able to do ``` "testing-dir" io:write "1 2 3 test" ``` and I will find testing-dir in subdir
Owner
Copy link

Should be fixed by 57cfd1d47c

Should be fixed by 57cfd1d47c774a3d830c2a278e47856ee83c2306
Sign in to join this conversation.
No Branch/Tag specified
master
jdk25
tmp-generic-window-management
experiment-assign-to-function-expression
feature-error-highlight
feature-mosaic-ui
feature-sdl
feature-rationalise-reduced
adaptive-experiment
bugfix-linux-charconversions
vector-ops
vector-jvm
sane-reduce
formatter
bitarrays
array-builder
jvm-android-split-new
nested-function-calls-bug
multi-dimensional-string-formatting
ride-impl
codeberg-test
jvm-android-split
libreoffice-module-classloader
optimise-single-element-array
parser-callbacks
new-jline-completion
java-readline
test-tools
int-list-opt
linux-ffi
ffi
isqrt
inter-thread-datatransfer
metadata-highlight
numeric-total-ordering
libreoffice
langbar-javafx
port-mpbignum-to-wasmjs
aesh-test
zero-parser
java21
fxcontrols-spreadsheet-fork
javafx-reporting
new-http
new-optimiser
sixel-renderer
native-input
lambda-scope
custom-renderer
formatter-test
local-functions-fix
kap-rational
bigint2
bigint
reporting
dynamic-assign
structure-viewer2
return-impl
escape-analysis
fork-new-syntax
structural-under
axis-eval
binomial-impl
new-enclose
short-fn-definition
compose-impl
specialised-arrays
ops
domino
clientweb
lcm
gui-experiments
suspend
thread-support
closures_wip
inner-join
maths_axis
keyboard
resultlist3
error-locations
axis-work
No results found.
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
loke/array#42
Reference in a new issue
loke/array
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?