More Eric7 Windows weirdness
Jamie Riotto
jamie.riotto at gmail.com
Tue Nov 28 16:37:06 GMT 2023
FWIW, I checked the '%USERPROFILE%\AppData\Roaming\Eric7\eric7.ini file
and found the following entry:
QtToolsDir=C:\\Users\\jamie\\eric7_pyqt5_venv\\Lib\\site-packages\\PyQt5
I assume that is incorrect? - jamie
On Tue, Nov 28, 2023 at 8:29 AM Jamie Riotto <jamie.riotto at gmail.com> wrote:
> Thanks, got it about PyQt6 projects and resources.
> However, I also have some older PyQt5 projects. When I open them with
> Eric7 (installed in virtual env:
> C:/user/Jamie/eric7_venv), everything works fine, except that I don't get
> QtDesigner popping up when
> I click on a UI file under the forms tab. I assume I haven't correctly set
> the
> "Settings/Configure Qt/PyQt5/Tool Directory" parameter. Where would I
> point to for a "eric7_venv" environment?
>
> Also the "Virtual Environment" drop-down in the same settings category
> doesn't show any choices. Do I have to
> add a Virtual Environment pointer somewhere else?
>
> Thanks - jamie
>
> On Mon, Nov 20, 2023 at 11:59 PM Detlev Offenbach <
> detlev at die-offenbachs.de> wrote:
>
>> Hi Jaime,
>>
>> the fact you don't see the 'Resources' tab leads me to assume, you are
>> working with a project of type 'PyQt6'. As PyQt6 does not support resources
>> anymore (i.e. it doesn't have a 'pyrcc6' executable anymore) the respective
>> tab is hidden for such projects.
>>
>> Which icons have disappeared? If you are talking about the eric icons
>> please check, what the 'Icons' configuration page tells you (including the
>> icons preview).
>>
>> Regards,
>> Detlev
>> Am 21.11.23 um 00:51 schrieb Jamie Riotto:
>>
>> Almost all there. After my mega-clean install, I can't seem to see any
>> resource management. That is,
>> in the tab bar above the Project Management File viewer, I see tabs for
>> 'Sources', 'Forms', 'Translations, and 'Others',
>> but no tab for resources, and It appears as if my icons have disappeared
>> from the app. However when I look at the
>> .ui files in Designer (started through eric), I see the icons ok, and
>> pressing ctrl-R shows them in the preview.
>>
>> What do I need to do to re-enable the resource system on my new install?
>> Thanks - jamie
>>
>> On Mon, Nov 20, 2023 at 10:56 AM Jamie Riotto <jamie.riotto at gmail.com>
>> wrote:
>>
>>> Ok, taking a deep dive into my file structure, I noticed I had Eric7
>>> directories under my system Python directory (no doubt from
>>> old source installs), as well as some of the confusing references in the
>>> eric7 ini file you pointed out. So, I removed all eric7
>>> directories and references I could find and did another clean install
>>> into a venv. Everything comes up working great!
>>>
>>> Thanks for all your help - jamie
>>>
>>> On Mon, Nov 20, 2023 at 12:48 AM Detlev Offenbach <
>>> detlev at die-offenbachs.de> wrote:
>>>
>>>> Hi Jamie,
>>>>
>>>> I saw these entries in your .ini file which you should consider
>>>> changing.
>>>>
>>>> 1. The Python interpreter for the debugger is set to 'pythonw.exe'.
>>>> This should be changed to 'python.exe' because 'pythonw.exe' is only meant
>>>> for GUI scripts. The debugger backend (aka. debug client) is a console
>>>> script to be used with 'python.exe'.
>>>> 2. Is it correct, that you are using the debug client with Python
>>>> 2? Note that Python 2 is obsolete!
>>>> 3. The 'Multi Process Debugging' option of the 'Start' dialog
>>>> should only be activated, when a multiprocess program is debugged. However,
>>>> this will not cause the described behavior.
>>>>
>>>> Other than that the file looks good.
>>>>
>>>> Regards,
>>>> Detlev
>>>> Am 19.11.23 um 19:59 schrieb Jamie Riotto:
>>>>
>>>> Detlev,
>>>> Attached is the eri7.ini file. I'll try the --debug flag now.
>>>> - jamie
>>>>
>>>>
>>>>
>>>> On Sun, Nov 19, 2023 at 7:57 AM Detlev Offenbach <
>>>> detlev at die-offenbachs.de> wrote:
>>>>
>>>>> Hi Jaimie,
>>>>>
>>>>> I just fired up my Windows 10 VM and everything is working fine. Can
>>>>> you
>>>>> send the configuration file
>>>>> '%USERPROFILE%\AppData\Roaming\Eric7\eric7.ini'? Maybe something in
>>>>> your
>>>>> configuration is weird and needs some special handling. In addition to
>>>>> that you could start 'eric7_ide' in a console window with the
>>>>> '--debug'
>>>>> switch.
>>>>>
>>>>> Regards,
>>>>> Detlev
>>>>>
>>>>> Am 19.11.23 um 16:03 schrieb Jamie Riotto:
>>>>> > Ok, still having issues with Eric7. Just did a clean install into a
>>>>> > venv with:
>>>>> >
>>>>> > python3 -m venv eric7_venv
>>>>> > cd eric7_venv
>>>>> > cd Scripts
>>>>> > activate
>>>>> > python.exe -m pip install --upgrade pip
>>>>> > python.exe -m pip install --prefer-binary eric-ide
>>>>> >
>>>>> > When I start Eric, it went through all the init screens, i.e.
>>>>> > PyInstaller, Rope, PyLint, Vulture, etc
>>>>> > and then the main app started. It took 2 full minutes to go from a
>>>>> > white screen with 'Eric7' in the
>>>>> > upper left corner to the app loading. Ok, perhaps it was still
>>>>> > initializing stuff. However, I
>>>>> > just loaded a project and it has been 10 minutes with no response.
>>>>> > That is, spinning wait cursor,
>>>>> > window is grayed out...
>>>>> >
>>>>> > This is a windows 10 system. A different venv with Eric6 behaves
>>>>> normally.
>>>>> > Do you need any info on my side to help debug this? Thanks again -
>>>>> jamie
>>>>>
>>>>> --
>>>>> Detlev Offenbach
>>>>> detlev at die-offenbachs.de
>>>>>
>>>>> --
>>>> Detlev Offenbachdetlev at die-offenbachs.de
>>>>
>>>> --
>> Detlev Offenbachdetlev at die-offenbachs.de
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/eric/attachments/20231128/5297488d/attachment-0001.htm>
More information about the Eric
mailing list