reloadware / reloadium

Hot Reloading and Profiling for Python
https://reloadium.io
Apache License 2.0
2.8k stars 57 forks source link

Reloadium doesn't work on M1 mac with Python 3.9 #98

Closed ChillarAnand closed 1 year ago

ChillarAnand commented 1 year ago

Describe the bug*

On some M1 macs, reloadium is working fine with Pyton 3.9. On few other macs, it is failing to run.

To Reproduce

Not able to reproduce the bug on all M1 macs.

Expected behavior

Reloadium should run the application.

Screenshots

Screenshot 2023-02-06 at 08 41 19

Desktop or remote (please complete the following information):**

dkrystki commented 1 year ago

Are you sure this is the newest reloadium version? By looking at the message it looks like it is not.

ChillarAnand commented 1 year ago
Screenshot 2023-02-06 at 10 37 35

This is the latest version available on PyPi.

dkrystki commented 1 year ago

Can you got to Reloadium->About and see what versions are there?

ChillarAnand commented 1 year ago
Screenshot 2023-02-06 at 11 31 47
dkrystki commented 1 year ago

Although looks correct the picked up package is wrong since the message should end up with To see the exception run reloadium with environmental variable RW_DEBUG=True which was added in the newer version.

Could you please uninstall the plugin, remove ~/.reloadium/package directory, and install it again?

ChillarAnand commented 1 year ago

Deleted the virtualenv and plugin directory and created a fresh setup. It is working fine now. Thanks @dkrystki

Screenshot 2023-02-06 at 12 02 38

The following message is not yet shown though.

To see the exception run reloadium with environmental variable RW_DEBUG=True

dkrystki commented 1 year ago

That message is only shown when incompatible system is detected. I'm glad it's working now!