jv-cunha / uml2django Goto Github PK
View Code? Open in Web Editor NEWGenerate Django code from Plantuml class diagrams
License: Other
Generate Django code from Plantuml class diagrams
License: Other
Got error:
Exception has occurred: FileNotFoundError
[Errno 2] No such file or directory: 'uml2django_output/svelte_app/src/tailwind.css'
File "/home/kolim/Projects/plantuml_django/uml2django/parsers/files/file_writer.py", line 14, in file_writer
with open(file_path, mode) as file:
File "/home/kolim/Projects/plantuml_django/uml2django/parsers/svelte/start_svelte_app.py", line 77, in start_svelte_app
file_writer(
File "/home/kolim/Projects/plantuml_django/test.py", line 10, in <module>
start_svelte_app()
added
mode = "w" if override else "a"
# try to create the src directory
os.makedirs(Path(file_path).parent, exist_ok=True)
with open(file_path, mode) as file:
Error line 90 start_svelte_app.py about filepath
Exception has occurred: FileNotFoundError
[Errno 2] No such file or directory: 'uml2django_output/svelte_app/src/routes/__layout.svelte'
File "/home/kolim/Projects/plantuml_django/uml2django/parsers/svelte/start_svelte_app.py", line 93, in start_svelte_app
shutil.copyfile(
File "/home/kolim/Projects/plantuml_django/test.py", line 10, in <module>
start_svelte_app()
added
os.remove(svelte_app_path_layout_path) if os.path.isfile(
svelte_app_path_layout_path) else None
# add makedirs
os.makedirs(Path(svelte_app_path_layout_path).parent)
Hope these will be helpful to others!
Did a git clone of repository as pypi seemed to have an older version
git clone https://github.com/J-hanks/uml2django.git
For debugging, I had to copy the src directory from the github directory at the same level as my test.py directory.
cp -r uml2django_github/src/uml2django .
Need to create a script to run plantuml, put this in ~/bin, make it executable and add ~/bin to path.
This can be done in ~/.profile
#! /bin/bash
# run the plantul jar file on command line
java -jar ~/bin/plantuml.jar $*
svelte needs npm!
sudo apt install npm -y
Is this not yet written?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.