Try upgrading your PyQt version, or switching to PySide2. Didn't find a way to
work around this bug in Flent, unfortunately...
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/tohojo/flent/issues/167#issuecomment-570778748___
Was this ever solved?
I have not been able to use flent-gui in my Ubuntu 19.10 that is used for
Openwrt buildhost.
Flent 1.3.2 using Python 3.7.5 and PyQt v5.12.3.
flent-gui gets stuck and needs to get killed:
`ERROR: Error while loading data file: '
returned a result with an error set'. Skippi
Closed #167.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/tohojo/flent/issues/167#event-2652585913___
Flent-users mailing list
Flent-users@flent.org
http://flent.org/mailman/listi
Has been reported and should be fixed in the current snapshot (and thus for the
following release)
Thread:
https://www.riverbankcomputing.com/pipermail/pyqt/2019-August/042003.html
Quoting Phil Thompson:
> It could also be that an exception is being correctly ignored, but not
> cleared with Py
Justin LeFebvre writes:
> I'm seeing the same there here. An interesting thing to note is that
> this seems to be an issue with PyQt5 and python 3.7.4. When running
> with python 3.7.3, I'm not seeing the issue.
Ah, that's interesting! Still not something that's likely we can work
around from Fl
I'm seeing the same there here. An interesting thing to note is that this seems
to be an issue with PyQt5 and python 3.7.4. When running with python 3.7.3, I'm
not seeing the issue.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://githu
A working example of a workaround the issue by compiling the ui files with
pyuic5, here in a ui_testui.py file.
```python
from PyQt5 import QtWidgets
from .ui_testui import Ui_TestUi
class TestUi(QtWidgets.Qwidget):
def __init__(self, parent=None):
super(TestUi, self).__init__(parent
Bicobus writes:
> Isn't there a bugtracker for PyQt5 somewhere or is the only way to
> reach riverbankcomputing to post on their mailing list?
Couldn't find one. Which is one of the reasons why I figure it's a good
idea to focus on pyside2 instead :)
--
You are receiving this because you comm
Isn't there a bugtracker for PyQt5 somewhere or is the only way to reach
riverbankcomputing to post on their mailing list?
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/tohojo/flent/issues/167#issuecomment-515535290
Thank you very much, both Toke ans Pete:
QT_API=pyside2 ./run-flent --gui
did the trick, now I guess I either write a small wrapper around run-flent or
simply put the export in my .bashrc.
Anyway with this the GUI runs and loads data files again.
Again Best Regards & Thanks
> On Jul 16, 2019,
Pete Heist writes:
> It looks like it was still using PyQt5 in your case, so make sure to first do:
>
> ```
> export QT_API= pyside2
> ```
>
> If this is a long-term fix for Mac, maybe that var could be set on
> MacOS when sys.platform is darwin, assuming we have a chance to do so
> before those
```
export QT_API=pyside2
```
A space had crept in my previous post after the equals. :)
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/tohojo/flent/issues/167#issuecomment-511709586__
Sebastian Moeller writes:
> Mmmh, so I installed qtpy (and dependencies) I now get:
>
> ./run-flent --gui
> Started Flent 1.9.9-git-43e16d5 using Python 3.7.4.
> Initialised matplotlib v3.1.1 on numpy v1.16.4.
> GUI loaded. Using Qt through pyqt5 v5.12.3.
> objc[13628]: Class FIFinderSyncExtensio
It looks like it was still using PyQt5 in your case, so make sure to first do:
```
export QT_API= pyside2
```
If this is a long-term fix for Mac, maybe that var could be set on MacOS when
sys.platform is darwin, assuming we have a chance to do so before those libs
are initialized. Probably best
Mmmh, so I installed qtpy (and dependencies) I now get:
./run-flent --gui
Started Flent 1.9.9-git-43e16d5 using Python 3.7.4.
Initialised matplotlib v3.1.1 on numpy v1.16.4.
GUI loaded. Using Qt through pyqt5 v5.12.3.
objc[13628]: Class FIFinderSyncExtensionHost is implemented in both
/System/Lib
Sebastian Moeller writes:
> Okay, same issue on macosx 10.14.5. Now with the latest changes and PySide2
> installed I get:
>
>
> ./run-flent --version
> Flent v1.9.9-git-43e16d5.
> Running on Python 3.7.4 (default, Jul 11 2019, 01:08:00) [Clang 10.0.1
> (clang-1001.0.46.4)].
> Using matplotlib
Okay, same issue on macosx 10.14.5. Now with the latest changes and PySide2
installed I get:
./run-flent --version
Flent v1.9.9-git-43e16d5.
Running on Python 3.7.4 (default, Jul 11 2019, 01:08:00) [Clang 10.0.1
(clang-1001.0.46.4)].
Using matplotlib version 3.1.1 on numpy 1.16.4.
Using PyQt5
Pete Heist writes:
> Ah, ok, well it looks like PySide2 has a more permissive license
> anyway, although I guess that shouldn't affect flent. I haven't
> noticed any other problems using it, although my testing has hardly
> been extensive.
Yeah, PySide2 are the officially supported Python bindin
Ah, ok, well it looks like PySide2 has a more permissive license anyway,
although I guess that shouldn't affect flent. I haven't noticed any other
problems using it, although my testing has hardly been extensive.
--
You are receiving this because you commented.
Reply to this email directly or v
Pete Heist writes:
> Ok, the problem doesn't happen with PySide2. It's likely with recent
> versions of PyQt5, although I'm not exactly sure of the first version
> where it started. It's also possible the bug doesn't happen on MacOS
> 10.14 (Mojave), but my 2011 hardware is pinned to 10.13 so I c
Ok, the problem doesn't happen with PySide2. It's likely with recent versions
of PyQt5, although I'm not exactly sure of the first version where it started.
It's also possible the bug doesn't happen on MacOS 10.14 (Mojave), but my 2011
hardware is pinned to 10.13 so I can't test that. So far I'm
Yes, it does, then the symptom after the error (same with one or more files) is
that Python is unresponsive and there's 100% CPU usage.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/tohojo/flent/issues/1
Pete Heist writes:
> Against better judgment I upgraded PyQt5 to 5.13.0 on both the Mac and
> Linux and still see the problem on Mac but not on Linux, so that
> suggests it's not directly related to the PyQt 5 version.
Does it happen if you only load a single data file?
--
You are receiving t
Against better judgment I upgraded PyQt5 to 5.13.0 on both the Mac and Linux
and still see the problem on Mac but not on Linux, so that suggests it's not
directly related to the PyQt 5 version.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or
Sure, no problem :)...that does give some more info:
```
% flent-gui --verbose --debug-error *.flent.gz
Started Flent 1.9.9-git-83d14d6 using Python 3.7.4.
CACHEDIR=/Users/heistp/.matplotlib
Loaded backend agg version unknown.
Initialised matplotlib v3.1.1 on numpy v1.16.4.
GUI loaded. Running on
Pete Heist writes:
> Hmm, that made me realize it's working in Linux but not on my Mac, with
> slightly different versions of Python and PyQt5:
>
> Not working (on MacOS 10.13.6):
> ```
> % flent --version
> Flent v1.9.9-git-83d14d6.
> Running on Python 3.7.4 (default, Jul 9 2019, 18:15:00) [C
Hmm, that made me realize it's working in Linux but not on my Mac, with
slightly different versions of Python and PyQt5:
Not working (on MacOS 10.13.6):
```
% flent --version
Flent v1.9.9-git-83d14d6.
Running on Python 3.7.4 (default, Jul 9 2019, 18:15:00) [Clang 10.0.0
(clang-1000.11.45.5)].
Pete Heist writes:
> I compiled on some new test boxes from head (83d14d68) and ran a test. flent
> -i for the text output worked but when I use flent -gui I see the following
> errors before it freezes:
>
> ```
> ERROR: Error while loading data file: '
> returned a result with an error set'.
28 matches
Mail list logo