Bubulle-Norminette icon indicating copy to clipboard operation
Bubulle-Norminette copied to clipboard

Error when launching the bubulle command

Open Team22052001 opened this issue 2 years ago • 4 comments

Hello, I've got this error when I'm launching the simple command :

Traceback (most recent call last):
  File "/usr/local/lib/bubulle/bubulle-py/bubulle.py", line 28, in <module>
    from args_handler import handle_args, parse_args, set_time_start
  File "/usr/local/lib/bubulle/bubulle-py/args_handler.py", line 28, in <module>
    from utils import version_utils
  File "/usr/local/lib/bubulle/bubulle-py/utils/version_utils.py", line 32, in <module>
    import file_utils
ModuleNotFoundError: No module named 'file_utils'

I tried to reinstall it but no effect (or success)...

Team22052001 avatar Jun 09 '22 07:06 Team22052001

me too Traceback (most recent call last): File "/usr/local/lib/bubulle/bubulle-py/bubulle.py", line 28, in <module> from args_handler import handle_args, parse_args, set_time_start File "/usr/local/lib/bubulle/bubulle-py/args_handler.py", line 28, in <module> from utils import version_utils File "/usr/local/lib/bubulle/bubulle-py/utils/version_utils.py", line 32, in <module> import file_utils ModuleNotFoundError: No module named 'file_utils'

CogalTek avatar Jun 11 '22 08:06 CogalTek

All tries of "import " from the current directory does not work for more precision

Axandel avatar Jun 11 '22 14:06 Axandel

same error

Beafowl-Pull avatar Jun 15 '22 06:06 Beafowl-Pull

A simple fix for all errors, open these files, and change some lines:

/usr/local/lib/bubulle/bubulle-py/utils/version_utils (line 32) import file_utils ---> from . import file_utils

/usr/local/lib/bubulle/bubulle-py/utils/error_handling.py (line 29) from string_utils import Colors ---> from .string_utils import Colors

/usr/local/lib/bubulle/bubulle-py/html_report/html_report.py (line 33) from back_overview import HtmlReportOverview ---> from .back_overview import HtmlReportOverview

Axandel avatar Jun 16 '22 07:06 Axandel