Bug in code dir: opus/sys/modules/opus /json.lua #66

Closed
opened 2024-07-09 13:04:28 -04:00 by nohax955 · 4 comments
nohax955 commented 2024-07-09 13:04:28 -04:00 (Migrated from github.com)

there is no piece of code saying what the variable "path" on line 583 = so it bugs out and gives an error

there is no piece of code saying what the variable "path" on line 583 = so it bugs out and gives an error
NiftyNarwhal11 commented 2025-08-12 15:09:03 -04:00 (Migrated from github.com)

@nohax955 Could you try to either add a space here:
4104750539/sys/modules/opus/json.lua (L582)
json.decodeFromFile(path)
here----------------^
or add local before function json.decodeFromFile(path)
or change the variable path to something like pathToJson so it doesn't interfere with sys.path
.

@nohax955 Could you try to either add a space here: https://github.com/kepler155c/opus/blob/4104750539695affeb6518947b53ef0c5ba372fb/sys/modules/opus/json.lua#L582 json.decodeFromFile(path) here----------------^ or add `local` before `function json.decodeFromFile(path) ` or change the variable `path` to something like `pathToJson` so it doesn't interfere with sys.path .
Kan18 commented 2025-08-12 18:10:28 -04:00 (Migrated from github.com)

That will not fix anything, you just need to comment out this line 9b502553e0

That will not fix anything, you just need to comment out this line https://github.com/kepler155c/opus/pull/62/commits/9b502553e064635a27fff50c099151c68e29d824
NiftyNarwhal11 commented 2025-08-13 09:34:44 -04:00 (Migrated from github.com)

That will not fix anything, you just need to comment out this line 9b50255

That should work!

> That will not fix anything, you just need to comment out this line [9b50255](https://github.com/kepler155c/opus/commit/9b502553e064635a27fff50c099151c68e29d824) That should work!

Considered fixed as of commit 5775954

Considered fixed as of commit 5775954
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MayaTheShy/Opus#66