HaxeFoundation / HaxeFoundation/as3hx

Uncaught exception - std@sys_read_dir (closed solution does not work for me)

Open
#48 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haxe
Stars
180
Forks
52
PR merge metrics
No merged PRs in 30d

Description

Almost exactly the same setup as https://github.com/HaxeFoundation/as3hx/issues/46

```
neko run.n source/as3/ out/
Called from sys.io.FileOutput::$statics line 1
Called from Run::main line 102
Called from Run::loop line 33
Called from sys.FileSystem::readDirectory line 85
Uncaught exception - std@sys_read_dir
```

I tried to leave out the out/ I get:

```
Usage: as3tohx [options] sourceDir [outdir]
Options:
-no-cast-guess as3tohx will not try to handle MyClass(obj) casts
-no-func2dyn will not change Function types to Dynamic
-uint2int transforms all uint to Int
-vector2array will convert Vectors to haxe Arrays
-debug-expr will output debug information
-debug-inferred-type will output inferred type debug information
-convert-flexunit will convert FlexUnit metadata and calls to munit form
outdir defaults to './out'
```

Do you know any other solution that could help? When I use the haxelib released version (1.0.2) it works.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce `neko run.n source/as3/ out/` and compare it with the working haxelib 1.0.2 version. Start with the `Run::main`, `Run::loop`, and `sys.FileSystem::readDirectory` locations shown in the traceback, then determine why the checked-out version fails while the released version succeeds. Done means the reported conversion command runs successfully with the stated inputs.

Written by the indexing model from the issue text.

Assessment

Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.