Comments (9)
I didn't expect rosetta to be installed on non M1 machines.
I'll try fixing that in the next release.
Until then to make it work:
- Uninstall reloadium plugin
- Remove
~/.reloadium/package
- Remove
/usr/libexec/rosetta/
- Install reloadium plugin
from reloadium.
Fixed in reloadium 0.9.5 and PyCharm plugin 0.9.0
from reloadium.
Hey @dirko , thanks for submitting this.
Reloadium plugin installs reloadium package to <home>/.reloadium/package
directory, could you verify whether this directory exists and contains a package for the python version you are using?
If not could you please reinstall the plugin and submit the idea.log file?
If the package is correctly installed could you go to <home>/.reloadium/package/<python version>/reloadium
and add the following lines at the beginning of the __init__.py
file?
import sys
print(sys.path)
Then run your script using the Reloadium plugin and paste the output here?
from reloadium.
The ~/.reloadium/package
directory exists and contains 3.10
, 3.9
, and version.txt
. version.txt
contains 0.9.4
. 3.10
contains reloadium
and reloadium-0.9.4.dist-info
.
When I print the sys path I get:
['/Users/<user>/Programming/python/<project>/tests', '/Applications/PyCharm.app/Contents/plugins/python/helpers/pycharm', '/Users/<user>/.reloadium/package/3.10', '/Users/<user>/Programming/python/<project>', '/Applications/PyCharm.app/Contents/plugins/python/helpers/pycharm_display', '/Users/<user>/miniconda3/envs/rel-test/lib/python310.zip', '/Users/<user>/miniconda3/envs/rel-test/lib/python3.10', '/Users/<user>/miniconda3/envs/rel-test/lib/python3.10/lib-dynload', '/Users/<user>/miniconda3/envs/rel-test/lib/python3.10/site-packages', '/Applications/PyCharm.app/Contents/plugins/python/helpers/pycharm_matplotlib_backend']
When I print out the error in __utils__.py
, I get
dlopen(/Users/<user>/.reloadium/package/3.10/reloadium/corium.cpython-310-darwin.so, 2): no suitable image found. Did find:
/Users/<user>/.reloadium/package/3.10/reloadium/corium.cpython-310-darwin.so: mach-o, but wrong architecture
/Users/<user>/.reloadium/package/3.10/reloadium/corium.cpython-310-darwin.so: mach-o, but wrong architecture
from reloadium.
@dirko
Is it an M1 machine?
from reloadium.
No, that is the strange part: Processor: 2.3 GHz Quad-Core Intel Core i5
.
from reloadium.
@dirko
I might be onto something. Does this directory exist on your computer /usr/libexec/rosetta/
?
I know you're not an M1 user and it's unlikely that you have rosetta installed but existence of this directory would explain this behavior since this is how currently the M1 machines are identified in the code.
from reloadium.
Yes it exists, contains debugserver oahd oahd-helper oahd-root-helper runtime runtime_t8027 translate_tool
. I'm unsure why I have it installed, I can't remember specifically installing it -- seems to be from Jan 1 2020.
from reloadium.
Great thanks! I'm unable to remove the directory (even with sudo), so will wait for a new version of the package. Looking forward to it, this plugin looks like a great tool.
from reloadium.
Related Issues (20)
- not support WSL HOT 3
- Not support numba HOT 1
- Reloadium appears to not support debugging on remote servers. While it works fine during local testing, it fails to update on servers. HOT 4
- Reloadium debugger shows filtered log messages in django HOT 3
- Reloadium fails to start HOT 1
- Can't start debugger on Pycharm 2023.3 EAP HOT 7
- ModuleNotFoundError: No module named 'reloadium.corium' HOT 2
- Reloadimun not reloading modified pyhton files HOT 3
- Reloadium fails to start HOT 2
- VSCode plugin roadmap HOT 1
- Reloadium profiler not displayed HOT 1
- [Feature Request] Frame Transaction
- pydevd_process_net_command.py this file frequently wrong as UnicodeDecodeError
- python 3.11 annotations unsupported. HOT 11
- Docker-compose interpreter, /opt/conda/bin/python3: No module named reloadium_launcher HOT 1
- Error when exit() in interact shell HOT 1
- Issue with Reloadium in PyCharm+WSL HOT 3
- [Feature request] Request for Feature to Modify OpenAI's BaseURL
- Hot reloading of HTML files not working with reloadium (works fine with just webpack-dev-server and python manage.py runserver) HOT 2
- reloadium plugin in pycharm with twisted libary HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reloadium.