Git Product home page Git Product logo

Comments (4)

Lucke0051 avatar Lucke0051 commented on August 26, 2024 1

It seems that the error is only triggered by items which are init.lua(u?) files. Rojo might be trying to write to the Directory/Folder rather than the init file?

Running as admin does not solve the issue.
I am not using Luau LSP.

I was using rojo 7.2.1, I swapped to 7.3.0, the issue is not resolved:

Output for 7.3.0:

Rojo server listening:
  Address: localhost
  Port:    34872

Visit http://localhost:34872/ in your browser for more information.
[ERROR rojo] Rojo crashed!
[ERROR rojo] This is probably a Rojo bug.
[ERROR rojo] 
[ERROR rojo] Please consider filing an issue: https://github.com/rojo-rbx/rojo/issues
[ERROR rojo] 
[ERROR rojo] Details: called `Result::unwrap()` on an `Err` value: Os { code: 5, kind: PermissionDenied, message: "Access is denied." }
[ERROR rojo] in file src\change_processor.rs on line 203
   0: <unknown>
   1: <unknown>
   2: <unknown>
   3: <unknown>
   4: <unknown>
   5: <unknown>
   6: <unknown>
   7: <unknown>
   8: <unknown>
   9: <unknown>
  10: <unknown>
  11: <unknown>
  12: <unknown>
  13: BaseThreadInitThunk
  14: RtlUserThreadStart

I cloned the master branch and made the .unwrap() which errors dismiss the error result. This seemed properly sync files except the init ones.

from rojo.

Dekkonot avatar Dekkonot commented on August 26, 2024

We can if nothing else change that error to indicate what file it's having difficulties writing to, but I'm not sure this is a bug. Can you try running Rojo as an admin just to confirm it isn't a permissions issue?

Also, are you by chance using Luau LSP in vscode and do you have Rojo 7.3.0?

from rojo.

Dekkonot avatar Dekkonot commented on August 26, 2024

Alrighty thank you, I'll take a look. I suspect you're probably right but we shall see.

from rojo.

raretendo avatar raretendo commented on August 26, 2024

I am experiencing a related issue with the latest version of rojo (7.4.1). This occurs just after I wrote changes to a server script (which is a .server.lua file in the file system) in studio and it attempted to sync

Rojo server listening:
  Address: localhost
  Port:    34872

Visit http://localhost:34872/ in your browser for more information.
[ERROR rojo] Rojo crashed!
[ERROR rojo] This is probably a Rojo bug.
[ERROR rojo] 
[ERROR rojo] Please consider filing an issue: https://github.com/rojo-rbx/rojo/issues
[ERROR rojo] 
[ERROR rojo] Details: called `Result::unwrap()` on an `Err` value: Os { code: 5, kind: PermissionDenied, message: "Access is denied." }
[ERROR rojo] in file src\change_processor.rs on line 229
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

from rojo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.