-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
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 ??
Metadata
Metadata
Assignees
Labels
No labels