ANN: eric 24.8 released

2024-07-29 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 24.8. It fixes some bugs and adds these new features.

 * General
 o Improved the handling of crash sessions.
 * Editor
 o Added the capability to sort the entries in the code outline by
   occurrence or alphabetically. Configure this on the `Editor =>
   General` page.
 o Changed the editor layout to use a splitter between editor and
   code layout to enhance the flexibility.
 * - MicroPython
 o Updated the list of known CircuitPython boards for CPy 9.1.0.
 o Updated the list of known UF2 capable boards.
 * - Project Viewer
 o Added the context menu actions `New file...` and `New
   directory...` to the `Others` project viewer to give a more
   concise way to create a new files and directories.
 * - Security Key Management
 o Added a tool to manage FIDO2 security keys.
 * - Web Browser
 o Added support for `Passkeys` (Qt >= 6.7.0).

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


ANN: eric 24.7 released

2024-07-04 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 24.7. It fixes some bugs and adds these new features.

 * General
 o Improved the internal debug logging system.
 * Code Style Checker
 o Updated these checkers.
 + Annotations to `flake8-annotations v3.1.1`
 + Miscellaneous to `flake8-bugbear v24.4.26`
 + Logging to `flake8-logging v1.6.0`
 * IDE Server
 o Added functionality to work with remote files and projects via
   an `eric-ide Server` on a remote computer. All communication to
   this server is done through a single socket (port 42024 by default).
 * MicroPython
 o Added a few boards to the list of know MicroPython boards.
 * pip Interface
 o Added a configuration option to not include global environments
   in the selector list.
 * Third Party Packages
 o Upgraded pip-licenses to version 4.4.0.

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


ANN: eric 24.6 released

2024-06-02 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 24.6. It fixes some bugs and adds these new features.

 * Editor
 o Added a key event handler to make the keypad ',' always insert a
   '.' character because that is what is needed in programming.
 * General
 o Added a `Help` menu entry to generate some version information
   and copy that to the clipboard (see issue 562).
 * Web Browser
 o Added the capability to enable the rendering of all web pages
   using a dark theme (PyQt/Qt >= 6.7.0).

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


ANN: eric 24.5 released

2024-04-24 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 24.5. It fixes some bugs and adds these new features.

 * General
 o Changed code from using `QFileSystemWatcher` to our own
   implementation (`EricFileSystemWatcher`) based on the `watchdog`
   Python package in order to get more fine grained control over
   the reported changes.
 * Editor
 o Added the capability to reload the current editor via its
   context menu or the main `File` menu (see issue 556).
 o Added basic support for Jenkins pipeline files (and Groovy
   source files) (see issue 558).
 * Editor Outline
 o Improved the navigation capability by respecting the column
   offset when placing the cursor of the editor (see issue 554).
 * File Browser
 o Improved the navigation capability by respecting the column
   offset when placing the cursor of the editor (see issue 554).
 * Project Browser
 o Improved the navigation capability by respecting the column
   offset when placing the cursor of the editor (see issue 554).
 * Symbols Viewer
 o Completed the list of selectable code blocks.

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


ANN: eric 24.4 released

2024-04-02 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 24.4. It fixes some bugs and adds these new features.

 * Code Style Checker
 o Updated these checkers.
 + Security to `bandit v1.7.8`
 + Miscellaneous to `flake8-bugbear v24.2.6`
 + Logging to `flake8-logging v1.5.0`
 * MicroPython
 o Updated the list of known CircuitPython boards.
 o Updated the list of known UF2 capable boards.
 * pip Interface
 o Added the capability to install packages given in the
   `project.dependencies` section of a `pyproject.toml` file.
 * Project
 o Added an action to the `Other Tools` menu to clear the byte code
   caches of the project.
 * Shell
 o Added a context menu action to open an editor for a file at a
   line of an exception shown in the console window.
 * Snapshot
 o Disabled the snapshot functionality for Wayland based desktops.
 * Third Party Packages
 o Upgraded pip-licenses to version 4.3.4.

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


ANN: eric 24.3 released

2024-03-03 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 24.3. It fixes some bugs and includes these changes.

 * General
 o Removed support for the deprecated eric-ide specific XML file
   formats.
 o Removed the Oxygen based icons.

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: Eric7 crashes unexpectedly

2024-02-16 Thread Detlev Offenbach

Hi Patrick,

I created an openSUSE 15.5 virtual machine with the Gnome desktop and 
installed eric in a Python virtual environment. During this process I 
made these observations, which might be related to your issue.


1. openSUSE Leap 15.5 installs an outdated Python version by default
   (3.6.x).
2. Due to the fact, that Python 3.6 and 3.7 are no longer supported by
   eric-ide, the pip installation command for eric-ide installs an
   outdated version (22.3 dated March 2022, i.e. about two years old).
3. Due to the same fact, an outdated version of PyQt6 and Qt6 got
   installed.

Once I noticed that, I installed Python 3.11 using yast and recreated 
the Python virtual environment using that version. Installing eric-ide 
now installed the latest eric-ide version (24.2.1) together with PyQt6 
6.6.1 and Qt6 6.6.1. The only remaining issue with this is, that Qt 
requires q newer SSL library than is installed by default. That can be 
solved by installing 'libopenssl_3' using yast.


I hope these findings and correction steps will help you solve your issue.

Regards, Detlev

Am 15.02.24 um 22:00 schrieb Patrick Headley:

I use Gnome. I did update pip as the first step to installing eric7.

How long did you leave eric7 running? For me it ran for a period of 
time before crashing. Mostly, it would crash while it was idle when I 
was reading the documentation to learn how to use it, but not always.


*/Patrick Headley/*
Linx Consulting, Inc.
(303) 916-5522
phead...@linxco-inc.com
www.linxco-inc.com


On 2/15/24 2:11 AM, Detlev Offenbach wrote:


Hi Patrick,

I am sorry to hear, that you gave up. Nevertheless I installed a 
fresh openSUSE VirtualBox machine and got eric working in a Python 
virtual environment with one little issue not related to eric-ide. I 
had to update the 'pip' package of the environment because it was too 
old. Thereafter PyQt6 was installed without an issue and eric started 
and showed its initialization sequence.


Note: I installed openSUSE with the KDE Plasma desktop. Maybe that is 
different to your VM.


Regards, Detlev

Am 14.02.24 um 22:37 schrieb Patrick Headley:

I did install eric7 into a virtual environment as directed.

I didn't check for error logs but the problem has been so consistent 
across multiple versions of OpenSuSE that I didn't care to 
investigate further. One thing that could be an issue is that I'm 
running Eric7 on VirtualBox virtual machines. Since I don't have 
problems with other applications I don't believe it's a VirtualBox 
issue but thought I would throw that out there.


If I get in the mood to test again I will look at the logs. But, for 
now I have uninstalled Eric7.


*/Patrick Headley/*
Linx Consulting, Inc.
(303) 916-5522
phead...@linxco-inc.com
www.linxco-inc.com


On 2/14/24 1:21 AM, Detlev Offenbach wrote:


Hi Patrick,

I just tested eric7 in my openSUSE 15.5 VM and have to report, that 
it works as expected. Therefore I think, that your issue is somehow 
related to your installation.


1. Did you install eric into a Python virtual environment as 
recommended by the eric installation instructions?


2. Please start eric in terminal window and check for error 
messages. On some systems Qt6 is reporting a missing package 
(libxcb-cursor0) without that it will stop. The installation 
instruction of the eric web site contain such a hint.


3. Check the directory ~/.eric7 for the presence of an error log. 
If such a log exists, please send it to me.


4. Try to start eric in a terminal with "eric7_ide --debug" and 
send the debug log file to be found in "~/.eric7" to me.


Hope these steps will help to solve your issue and you are able to 
enjoy eric7.


Regards, Detlev

Am 14.02.24 um 03:43 schrieb Patrick Headley:
Just installed Eric7 onto an OpenSuSE Leap 15.5 machine. Eric7 
keeps crashing. The first time I had to restart the application. 
Several times after that I lost my desktop session and had to log 
in again.


Eric6 had the same issue and I've tried installing it on several 
different releases of OpenSuSE. Don't know if it's just an 
OpenSuSE thing. I haven't tried to install it on any other OS.


--
*/Patrick Headley/*
Linx Consulting, Inc.
(303) 916-5522
phead...@linxco-inc.com
www.linxco-inc.com



--
Detlev Offenbach
det...@die-offenbachs.de



--
Detlev Offenbach
det...@die-offenbachs.de



--
Detlev Offenbach
det...@die-offenbachs.de



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: Eric7 crashes unexpectedly

2024-02-15 Thread Detlev Offenbach

Hi Patrick,

I am sorry to hear, that you gave up. Nevertheless I installed a fresh 
openSUSE VirtualBox machine and got eric working in a Python virtual 
environment with one little issue not related to eric-ide. I had to 
update the 'pip' package of the environment because it was too old. 
Thereafter PyQt6 was installed without an issue and eric started and 
showed its initialization sequence.


Note: I installed openSUSE with the KDE Plasma desktop. Maybe that is 
different to your VM.


Regards, Detlev

Am 14.02.24 um 22:37 schrieb Patrick Headley:

I did install eric7 into a virtual environment as directed.

I didn't check for error logs but the problem has been so consistent 
across multiple versions of OpenSuSE that I didn't care to investigate 
further. One thing that could be an issue is that I'm running Eric7 on 
VirtualBox virtual machines. Since I don't have problems with other 
applications I don't believe it's a VirtualBox issue but thought I 
would throw that out there.


If I get in the mood to test again I will look at the logs. But, for 
now I have uninstalled Eric7.


*/Patrick Headley/*
Linx Consulting, Inc.
(303) 916-5522
phead...@linxco-inc.com
www.linxco-inc.com


On 2/14/24 1:21 AM, Detlev Offenbach wrote:


Hi Patrick,

I just tested eric7 in my openSUSE 15.5 VM and have to report, that 
it works as expected. Therefore I think, that your issue is somehow 
related to your installation.


1. Did you install eric into a Python virtual environment as 
recommended by the eric installation instructions?


2. Please start eric in terminal window and check for error messages. 
On some systems Qt6 is reporting a missing package (libxcb-cursor0) 
without that it will stop. The installation instruction of the eric 
web site contain such a hint.


3. Check the directory ~/.eric7 for the presence of an error log. If 
such a log exists, please send it to me.


4. Try to start eric in a terminal with "eric7_ide --debug" and send 
the debug log file to be found in "~/.eric7" to me.


Hope these steps will help to solve your issue and you are able to 
enjoy eric7.


Regards, Detlev

Am 14.02.24 um 03:43 schrieb Patrick Headley:
Just installed Eric7 onto an OpenSuSE Leap 15.5 machine. Eric7 keeps 
crashing. The first time I had to restart the application. Several 
times after that I lost my desktop session and had to log in again.


Eric6 had the same issue and I've tried installing it on several 
different releases of OpenSuSE. Don't know if it's just an OpenSuSE 
thing. I haven't tried to install it on any other OS.


--
*/Patrick Headley/*
Linx Consulting, Inc.
(303) 916-5522
phead...@linxco-inc.com
www.linxco-inc.com



--
Detlev Offenbach
det...@die-offenbachs.de



--
Detlev Offenbach
det...@die-offenbachs.de



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: Eric7 crashes unexpectedly

2024-02-14 Thread Detlev Offenbach

Hi Patrick,

I just tested eric7 in my openSUSE 15.5 VM and have to report, that it 
works as expected. Therefore I think, that your issue is somehow related 
to your installation.


1. Did you install eric into a Python virtual environment as recommended 
by the eric installation instructions?


2. Please start eric in terminal window and check for error messages. On 
some systems Qt6 is reporting a missing package (libxcb-cursor0) without 
that it will stop. The installation instruction of the eric web site 
contain such a hint.


3. Check the directory ~/.eric7 for the presence of an error log. If 
such a log exists, please send it to me.


4. Try to start eric in a terminal with "eric7_ide --debug" and send the 
debug log file to be found in "~/.eric7" to me.


Hope these steps will help to solve your issue and you are able to enjoy 
eric7.


Regards, Detlev

Am 14.02.24 um 03:43 schrieb Patrick Headley:
Just installed Eric7 onto an OpenSuSE Leap 15.5 machine. Eric7 keeps 
crashing. The first time I had to restart the application. Several 
times after that I lost my desktop session and had to log in again.


Eric6 had the same issue and I've tried installing it on several 
different releases of OpenSuSE. Don't know if it's just an OpenSuSE 
thing. I haven't tried to install it on any other OS.


--
*/Patrick Headley/*
Linx Consulting, Inc.
(303) 916-5522
phead...@linxco-inc.com
www.linxco-inc.com



--
Detlev Offenbach
det...@die-offenbachs.de



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


ANN: eric 24.1 released

2024-02-01 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 24.1. It fixes some bugs and adds these new features.

 * Code Style Checker
 o Updated these checkers to support more cases.
 + Miscellaneous
 + Security
 * - Editor
 o Added an Edit menu entry tp convert tabs to spaces manually.
 o Added the capability to show local variables in the outline view.
 o Added code to show the indicator margin messages when the mouse
   hovers over a syntax error or warning indicator.
 * - File Browser
 o Added the capability to show local variables of functions and
   methods.
 * - Find In Files
 o Changed the filter entry to a filter selector with associated
   edit capability to define a list of filter entries.
 * - Log Viewer
 o Added code to show an indicator for the log viewer icon, if new
   messages were added and the "Autoshow" option is deactivated.
 * - MicroPython
 o Added an entry to the file manager's local and device context
   menu to rename a file.
 o Added a standalone application of the built-in MicroPython
   interface (`eric7_mpy`).
 o Enhanced the MiucroPython file manager widget.
 * - Plugin Repository
 o Added a label to show the number of selected entries.
 * - Project Browser
 o Added the capability to show local variables of functions and
   methods.
 * - Third Party packages
 o Upgraded pyflakes to version 3.2.0.
 o Upgraded jquery.js to version 3.7.1.

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


ANN: eric 24.1 released

2024-01-01 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 24.1. It fixes some bugs and adds these new features.

 * General
 o Changed debug logging to be directed to a debug log file
   `eric7_debug.txt` in the `.eric7` directory.
 * Code Style Checker
 o Updated these checkers to support more cases.
 + Logging
 + Miscellaneous
 + Simplify
 o Extended the documentation style checker to check the tag
   sequence and the use of deprecated tags (eric doc style).
 * Editor
 o Added the capability to comment/uncomment/toggle comment for
   languages that do not support single line comments (e.g. HTML
   uses ``.
 o Added the capability to search & replace strings containing
   escape codes (like `\n`).
 o Introduced a configurable timeout after which the quick search
   text occurrences are highlighted (if this function is activated).
 * File Browser
 o Added context menu entries to show the directory path of an item
   in an external file manager.
 * Find In Files
 o Added the capability to search & replace strings containing
   escape codes (like `\n`).
 * Multiproject
 o Added the capability to indicate externally removed projects and
   actions to clear them out.
 * Project Browser
 o Added context menu entries to show the directory path of an item
   in an external file manager.
 o Added an entry to the background context menu to show the
   project directory in an external file manager.
 * Testing
 o Extended the testing dialog to allow filtering of the result
   list based on the result status.
 o Extended the testing dialog to allow to perform a discovery run
   only and just perform selected test cases of this list.
 o Extended the testing dialog to allow to perform the test with
   debugger support (only if the dialog was started from within
   eric IDE).
 * Viewmanager
 o Added `Close Tabs to the Left` and `Close Tabs to the Right`
   context menu entries to the tabview view manager.
 o Added `Close Editors Above` and `Close Editors Below` context
   menu entries to the listspace view manager.
 * Virtual Environments
 o Added the capability to search for unregistered Python
   interpreters in order to create an environment entry for those
   selected by the user.
 * Third Party packages
 o Upgraded pip-licenses to version 4.3.3.
 o Upgraded pycodestyle to version 2.11.1.

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


ANN: eric 23.12 released

2023-12-02 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 23.12. It fixes some bugs and adds these new features.

 * General
 o Improved platform support for FreeBSD.
 * Debugger
 o Added a configuration option to select whether call trace
   optimization shall be enabled (this requires no function/method
   definition on the first line of a module).
 o Improved the configuration for remote debugging (global and
   project specific).
 o Changed the Python debugger code such, that unhandled exceptions
   are reported always and handled exception only, if the
   specifically requested in the `_Start Debugging_` dialog.
 * - Diff Dialog
 o Extended the functionality to accept two files to be diffed via
   the command line.
 * - Editor
 o Changed the `_Auto Save_` interval to be in seconds instead of
   minutes. *Note*: The `_Auto Save_` interval has to be reconfigured!
 o Added the capability to save a modified file automatically when
   the editor looses the focus.
 o Added a button to format underline text of HTML documents.
 * - Icons
 o Added a configuration option to override the style dependent
   icon size of the tool bars.
 * - Plugin Repository Dialog
 o Introduced categories to improve the presentation of the list of
   available plugins.
 * - Syntax Checker
 o Added code to show some per file and overall statistics of the
   check.
 o Re-introduced the JavaScript syntax checker. This time it is
   based on the `_esprima_` package.

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: More Eric7 Windows weirdness

2023-11-20 Thread Detlev Offenbach

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  
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
 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
 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

det...@die-offenbachs.de

-- 
Detlev Offenbach

det...@die-offenbachs.de


--
Detlev Offenbach
det...@die-offenbachs.de



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: More Eric7 Windows weirdness

2023-11-20 Thread Detlev Offenbach

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 
 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

det...@die-offenbachs.de


--
Detlev Offenbach
det...@die-offenbachs.de



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: More Eric7 Windows weirdness

2023-11-20 Thread Detlev Offenbach


Am 19.11.23 um 20:08 schrieb Jamie Riotto:
Ok, I ran 'eric7_ide.exe --debug' in a console window with the venv 
activated. I don't see anything on the console.
That will not work because pip generated this wrapper for GUI scripts 
using pythonw.exe during installation. That Python interpreter variant 
doesn't give any output. You should run 'python.exe -m eric7 --debug'.

 Is there a log file or debug file that is generated?

All debug output is sent to the console.

- jamie

On Sun, Nov 19, 2023 at 10:59 AM Jamie Riotto  
wrote:


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
 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

det...@die-offenbachs.de


--
Detlev Offenbach
det...@die-offenbachs.de



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: More Eric7 Windows weirdness

2023-11-19 Thread Detlev Offenbach

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
det...@die-offenbachs.de



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: Issue with Eric7 and Parallel Processing

2023-11-17 Thread Detlev Offenbach

Hi Jamie,

I found another issue specific to the 'win32' platform. I changed the 
code and debugging and running your test script works over here. See 
attached file for changes to be applied.


Regards,
Detlev

Am 16.11.23 um 23:39 schrieb Jamie Riotto:
Ok, so I have Eric7 loaded into a virtual environment, 
'eric7_qt6_venv', which has eric7-23.11(rev.e075C8fe07fd).
I went to 
c:\Users\jamie\eric7_qt6_venv\Lib\site-packages\eric7\Debugger\DebuggerInterfacePython.py 
anc

commented out the line:

#self.__autoContinued.append(debuggerId)

When I reran the script I submitted, I had the same behavior as 
before, i.e. no change. Did I miss something?

- j

On Thu, Nov 16, 2023 at 10:28 AM Detlev Offenbach 
 wrote:


Hi Jaimie,

it is actually a one line change. If you visit
https://hg.die-offenbachs.homelinux.org/eric/rev/1e498581a094 you
will see, which line needs to be removed.

Regards,
Detlev

Am 16.11.23 um 19:10 schrieb Jamie Riotto:

Detlev,
Excuse my ignorance, but I'm not sure how to obtain a changeset
through mercurial. Is there an easy way?
- j

On Thu, Nov 16, 2023 at 9:12 AM Detlev Offenbach
 wrote:

Hi,

I just committed changeset 1e498581a094, which should fix the
issue. Please give it a try and let me know. Otherwise, it
will be contained in release 23.12 as is.

Regards, Detlev

Am 15.11.23 um 16:33 schrieb Jamie Riotto:

import multiprocessing
from time import time
import random


def parallelSim(job_queue, output_queue):
    for data in iter(job_queue.get, 'STOP'):
        choices = random.choices(data, k=10)
        total = 0
        for i, c in enumerate(choices):
            sign = 1 if i%2==0 else -1
            total += c * c * sign

        output_queue.put(total)

if __name__ == '__main__':
    start_time = time()

    job_queue = multiprocessing.Queue()
    output_queue = multiprocessing.Queue()

    # create some data
    data = list(range(1, 1000))

    # DEBUG
    #numCPUs = multiprocessing.cpu_count()
    numCPUs = 4
    iterations = 10
    numjobs = numCPUs * iterations

    # load up the job queue
    for sim in range(numjobs):
        job_queue.put(data)

    # add Stops to the job queue
    for x in range(numCPUs):
        job_queue.put('STOP')

    serialDebug = False
    if serialDebug is True:
        # Debug the Parallel Process
        parallelSim(job_queue, output_queue)

    else:
        # parallelize processing using a pool of processes
        for i in range(numCPUs):
multiprocessing.Process(target=parallelSim, args=(job_queue,
output_queue)).start()

    results = []
    for r in range(numjobs):
        results.append(output_queue.get())

    avg_result = sum(results) / numjobs
    print("")
    print(f'Average Results = {avg_result}')

    end_time = time()
    elapsed = end_time - start_time
    print(f"Finished in: {elapsed:.3f} seconds")


    -- 
Detlev Offenbach

det...@die-offenbachs.de

-- 
Detlev Offenbach

det...@die-offenbachs.de


--
Detlev Offenbach
det...@die-offenbachs.de

diff -r 1e498581a094 src/eric7/DebugClients/Python/MultiProcessDebugExtension.py
--- a/src/eric7/DebugClients/Python/MultiProcessDebugExtension.py	Thu Nov 16 18:10:59 2023 +0100
+++ b/src/eric7/DebugClients/Python/MultiProcessDebugExtension.py	Fri Nov 17 13:57:27 2023 +0100
@@ -152,7 +152,8 @@
 """
 Function replacing the 'spawnl' functions of the os module.
 """
-args = patchArguments(_debugClient, args)
+if _shallPatch():
+args = patchArguments(_debugClient, args)
 return getattr(os, originalName)(mode, path, *args)
 
 return newSpawnl
@@ -177,7 +178,8 @@
 """
 Function replacing the 'spawnv' functions of the os module.
 """
-args = patchArguments(_debugClient, args)
+if _shallPatch():
+args = patchArguments(_debugClient, args)
 return getattr(os, originalName)(mode, path, args)
 
 return newSpawnv
@@ -202,7 +204,8 @@
 """
 Function replacing the 'spawnve' functions of the os module.
 """
-args = patchArguments(_debugClient, args)
+if _shallPatch():
+args = patchArguments(_debugClient, args)
 return getattr(os, originalName)(mode, path, args, env)
 
 return newSpawnve
@@ -229,7 +232,8 @@
 """
 Function replacing the 'posix_spawn' functions of the os module.

Re: Issue with Eric7 and Parallel Processing

2023-11-17 Thread Detlev Offenbach

Hi Jamie,

I hope you commented out the right line. That line appears twice in the 
file but only the one shown in the changeset must be commented 
out/deleted. That did the trick over here (at least on Linux). I'll have 
to re-test your script on Windows to see, if that makes a difference.


Furthermore, I would like you to post a screenshot of the 'Start 
Debugging' dialog.


Regards,
Detlev

Am 16.11.23 um 23:39 schrieb Jamie Riotto:
Ok, so I have Eric7 loaded into a virtual environment, 
'eric7_qt6_venv', which has eric7-23.11(rev.e075C8fe07fd).
I went to 
c:\Users\jamie\eric7_qt6_venv\Lib\site-packages\eric7\Debugger\DebuggerInterfacePython.py 
anc

commented out the line:

#self.__autoContinued.append(debuggerId)

When I reran the script I submitted, I had the same behavior as 
before, i.e. no change. Did I miss something?

- j

On Thu, Nov 16, 2023 at 10:28 AM Detlev Offenbach 
 wrote:


Hi Jaimie,

it is actually a one line change. If you visit
https://hg.die-offenbachs.homelinux.org/eric/rev/1e498581a094 you
will see, which line needs to be removed.

Regards,
Detlev

Am 16.11.23 um 19:10 schrieb Jamie Riotto:

Detlev,
Excuse my ignorance, but I'm not sure how to obtain a changeset
through mercurial. Is there an easy way?
- j

On Thu, Nov 16, 2023 at 9:12 AM Detlev Offenbach
 wrote:

Hi,

I just committed changeset 1e498581a094, which should fix the
issue. Please give it a try and let me know. Otherwise, it
will be contained in release 23.12 as is.

Regards, Detlev

Am 15.11.23 um 16:33 schrieb Jamie Riotto:

import multiprocessing
from time import time
import random


def parallelSim(job_queue, output_queue):
    for data in iter(job_queue.get, 'STOP'):
        choices = random.choices(data, k=10)
        total = 0
        for i, c in enumerate(choices):
            sign = 1 if i%2==0 else -1
            total += c * c * sign

        output_queue.put(total)

if __name__ == '__main__':
    start_time = time()

    job_queue = multiprocessing.Queue()
    output_queue = multiprocessing.Queue()

    # create some data
    data = list(range(1, 1000))

    # DEBUG
    #numCPUs = multiprocessing.cpu_count()
    numCPUs = 4
    iterations = 10
    numjobs = numCPUs * iterations

    # load up the job queue
    for sim in range(numjobs):
        job_queue.put(data)

    # add Stops to the job queue
    for x in range(numCPUs):
        job_queue.put('STOP')

    serialDebug = False
    if serialDebug is True:
        # Debug the Parallel Process
        parallelSim(job_queue, output_queue)

    else:
        # parallelize processing using a pool of processes
        for i in range(numCPUs):
multiprocessing.Process(target=parallelSim, args=(job_queue,
output_queue)).start()

    results = []
    for r in range(numjobs):
        results.append(output_queue.get())

    avg_result = sum(results) / numjobs
    print("")
    print(f'Average Results = {avg_result}')

    end_time = time()
    elapsed = end_time - start_time
    print(f"Finished in: {elapsed:.3f} seconds")


    -- 
Detlev Offenbach

det...@die-offenbachs.de

-- 
Detlev Offenbach

det...@die-offenbachs.de


--
Detlev Offenbach
det...@die-offenbachs.de



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: Issue with Eric7 and Parallel Processing

2023-11-16 Thread Detlev Offenbach

Hi Jaimie,

it is actually a one line change. If you visit 
https://hg.die-offenbachs.homelinux.org/eric/rev/1e498581a094 you will 
see, which line needs to be removed.


Regards,
Detlev

Am 16.11.23 um 19:10 schrieb Jamie Riotto:

Detlev,
Excuse my ignorance, but I'm not sure how to obtain a changeset 
through mercurial. Is there an easy way?

- j

On Thu, Nov 16, 2023 at 9:12 AM Detlev Offenbach 
 wrote:


Hi,

I just committed changeset 1e498581a094, which should fix the
issue. Please give it a try and let me know. Otherwise, it will be
contained in release 23.12 as is.

Regards, Detlev

Am 15.11.23 um 16:33 schrieb Jamie Riotto:

import multiprocessing
from time import time
import random


def parallelSim(job_queue, output_queue):
    for data in iter(job_queue.get, 'STOP'):
        choices = random.choices(data, k=10)
        total = 0
        for i, c in enumerate(choices):
            sign = 1 if i%2==0 else -1
            total += c * c * sign

        output_queue.put(total)

if __name__ == '__main__':
    start_time = time()

    job_queue = multiprocessing.Queue()
    output_queue = multiprocessing.Queue()

    # create some data
    data = list(range(1, 1000))

    # DEBUG
    #numCPUs = multiprocessing.cpu_count()
    numCPUs = 4
    iterations = 10
    numjobs = numCPUs * iterations

    # load up the job queue
    for sim in range(numjobs):
        job_queue.put(data)

    # add Stops to the job queue
    for x in range(numCPUs):
        job_queue.put('STOP')

    serialDebug = False
    if serialDebug is True:
        # Debug the Parallel Process
        parallelSim(job_queue, output_queue)

    else:
        # parallelize processing using a pool of processes
        for i in range(numCPUs):
            multiprocessing.Process(target=parallelSim,
args=(job_queue, output_queue)).start()

    results = []
    for r in range(numjobs):
        results.append(output_queue.get())

    avg_result = sum(results) / numjobs
    print("")
    print(f'Average Results = {avg_result}')

    end_time = time()
    elapsed = end_time - start_time
    print(f"Finished in: {elapsed:.3f} seconds")


-- 
Detlev Offenbach

det...@die-offenbachs.de


--
Detlev Offenbach
det...@die-offenbachs.de



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: Issue with Eric7 and Parallel Processing

2023-11-16 Thread Detlev Offenbach

Hi,

I just committed changeset 1e498581a094, which should fix the issue. 
Please give it a try and let me know. Otherwise, it will be contained in 
release 23.12 as is.


Regards, Detlev

Am 15.11.23 um 16:33 schrieb Jamie Riotto:

import multiprocessing
from time import time
import random


def parallelSim(job_queue, output_queue):
    for data in iter(job_queue.get, 'STOP'):
        choices = random.choices(data, k=10)
        total = 0
        for i, c in enumerate(choices):
            sign = 1 if i%2==0 else -1
            total += c * c * sign

        output_queue.put(total)

if __name__ == '__main__':
    start_time = time()

    job_queue = multiprocessing.Queue()
    output_queue = multiprocessing.Queue()

    # create some data
    data = list(range(1, 1000))

    # DEBUG
    #numCPUs = multiprocessing.cpu_count()
    numCPUs = 4
    iterations = 10
    numjobs = numCPUs * iterations

    # load up the job queue
    for sim in range(numjobs):
        job_queue.put(data)

    # add Stops to the job queue
    for x in range(numCPUs):
        job_queue.put('STOP')

    serialDebug = False
    if serialDebug is True:
        # Debug the Parallel Process
        parallelSim(job_queue, output_queue)

    else:
        # parallelize processing using a pool of processes
        for i in range(numCPUs):
            multiprocessing.Process(target=parallelSim, 
args=(job_queue, output_queue)).start()


    results = []
    for r in range(numjobs):
        results.append(output_queue.get())

    avg_result = sum(results) / numjobs
    print("")
    print(f'Average Results = {avg_result}')

    end_time = time()
    elapsed = end_time - start_time
    print(f"Finished in: {elapsed:.3f} seconds")


--
Detlev Offenbach
det...@die-offenbachs.de



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: Issue with Eric7 and Parallel Processing

2023-11-15 Thread Detlev Offenbach

Hi Jaimie,

would it be possible to create the sample script without the dependency 
to numpy? THat would make the task on my side much easier.


Regards,
Detlev

Am 14.11.23 um 18:50 schrieb Jamie Riotto:

Dear Eric Folks,
I have recently upgraded from:
- Python 3.9.5, 64-bit
- Qt 5.15.2
- PyQt 5.15.4
- QScintilla 2.12.0
- sip 6.1.0.dev2104271705
- eric6 19.12(rev.274baadc5686)

to:
- Python 3.9.13, 64-bit
- Qt 6.6.0
- PyQt 6.6.0
- QScintilla 2.14.1
- sip 6.7.12
- eric7 23.112(rev.e075c8fe07fd)

After porting to PyQt6 (mostly enum fixes) most of my applications are 
running just fine. However,
I have noticed big issues with parallel processing apps. I've 
whittled down a Solitaire simulation
to a bare minimum to show the problem. The runs in about 1 sec (almost 
all parallel queue setup)
on Eric6 / PyQt5, but never terminates or prints anything on Eric7 / 
PyQt6. Also, when I set the
cpu count to number of cores (right now the code hardwires cpus = 1) 
and the iterations to 30,000
the Eric6 process takes 105 seconds and pegs all 32 cores to 100% 
almost immediately. On the other hand, the Eric7 process never show a 
utilization of more than 7 or 8%.


Any help would be greatly appreciated, along with any suggestions of 
what I could try next.


Here is the code if it helps:


import random
import itertools
import multiprocessing
import numpy as np
from time import time


#=
#
# Parallel Solitaire Simulator
#

def parallelSim(jobs, sims):
    print(f'Sim # {sims}')
    for new_deck, iterations, in iter(jobs.get, 'STOP'):
        results = np.zeros(52, 'i')
        for sim in range(iterations):
            deck = new_deck.copy()
            random.shuffle(deck)
            piles = []
            while len(deck):
                piles.append([deck.pop()])

            # start playing
            i = len(piles) - 1
            while i > 0:
                # check next pile Suit and Number
                if (piles[i-1][-1][0] == piles[i][-1][0] or
                    piles[i-1][-1][1] == piles[i][-1][1]):

                        # adjacent pile has a match, card goes there
                        piles[i-1].extend(piles[i])

                        # left shift all the remaining used piles
                        piles[i:] = piles[i+1:]

                        # adjust index to shifted pile
                        i = len(piles) - 1
                        continue
                i -= 1

            results[len(piles)] += 1

        sims.put(results)
#
#


if __name__ == '__main__':
    killZombies()

    start_time = time()

    # randomize the randomizer
    random.seed()

    numCPUs = multiprocessing.cpu_count()
    numCPUs = 1
    jobs = multiprocessing.Queue()
    sims = multiprocessing.Queue()

    # create a deck of cards
    new_deck = list(itertools.product('HCDS', range(1, 14)))

    iterations = 10
    numJobs = numCPUs * iterations
    for sim in range(numCPUs):
        jobs.put([new_deck.copy(), iterations])

    # add Stops to the queues
    for x in range(numCPUs):
        jobs.put('STOP')

    serialDebug = False
    if serialDebug is True:
        parallelSim(jobs, sims)

    else:
        # parallelize file processing using a pool of processes
        for i in range(numCPUs):
            multiprocessing.Process(target=parallelSim, args=(jobs, 
sims)).start()


    results = np.zeros(52, 'i')
    for r in range(numCPUs):
        partial = sims.get()
        results += partial

    print("")
    result_indicies = np.nonzero(results)[0]
    total = 0
    for index in result_indicies:
        print('{:d}:{:d},  '.format(index, results[index]), end="")
        total += results[index]

    print("")
    print("Wins = ", results[1])
    print("Total = ", total)
    print("Win Ratio = ", results[1]/total)
    print("")

    end_time = time()
    elapsed = end_time - start_time
    print(f"Finished in: {elapsed:.3f} seconds")
    print("Done")



--
Detlev Offenbach
det...@die-offenbachs.de



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


ANN: eric 23.11 released

2023-10-31 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 23.11. It fixes some bugs and adds these new features.

 * General
 o Added the capability to select list entries with a configurable
   action (system default, double click, single click) (see
   `Interface => Interface` configuration page)
 * Editor
 o Enhanced the print capability with the configuration of the
   print color mode (e.g. to print an editor with a dark background).
 * Project Viewer
 o Added the context menu action "New source file..." to give a
   more concise way to create a new source file.

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


ANN: eric 23.10 released

2023-10-05 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 23.10. It fixes some bugs and adds these new features.

 * General
 o Made the code compatible with Python 3.12.
 * Editor
 o Added a typing completer for TOML files.
 o Enhanced the existing completers slightly.
 o Enhanced the 'Search & Replace' widget to allow a mode switching
   using a mode switch button and keyboard shortcuts (see issue 511) .
 * Mercurial Interface
 o Added the capability to select the branches to be shown to the
   Log Browser window.
 * MicroPython
 o Updated the list of known CircuitPython boards.
 * pip Interface
 o Added capability to disable display of vulnerability data (e.g.
   if system does not support HTTPS protocol).
 * Shell
 o Added some more special commands (% commands). Type '%help' to
   get a dialog listing these commands.
 * Syntax Checker
 o Added code to the Python syntax checker to report Python Warnings.
 * Third Party packages
 o Upgraded eradicate to version 2.3.0.
 o Upgraded pip-licenses to version 4.3.2.

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


ANN: eric 23.9 released

2023-09-01 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 23.9. It fixes some bugs and adds these new features.

 * MicroPython
 o Added support to set the host name of the device (WiFi and
   Ethernet).
 o Added support to set the WiFi country code (where supported by
   the device and the installed firmware).
 * Project
 o Added capability to configure the project sources directory
   (e.g. if the project uses the 'src' directory layout schema).
 * Third Party packages
 o Upgraded pyflakes to version 3.1.0.
 o Upgraded pycodestyle to version 2.11.0.

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


ANN: eric 23.8 released

2023-08-01 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 23.8. It fixes some bugs and adds these new features.

 * General
 o Removed support for Python 3.7 because that is EOL.
 * Code Style Checker
 o Added these checkers to support more case.
 + use of sync functions in async functions
 * MicroPython
 o Updated the list of known CircuitPython boards.
 o Updated the list of known UF2 capable boards.
 * pip Interface
 o Added the capability to repair all dependencies with one button
   click.
 * Shell Window
 o Added more pages to the Shell window configuration dialog.

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


ANN: eric 23.7 released

2023-07-02 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 23.7. It fixes some bugs and adds these new features.

 * Code Style Checker
 o Added these checkers to support more case.
 + property decorator usage
 + PEP-604 style union type annotations
 + deprecated 'typing' symbols (PEP 585)
 * MicroPython
 o Added support for Bluetooth for RP2040 based boards (e.g. Pi
   Pico W).
 * pip Interface
 o Added a standalone application for Python package management
   with `pip`.

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


ANN: eric 23.6 released

2023-05-28 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 23.6. It fixes some bugs and adds these new features.

 * Code Style Checker
 o Updated these checkers to support more cases.
 + Annotations
 + Miscellaneous
 + Name Order
 + Simplify
 o Added these checkers to support more case.
 + unused arguments
 + unused global variables
 * MicroPython
 o Added support of th WebREPL device interface available on some
   boards with builtin network capability.
 o Added the capability to enable/disable the WebREPL via the WiFi
   menu.
 * Third Party packages
 o Upgraded pipdeptree to version 2.7.1.
 o Upgraded pip-licenses to version 4.3.1.

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Background Colour

2023-05-07 Thread Detlev Offenbach

Hi Mick,

Do you have a theme loaded via the 'Import Theme' or did you configure a 
style sheet on the Interface page? If so, which one is it. If not Qt 
should use the color scheme of your system.


Regards,
Detlev

Am 07.05.23 um 17:39 schrieb Mick Sulley:
One other area that causes me a bit of trouble it the tabs on the code 
editor screen.  They are dark grey text on light grey background with 
not much difference between the two greys.  I have looked through the 
configuration dialogue but can see anything.  I assume that it is 
there somewhere, I'm just failing to find it.


Thanks

Mick

On 04/05/2023 13:31, Mick Sulley wrote:

Brilliant! Thank you. Mick

On 04/05/2023 10:25, Detlev Offenbach wrote:

Hi Mick,

the colors of the editor are determined by the syntax highlighters 
when it contains some supported source code. To change these please 
open the configuration dialog, Editor->Highlighter Styles page and 
select the programming language to be changed.


Hope this helps,
Detlev

Am 04.05.23 um 10:56 schrieb Mick Sulley:
The background on the code edit window is light grey.  My eyesight 
is not what is was and it would be easier for me if I could change 
it to a white background but I cannot see how to do that.


I have looked at Settings > Preferences > Editor > Style and found 
many things I can change but cannot see how to change the 
background.  Anyone know?


Thanks

Mick


--
Detlev Offenbach
det...@die-offenbachs.de



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Background Colour

2023-05-04 Thread Detlev Offenbach

Hi Mick,

the colors of the editor are determined by the syntax highlighters when 
it contains some supported source code. To change these please open the 
configuration dialog, Editor->Highlighter Styles page and select the 
programming language to be changed.


Hope this helps,
Detlev

Am 04.05.23 um 10:56 schrieb Mick Sulley:
The background on the code edit window is light grey.  My eyesight is 
not what is was and it would be easier for me if I could change it to 
a white background but I cannot see how to do that.


I have looked at Settings > Preferences > Editor > Style and found 
many things I can change but cannot see how to change the background.  
Anyone know?


Thanks

Mick


--
Detlev Offenbach
det...@die-offenbachs.de



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: ANN: eric 23.5 released

2023-05-02 Thread Detlev Offenbach

Hi Mick,

you need to install the 'libxcb-cursor0' system package using your 
package manager. I think, Qt 6.5.0 introduced this additional dependency.


Note to all: This or something similar might be necessary on ther Linux 
systems as well.


Regards, Detlev

Am 02.05.23 um 12:24 schrieb Mick Sulley:


Hi Detlev,

I just installed the new release on Mint using the script on the web 
page but it won't start. This is what I see in a terminal


mick@DeskMint21:~/eric_env/bin$ ./eric7_ide qt.qpa.plugin: Could not 
load the Qt platform plugin "xcb" in "" even though it was found. This 
application failed to start because no Qt platform plugin could be 
initialized. Reinstalling the application may fix this problem. 
Available platform plugins are: vkkhrdisplay, linuxfb, minimalegl, 
offscreen, wayland-egl, vnc, wayland, minimal, eglfs, xcb. Aborted 
(core dumped) mick@DeskMint21:~/eric_env/bin$


Have I missed something?

Thanks

Mick

On 02/05/2023 09:56, Detlev Offenbach wrote:


Hello Pythonistas,

I just uploaded eric 23.5. It fixes some bugs and adds these new 
features.


  * JavaScript Support
  o Removed JavaScript functionality depending on the `jasy`
package because it has not been maintained for years.
  * MicroPython
  o Added support for STLink based devices.
  o Added the capability to select the device path manually in
case it could not be detected (e.g. because the device does
not have a volume name).
  o Added the capability to install the `mpy-cross` compiler from
the MicroPython page of the configuration dialog.
  o Added a package installer for devices lacking network
connectivity and the `mip` package manager.
  * Plugin Repository
  o Added the capability to enforce the download of plugin
packages using the `http://` protocol (in case of
missing/non-functional system `SSL` libraries).
  * Translator
  o Added support for the LibreTranslate translator (see
https://github.com/LibreTranslate/LibreTranslate).
  * Web Browser
  o Added the capability to enforce the download of spell check
dictionaries using the `http://` protocol (in case of
missing/non-functional system `SSL` libraries).

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>


--
Detlev Offenbach
det...@die-offenbachs.de



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


ANN: eric 23.5 released

2023-05-02 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 23.5. It fixes some bugs and adds these new features.

 * JavaScript Support
 o Removed JavaScript functionality depending on the `jasy` package
   because it has not been maintained for years.
 * MicroPython
 o Added support for STLink based devices.
 o Added the capability to select the device path manually in case
   it could not be detected (e.g. because the device does not have
   a volume name).
 o Added the capability to install the `mpy-cross` compiler from
   the MicroPython page of the configuration dialog.
 o Added a package installer for devices lacking network
   connectivity and the `mip` package manager.
 * Plugin Repository
 o Added the capability to enforce the download of plugin packages
   using the `http://` protocol (in case of missing/non-functional
   system `SSL` libraries).
 * Translator
 o Added support for the LibreTranslate translator (see
   https://github.com/LibreTranslate/LibreTranslate).
 * Web Browser
 o Added the capability to enforce the download of spell check
   dictionaries using the `http://` protocol (in case of
   missing/non-functional system `SSL` libraries).

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Python3 API generation

2023-04-21 Thread Detlev Offenbach

Hi Pete,

the Python3 API file were never included. They are part of QScintilla. 
The API files plugin includes a bunch of such files for convenience or 
if they have been omitted by a distribution package maintainer.


Regards,
Detlev

Am 21.04.23 um 15:33 schrieb Hans-Peter Jansen:

Hi Detlef,

I just updated the eric package for openSUSE Tumbleweed.

During that process I noticed, that you omitted the python3 API files,
which I do understand, since they vary greatly between versions.

Can you give me an example, how you create the API files for a python
interpreter? My plan is to generate the them for the default interpreter at
least during packaging.

Thanks and cheers,
Pete
--
Life without chameleons is possible, but pointless.




--
Detlev Offenbach
det...@die-offenbachs.de



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


ANN: eric 23.4 released

2023-03-29 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 23.4. It fixes some bugs and adds these new features.

 * Editor
 o Added capability to highlight the area used by a text search (if
   it is not the whole document).
 * MicroPython
 o Updated the list of known CircuitPython boards.
 o Updated the list of known UF2 capable boards.
 o Added functionality to search for known boot volumes in the UF2
   flash dialog.
 o Added functionality to install packages using `mip` or `upip`.
 o Added support for WiFi enabled boards.
 o Added support for Bluetooth enabled boards.
 o Added support for Ethernet enabled boards.
 o Added support for synchronizing the board time via NTP for
   network enabled boards.
 o Added a dialog to enter the parameters to convert a .hex or .bin
   firmware file to UF2.
 * Mini Editor
 o Added capability to highlight the area used by a text search (if
   it is not the whole document).
 * Syntax Checker
 o Added the capability to define names to be treated as builtin
   names by the `pyflakes` checker globally (see configuration
   dialog `Editor => Code Checkers` page and on a per project basis
   (see `Project-Tools => Check => Syntax`).
 * Third Party packages
 o Upgraded eradicate to version 2.2.0.
 o Upgraded pipdeptree to version 2.5.2.
 o Upgraded pip-licenses to version 4.1.0.

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


ANN: eric 23.3 released

2023-03-01 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 23.3. It fixes some bugs and adds these new features.

 * MicroPython
 o Updated the list of known CircuitPython boards. 
 o Updated the list of known UF2 capable boards.

 o Some smaller enhancements for CircuitPython devices.
 o Added functionality to update modules of CircuitPython devices
   with `circup` (adapted for use within eric-ide).
 o Added functionality to show the installed firmware version and
   the version available on Github (for all boards except 'Calliope
   mini').
 o Added support for Teensy 4.0 and 4.1 devices with MicroPython.
 o Extended the file manager to be able to load device files into
   an editor and save them back to the device. 
 * PDF Viewer

 o Added a tool based on `QtPdf` and `QtPdfWidgets` to show the
   contents of PDF files.

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: eric7 stuck at startup (ubuntu 22.04)

2023-02-18 Thread Detlev Offenbach

Hi,

the observed issue is caused by Ubuntu. Starting with Ubuntu 22.04 they 
changed libssl  from version 1.x to 3.x. Unfortunately Qt6 is still 
compiled against libssl 1.x. This will change with Qt 6.5 once it is 
released. The only solution is to install the package libssl1.1 from 
Ubuntu 20.04.


Regards,
Detlev

Am 18.02.23 um 15:47 schrieb mham...@free.fr:

Hi Michael,

Thank you for the quick answer. It doesn't seem to be that same issue.
BTW I installed eric through pip.

I tried to drop .eric7 folder as well.

- Mail original -

De: "MichaelR" 
À: eric@riverbankcomputing.com
Envoyé: Samedi 18 Février 2023 15:27:48
Objet: Re: eric7 stuck at startup (ubuntu 22.04)

That sounds kinda similar to something I recently ran across:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031373

The short answer for me was to install libqt6sql6-sqlite.  Debian's
eric package is being updated to reflect that dependency.  Perhaps
Ubuntu "inherited" this problem?




On Sat, 18 Feb 2023 15:03:21 +0100 (CET)
mham...@free.fr wrote:


Hi,

I'm running Ubuntu 22.04,
I just created a new venv, ran 'pip install eric-ide'.
Activate the venv then start eric with 'eric7_ide --debug'

The main splash screen and main window appear and gets stuck on
"Starting Debugger".

In the console I get the following output. At the end I hit Ctrl+C,
the traceback is displayed but nothing more happens.

  What's wrong ?

===

$ eric7_ide --debug
DEBUG:root:Importing Preferences
Warning: translation file 'qscintilla_en_US'could not be loaded.
Using default.
qt.tlsbackend.ossl: Incompatible version of OpenSSL (built with
OpenSSL 1.x, runtime version is >= 3.x) qt.network.ssl: The backend
"cert-only" does not support QSslKey qt.network.ssl: Active TLS
backend does not support key creation qt.network.ssl: The backend
"cert-only" does not support QSslKey qt.network.ssl: Active TLS
backend does not support key creation qt.network.ssl: The backend
"cert-only" does not support QSslKey qt.network.ssl: Active TLS
backend does not support key creation qt.network.ssl: The backend
"cert-only" does not support QSslKey qt.network.ssl: Active TLS
backend does not support key creation DEBUG:root:Starting...
DEBUG:root:Generating Main Window...
DEBUG:root:Initializing Basic Services...
DEBUG:root:Creating Conda Interface...
DEBUG:root:Creating Pip Interface...
qt.network.ssl: The backend "cert-only" does not provide system CA
certificates DEBUG:root:Creating Virtual Environments Manager...
DEBUG:root:Creating Project Manager...
DEBUG:root:Creating Multi-Project Manager...
DEBUG:root:Creating Debug Server...
Background Service listening on: 127.0.0.1:43129
DEBUG:root:Initializing Plugin Manager...
qt.network.ssl: The backend "cert-only" does not provide system CA
certificates DEBUG:root:Generating Main User Interface...
DEBUG:root:Creating Application Objects...
DEBUG:root:Creating Viewmanager...
DEBUG:root:Creating Previewer...
DEBUG:root:Creating Python AST Viewer
DEBUG:root:Creating Python Disassembly Viewer
DEBUG:root:Creating Project Browser...
DEBUG:root:Creating Multiproject Browser...
DEBUG:root:Creating Task Viewer...
DEBUG:root:Creating Log Viewer...
DEBUG:root:Creating Debug Viewer...
DEBUG:root:Creating Shell...
DEBUG:root:Creating Template Viewer...
DEBUG:root:Creating File Browser...
DEBUG:root:Creating Symbols Viewer...
DEBUG:root:Creating Code Documentation Viewer...
qt.webenginecontext:

GL Type: desktop
Surface Type: OpenGL
Surface Profile: CompatibilityProfile
Surface Version: 4.3
QSG RHI Backend: OpenGL
Using Supported QSG Backend: yes
Using Software Dynamic GL: no
Using Multithreaded OpenGL: no

Init Parameters:
   *  application-name eric7
   *  browser-subprocess-path
/home/martin/eric_install/lib/python3.10/site-packages/PyQt6/Qt6/libexec/QtWebEngineProcess
   *  create-default-gl-context
   *  disable-features
ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture
   *  disable-setuid-sandbox
   *  disable-speech-api
   *  enable-features
   NetworkServiceInProcess,TracingServiceInProcess
   *  enable-threaded-compositing
   *  in-process-gpu
   *  use-gl desktop

DEBUG:root:Creating PyPI Package Manager...
DEBUG:root:Creating Conda Package Manager...
DEBUG:root:Creating Chat Widget...
DEBUG:root:Creating IRC Widget...
qt.network.ssl: The backend "cert-only" does not provide system CA
certificates DEBUG:root:Creating MicroPython Widget...
DEBUG:root:Creating Numbers Viewer...
DEBUG:root:Creating Jedi Assistant...
JSON server (JediServer) listening on: 127.0.0.1:44037
qt.network.ssl: The backend "cert-only" does not provide system CA
certificates DEBUG:root:Creating Internal Help Viewer...
DEBUG:root:Creating Layout...
DEBUG:root:Creating sidebars...
DEBUG:root:Creating Sidebars Layout...
DEBUG:root:Creating central widget...
DEBUG:root:Created Layout

ANN: eric 23.2 released

2023-01-24 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 23.2. It fixes some bugs and adds these new features.

 * Human Machine Interfaces
 o Changed code to use the default tab bar icon size.
 * Debug Client - Python
 o Removed the internal copy of the 'coverage' package and made it
   a dependency.
 * pip Interface
 o Added code to show the full text of security advisories in the
   package details dialog.
 o Added a tab to show the defined project URLs to the package
   details dialog.
 o Changed the package details dialog to show just those tabs, that
   contain some data.
 * Help Viewer
 o Added a configuration option to disable the search for new
   QtHelp documents on startup.
 * Web Browser
 o Updated the included 'jquery.js' and 'jquery-ui.js' needed by
   the Speeddial page and adapted this page to the new/changed
   functions.

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Different output from Eric and Terminal

2023-01-19 Thread Detlev Offenbach

Hi,

over here I get identical output. The only passibility I can think of 
is, that the eric terminal uses a different Python environment with a 
different psutil package version than the standard terminal.


Regards,
Detlev

Am 20.01.23 um 00:03 schrieb Mick Sulley:

Hi Detlev,

I have just noticed that I have different output running code in Eric 
vs terminal


This is the code -

#!/usr/bin/python3
import psutil
dat = psutil.sensors_temperatures()
print(f'dat = {dat}')

The output if I run it in Eric -

Python 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0] on DeskMint21
[eric_environment]
>>> dat = {'acpitz': [shwtemp(label='', current=27.8, high=106.0, 
critical=106.0), shwtemp(label='', current=29.8, high=106.0, 
critical=106.0)], 'coretemp': [shwtemp(label='Package id 0', 
current=48.0, high=85.0, critical=105.0), shwtemp(label='Core 0', 
current=48.0, high=85.0, critical=105.0), shwtemp(label='Core 1', 
current=47.0, high=85.0, critical=105.0), shwtemp(label='Core 2', 
current=36.0, high=85.0, critical=105.0), shwtemp(label='Core 3', 
current=39.0, high=85.0, critical=105.0)]}

>>>

The output in a terminal -

pi@pi-porch:~/v16_2 $ python3 temp.py
dat = {'cpu_thermal': [shwtemp(label='', current=37.552, high=None, 
critical=None)]}

pi@pi-porch:~/v16_2 $


I don't understand why it is different.  Is there something wrong or 
have I misunderstood something?


Thanks

Mick


--
Detlev Offenbach
det...@die-offenbachs.de



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


ANN: eric 23.1.1 released

2023-01-03 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 23.1.1. It fixes some bugs discovered after 
yesterdays release.



It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


ANN: eric 23.1 released

2023-01-02 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 23.1. It fixes some bugs and adds these new features.

 * Class Browsers
 o Removed the IDL and Protobuf class browsers to include them in
   their respective plugin.
 * Code Formatting
 o Added an option to configure the 'known first party' packages to
   the isort configuration dialog.
 * Editor
 o Changed the handling of files whose type cannot be determined by
   the Python mimetypes module to check against a list of known
   text file patterns and ultimately asking the user, if the file
   in question is a text file (see `Mimetypes` configuration page).
 o Added a configuration option to disable the source navigator
   (selector boxes above the editor or code outline right of the
   editor). This is useful e.g. on very small screens.
 o Added support for multiple cursor paste.
 * Find In Files
 o Added context menu entries in Replace mode to select/deselect
   all entries (e.g. useful for checking big replacement lists for
   validity).
 * MicroPython
 o Updated the list of known CircuitPython boards.
 o Updated the list of known UF2 capable boards.
 * Project
 o Extended the list of default file type associations.
 o Added the capability to edit the file type associations from
   within the project properties dialog.
 * Project Viewer
 o Removed the CORBA and Protobuf viewers to make them available as
   plugins.
 o Added a `Collapse all files` entry to the Project Sources viewer.
 * - Version Control Systems - git
 o Changed git interface code to work with `git worktrees`.
 o Added a dialog to manage worktrees ( `git worktree` commands).
 * - Third Party packages
 o Upgraded pipdeptree to version 2.3.3.
 o Upgraded pip-licenses to version 4.0.2.
 o Upgraded pycodestyle to version 2.10.0.
 o Upgraded pyflakes to version 3.0.1.

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Adding files to project.

2022-12-22 Thread Detlev Offenbach

Hi Ivan,

that is not possible. Everything outside the project directory is 
treated as a prerequisite, i.e. third party software the project depends on.


Regards,
Detlev

Am 22.12.22 um 22:36 schrieb Ivan Burroughs:
Is it possible to add files to a project without copying those files 
into the project directory?

Such as library files.


--
Detlev Offenbach
det...@die-offenbachs.de



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: upgrading to Qt6 pyuic6 not found

2022-12-21 Thread Detlev Offenbach

Hi David,

pyuic6 is included in the PyQt6 package. If you installed eric into a 
Python virtual environment, it is installed in the 'bin' directory of 
this environment. In that case eric will detect it automatically (check 
the External Tools... dialog). If the PyQt6 tools are somewhere else on 
your system, you may configure that on the Qt configuration page.


Regards,
Detlev

Am 20.12.22 um 19:26 schrieb David Beck:

Hello,

I’m upgrading to Qt 6/PyQt6 (Mac OS 13.0.1) and trying to get my 
project working in Eric. When I try to compile .ui forms using the 
right-click in the second (Forms) tab in the lefthand column of the 
main window, I get the following error:


Could not start pyuic6
Ensure that it is in the search path.


The “mic Compiler Options” window asks me to locate the package root, 
but I can'’t find “pyuic6” anywhere in the Qt or PyQt installation, so 
I’m not sure where to point it to.


Probably a simple fix, but any help would be appreciated.

David Beck


--
Detlev Offenbach
det...@die-offenbachs.de



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: kivy plugin and kv files

2022-12-09 Thread Detlev Offenbach

Hello Michele,

this unwanted behavior is caused by a change introduced in release 
22.12. It is to avoid loading unknown (potentially big binary) files. 
Unfortunately it has the side effect, that quite a bunch of text files 
cannot be loaded anymore. However, that can be changed on the 
'Mimetypes' configuration page by checking the option 'Load files of 
unknown types'. There will be a further change in release 23.1 which 
checks for a configurable list of known text file extensions (e.g. 
*.kv). That is already part of the sources of the source code repository 
(branch eric7).


Regards,
Detlev

Am 09.12.22 um 15:19 schrieb Michele Petrazzo:

Hi List,
I'm trying to use eric7 (22.12) with kivy plugin (Kivy Project Plugin 
v.10.22) for edit the .kv files, but when I try to open .kv file, 
eric7 tells me that: "the file /src-app/kv/main.kv/ is not a text 
file. It will not be opened!"


I look around, but all seem right and I don't know how to open the 
files with eric.

The same with "buildozer.spec" file (it's a .ini file)

Also the file association seems to be right.

immagine.png


Thanks,
Michele


--
Detlev Offenbach
det...@die-offenbachs.de



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


ANN: eric 22.12 released

2022-12-01 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 22.12. It fixes some bugs and adds these new features.

 * Code Formatting
 o added an interface to resort the import statements of Python
   source files with the 'isort' utility
 * Code Style Checker
 o added a few imports style options and added a sorting function
   iaw. the 'isort' utility 
 * CycloneDX Interface
 o added capability to generate readable (prettified) output 
 * Debugger

 o increased the configuration possibilities for the network
   interface the debug server listens on 
 o added the capability to configure the debug server of the IDE to
   listen at a fixed network port (default 35000) 
 o added a stack frame selector to the global variables viewer
   (synchronized with the one of the local variables viewer) 
 * MicroPython

 o introduced a configuration option to enable manual selection of
   devices (e.g. for unknown devices or inside the Linux container
   of ChromeOS) 
 * Previewers

 o added a button to copy the contents of the HTML previewer to the
   clipboard 
 * Project
 o added capability to reload the current project 
 * Qt Tools

 o added a configuration option for the path of the
   'qhelpgenerator' tool (it is installed differently by various
   Linux distributions) 
 * Web Browser

 o added bookmark importer entries for
 + Falkon
 + Microsoft Edge
 + Opera (Chromium based)
 + Vivaldi 


It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Updating packages in eric-ide venv

2022-10-31 Thread Detlev Offenbach

Hi Tony,

usually it is safe to update the packages of the venv. I am doing this 
myself during development. However, I cannot give an absolute guarantee, 
that it will never ever cause trouble. And if it does, you have always 
the option to revert back to an older version of such a package. You 
could freeze your environment in case you have to do such a reversion.


Regards,
Detlev

Am 31.10.22 um 17:09 schrieb Tony Arnold:

Hi,

I've been wondering about this for a while. I run eric in a venv. I 
tend to update eric by updating the eric-ide package in the venv using 
the PyPi in eric itself.


My question is: is it safe to update all the other packages to their 
latest available versions in the venv or could this cause problems?


Regards,
Tony.
--
Tony Arnold, retired IT Security Analyst
M: +44 (0) 7521 071138, E: a.c.arn...@gmail.com


--
Detlev Offenbach
det...@die-offenbachs.de



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


ANN: eric 22.11 released

2022-10-31 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 22.11. It fixes some bugs and adds these new features.

 * Debugger
 o added the capability to apply the current selection of the
   `Variable Types Filter` to see its effect
 o added the capability to add a positive (`Show Only`) or negative
   (`Don't Show`) variables filter to the global and local
   variables viewers
 * Editor
 o added a configuration option to reject the loading of a file
   that exceeds the configured size
 o opening a file that is not a text file will be rejected
 * Git Interface
 o added support for `git blame --ignore-revs-file` including an
   action to create such a skip list file
 * Mercurial Interface
 o added support for `hg annotate --skip` including an action to
   create a file for the commit IDs to be skipped (one per line)
 * Project
 o refined the embedded environment handling
 o added a topic to the project properties to define the sources
   start path within the project ('Translations Properties Dialog')
 * Scripts
 o renamed 'eric7.py' to 'eric7_ide.py' in order to remove the
   ambiguity between the main script and the package
 * Styles and Themes
 o added a style sheet for the dark gray theme
 * Translator
 o added the command line switch `--no-multimedia` to forcefully
   disable the pronounce function of the translator widget (in case
   Qt aborts the application start process)
 * Various
 o changed the Gmail interface to use the Google API packages for
   authentication (OAuth2) and sending of emails
 * Virtual Environments
 o added the capability to enter a descriptive text for a virtual
   environment
 * Third Party packages
 o upgraded coverage to 6.5.0
 o upgraded pycodestyle to version 2.9.1
 o upgraded pyflakes to version 2.5.0

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


ANN: eric 22.10 released

2022-10-01 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 22.10. It fixes some bugs and adds these new features.

 * API files
 o added API files for the Adafruit CircuitPython Library Bundle
 o updated the CircuitPython API file
 * Code Formatting
 o added a Project menu entry to just configure the formatting
   parameters
 o added the capability to format the source code after a diff or
   check run from within the results dialog
 * Code Style Checker
 o added some more security related checks
 o extended the list of miscellaneous checks
 * pip Interface
 o changed the pip licenses dialog to show the count of each
   individual license
 * Project
 o added capability to use a virtual Python environment named .venv
   embedded within the project directory
 o added a configuration option to save the project automatically
   whenever it changes
 * Testing
 o extended the testing dialog to allow test case filtering on
   markers (pytest only)
 o extended the testing dialog to allow test case filtering by a
   list of test name patterns (unittest) or test name expression
   (pytest)
 * Translator
 o added support for 'Ukrainian' to the DeepL translator interface
 * install scripts
 o modified install.py script to differentiate between optional and
   required dependencies
 o modified the install script such, that the qt6-applications
   package is only installed upon request (--with-tools)
 o extended the install-dependencies.py script to differentiate
   between optional and required dependencies. Invoke it with
   "python3 install-dependencies.py --all | --optional | --required"

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>


Re: issue with "Generate Dialog Code"

2022-09-19 Thread Detlev Offenbach

Hi,

according to the screenshots I am assuming you are following along the 
MiniBrowser tutorial. I tried this over here and everything is working 
as expected. Please note, that the tutorial was once written for eric6 
and PyQt5. This needs to be changed to PyQt6. If that is not the source 
of your issue, please let me know all details in order to reproduce and 
fix it.


Regards,
Detlev

Am 18.09.22 um 14:12 schrieb Md. Shahinur Rahman:
I'm having an issue with the functionality "Generate Dialog Code..." 
from  an .ui file. While click on that option the appear an error 
"There was an error loading the form */path/of/the/ui/file.ui*". After 
click *OK* an empty dialog box appear. If click on "*New...*" button, 
the error message shows again.

