You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ??
The text was updated successfully, but these errors were encountered:
sorry I haven't been working on this project for a while.
have you been able to solve this yet? I can see you have a key error "navba" which probably meant to be "navbar", ensure it's correct in the mapping and DSL files
i run the code with
python Main.py -n 10
in fedora 36 and and i gotand i also made change in Render.py
self.driver = webdriver.PhantomJS()
to
self.driver = webdriver.Chrome()
so what is the problem ??
The text was updated successfully, but these errors were encountered: