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

Problem download updated spreadsheet file #70

Open
syrinxtech opened this issue Sep 2, 2024 · 1 comment
Open

Problem download updated spreadsheet file #70

syrinxtech opened this issue Sep 2, 2024 · 1 comment

Comments

@syrinxtech
Copy link

🐛 Summary

What's wrong? Please be specific.
I captured PCAP data using tcpdump. Then I ran zeek via cmd line to read PCAP data, and created the Excel spreadsheet. I updated the spreadsheet to add the segment tab CIDR and color info. When I run navv again and try to update the spreadsheet the download process craps out.

To reproduce

Steps to reproduce the behavior:

  1. Do this
  2. source venv/bin/activate
  3. Then this
  4. navv launch

Expected behavior

What did you expect to happen that didn't?
I expected navv to update the spreadsheet after I added the CIDR range and colored it.

Any helpful log output or screenshots

zeek version 7.0.0
navv, version 3.3
Linux OT 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Paste the results here:

ERROR:navv.gui.app:Exception on /download [POST]
Traceback (most recent call last):
  File "/home/bryan/venv/lib/python3.12/site-packages/flask/app.py", line 1473, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bryan/venv/lib/python3.12/site-packages/flask/app.py", line 882, in full_dispatch_request
    rv = self.handle_user_exception(e)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bryan/venv/lib/python3.12/site-packages/flask/app.py", line 880, in full_dispatch_request
    rv = self.dispatch_request()
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bryan/venv/lib/python3.12/site-packages/flask/app.py", line 865, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bryan/venv/lib/python3.12/site-packages/navv/gui/app.py", line 78, in download
    memfile = generate(
              ^^^^^^^^^
  File "/home/bryan/venv/lib/python3.12/site-packages/navv/gui/bll.py", line 114, in generate
    start = float(forward[0])
                  ~~~~~~~^^^
IndexError: list index out of range
INFO:werkzeug:127.0.0.1 - - [02/Sep/2024 17:11:01] "POST /download HTTP/1.1" 500 -

Add any screenshots of the problem here.

@syrinxtech
Copy link
Author

I also noticed that about 95% of the time when I first type "navv launch", the first attempt to start Firefox fails and I have to retry. The first retry almost always works.

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