The bellow images showing the steps.

During Dialog Generate Code:
2022-09-18_17-53.png

*Can not load form Error shows:*
2022-09-18_17-58.png

Form code generator Dialog Box shows the Error Again:

2022-09-18_18-06.png

I'm struck at this point. Can you please suggest me what to do?

-Thanks
Shahinur


--
Detlev Offenbach
det...@die-offenbachs.de


Re: tips for using eric for micropython?

2022-09-03 Thread Detlev Offenbach

Hi Chris,

when typing in the MicroPython console ther is no completion available 
as all the code is executed on the micro controller. The suggested 
workflow is to code your project on the host computer using the eric 
Assistant completions with the provided MicroPython API files. However, 
I cannot guarantee that these are complete and 100% in line with the 
MicroPython or CircuitPython libraries. Patches and updates to these API 
files are welcome.


Once you reach a sufficient code maturity, you can copy these files onto 
the µController using the built in µPy file management UI.


Hope this helps a little bit. Once you worked out a workflow for you, I 
would be happy to get a HowTo on this topic.


Regards,
Detlev

Am 03.09.22 um 18:23 schrieb Christian Haul:


Hi list,
I have recently started using Eric7 22.9 for micropython on an ESP8266 
(Wemos D1 mini to be precise) and it works nicely.


However, I'm missing API hints and validation. Is there a way to tell 
Eric about the environment and provide feedback on

misspelled method names and get auto-completion?

How do others setup Eric with uPy? Do you put all libs into your 
workspace?


TIA,

Chris.




--
Detlev Offenbach
det...@die-offenbachs.de



ANN: eric 22.9 released

2022-09-02 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 22.9. It fixes some bugs and adds these new features.

 * Code Style Checker
 o extended the Naming style checker to be more PEP8 compliant
 o updated imports checker to support banned module patterns
 o updated the annotations checker to support more cases
 o updated the simplifications checker to support more cases
 * Debugger
 o added capability to suppress reporting of unhandled exceptions
 * Editor
 o extended the Pygments based lexer to support the various comment
   variants
 * Interface
 o added capability to expand or shrink the sidebar by clicking on
   the empty part of the icon bar
 * MicroPython
 o added capability to connect to devices for which only the serial
   port name is available

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>


Re: bug on eric7 22.8.1 (rev. afbd61b99bf4) - ubuntu 22.04.1

2022-08-29 Thread Detlev Offenbach
That means I have no idea, what caused your issue. Please let me know, 
if it appears again after an update or so.


Detlev

Am 29.08.22 um 14:06 schrieb Michele Petrazzo:

Hi,
if that wasn't the case, I don't know right now which is the cause 
because I didn't anything other than /pip install eric-ide/

