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

Error while running python/examples/bbc_www.py because snapshot 'root' is not presented. #1444

Open
Kingsdom005 opened this issue Feb 17, 2024 · 1 comment

Comments

@Kingsdom005
Copy link

Error information:

Traceback (most recent call last):
File "/home/liyanqi/Desktop/PANDA/panda2/panda/panda/python/examples/bbc_www.py", line 40, in
panda.run()
File "/home/liyanqi/Desktop/PANDA/.venv/lib/python3.8/site-packages/pandare/panda.py", line 548, in run
raise saved_exception
File "/home/liyanqi/Desktop/PANDA/.venv/lib/python3.8/site-packages/pandare/panda.py", line 950, in wrapper
f()
File "/home/liyanqi/Desktop/PANDA/.venv/lib/python3.8/site-packages/pandare/utils.py", line 92, in wrapper
return func(*args, **kwargs)
File "/home/liyanqi/Desktop/PANDA/panda2/panda/panda/python/examples/bbc_www.py", line 32, in driver
panda.revert_sync("root")
File "/home/liyanqi/Desktop/PANDA/.venv/lib/python3.8/site-packages/pandare/utils.py", line 92, in wrapper
return func(*args, **kwargs)
File "/home/liyanqi/Desktop/PANDA/.venv/lib/python3.8/site-packages/pandare/panda.py", line 2354, in revert_sync
raise ValueError(f"Snapshot '{snapshot_name}' not present in {self.qcow}")
ValueError: Snapshot 'root' not present in /home/liyanqi/.panda/bionic-server-cloudimg-amd64-noaslr-nokaslr.qcow2

Should I edit the file "bionic-server-cloudimg-amd64-noaslr-nokaslr.qcow2"?
How to solve the problem?

@AndrewFasano
Copy link
Contributor

Did you delete the root snapshot? It's in there by default.

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

2 participants