Giter VIP home page Giter VIP logo

Comments (9)

AlexDarigan avatar AlexDarigan commented on August 12, 2024

Is this causing any issues at the moment or only when you were first trying to do it?

from wat.

Grafcube avatar Grafcube commented on August 12, 2024

There aren't any noticeable problems right now. It just causes a hiccup when you try to add/modify anything that uses it. In the case of script templates, I couldn't use i.path and instead had to use script_templates_dir + "/" + i.name.

from wat.

AlexDarigan avatar AlexDarigan commented on August 12, 2024

This is odd. It seems to show up with one slash when printing the absolute path from line 27 for me.
Screenshot from 2019-12-28 10-43-07

The extra slash might be coming from somewhere else.

from wat.

AlexDarigan avatar AlexDarigan commented on August 12, 2024

(Also to be clear res/user is supposed to be a double slash).

from wat.

AlexDarigan avatar AlexDarigan commented on August 12, 2024

The extra slash you added when you were saving the WATTemplate was redundant since the script_templates directory ends with a forward slash.

from wat.

AlexDarigan avatar AlexDarigan commented on August 12, 2024

Okay. This is actually weird as hell. It shows differently from the print and the slash.

from wat.

AlexDarigan avatar AlexDarigan commented on August 12, 2024

Okay found the issue. You had placed a leading underscore at the wat_templates_dir string. So when you passed that directory to the filesystem.list method, then filesystem was adding an additional slash on top of the one you gave.

from wat.

Grafcube avatar Grafcube commented on August 12, 2024

Ah ok. That sort of explains the crash, the scene was looking for a path that didn't exist? I'm not entirely sure.

from wat.

AlexDarigan avatar AlexDarigan commented on August 12, 2024

Yeah the crash was the scene trying to look for testdirectorytestscript rather than testdirectory/testscript

from wat.

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.