Yes, I install eric always with install.py script

Michele



Il giorno lun 29 ago 2022 alle ore 13:53 Detlev Offenbach 
 ha scritto:


Hi,

none of the mentioned ones should have caused the tabview plugin
not to load (unless there are sub-dependencies that I missed).
Actually, the install.py script should have installed these as
well. How did you install?

Detlev

Am 29.08.22 um 13:46 schrieb Michele Petrazzo:

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
 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:

/:
/
/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 Offenbach

det...@die-offenbachs.de

-- 
Detlev Offenbach

det...@die-offenbachs.de


--
Detlev Offenbach
det...@die-offenbachs.de


Re: bug on eric7 22.8.1 (rev. afbd61b99bf4) - ubuntu 22.04.1

2022-08-29 Thread Detlev Offenbach

Hi,

none of the mentioned ones should have caused the tabview plugin not to 
load (unless there are sub-dependencies that I missed). Actually, the 
install.py script should have installed these as well. How did you install?


Detlev

Am 29.08.22 um 13:46 schrieb Michele Petrazzo:

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 
 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:

/:
/
/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 Offenbach

det...@die-offenbachs.de


--
Detlev Offenbach
det...@die-offenbachs.de


Re: bug on eric7 22.8.1 (rev. afbd61b99bf4) - ubuntu 22.04.1

2022-08-29 Thread Detlev Offenbach

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:


/:
/
/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 Offenbach
det...@die-offenbachs.de


ANN: eric 22.8 released

2022-07-24 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 22.8. It fixes some bugs and adds these new features.

 * API Generator
 o added capability to configure a start directory for the API
   generation proces
 * Code Documentation Generator
 o added capability to configure a start directory for the
   documentation generation process
 * Code Formatting
 o added an interface to reformat Python source code with the
   'Black' utility
 * Eric Widgets
 o extended EricPathPicker to offer a pathlib.Path based interface
 o extended EricFileDialog to offer a pathlib.Path based interface
 o extended the EricFileDialog Wizard to create the pathlib.Path
   based methods
 * MicroPython
 o updated the list of known CircuitPython boards
 o updated the list of known UF2 capable boards
 * pip Interface
 o included a copy of pipdeptree and patched it to work with Python
   3.11+
 o added capability to repair dependency issues
 o added capability to generate text for a 'constraints.txt' file
 * setup Wizard
 o added support for 'project_urls'
 o added support for 'entry_points'
 o added a variant to create a 'setup.cfg' file
 o added a variant to create a 'pyproject.toml' file
 * Third Party packages
 o upgraded coverage to 6.4.2
 o upgraded eradicate to 2.1.0

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>


ANN: eric 22.7 released

2022-07-01 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 22.7. It fixes some bugs and adds these new features.

 * Code Style Checker
 o introduced an additional documentation style type for eric and
   blacked code (i.e. code formatted by the 'Black' tool)
 * CycloneDX Interface
 o added capability to create a Software Bill of Materials (SBOM)
   file in CycloneDX format
 * pip Interface
 o added SBOM capability
 * Project
 o added SBOM capability
 o added License to project properties
 * Styles and Themes
 o added a style and theme with a dark gray background
 * Translator
 o changed DeepL support to the v2 API and added support for the
   Free API next to the Pro API
 o removed the interface to Glosbe as they don't provide an API anymore
 o removed the interface to PROMT as they don't provide a free API
   anymore
 o upgraded the interfaces to the Google V2 and Microsoft translators
 * Virtual Environments
 o added the capability to upgrade a virtual environment

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>


ANN: eric 22.6 released

2022-06-01 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 22.6. It fixes some bugs and adds these new features.

 * - Dataview Coverage
 o added support to write coverage reports as HTML, JSON or LCOV files
 o removed the support for writing annotated sources (deprecated in
   coverage.py)
 * - Mercurial Interface
 o added configuration option to override the automatic search for
   the hg executable
 * - MicroPython
 o updated the list of known CircuitPython boards
 o updated the list of known UF2 capable boards
 * - pip Interface
 o added a filter to the package licenses dialog
 * - Syntax Checker
 o changed the TOML syntax checker to use 'tomlkit' because 'toml'
   is no longer maintained
 * - Testing
 o reworked the former unittest interface to allow to support
   testing frameworks other than 'unittest'
 o implemented support for the 'unittest' and 'pytest' frameworks
 * - Wizards
 o extended the QInputDialog wizard to support the
   'getMultiLineText()' function
 * - Third Party packages
 o upgraded pip-licenses to version 3.5.4
 o upgraded coverage to 6.4.0

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>


Information for eric7 on Ubuntu 22.04

2022-05-03 Thread Detlev Offenbach

Hello,

this is to give some information with respect to using eric7 on Ubuntu 
22.04 and upgrading to Ubuntu 22.04.


1. Things to do after installation of Ubuntu 22.04


In order to run eric7 on Ubuntu 22.04 you must install the OpenSSL 1.x 
library manually. This is needed because Ubuntu switched to OpenSSL 3.x 
but Qt6/PyQt6 is compiled against OpenSSL 1.x. To do so search for 
libssl1.1 and get the package for the previous Ubuntu release (impish). 
After having installed this, all encrypted connections work within eric7.


2. Things to do after upgrading to Ubuntu 22.04
===

Step 1 is to install the OpenSSL 1.x library (see above)

Step 2 is needed if you installed eric7 in a Python virtual environment. 
Ubuntu 22.04 changed the Python version to 3.10.x, which requires an 
upgrade of the eric7 venv. To do this simply execute:


python3 -m venv --upgrade eric7_env

and reinstall eric7. At the first startup all dependencies of the 
already installed plug-ins will be reinstalled for the upgraded environment.


I hope this helps a few people doing the migration.

Regards,
Detlev

--
Detlev Offenbach
det...@die-offenbachs.de



ANN: eric 22.5 released

2022-05-02 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 22.5. It fixes some bugs and adds these new features.

 * General
 o added configuration options to disable the embedded
   "Find/Replace In Files" and "Find File" tools and use dialog
   based variants instead
 * Mercurial Interface
 o added capability to enter a revset expression when defining a
   revision to operate on
 * pip Interface
 o added the capability to save the licenses overview as a CSV file



It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>


ANN: eric 22.4 released

2022-04-02 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 22.4. It fixes some bugs and adds these new features.

 * General
 o added capability to upgrade PyQt packages eric depends on from
   within eric
 o added capability to upgrade eric from within eric
 * pip Interface
 o added a vulnerability check for installed packages based on
   "Safety DB"
 o added a widget to show a package dependency tree
 o added a button to search for more packages (i.e. one more page
   of results)
 * Third Party packages
 o upgraded coverage to 6.3.2
 o upgraded mccabe to version 0.7.0

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>


ANN: eric 22.3 released

2022-03-05 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 22.3. It fixes some bugs and adds these new features.

 * General
 o performance improvements
 o added a '__main__.py' script to allow starting eric7 with
   'python3 -m eric7'

 * MicroPython
 o enhanced support for ESP32 devices
 o updated the list of known UF2 capable boards

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>


ANN: eric 22.2 released

2022-02-09 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 22.2. It fixes some bugs and adds these new features.

 * General
 o dropped support for Python 3.6 because that is end-of-life
 * File Browser
 o added capability to open SVG files in the text editor
 * Help Viewer
 o added bookmarks to the internal help viewer
 * MicroPython
 o updated the list of known CircuitPython boards
 o updated the list of known UF2 capable boards
 o added support for ESP32-C3, ESP32-S2 and ESP32-S3 chips
 o added a dialog to show information for a connected board
 * Project Browser
 o added capability to open SVG files in the text editor to the
   Project  Others Browser
 * Styles and Themes
 o added a dark blueish style (QSS and Highlighters) and an
   associated theme (dark_blue.ethj and
   dark_blue_with_stylesheet.ethj)
 * Third Party packages
 o upgraded coverage to 6.2.0

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>


ANN: eric 22.1 released

2022-01-01 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 22.1. It fixes some bugs and adds these new features.

 * Code Style Checker
 o added a checker for various import statement topics
 * Color Themes
 o added capability to import and export ALL colors
 * Mini Editor
 o added configuration capability
 * QSS Previewer
 o added disabled widgets in order to show their colors as well
 * Styles and Themes:
 o added a dark greenish style (QSS and Highlighters) and an
   associated theme (dark_green.ethj and
   dark_green_with_stylesheet.ethj)


It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>


ANN: eric 21.12 released

2021-12-04 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 21.12. This is the first release of eric7, which is 
the PyQt6 port of the eric IDE. It fixes some bugs discovered in eric6 
and adds these new features.


 * General
 o rearranged the interface and modernized the sidebars layout
 o integrated some dialogs into the sidebars 


 * Code Style Checker
 o updated pycodestyle to version 2.8.0 


 * Debugger
 o added code to remember the list of recently used breakpoint
   conditions in the editor and the breakpoint viewer
 o added code to enter the script to be run/debugged/... in the
   start dialog 


 * Editor
 o added the capability to suppress syntax highlighting by
   associating the file type 'Text'
 o added code to move a breakpoint to a line actually creating some
   byte code (Python only)
 o added mouse button capability to perform undo/redo actions
   (Extra Buttons 1 and 2)
 o added support for 'multi cursor editing' (additional cursors
   with Meta+Alt+Left Click, Esc to end it) 


 * Find In Files
 o integrated the dialog into the right sidebar 


 * Help Viewer
 o added an internal help viewer based on QTextBrowser or QWebEngine 


 * Jedi
 o integrated the Assistant Jedi plugin as a fixed part of eric
 o added code to jump to references when clicked on a definition
 o added support for mouse hover help
 o added support for simple refactorings to the editor context menu 


 * Plugin Repository
 o added an integrated plugin repository viewer (right side) 


 * Plugin Uninstall Dialog
 o added capability to uninstall several plugins with one
   invocation of the dialog 


 * Project
 o added a 'Start' context sub menu to the project sources browser 


 * Shell
 o added capability to save the contents of the shell window into a
   file 


 * Unit Test
 o added capability to remember the most recently used test data 


 * Viewmanager
 o added a 'Start' sub menu to the tabview and listspace view
   managers context menu

 * Virtual Environments
 o integrated the Virtual Environments Manager window into the
   right side bar
 o added a standalone variant of the Virtual Environments Manager

 * Third Party packages
 o upgraded coverage to 6.1.2
 o upgraded pycodestyle to version 2.8.0
 o upgraded mccabe to version 0.6.1
 o upgraded pyflakes to version 2.4.0

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>


Re: Width of window in debug mode cant be set permanent

2021-11-21 Thread Detlev Offenbach

Hello Vik,

each editor has its own navigation widget to the right of it. These 
widgets are independent of each other and can be made wider or smaller. 
The width is not changed by switching between Debug and Edit mode. The 
"Set Default Width" actually means "Set to Default Width" and not 
"Change Default Width". However, I could add the later as a shortcut.


This default size can be changed via the configuration dialog on the 
Editor->General page, Source Code Outline section.


If you untick this section you will get back the navigation selectors 
above the editor. However, the source code outline shows more information.


Regards,
Detlev

Am 21.11.21 um 08:14 schrieb Vik:

Hi

I'm using eric6 21.9 on Linux Mint Cinnamon 20.2.

When I debug I get on the right side of the source editor window a 
seperate window (without title. "Whats this?" feature does not provide 
infos).

Then the local variable window is located.

This window contains imports, class information and so on. Thats very 
usefull.
A popup menu allows to adjust Increment Width, Decrement Width, Set 
Default Width.

But whenever one changes a source window the adjusted width is lost.

How can I set the width permanent?

Or how can I switch off the window when the Debug Profile shows the 
Left Sidebar?


Thanks for a feedback

Vik






--
Detlev Offenbach
det...@die-offenbachs.de



ANN: eric 21.11 released

2021-10-30 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 21.11. This is just a bug fix release. This will be 
the last release of the 'eric6' line of development (i.e. the one 
requiring PyQt5/Qt5 as its execution environment).


It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



Re: SPAM, Re: dark theme ?

2021-10-13 Thread Detlev Offenbach

Hello,

using a dark qt5ct theme with a light desktop theme doesn't give me dark 
colored eric6. However, if I switch the desktop theme to a dark theme 
(e.g. Breeze Dark) every Qt widget in eric uses this dark colors. I did 
not find a reason, why qt5ct does not work as expected. Testing it with 
native Qt application (Qt Designer) showed the same behavior like eric6. 
Therefore I assume, it is Qt ignoring qt5ct.


An alternative would be to create a QSS style file. The eric archive 
includes an example called 'Chinese_Dark.qss' located in the 'styles' 
folder.


Regards,
Detlev

Am 13.10.21 um 09:24 schrieb Martin:

Hi !

Thank you for the answer.
Unfortunately I don't understand why it doesn't work.

I have installed Eric using the official method (virtualenv in
~/eric_env/)

I also installed qt5ct. It was complaining QT_QPA_PLATFORMTHEME
wasn't set to 'q5ct'. So I have set the env variable (from
/etc/environment then restart X session) and the tool doesn't complain
anymore.

After that, in qt5ct, I choose a dark theme and the preview looks OK.

If I open KeepassXC which also use QT5, I can see the changes I make in
qt5ct tool is well reflected in KeepassXC.

But not in Eric.

I'm running Ubuntu 20.04.

On Tue, 12 Oct 2021 17:34:05 +0200
Detlev Offenbach  wrote:


Hello,

there is no single place to configure a dark theme. If the desktop
environment already is dark, all the Qt widgets in eric should be
dark as well (at least it was over here on Kubuntu when I switched to
a dark theme). In order to get the syntax highlighter to show a dark
theme, just import one of the themes (eric6_Dark_1 or eric6_Dark_2).
What is left thereafter are various other color settings. Just browse
through the configuration dialog.

Regards,
Detlev

Am 12.10.21 um 15:03 schrieb Martin:

Hi,

Trying Eric for the first time and seems to match my needs.

I'm looking for a way to turn Eric dark, everywhere it's possible.

After searching in this mailing list archives, I found the following
post:

https://www.mail-archive.com/eric@riverbankcomputing.com/msg03971.html

Things I have tried inspired by the post above:
- My system theme is already a dark one
- Preferences -> Interface -> Interface -> Style Sheet and choose a
dark named style sheet. Changes not much but minor parts of the
UI
- Preferences -> Editor -> Highlighers -> Styles and import a style
does the job at least for the editor part of the UI

So my question: is there a way to turn the whole UI in "dark mode" ?
because the default appearance is a bit aggressive for me eyes.

PS: I didn't find any user manual for Eric on the official Website,
I wonder if there is one.

Regards,


--
Detlev Offenbach
det...@die-offenbachs.de



Re: dark theme ?

2021-10-12 Thread Detlev Offenbach

Hello,

there is no single place to configure a dark theme. If the desktop 
environment already is dark, all the Qt widgets in eric should be dark 
as well (at least it was over here on Kubuntu when I switched to a dark 
theme). In order to get the syntax highlighter to show a dark theme, 
just import one of the themes (eric6_Dark_1 or eric6_Dark_2). What is 
left thereafter are various other color settings. Just browse through 
the configuration dialog.


Regards,
Detlev

Am 12.10.21 um 15:03 schrieb Martin:

Hi,

Trying Eric for the first time and seems to match my needs.

I'm looking for a way to turn Eric dark, everywhere it's possible.

After searching in this mailing list archives, I found the following
post:

https://www.mail-archive.com/eric@riverbankcomputing.com/msg03971.html

Things I have tried inspired by the post above:
- My system theme is already a dark one
- Preferences -> Interface -> Interface -> Style Sheet and choose a
   dark named style sheet. Changes not much but minor parts of the UI
- Preferences -> Editor -> Highlighers -> Styles and import a style
   does the job at least for the editor part of the UI

So my question: is there a way to turn the whole UI in "dark mode" ?
because the default appearance is a bit aggressive for me eyes.

PS: I didn't find any user manual for Eric on the official Website, I
wonder if there is one.

Regards,


--
Detlev Offenbach
det...@die-offenbachs.de



ANN: eric 21.9 released

2021-09-04 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 21.9. It fixes some bugs and adds these new features.

 * MicroPython
 o extended the list of known CircuitPython and UF2 capable devices
 * Unit Test
 o added support for sub-tests

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



Re: Uninstall issue

2021-07-23 Thread Detlev Offenbach

Hi,

eric is installed in the Python environment used to execute the install 
script. The majority of file is in site-packages/eric6 and some starter 
scripts in the bin directory of the environment. All these (and some of 
the files in ~/.local/share/applications) should get removed by the 
uninstall script. If the uninstall script thinks, that eric is not 
installed, this means that the script was executed with a different 
python executable than the install script or that the eric6config.py 
file in the site-packages directory got removed manually. The uninstall 
script tries to import this module and extracts the relevant data out of 
it in order to its job.


Why Anaconda is not functioning anymore I don't know. I suspect some 
other cause than purely installing eric.


Regards,
Detlev

Am 23.07.21 um 11:27 schrieb lo...@micefootprints.net:

Hi there,

I went too fast installing Eric6. I saw the install.py script and
executed it. Now my Anaconda/Spyder installation is not working anymore
and executing uninstall.py does not help ("The eric IDE doesn't seem to
be installed. Aborting.
").

My OS is Debian 10.

May I ask for your help from here?

Kind regards


--
Detlev Offenbach
det...@die-offenbachs.de



ANN: eric 21.7 released

2021-07-03 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 21.7. This is just a bug fix release.

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Note: Development has switched to eric7, which is the PyQt6 port of 
eric6. If you are interested in helping to debug it, please get the 
source code via the eric web site. Please do not expect many new 
features for eric6 anymore.


Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



Re: style checking and refactor

2021-06-19 Thread Detlev Offenbach



Am 18.06.21 um 19:09 schrieb Javier:



Hello is it possible to activate style checking in real time? 
Style checking in real time is not possible because it is a fairly cost 
intensive task.

is it possible to check style in small scripts not only in projects?
Yes. The style check is available via the editor context menu (if it is 
a Python file).


is it possible to rename variables, functions, ...? like vscode does 
with F2  https://www.youtube.com/watch?v=S1Jzrmw0ww8
Yes. This functionality is provided via the rope refactoring plug-in. 
See the built-in plugin repository dialog to get it.

is it possible to refactor in small scripts not only in projects?
Rope refactoring library works based on a project. Therefore this is not 
available for standalone scripts. That is not a limitation of eric but 
the library used.


Thank you very much.


You're welcome.

Detlev

--
Detlev Offenbach
det...@die-offenbachs.de



Change of #eric-ide IRC channel

2021-06-14 Thread Detlev Offenbach

Hello all,

this is to inform you, that the #eric-ide IRC channel has been moved 
from freenode.net to libera.chat. Please use the new channel 
exclusively. The old channel on freenode.net has been unregistered.


Regards,
Detlev

--
Detlev Offenbach
det...@die-offenbachs.de



ANN: eric 21.6 released

2021-06-03 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 21.6. It fixes some bugs and adds these new features.

 * Tasks
 o made the task properties dialog adapt to the task kind
 o added code to get typed manual tasks
 * UML Diagrams
 o extended the class items to show class attributes
 o added code to load a saved UML diagram via the file browser or
   the project others browser
 o improved the diagram layout of the Import Diagram and the
   Application Diagram
 o added code to save and load diagrams as JSON files
 o changed print code

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



Re: Help with Eric6-21.5 and PyQt6

2021-06-01 Thread detlev
eric6 needs PyQt5 to be run but supports development of PyQt6 applications. I am in the process of porting eric to PyQt6. This variant will be called eric7. If you would like to help debug and beta test it, just get the eric sources via the code repository, switch to the eric7 branch and install it.DetlevAm 01.06.2021 19:53 schrieb Jamie Riotto :Hi,I see that as of eric6-21.2 that Eric supports PyQt6. However, I'm am trying to do a newinstallation on Win10 / Python3.9. I have installed PyQt6 via pip. I have tried to install eric6-21 both via the zip download and python install.py and via python install -m pip eric-ideand in both cases, eric doesn't recognize the PyQt6 installation and instead fetches a PyQt5 wheel and continues. Is there a way to force it to use PyQt6?Thanks so much - jamie


Re: Help to upgrade to 21.5 please - Sorry please ignore that last message

2021-05-23 Thread Detlev Offenbach
Well, I forgot about that already. Indeed, the prerequisites were 
included in the plugin archive until recently. I changed the plugins in 
favor of the automatic installation. Unfortunately there will be a time, 
where one has to install them manually.


Detlev

Am 23.05.21 um 12:17 schrieb Christian Haul:

Thanks for the quick response, Detlev!
This is wierd as I had never to do this on versions 19.* through 21.4. 
Maybe dependencies were bundled with the plugins before?
Whatever, I have no issue here and am quite happy with Eric :-) Reason 
I mentioned it was, if there were a bug in installing dependencies, it 
might explain Mick's problems.

So, sorry for the noise and keep up the good work!
Chris.



*Von:* Detlev Offenbach 
*Gesendet:* 23. Mai 2021 11:25:41 MESZ
*An:* Christian Haul , eric@riverbankcomputing.com
*Betreff:* Re: Help to upgrade to 21.5 please - Sorry please ignore 
that last message


Hello Christian,

automatic dependency installation has been added to these plugins 
quite recently and is triggered by the eric plugin manager. However, 
this will be part of the next eric release (21.6). Before that eric 
did not install such plugin dependencies automatically.


Detlev

Am 23.05.21 um 08:00 schrieb Christian Haul:
Not sure it's related. I have installed Eric on win10 with the zip 
and install.py files. When upgrading plugins for rope and vulture I 
had to install dependencies manually ie by running pip. Previous 
installs handled that automatically.


Chris.



*Von:* Mick Sulley 
*Gesendet:* 22. Mai 2021 22:04:23 MESZ
*An:* eric@riverbankcomputing.com
*Betreff:* Re: Help to upgrade to 21.5 please - Sorry please ignore 
that last message


Just tried removing eric_env and running

  * |cd ~|
  * |python3 -m venv eric_env|
  * |~/eric_env/bin/python3 -m pip install --upgrade pip|
  * |~/eric_env/bin/python3 -m pip install eric-ide|
  * |~/eric_env/bin/eric6_post_install|

and it worked fine!

Mick

On 22/05/2021 20:48, Mick Sulley wrote:

Running Linux Mint 20.1

