Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Error: ENOENT: no such file or directory, open '~/.local/share/Tabletop Simulator/Mods/W... #143

Open
xavier-at-github opened this issue Jun 2, 2021 · 0 comments

Comments

@xavier-at-github
Copy link

[Enter steps to reproduce:
This is with Linux Mint installed with Steam.
I looked in the path and see that the file is located down one more directory
"T9A X Mod"
So the actual path should be
/home/xavier/.local/share/Tabletop Simulator/Mods/Workshop/T9A X Mod/2212460821.json'

I have not made any changes to TTS or the path these are all default settings. I have been getting this error since I created the Mod but only now was able to trace it using Atom.

In my workspace in TTS I have a directory called "T9A X Mod" where the mod lives. I suspect that is how the issue arose. I belie I made the Mod first then used the TTS UI to move the mode to a sub directory

  1. ...
  2. ...

Atom: 1.56.0 x64
Electron: 9.4.4
OS: Linux Mint
Thrown From: tabletopsimulator-lua package 13.1.1

Stack Trace

Uncaught Error: ENOENT: no such file or directory, open '/home/xavier/.local/share/Tabletop Simulator/Mods/Workshop/2212460821.json'

At internal/fs/utils.js:220

Error: ENOENT: no such file or directory, open '/home/xavier/.local/share/Tabletop Simulator/Mods/Workshop/2212460821.json'
    at Object.openSync (fs.js:440:3)
    at Object.func [as openSync] (electron/js2c/asar.js:140:31)
    at Object.readFileSync (fs.js:342:35)
    at Object.fs.readFileSync (electron/js2c/asar.js:542:40)
    at Object.parseSavePath (/packages/tabletopsimulator-lua/lib/tabletopsimulator-lua.coffee:1867:26)
    at handleMessage (/packages/tabletopsimulator-lua/lib/tabletopsimulator-lua.coffee:1887:12)
    at /packages/tabletopsimulator-lua/lib/tabletopsimulator-lua.coffee:2114:9)
    at Socket.emit (events.js:223:5)
    at addChunk (_stream_readable.js:309:12)
    at readableAddChunk (_stream_readable.js:290:11)
    at Socket.Readable.push (_stream_readable.js:224:10)
    at TCP.onStreamRead (internal/stream_base_commons.js:181:23)

Commands

Non-Core Packages

Dev undefined 
tabletopsimulator-lua 13.1.1 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant