Hi,
in the meantime, on the same machine, I install eric7 with pip and it
works! but I think that I found the trick: I saw that pip installed other
packages that before that moment weren't present on my system.
Now, also the last 22.8.1 rev.afbd61b99bf4 (with eric7 uninstalled with
pip) works fine.

The packages that pip installed was:
*Installing collected packages: trove-classifiers, sortedcontainers,
PyQt6-WebEngine-Qt6, PyQt6-Charts-Qt6, mypy-extensions, EditorConfig,
tomlkit, tomli, toml, platformdirs, pathspec, parso, packageurl-python,
Markdown, docutils, PyQt6-WebEngine, PyQt6-Charts, pip-requirements-parser,
jedi, cyclonedx-python-lib, black, cyclonedx-bom, eric-ide*

Michele



Il giorno lun 29 ago 2022 alle ore 13:33 Detlev Offenbach <
det...@die-offenbachs.de> ha scritto:

> Hello Michele,
>
> that is a really nasty one because the real issue is hidden by the
> RuntimeError. Please get the latest eric sources and run from there. I
> (hopefully) improved the error reporting in this area of code so we can
> see, what is really causing the crash.
>
> Regards,
> Detlev
> Am 29.08.22 um 12:17 schrieb Michele Petrazzo:
>
> Hi list,
> I just downloaded eric7 22.8.1 (rev. afbd61b99bf4) in my fresh ubuntu
> 22.04.1 and I receive a:
>
>
> *<class 'RuntimeError'>: *
> *Could not create a viemanager object.*
>
> Qt6 and Qt6-QScintilla was installed with pip
>
> Following you can find the complete trace.
>
> Thanks,
> Michele
>
>   File
> "/usr/local/lib/python3.10/dist-packages/eric7/UI/UserInterface.py", line
> 847, in __createObjects
>     self.viewmanager = ViewManager.factory(
>   File
> "/usr/local/lib/python3.10/dist-packages/eric7/ViewManager/__init__.py",
> line 46, in factory
>     raise RuntimeError("Could not create a viemanager object.")
>
>
> --------------------------------------------------------------------------------
> Version Numbers:
>   Python 3.10.4, 64-Bit
>   Qt 6.3.1
>   PyQt6 6.3.1
>   PyQt6-Charts not installed
>   PyQt6-WebEngine not installed
>   PyQt6-QScintilla 2.13.3
>   sip 6.6.2
>   eric7 22.8.1 (rev. afbd61b99bf4)
>
> Platform: linux
> 3.10.4 (main, Jun 29 2022, 12:14:53) [GCC 11.2.0]
>
> --------------------------------------------------------------------------------
> Distribution Info:
>   /etc/lsb-release
>     DISTRIB_ID=Ubuntu
>     DISTRIB_RELEASE=22.04
>     DISTRIB_CODENAME=jammy
>     DISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS"
>
>   /etc/os-release
>     PRETTY_NAME="Ubuntu 22.04.1 LTS"
>     NAME="Ubuntu"
>     VERSION_ID="22.04"
>
> --
> Detlev offenbachdet...@die-offenbachs.de
>
>

Reply via email to