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

Standalone seems completely broken #180

Open
vogelo opened this issue Apr 22, 2024 · 1 comment
Open

Standalone seems completely broken #180

vogelo opened this issue Apr 22, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@vogelo
Copy link

vogelo commented Apr 22, 2024

Describe the bug
I tried installing the standalone version (I have my reasons not wanting docker). Results in multiple issues.

After installing ibeam in a fresh conda environment (python 3.12) via pip, the first issue that appears is that all the subfolders of ibeam/src except for two_fa_handlers are missing.

This causes ibeam_starter.py not to run for various reasons, see below.

To Reproduce
Steps to reproduce the behavior:
Set environment as per readme, installed non-python dependencies.

conda create ibeam
conda activate ibeam
pip install ibeam
python ~/.conda/envs/ibeam/lib/python3.12/site-packages/ibeam/ibeam_starter.py
[error message: ModuleNotFoundError: No module named 'ibeam.src.handlers']
copying missing subfolders (login,utils,handlers) from git repo to ~/.conda/envs/ibeam/lib/python3.12/site-packages/ibeam/src
python ~/.conda/envs/ibeam/lib/python3.12/site-packages/ibeam/ibeam_starter.py
[many incorrect imports from selenium, starts with cannot import name 'TimeoutException' from 'selenium.common']
Changing these errorneous lines one by one to correct imports (e.g. import TimeoutException from selenium.common.exceptions instead of selenium.common) will still not result in a non-functional environment.

Standalone installation seems completely broken?

Expected behavior
It should run.

Environment
IBeam version: 0.5.1
Docker image or standalone: standalone
Python version (standalone users only): 3.12
OS: arch

@vogelo vogelo added the bug Something isn't working label Apr 22, 2024
@Voyz
Copy link
Owner

Voyz commented Apr 28, 2024

hey @vogelo thanks for the detailed issue report and for pointing this out. Indeed very few users use the standalone version, hence it's hard to catch these errors.

I made some fixes to it and released 0.5.3. Can you give it a shot and let me know if it works for you?

pip install ibeam==0.5.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants