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

Fix sqlite error field not found #178

Merged
merged 1 commit into from
May 1, 2024
Merged

Conversation

rglonek
Copy link
Contributor

@rglonek rglonek commented Jan 4, 2024

Incorrect field names degined in Param section for model.

Incorrect field names degined in Param section for model.
@thombashi
Copy link
Owner

@rglonek
Could you explain why you thought those are incorrect field names?

@rglonek
Copy link
Contributor Author

rglonek commented Jan 31, 2024

Ok, I think I am loosing my mind now. Previously when I tried to install this on a barebones docker container, it would show me an sqlite error field not found. a trace shown that the field names themselves were not accepted as valid by the sqlite module. I cannot replicate this now. I'll try to follow the steps I did last time exactly but at this stage I am pretty shocked it works when before it didn't, considering nothing changed.

@rglonek
Copy link
Contributor Author

rglonek commented Mar 20, 2024

@thombashi
I can confirm, I do get this before the change to the name:

[INFO] delete enp0s3 qdisc
[INFO] delete enp0s3 ingress qdisc
[INFO] delete enp0s3 ifb device (ifb4618)
$ tcset enp0s3 --direction outgoing --src-port 3001  --rate 5Mbps --delay 150 --delay-distro 1
$ tcset enp0s3 --add --direction outgoing --src-port 27017 --rate 5Mbps  --delay 30  --delay-distro 4
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/simplesqlite/core.py", line 349, in execute_query
    result = self.connection.execute(str(query))
sqlite3.OperationalError: no such column: dst-network

After this change, the error no longer occurs.

Copy link
Owner

@thombashi thombashi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your additional information.
LGTM

@thombashi thombashi merged commit b92f685 into thombashi:master May 1, 2024
4 of 5 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants