Coder Social home page Coder Social logo

Comments (14)

Kampfkarren avatar Kampfkarren commented on May 30, 2024

That's weird, can you record a video of you reproducing this?

from rbxlx-to-rojo.

Jaguar-515 avatar Jaguar-515 commented on May 30, 2024

Alright, will do.

from rbxlx-to-rojo.

Jaguar-515 avatar Jaguar-515 commented on May 30, 2024

image
Is an image ok? I don't want to reveal my real name for privacy reasons.

from rbxlx-to-rojo.

Kampfkarren avatar Kampfkarren commented on May 30, 2024

It's tough for me to help since I don't know what you're actually doing to select the folder. Can you screenshot what you're selecting before it crashes?

from rbxlx-to-rojo.

Jaguar-515 avatar Jaguar-515 commented on May 30, 2024

image
I am attempting to select this place.
image
I am attempting to select this folder.

from rbxlx-to-rojo.

Kampfkarren avatar Kampfkarren commented on May 30, 2024

If you create a src folder in the folder, does this still happen?

from rbxlx-to-rojo.

Jaguar-515 avatar Jaguar-515 commented on May 30, 2024

image
image
Yes.

from rbxlx-to-rojo.

Kampfkarren avatar Kampfkarren commented on May 30, 2024

That's super strange, it comes from this code:

fn finish_instructions(&mut self) {
let mut file = File::create(self.root.join("default.project.json"))
.expect("can't create default.project.json");
file.write_all(
&serde_json::to_string_pretty(&self.project)
.expect("couldn't serialize project")
.as_bytes(),
)
.expect("can't write project");
}

self.root uses the same path as self.source so writing to there SHOULD error first--I suppose there isn't anything in the src directory either, though?

Also, I'm assuming the place file actually has scripts inside it?

from rbxlx-to-rojo.

Jaguar-515 avatar Jaguar-515 commented on May 30, 2024

The place file does not have any scripts inside it.
image

from rbxlx-to-rojo.

Kampfkarren avatar Kampfkarren commented on May 30, 2024

That might be why. It's still weird that happens since there's tests to make sure that empty places work, but can you check if it works with places with scripts for you? For the time being, rbxlx-to-rojo is only useful for places with scripts anyhow.

from rbxlx-to-rojo.

Jaguar-515 avatar Jaguar-515 commented on May 30, 2024

Alright, I'll do that.

from rbxlx-to-rojo.

Jaguar-515 avatar Jaguar-515 commented on May 30, 2024

It works with places with scripts.
Oddly, it doesn't work with places without scripts.
image

from rbxlx-to-rojo.

Kampfkarren avatar Kampfkarren commented on May 30, 2024

It's strange that this happens, but it's not a huge priority for me since you shouldn't be using this with places without scripts right now anyway.

If you're starting a place fresh, just learn how to setup Rojo on your own.

from rbxlx-to-rojo.

Jaguar-515 avatar Jaguar-515 commented on May 30, 2024

Alright.
I already know how to setup Rojo on my own.

from rbxlx-to-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.