I have Eric 20.10 installed and working and I am trying to move to 
21.5 and I am stuck.  I am sure it is my lack of understanding 
rather than anything wrong with the software, but I would appreciate 
some help.


Following the instructions on 
https://eric-ide.python-projects.org/eric-download.html


Downloaded and extracted the package - this is what I see then

mick@Mint20Desk:~/.eric6-21/eric6-21.5$ sudo python3 install.py
Checking dependencies
Python Version: 3.8.5
Found PyQt5
Found pyuic5
Optional 'PyQtWebEngine' could not be detected.
Optional 'PyQtChart' could not be detected.
Sorry, please install QScintilla2 and
its PyQt5 wrapper.
Error: QScintilla could not be installed.

How do I install QScintilla2 and its PyQt5 wrapper?  Looking in 
Synaptic pyqt5 and pyqt5.qsci-dev are installed


Thanks

Mick


--
Detlev Offenbach
det...@die-offenbachs.de


--
Detlev Offenbach
det...@die-offenbachs.de



Re: Help to upgrade to 21.5 please - Sorry please ignore that last message

2021-05-23 Thread Detlev Offenbach

Hello Christian,

automatic dependency installation has been added to these plugins quite 
recently and is triggered by the eric plugin manager. However, this will 
be part of the next eric release (21.6). Before that eric did not 
install such plugin dependencies automatically.


Detlev

Am 23.05.21 um 08:00 schrieb Christian Haul:
Not sure it's related. I have installed Eric on win10 with the zip and 
install.py files. When upgrading plugins for rope and vulture I had to 
install dependencies manually ie by running pip. Previous installs 
handled that automatically.


Chris.



*Von:* Mick Sulley 
*Gesendet:* 22. Mai 2021 22:04:23 MESZ
*An:* eric@riverbankcomputing.com
*Betreff:* Re: Help to upgrade to 21.5 please - Sorry please ignore 
that last message


Just tried removing eric_env and running

  * |cd ~|
  * |python3 -m venv eric_env|
  * |~/eric_env/bin/python3 -m pip install --upgrade pip|
  * |~/eric_env/bin/python3 -m pip install eric-ide|
  * |~/eric_env/bin/eric6_post_install|

and it worked fine!

Mick

On 22/05/2021 20:48, Mick Sulley wrote:

Running Linux Mint 20.1

I have Eric 20.10 installed and working and I am trying to move to 
21.5 and I am stuck.  I am sure it is my lack of understanding rather 
than anything wrong with the software, but I would appreciate some help.


Following the instructions on 
https://eric-ide.python-projects.org/eric-download.html


Downloaded and extracted the package - this is what I see then

mick@Mint20Desk:~/.eric6-21/eric6-21.5$ sudo python3 install.py
Checking dependencies
Python Version: 3.8.5
Found PyQt5
Found pyuic5
Optional 'PyQtWebEngine' could not be detected.
Optional 'PyQtChart' could not be detected.
Sorry, please install QScintilla2 and
its PyQt5 wrapper.
Error: QScintilla could not be installed.

How do I install QScintilla2 and its PyQt5 wrapper?  Looking in 
Synaptic pyqt5 and pyqt5.qsci-dev are installed


Thanks

Mick


--
Detlev Offenbach
det...@die-offenbachs.de



Re: Changes lost if not saved

2021-05-23 Thread Detlev Offenbach

Hello,

this situation is caused by the desktop environment killing eric. Eric 
does not (yet) support session management. Therefore the latest changes 
are lost. However, to limit this you may enable the Autosave feature of 
eric (Editor->Filehandling->Save).


Regards
Detlev

Am 23.05.21 um 10:44 schrieb Mick Sulley:

Running Eric 21.5 on Linux Mint 20.1

If I make changes to a file and then close eric I get a prompt ask 
whether to save changes or not.  That is good, however, if I make 
changes and then close Linux there is no prompt, Linux closes and the 
changes are lost.  When I restart and open eric again it says that a 
session crashed, do you want to recover, but it recovers the last 
saved version, so the changes have been lost.


Is this a bug?

Thanks

Mick


--
Detlev Offenbach
det...@die-offenbachs.de



ANN: eric 21.5 released

2021-05-01 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 21.5. It fixes some bugs and adds these new features.

 * Code Style Checker
 o added a checker to find code that could be simplified
 o added capability to the results page to filter the messages
   based on message code
 o improved the statistics handling
 o updated pycodestyle to version 2.7.0

 * MicroPython
 o added option to select the baud rate for flashing ESP32 and
   ESP8266 boards
 o updated the BBC micro:bit API file to support micro:bit V2

 * Python Lexer
 o updated the substyle contents

 * Syntax Checker
 o updated pyflakes to version 2.3.1

 * Third Party packages
 o removed most of the bundled Third Party packages in favor of pip
   installed packages

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



ANN: eric 21.4 released

2021-04-02 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 21.4. It fixes some bugs and adds these new features.

 * Code Style Checker
 o added a checker to help porting to the 'pathlib' module
 * Debugger
 o extended the Start... dialogs to allow to override some global
   configuration settings (redirect stdin/stdout/stderr)
 * Editor
 o added capability to delete the matching brace if the cursor is
   in between them (e.g. {}) and backspace is pressed
 * Pip Interface
 o added support for a re-installation of selected packages
 * Shell
 o changed the shell special commands to start with a '%' (e.g.
   %start)

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



ANN: eric 21.3 released

2021-03-06 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 21.3. It fixes some bugs and adds these new features.

 * General
 o changed the default file format for several generated files to
   be based on JSON
 o added support for Cython
 * Debugger
 o added capability to delete environment variables for the
   debugged script by adding a '-' to the variable name in the
   start dialog
 * Debug Viewer
 o changed code to show project relative paths in the breakpoint viewer
 * Editor
 o integrated the "Quick Search" functionality into the editor
   search widget
 o added support for Cython to the code outline/navigation lists
 o added support for Cython to the Typing Completers
 * File Browser
 o added capability to show/hide hidden files (i.e. those starting
   with '.')
 o added capability to create new files/directories and delete them
 o added Cython support to show the file structure of these files
 * Mercurial Interface
 o added support for Mercurial 5.7
 * MicroPython
 o added support for "Raspberry Pi Pico" (i.e. RP2040 based boards)
 o extended the list of supported (recognized) CircuitPython boards
 o added capability to manually configure devices not yet known by
   eric6
 o added a generic dialog for flashing UF2 capable devices (with
   device detection)
 o added code to support 'middle button paste'
 * pip Interface
 o changed code for the search function to work with the PyPI
   search page because the XML-RPC search interface of PyPI is
   still disabled
 o extended the Package Details dialog to include buttons to
   install, upgrade or uninstall the package

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



eric6 on Chromebook

2021-02-21 Thread Detlev Offenbach

Hello,

this is to let you know, that eric6 is usable on Chromebook with the 
Linux environment. In order to get it up you may follow the steps 
outlined below. The assumption is, that the "Linux (beta)" environment 
of ChromeOS is already active. In the Linux shell window entere these 
commands.


1. Install pre-requisites
=
sudo apt install python3-pip python3-venv libnss3

2. Create Python virtual environment

cd ~
python3 -m venv eric_env
~/eric_env/bin/python3 -m pip install --upgrade pip
~/eric_env/bin/python3 -m pip install "PyQt5<5.15.2" "PyQtChart<5.15.2" 
"PyQtWebEngine<5.15.2" QScintilla

optional: ~/eric_env/bin/python3 -m pip install "qt5-applications<5.15.2"
~/eric_env/bin/python3 -m pip install eric-ide
~/eric_env/bin/eric6_post_install

I hope this information is useful.

Regards,
Detlev

--
Detlev Offenbach
det...@die-offenbachs.de



ANN: eric 21.2 released

2021-02-01 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 21.2. It fixes some bugs and adds these new features.

 * General
 o added support for PyQt6
 o added support for PySide6
 * Code Style Checker
 o added a commented code whitelist patterns to the Miscellaneous
   Checker
 o added support for the '@yield' and '@ytype' tags
 * Debugger
 o added support for debugging multiprocess scripts using these
   methods
 + QProcess.start(), QProcess.startDetached()
 + subprocess.Popen()
 + multiprocessing.Process()
 + os.spawnl...(), os.spawnv...(), os.posix_spawn...(),
   os.fork(), os.fork_exec()
 + _winapi.CreateProcess(), _subprocess.CreateProcess()
 o added support for debugging code strings (-c, --code) or script
   modules (-m, --module)
 o added support for the "Continue Until" action execution code
   until the current cursor line (if it is greater than the current
   line) or until returning from the current frame
 * Documentation Generator
 o added support for the '@yield' and '@ytype' tags to document
   generators
 * Editor
 o added code to enclose the current selection by entering ", ' or
   a bracket ( (, ), [, ], {, }, <, > ) characters
 o extended the exporters to support sub-styles
 o added functionality to insert docstring templates via the
   context menu (cursor placed on first line of function
   definition), after entering the docstring start string (e.g. """
   for Python) or via a keyboard shortcut (default: Ctrl+Alt+D)
   when cursor is either placed on the function definition line or
   after the end of the function definition
 * Find File Dialog
 o added option to exclude hidden files and directories
 o changed directory tree search logic to derive the file patterns
   from the project file type associations, if the directory to be
   searched is a sub-directory of the project
 * User Interface
 o added capability to show Qt6 documentation (configurable)
 * VirtualEnv Manager
 o improved the handling of virtual environments slightly
 * Web-Browser
 o added an error page for not supported eric: URLs
 * Third Party packages
 o updated eradicate.py to 2.0.0
 o updated chardet to 4.0.0
 o updated coverage.py to 5.3.1
 o updated editorconfig to 0.12.3
 o updated Pygments to 2.7.4

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



Re: KIO Client error

2021-01-09 Thread Detlev Offenbach
This could be related to some *.desktop file (probably 
eric6_browser.desktop) somewhere in your home directory 
(~/.local/share/applications/).


Detlev

Am 08.01.21 um 23:50 schrieb Phil:
The following error message has appeared following a recent Kubuntu 
upgrade. I don't have eric installed and I cannot find any remnants of 
eric in my home directory.


Can anyone offer any suggestions?

Unknown error code 100

Could not find the program '@BINDIR@/eric6_browser'


--
Detlev Offenbach
det...@die-offenbachs.de



ANN: eric 21.1 released

2021-01-02 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 21.1. This is just a bug fix release. If everything 
works as planned, some major new functionality is expected for the 21.2 
release.


Release 21.1 is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



ANN: eric 20.12 released

2020-12-05 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 20.12. It only fixes some bugs and does not add any 
new features. It is available via the eric web site or PyPI.


https://eric-ide.python-projects.org/index.html 
<https://eric-ide.python-projects.org/index.html>


https://pypi.org/project/eric-ide/ <https://pypi.org/project/eric-ide/>

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



ANN: eric 20.11 released

2020-11-01 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 20.11. It fixes some bugs and adds these new features.

 * Editor
 o added support for TOML files
 * Main Window
 o added a dialog showing information about the installation
   process (see Help menu)
 * Mini Editor
 o added a status bar languages menu
 o added a status bar zoom slider
 o added zoom actions menu and toolbar
 * Syntax Checker
 o added a syntax checker for TOML files
 * Web Browser
 o added a SSL information page to the site info dialog
 o added a clickable SSL info label to the URL entry
 * Various
 o changed code to not use deprecated 'QRegExp' anymore

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html

https://pypi.org/project/eric-ide/

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



Re: ANN: eric 20.10 released

2020-10-06 Thread Detlev Offenbach

Am 05.10.20 um 21:48 schrieb Mikhail Terekhov:

On 2020-10-03 06:01, Detlev Offenbach wrote:


Hello Pythonistas,

I just uploaded eric 20.10. It fixes some bugs and adds these new 
features.


  * Editor
  o added an outline widget showing the structure of the editor
source code and allowing to navigate in the code


Hi Detlev,

Is it possible to configure visibility of this new widget?


Editor -> General configuration page.


Regards,

Mikhail


--
Detlev Offenbach
det...@die-offenbachs.de



ANN: eric 20.10 released

2020-10-03 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 20.10. It fixes some bugs and adds these new features.

 * Editor
 o added an outline widget showing the structure of the editor
   source code and allowing to navigate in the code

 * Python Disassembly Viewer
 o added a tool to visualize the Python byte code generated from a
   Python source file
 o added a viewer to visualize the Python byte code generated from
   a Python traceback of an exception as an additional tab of the
   debug viewer
 o added capability to show information about a code object

 * Third Party packages
 o updated Pygments to 2.7.0
 o updated coverage.py to 5.3.0
 o removed the no longer needed 'enum' package
 * - Various
 o changed the code to not rely on the Qt Resource system anymore
   (no .qrc files and no use of pyrcc5 anymore)

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html

https://pypi.org/project/eric-ide/

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



ANN: eric 20.9 released

2020-09-05 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 20.9. It fixes some bugs and adds these new features.

 * File Browser
 o changed it to react upon changed files if their contents is shown
 * Tasks
 o added separate task categories for 'Test' and 'Documentation' tasks
 * Mercurial Interface
 o removed the interface for the deprecated 'fetch' extension
 * VCS Interfaces
 o added a configuration option to disable the VCS toolbars

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html

https://pypi.org/project/eric-ide/

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



Re: How to set Path to Module

2020-08-17 Thread Detlev Offenbach
Hi Mick,

just run your script with a Python interpreter, that has access to this module. 
How is your system set up?

Detlev

> Am 17.08.2020 um 11:44 schrieb Mick Sulley :
> 
> I have installed YahooFinancials with pip3 install YahooFinancials
> 
> I have written code which uses this, if I run it in a terminal it works, but 
> if I run it in Eric6 I get a ModuleNotFound error
> 
> The module has been written to 
> ~/.local/lib/python3.8/site-packages/yahoofinancials
> 
> I'm sure this is my lack of understanding of the Eric6 setup, but I cannot 
> find a way to tell it where this module is, can you tell me how to do this 
> please?
> 
> Thanks
> 
> Mick
> 

Detlev Offenbach
det...@die-offenbachs.de





Re: Eric Crash on Text Entry - Repeatable

2020-08-03 Thread Detlev Offenbach

Hi Mick,

at the moment I am not able to reproduce it. Maybe I am missing some 
information.


1. Please give the "Autocompletion" settings.

2. Give exact step-by-step instructions (e.g. including saving, opening 
or creating of a new document). In order to reproduce it I really need 
it down to the keystroke level.


Detlev

Am 03.08.20 um 10:41 schrieb Mick Sulley:


Hi Deltev,

Yes that was how I installed it.  To be sure, I just deleted eric_env, 
ran the commands again and tested again, exactly the same problem.  
Here is the terminal output -


mick@Mint20Desk ~ $ python3 -m venv ~/eric_env
mick@Mint20Desk ~ $ ~/eric_env/bin/python3 -m pip install eric-ide
Collecting eric-ide
  Using cached eric_ide-20.8-py3-none-any.whl (16.6 MB)
Collecting PyQtChart>=5.12.1
  Using cached 
PyQtChart-5.15.0-5.15.0-cp35.cp36.cp37.cp38-abi3-manylinux2014_x86_64.whl 
(1.2 MB)

Collecting QScintilla>=2.11.1
  Using cached 
QScintilla-2.11.5-cp35.cp36.cp37.cp38-abi3-manylinux2014_x86_64.whl 
(2.6 MB)

Collecting wheel
  Using cached wheel-0.34.2-py2.py3-none-any.whl (26 kB)
Collecting docutils
  Using cached docutils-0.16-py2.py3-none-any.whl (548 kB)
Collecting PyQtWebEngine>=5.12.1
  Using cached 
PyQtWebEngine-5.15.0-5.15.0-cp35.cp36.cp37.cp38-abi3-manylinux2014_x86_64.whl 
(65.9 MB)
Requirement already satisfied: pip>=19.0 in 
./eric_env/lib/python3.8/site-packages (from eric-ide) (20.0.2)

Collecting PyQt5>=5.12.1
  Using cached 
PyQt5-5.15.0-5.15.0-cp35.cp36.cp37.cp38-abi3-manylinux2014_x86_64.whl 
(76.6 MB)

Collecting Markdown
  Using cached Markdown-3.2.2-py3-none-any.whl (88 kB)
Collecting PyQt5-sip<13,>=12.8
  Using cached PyQt5_sip-12.8.0-cp38-cp38-manylinux1_x86_64.whl (293 kB)
Installing collected packages: PyQt5-sip, PyQt5, PyQtChart, 
QScintilla, wheel, docutils, PyQtWebEngine, Markdown, eric-ide
Successfully installed Markdown-3.2.2 PyQt5-5.15.0 PyQt5-sip-12.8.0 
PyQtChart-5.15.0 PyQtWebEngine-5.15.0 QScintilla-2.11.5 docutils-0.16 
eric-ide-20.8 wheel-0.34.2

mick@Mint20Desk ~ $ cd eric_env/
mick@Mint20Desk ~/eric_env $ ./bin/eric6
Warning: translation file 'qscintilla_en_GB'could not be loaded.
Using default.
BackgroundService listening on: 43221
qt.accessibility.atspi: Sending TextCaretMoved from object that does 
not implement text interface: QAccessibleInterface(0x26770f0 name="" 
role=Client obj=QLineEdit(0x26b3310)"focusable|invisible")
qt.accessibility.atspi: Sending TextCaretMoved from object that does 
not implement text interface: QAccessibleInterface(0x26770f0 name="" 
role=Client obj=QLineEdit(0x26b3310)"focusable|invisible")

free(): invalid pointer
Aborted (core dumped)
mick@Mint20Desk ~/eric_env $








--
Detlev Offenbach
det...@die-offenbachs.de



Re: Eric Crash on Text Entry - Repeatable

2020-08-03 Thread Detlev Offenbach
Hi Mick,

according to the data you sent it seems to be related to the QtAccessability 
stuff. I am not doing anything related to that in eric. Did you try to create a 
Python virtual environment and install eric in there?

python3 -m venv ~/eric_env
~/eric_env/bin/python3 -m pip install eric-ide

That would grab PyQt5 and related packages from PyPI and circumvent possible 
issues with the distribution packages.

Regards,
Detlev

> Am 02.08.2020 um 18:33 schrieb Mick Sulley :
> 
> Hi Detlev,
> 
> Thanks for getting back to me.  Yes the Mint 20 version is old but I had 
> installed following the Eric script anyway and was on 20.7.
> 
> I have just tried the script again, still on 20.7 so I removed it and ran the 
> script again and I now have 20.8.  I repeated the test and it still crashes 
> in the same way.  I ran from a terminal, this is the terminal output -
> 
> mick@Mint20Desk ~/eric_env/bin $ ./eric6
> Warning: translation file 'qscintilla_en_GB'could not be loaded.
> Using default.
> BackgroundService listening on: 45131
> qt.accessibility.atspi: Sending TextCaretMoved from object that does not 
> implement text interface:  QAccessibleInterface(0x33bfbb0 name="" role=Client 
> obj=QLineEdit(0x33d0260)"focusable|invisible")
> qt.accessibility.atspi: Sending TextCaretMoved from object that does not 
> implement text interface:  QAccessibleInterface(0x33bfbb0 name="" role=Client 
> obj=QLineEdit(0x33d0260)"focusable|invisible")
> free(): invalid pointer
> Aborted (core dumped)
> mick@Mint20Desk ~/eric_env/bin $
> 
> 
> Mick
> 
> On 02/08/2020 10:40, Detlev Offenbach wrote:
>> Hi,
>> 
>> as far as I know, Mint 20 contains an eric version that is around 6 months 
>> old. The recommended first step would be to upgrade to the latest release 
>> (that is 20.8 released yesterday). Step 2 would be to check, if the 
>> installed PyQt5 and QScintilla packages are compatible. Step 3 would be to 
>> create a virtual Python environment and installe eric in there with PyQt5 
>> and QScintilla packages from PyPI. The eric installation script will do this.
>> 
>> Regards,
>> Detlev
>> 
>> Am 01.08.20 um 23:08 schrieb Mick Sulley:
>>> I tried to report this via Help > Report Bug,  but failed to get it to 
>>> authorise.
>>> 
>>> 
>>> Running on Linux Mint 20 Cinnamon.
>>> I open Eric6, open an existing program, open a new program, then copy the 
>>> first line from the existing program into the new program.  That line is
>>> #!/usr/bin/python3
>>> I then add a blank line and on the next line type
>>> # sensor_rea
>>> after I have types the 'a' and before I can type the rest of the word the 
>>> program crashes.  I have done it several times and it is repeatable.
>>> I ran it from a terminal and this is the terminal output -
>>> mick@Mint20Desk ~/eric_env/bin $ ./eric6
>>> Warning: translation file 'qscintilla_en_GB'could not be loaded.
>>> Using default.
>>> BackgroundService listening on: 39589
>>> qt.accessibility.atspi: Sending TextCaretMoved from object that does not 
>>> implement text interface: QAccessibleInterface(0x1e887b0 name="" 
>>> role=Client obj=QLineEdit(0x1eaa620)"focusable|invisible")
>>> qt.accessibility.atspi: Sending TextCaretMoved from object that does not 
>>> implement text interface: QAccessibleInterface(0x1e887b0 name="" 
>>> role=Client obj=QLineEdit(0x1eaa620)"focusable|invisible")
>>> free(): invalid pointer
>>> Aborted (core dumped)
>>> mick@Mint20Desk ~/eric_env/bin $
>>> 
>>> Please let me know if you need any further info, happy to help if I can.
>>> Mick
>>> 

Detlev Offenbach
det...@die-offenbachs.de





Re: Eric Crash on Text Entry - Repeatable

2020-08-02 Thread Detlev Offenbach

Hi,

as far as I know, Mint 20 contains an eric version that is around 6 
months old. The recommended first step would be to upgrade to the latest 
release (that is 20.8 released yesterday). Step 2 would be to check, if 
the installed PyQt5 and QScintilla packages are compatible. Step 3 would 
be to create a virtual Python environment and installe eric in there 
with PyQt5 and QScintilla packages from PyPI. The eric installation 
script will do this.


Regards,
Detlev

Am 01.08.20 um 23:08 schrieb Mick Sulley:
I tried to report this via Help > Report Bug,  but failed to get it to 
authorise.



Running on Linux Mint 20 Cinnamon.
I open Eric6, open an existing program, open a new program, then copy 
the first line from the existing program into the new program.  That 
line is

#!/usr/bin/python3
I then add a blank line and on the next line type
# sensor_rea
after I have types the 'a' and before I can type the rest of the word 
the program crashes.  I have done it several times and it is repeatable.

I ran it from a terminal and this is the terminal output -
mick@Mint20Desk ~/eric_env/bin $ ./eric6
Warning: translation file 'qscintilla_en_GB'could not be loaded.
Using default.
BackgroundService listening on: 39589
qt.accessibility.atspi: Sending TextCaretMoved from object that does 
not implement text interface:  QAccessibleInterface(0x1e887b0 name="" 
role=Client obj=QLineEdit(0x1eaa620)"focusable|invisible")
qt.accessibility.atspi: Sending TextCaretMoved from object that does 
not implement text interface:  QAccessibleInterface(0x1e887b0 name="" 
role=Client obj=QLineEdit(0x1eaa620)"focusable|invisible")

free(): invalid pointer
Aborted (core dumped)
mick@Mint20Desk ~/eric_env/bin $

Please let me know if you need any further info, happy to help if I can.
Mick


--
Detlev Offenbach
det...@die-offenbachs.de



Re: I can't upgrade to eric 20.8

2020-08-02 Thread Detlev Offenbach

Hi,

somehow PyPI did not update the package index although version 20.8 is 
there. I just check PyPI again and now it is there. Please try again.


Detlev

Am 01.08.20 um 21:17 schrieb Amir Zia:

I ran: *sudo pip install --upgrade eric-ide*
it installed successfully and then I *rebooted *the computer.
Now the version installed is not 20.8, it is 20.7 ...
'*pip list*' outputs: *eric-ide 20.7*
*'eric6 --version' *returns:* Eric6 20.7 (rev. 0889dc771040)*
when I run '*sudo pip install --upgrade eric-ide'* again, this happens:
*Requirement already up-to-date: eric-ide in 
/usr/lib/python3.8/site-packages (20.8)*

How do I upgrade to 20.8 ?


--
Detlev Offenbach
det...@die-offenbachs.de



ANN: eric 20.8 released

2020-08-01 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 20.8. It fixes just some bugs.

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html

https://pypi.org/project/eric-ide/

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



Re: Some questions about eric ide.

2020-07-25 Thread Detlev Offenbach


Am 24.07.20 um 17:04 schrieb Amir Zia:

I have some questions about eric ide:
(1) How do i disable the window that appears after running the script 
which tells you: *The program has terminated with an exit status of 0 ?*


1a. You can switch on Notifications and would get the same info in a 
small message window that disappears automatically after a configurable 
time.


1b. To disable the mentioned message completely Debugger->General->Debug 
Client Exit.


(2) Eric checks for errors and warnings as you type your code, it 
checks the code every 5 seconds and updates error/warning messages, 
How do I lower the time to like 2 seconds ?

Editor->Code Checkers->Timeout Interval
(3) How do I change a variable's name throughout the code by changing 
its name where it was defined ?


3a. Global Search & Replace

3b. Install the rope refactoring plug-in and use these functionalities 
for all kinds of refactorings.



Many Thanks

Detlev

--
Detlev Offenbach
det...@die-offenbachs.de



Re: Is there a way to turn off SSL in Eric6 ?

2020-07-10 Thread Detlev Offenbach


Am 10.07.20 um 03:30 schrieb Amir Zia:
you need SSL to grab plugins in Eric and you cannot update the plugin 
URL: *https://eric-ide.python-projects.org/plugins6/repository.xml* 
from https to http .. on my OS Eric is giving me SSL errors

So is there a way to disable SSL ?


You may edit the plugin URL once you enable editing. This was made to 
prevent the user editing the URL by accident. However, as soon as you 
select Update, it will be reset to whatever was found in the plugin info 
file downloaded from the eric web site.


The much better solution would be for you to ensure, you have SSL 
support for Qt installed on your system.


Detlev

--
Detlev Offenbach
det...@die-offenbachs.de



Re: Error when launching eric

2020-07-10 Thread Detlev Offenbach


Am 09.07.20 um 04:48 schrieb Amir Zia:

I have two questions:
(1) I installed eric like this in Linux:

  * |cd ~|
  * |python3 -m venv eric_env|
  * |~/eric_env/bin/python3 -m pip install --upgrade pip|
  * |~/eric_env/bin/python3 -m pip install eric-ide|

Then I deleted |~/eric_env/ and re-installed eric like this :|
     sudo |pip install eric-ide|
|Is this ok ? is deleting the eric_env folder in the first install 
enough ? or should I have deleted other things two  ?|
|This is ok. However, why did you delete the Python virtual environment 
at all?|

|(2) When launching eric I get the following error: |
|Could not download the requested file from 
https://eric-ide.python-projects.org/plugins6/repository.xml. |

|Error: TLS initialization failed|
How do i fix this ?


Ensure, that your Qt installation supports SSL/TLS.

Detlev

--
Detlev Offenbach
det...@die-offenbachs.de



ANN: eric 20.7 released

2020-07-04 Thread Detlev Offenbach

Hello Pythonistas,

I just uploaded eric 20.7. It fixes some bugs and adds these new features.


 * General
 o removed support for Python2
 o removed support for Qt4 (PyQt4 and pyside)
 * - pip Interface
 o added menu action for pip cache management
 * - Code Style Checker
 o changed the dialog to allow the selection of checker categories
 o added several security related checks (ported from bandit)
 o extended the dialog to show a list of files still to be checked
 o updated pycodestyle to version 2.6.0
 * - Syntax Checker
 o updated pyflakes to version 2.2.0
 * - Third Party packages:
 o updated asttoken to version 2.0.4

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html

https://pypi.org/project/eric-ide/

Regards,

Detlev

--

Detlev Offenbach

det...@die-offenbachs.de <mailto:det...@die-offenbachs.de>



Re: Problem with editor - CTRL key erases selected text

2020-06-16 Thread Detlev Offenbach
Hi,

I have never seen this on any of my machines. However, I haven't used it with 
latest Ubuntu yet. I am still on 19.10.

Detlev

Am Dienstag, 16. Juni 2020, 01:20:37 CEST schrieb Massimo Del Fedele:
> Hi,
> 
> I'm on Linux (Ubuntu 20.04), and I have an annoying problem with the editor
> : when I enter it, selecting some text and pressing the CTRL key (for
> example to issue a CTRL-C copy command) erases my text, so I've to undo the
> change.
> 
> Following CTRL keypress behave normally, just the first one is weird.
> Then, if I leave the editor alone for a while (for example to test my app)
> and go back to it, the weird behaviour starts again : on FIRST CTRL
> keypress the selected text is erased, then all normal.
> 
> Am I missing something, or it's a bug ?

-- 
Detlev Offenbach
det...@die-offenbachs.de




ANN: eric 20.6 released

2020-06-01 Thread Detlev Offenbach
Hello Pythonistas,

I just uploaded eric 20.6. It fixes some bugs and adds these new features.
 *  Web Browser:
 *  added a configurable URL entry color to indicate sites with 
certificate issues
 *  added code to ask for the title of a new bookmark folder

It is available via the eric web site or PyPI.

https://eric-ide.python-projects.org/index.html[1]
https://pypi.org/project/eric-ide/[2]

Regards,
Detlev
-- 
*Detlev Offenbach*
det...@die-offenbachs.de[3] 


[1] https://eric-ide.python-projects.org/index.html
[2] https://pypi.org/project/eric-ide/
[3] mailto:det...@die-offenbachs.de


  1   2   3   4   5   6   7   8   9   10   >