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

Data pane demo fails to execute #86

Open
genedan opened this issue Jan 21, 2023 · 0 comments
Open

Data pane demo fails to execute #86

genedan opened this issue Jan 21, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@genedan
Copy link
Collaborator

genedan commented Jan 21, 2023

Traceback (most recent call last):
  File "/usr/lib/python3.10/code.py", line 90, in runcode
    exec(code, self.locals)
  File "<input>", line 9, in <module>
  File "/home/ubuntu/FASLR/faslr/data.py", line 133, in __init__
    self.data_model = ProjectDataModel(parent=self)
  File "/home/ubuntu/FASLR/faslr/data.py", line 849, in __init__
    fc = FaslrConnection(db_path=self.parent.main_window.db)
AttributeError: 'NoneType' object has no attribute 'db'

These demos should work out of the box. Current plan would be to amend the demo to launch the sample db and use that as the backend. This should not interfere or delete any databases the user may have already created, so some code should check for that as well.

@genedan genedan added the bug Something isn't working label Jan 21, 2023
@genedan genedan self-assigned this Jan 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant