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

Automatically fix paths that contain elipses #5

Closed
1 task
Poikilos opened this issue Mar 13, 2020 · 0 comments
Closed
1 task

Automatically fix paths that contain elipses #5

Poikilos opened this issue Mar 13, 2020 · 0 comments

Comments

@Poikilos
Copy link
Owner

Poikilos commented Mar 13, 2020

2020-03-06 09:53:52: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'tsm_pyramids' in callback LuaABM::trigger(): ...n/../games/ENLIVEN/mods/codercore/tsm_pyramids/mummy.lua:398: attempt to index a nil value
2020-03-06 09:53:52: ERROR[Main]: stack traceback:
2020-03-06 09:53:52: ERROR[Main]:       ...n/../games/ENLIVEN/mods/codercore/tsm_pyramids/mummy.lua:398: in function <...n/../games/ENLIVEN/mods/codercore/tsm_pyramids/mummy.lua:391>

These paths are theoretically fixable. Possible solutions:

  • Collect valid paths from other parts of the log (not shown above).
  • [-] Use some hard-coded locations (This would not be good, since could be a different copy of the program).
  • Use the location of the output file itself.
    • This would be negated by piping (only if Accept standard input #2 is implemented), unless there is some way to get the location of the executable or script from which piping is occurring, or:
      • Allow a param for the directory containing source files to which error output refers.

The fix can occur during the analysis phase (before double-clicking the lines, outputinspector stores the path and other parameters as user data in the actual list item object).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant