dev-tarek / sketched-webpages-generator Goto Github PK
View Code? Open in Web Editor NEWCustomizable open-source software to generate randomized sketched web-pages.
License: MIT License
Customizable open-source software to generate randomized sketched web-pages.
License: MIT License
i run the code with python Main.py -n 10
in fedora 36 and and i got
Traceback (most recent call last):
File "/home/ala/Desktop/sketched-webpages-generator/Main.py", line 223, in <module>
generateDataset(KEEP_INTERMEDIATE_OUTPUTS=args.intermediate,
File "/home/ala/Desktop/sketched-webpages-generator/Main.py", line 155, in generateDataset
compileDSL(GENERATOR_OUTPUT_PATH + fileName + '_0.dsl')
File "/home/ala/Desktop/sketched-webpages-generator/Compiler/WebCompiler.py", line 51, in compileDSL
compiler.compile(input_file_path, output_file_path, rendering_function=render_content_with_text)
File "/home/ala/Desktop/sketched-webpages-generator/Compiler/classes/Compiler.py", line 46, in compile
output_html += self.root.render(self.dsl_mapping, rendering_function=rendering_function)
File "/home/ala/Desktop/sketched-webpages-generator/Compiler/classes/Node.py", line 34, in render
content += child.render(mapping, rendering_function)
File "/home/ala/Desktop/sketched-webpages-generator/Compiler/classes/Node.py", line 36, in render
value = mapping[self.key]
KeyError: 'navba'
and i also made change in Render.py
self.driver = webdriver.PhantomJS()
to
self.driver = webdriver.Chrome()
so what is the problem ??
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.