question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Manedit don't detect projects although the directory exists

See original GitHub issue

Hey, it’s me again, sorry for opening so many issues in such a shot period of time! I’m still working on the same project, but this time I updated to manedit 0.3.4.

Unlike v0.3.3, it doesn’t find created projects in the main “Project Selection” page, but detects that a project already exists when we want to create a project with the same name.

Steps to reproduce:

  • Code a project,
  • manim --save_sections hsf.py,
  • In manedit v0.3.4: create a project named for example HSF,
  • Once the project is populated, you end up in the Project Selection page. On v0.3.3 you see HSF, but v0.3.4 says No project was found in the CWD; you can change the CWD or create a new project., (the directory HSF exists in the CWD),
  • Go to create new project, name it HSF, you get: The project name 'HSF' points to a filled directory. If this is a project, you can open it instead.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
clementpoiretcommented, Nov 23, 2021

Amazing! 😄 I tried and it works as expected.

Thanks for your reactivity and the explanation!

0reactions
christopher-beschcommented, Nov 22, 2021

I managed to reproduce the problem and fixed it. Could you check v0.3.5 and see if it’s still there? Feel free to close the issue when everything is resolved.

And don’t sorry for opening many issues; this kind of feedback is exactly what I need. Thanks a lot again!

PS: If you’re interested in knowing what caused this: I’m using JSON Schema files to check if a project.json really belongs to a Manim Editor project. These schemas contain information on how the different fields in the JSON should look like. You can create these schema files from an example JSON, which I’ve done. The problem was that the duration of all sections in that example were integers. So the Schema set that as the type for the duration parameter. Your example has a float somewhere though, so it just refused to load.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I check if a directory exists in a Bash shell script?
To check if a directory exists: if [ -d "$DIRECTORY" ]; then echo "$DIRECTORY does exist." fi. To check if a directory does...
Read more >
Check if a directory exists in Linux or Unix shell - nixCraft
One can check if a directory exists in a Linux shell script using the following syntax: [ -d "/path/dir/" ] && echo "Directory...
Read more >
Working With Files - Gradle User Manual
This docs directory doesn't exist in the source location, so you have to create it ... Relative paths are resolved relative to the...
Read more >
Solved: TailFile cannot find directory/file which exists
I am getting an error with my TailFile processor saying that it cannot ingest cause the directory doesn't exist (and it does, believe...
Read more >
Directory — Godot Engine (stable) documentation in English
Type used to handle the filesystem. Directory type. It is used to manage directories and their content (not restricted to the project folder)....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found