Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Builds can't run because corrupt PYNQBuild.xml #38

Open
lukecanny opened this issue Nov 17, 2024 · 0 comments
Open

Builds can't run because corrupt PYNQBuild.xml #38

lukecanny opened this issue Nov 17, 2024 · 0 comments

Comments

@lukecanny
Copy link
Member

There is some error handling to print issue to command prompt but nothing tells the user that there is an issue.

Microsoft Windows [Version 10.0.19044.3086]
(c) Microsoft Corporation. All rights reserved.

C:\Users\FEARG>SOCBUILDER.BAT

C:\Users\FEARG>cd C:\A_logicademy\SoCBuilderApp\PYNQ-SoC-Builder

C:\A_logicademy\SoCBuilderApp\PYNQ-SoC-Builder>python main.py
400.0
Current appearance mode: Dark
Current appearance mode: Dark
Current branch: master
Could not auto-update project, please do manually or re-clone from Github.com/Logicademy/PYNQ-SoC-Builder - Cmd('git') failed due to: exit code(128)
  cmdline: git fetch -v -- origin
  stderr: 'fatal: unable to access 'https://github.com/Logicademy/PYNQ-SoC-Builder.git/': Could not resolve host: github.com'
PYNQ Build Folder Exists
PYNQ Build Config XML Exists
is hdl_is+modified? = False
Error: File C:/RISCV_PCCU/RISCV_PCCU/VHDL/model/RISCV_PCCU.original not found.
Error: Backup file not found.
Adding new key to dictionary board with value PYNQ Z2
Loaded the following proj config from file:
{'open_viv_gui': True, 'keep_viv_opn': False, 'gen_jnb': True, 'use_tstpln': True, 'use_board_io': True, 'regen_bd': True, 'board': 'PYNQ Z2'}
True
Loaded internal signal config: []
led0 count 0
led1 load 0
led2 ce 0
led3 countPlus4 2
Loaded the following io config from file:
{'led0': ['count', 0], 'led1': ['load', 0], 'led2': ['ce', 0], 'led3': ['countPlus4', 2], 'led4b': 'None', 'led4g': 'None', 'led4r': 'None', 'led5b': 'None', 'led5g': 'None', 'led5r': 'None', 'sw0': 'None', 'sw1': 'None', 'btn0': 'None', 'btn1': 'None', 'btn2': 'None', 'btn3': 'None'}
Loaded internal signal config: []
Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Users\FEARG\AppData\Local\Programs\Python\Python310\lib\tkinter\_init.py", line 1921, in __call_
    return self.func(*args)
  File "C:\Users\FEARG\AppData\Local\Programs\Python\Python310\lib\site-packages\customtkinter\windows\widgets\ctk_button.py", line 554, in _clicked
    self._command()
  File "C:\A_logicademy\SoCBuilderApp\PYNQ-SoC-Builder\application\gui\open_project.py", line 74, in browse_projects
    self.app.show_page(self.app.page1)               # Proceed to main menu
  File "C:\A_logicademy\SoCBuilderApp\PYNQ-SoC-Builder\main.py", line 76, in show_page
    page.show() # Show requested page.
  File "C:\A_logicademy\SoCBuilderApp\PYNQ-SoC-Builder\application\gui\main_menu.py", line 318, in show
    self.load_project()
  File "C:\A_logicademy\SoCBuilderApp\PYNQ-SoC-Builder\application\gui\main_menu.py", line 332, in load_project
    self.configMenu.load_project()
  File "C:\A_logicademy\SoCBuilderApp\PYNQ-SoC-Builder\application\gui\main_menu.py", line 238, in load_project
    self.tab_view.load_project()
  File "C:\A_logicademy\SoCBuilderApp\PYNQ-SoC-Builder\application\gui\project_config_menu.py", line 217, in load_project
    self.ioconfigpage.load_project()
  File "C:\A_logicademy\SoCBuilderApp\PYNQ-SoC-Builder\application\gui\project_config_menu.py", line 1082, in load_project
    if signal_dictionary[config[0]] > 1:           # This check is incorrect and needs to be changed.....how?
KeyError: 'count'
resize event: <Configure event x=0 y=0 width=1200 height=800>
Event calculation: 445.0
io_optionbox_handler: signal - , io - led0
Forgot box
Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Users\FEARG\AppData\Local\Programs\Python\Python310\lib\tkinter\_init.py", line 1921, in __call_
    return self.func(*args)
  File "C:\Users\FEARG\AppData\Local\Programs\Python\Python310\lib\site-packages\customtkinter\windows\widgets\core_widget_classes\dropdown_menu.py", line 101, in <lambda>
    command=lambda v=value: self._button_callback(v),
  File "C:\Users\FEARG\AppData\Local\Programs\Python\Python310\lib\site-packages\customtkinter\windows\widgets\core_widget_classes\dropdown_menu.py", line 106, in _button_callback
    self._command(value)
  File "C:\Users\FEARG\AppData\Local\Programs\Python\Python310\lib\site-packages\customtkinter\windows\widgets\ctk_optionmenu.py", line 385, in _dropdown_callback
    self._command(self._current_value)
  File "C:\A_logicademy\SoCBuilderApp\PYNQ-SoC-Builder\application\gui\project_config_menu.py", line 694, in <lambda>
    self.led0_dropdown = ctk.CTkOptionMenu(self.RHS_frame, font=self.switch_font, variable=ctk.StringVar(), width=200, command=lambda signal, io="led0": self.io_optionbox_handler(signal, io))
  File "C:\A_logicademy\SoCBuilderApp\PYNQ-SoC-Builder\application\gui\project_config_menu.py", line 1327, in io_optionbox_handler
    if self.output_dropdown_dict[signal] > 1:
KeyError: ''
{}
Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Users\FEARG\AppData\Local\Programs\Python\Python310\lib\tkinter\_init.py", line 1921, in __call_
    return self.func(*args)
  File "C:\Users\FEARG\AppData\Local\Programs\Python\Python310\lib\site-packages\customtkinter\windows\widgets\ctk_button.py", line 554, in _clicked
    self._command()
  File "C:\A_logicademy\SoCBuilderApp\PYNQ-SoC-Builder\application\gui\main_menu.py", line 185, in run_build
    self.hdlgen_prj.build_project()
AttributeError: 'SidebarMenu' object has no attribute 'hdlgen_prj'
resize event: <Configure event x=0 y=0 width=1920 height=1017>
Event calculation: 805.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant