ZaharX97 / OWReveal

CSGO Overwatch revealer by sniffing packets / Find The Suspect steam profile from overwatch
GNU General Public License v3.0
31 stars 4 forks source link

Unhandled exception in script #26

Closed franklinworm closed 2 years ago

franklinworm commented 2 years ago

Traceback (most recent call last): File "main.py", line 4, in File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "myglobals.py", line 2, in File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "functions.py", line 17, in ModuleNotFoundError: No module named 'scapy'

ZaharX97 commented 2 years ago

Yes, you need to install the other modules using pip. (scapy / requests / Pillow / mysql-connector)

franklinworm commented 2 years ago

Still same Traceback (most recent call last): File "main.py", line 4, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "myglobals.py", line 2, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "functions.py", line 28, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "csgo_demoparser\DemoParser.py", line 4, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "csgo_demoparser\NETMSG_pb2.py", line 5, in <module> ModuleNotFoundError: No module named 'google'

This is when i'm to building package for app >4.2

franklinworm commented 2 years ago

When I'm tried to build package for app <=4.1, This error occurs Traceback (most recent call last): File "main.py", line 4, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "myglobals.py", line 2, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "functions.py", line 28, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "csgo_demoparser\DemoParser.py", line 4, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "csgo_demoparser\NETMSG_pb2.py", line 5, in <module> ModuleNotFoundError: No module named 'google'

ZaharX97 commented 2 years ago

My bad, I forgot about that one. There's one more module named 'protobuf' It should work after that

franklinworm commented 2 years ago

I already installed protobuff and still got that warning

ZaharX97 commented 2 years ago

That's weird. When I create a new python environment and dont install modules, I got the same errors. But after installing those 5, not anymore. I'll try again once I get home

ZaharX97 commented 2 years ago

I can't replicate this. I made 4 new python environments and every time after installing those 5 packages the error would disappear. The protobuf you have only has one ' f ' at the end right?

franklinworm commented 2 years ago

Yes, What module should I install now?

ZaharX97 commented 2 years ago

Only those 5 (scapy / requests / Pillow / mysql-connector / protobuf)

Make sure you have all 5 in your python environment

franklinworm commented 2 years ago

I already install all modules that you've been mentioned, but still got errors.

ZaharX97 commented 2 years ago

Can you open a console and type: pip freeze

And share a screenshot?

franklinworm commented 2 years ago

Screenshot_17 Screenshot_18 Screenshot_19 Screenshot_20

ZaharX97 commented 2 years ago

I have another ideea. Uninstall pyinstaller (pip uninstall pyinstaller). Install pyinstaller v4.2 (pip install pyinstaller==4.2) If this doesn't work, I'm out of ideeas. Maybe reinstall python?

franklinworm commented 2 years ago

Screenshot_9 Its working now thanks!