Flent-users discussion archives
 help / color / mirror / Atom feed
* [Flent-users] [tohojo/flent] unable to start flent-gui (#165)
@ 2019-07-04 17:05 Pete Heist
  2019-07-04 18:50 ` Toke Høiland-Jørgensen
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Pete Heist @ 2019-07-04 17:05 UTC (permalink / raw)
  To: tohojo/flent; +Cc: Subscribed


[-- Attachment #1.1: Type: text/plain, Size: 1922 bytes --]

I'm building flent from head with make and installing with make install. For some reason when I start `flent-gui` with or without arguments (here started with --debug) I get:

```
% flent-gui --debug
Started Flent 1.2.2-git-a8d31e9 using Python 3.7.3.
Initialised matplotlib v3.1.1 on numpy v1.16.4.
ERROR: Unknown type <function float_pair_noomit at 0x104513ea0> for option DATA_CUTOFF
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/flent-1.2.2_git_a8d31e9-py3.7.egg/flent/gui.py", line 1685, in _action_widget
    widget = self._widget_type_map[action.type]
KeyError: <function float_pair_noomit at 0x104513ea0>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/flent-1.2.2_git_a8d31e9-py3.7.egg/flent/__init__.py", line 56, in run_flent
    return run_gui(settings)
  File "/usr/local/lib/python3.7/site-packages/flent-1.2.2_git_a8d31e9-py3.7.egg/flent/gui.py", line 188, in run_gui
    mainwindow = MainWindow(settings)
  File "/usr/local/lib/python3.7/site-packages/flent-1.2.2_git_a8d31e9-py3.7.egg/flent/gui.py", line 367, in __init__
    compact=True)
  File "/usr/local/lib/python3.7/site-packages/flent-1.2.2_git_a8d31e9-py3.7.egg/flent/gui.py", line 1658, in __init__
    wdgt = self._action_widget(a, getattr(settings, a.dest))
  File "/usr/local/lib/python3.7/site-packages/flent-1.2.2_git_a8d31e9-py3.7.egg/flent/gui.py", line 1688, in _action_widget
    action.type, action.dest))
RuntimeError: Unknown type <function float_pair_noomit at 0x104513ea0> for option DATA_CUTOFF
```

This happens on both Ubuntu 19.10 with Python 3.7.3, matplotlib 3.1.1, numpy 1.16.4 as well as MacOS with the same versions.


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

[-- Attachment #1.2: Type: text/html, Size: 3246 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Flent-users mailing list
Flent-users@flent.org
http://flent.org/mailman/listinfo/flent-users_flent.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Flent-users] [tohojo/flent] unable to start flent-gui (#165)
  2019-07-04 17:05 [Flent-users] [tohojo/flent] unable to start flent-gui (#165) Pete Heist
@ 2019-07-04 18:50 ` Toke Høiland-Jørgensen
  2019-07-04 18:51 ` Toke Høiland-Jørgensen
  2019-07-04 18:54 ` Pete Heist
  2 siblings, 0 replies; 4+ messages in thread
From: Toke Høiland-Jørgensen @ 2019-07-04 18:50 UTC (permalink / raw)
  To: tohojo/flent; +Cc: Subscribed


[-- Attachment #1.1: Type: text/plain, Size: 2183 bytes --]

Pete Heist <notifications@github.com> writes:

> I'm building flent from head with make and installing with make install. For some reason when I start `flent-gui` with or without arguments (here started with --debug) I get:
>
> ```
> % flent-gui --debug
> Started Flent 1.2.2-git-a8d31e9 using Python 3.7.3.
> Initialised matplotlib v3.1.1 on numpy v1.16.4.
> ERROR: Unknown type <function float_pair_noomit at 0x104513ea0> for option DATA_CUTOFF
> Traceback (most recent call last):
>   File "/usr/local/lib/python3.7/site-packages/flent-1.2.2_git_a8d31e9-py3.7.egg/flent/gui.py", line 1685, in _action_widget
>     widget = self._widget_type_map[action.type]
> KeyError: <function float_pair_noomit at 0x104513ea0>
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>   File "/usr/local/lib/python3.7/site-packages/flent-1.2.2_git_a8d31e9-py3.7.egg/flent/__init__.py", line 56, in run_flent
>     return run_gui(settings)
>   File "/usr/local/lib/python3.7/site-packages/flent-1.2.2_git_a8d31e9-py3.7.egg/flent/gui.py", line 188, in run_gui
>     mainwindow = MainWindow(settings)
>   File "/usr/local/lib/python3.7/site-packages/flent-1.2.2_git_a8d31e9-py3.7.egg/flent/gui.py", line 367, in __init__
>     compact=True)
>   File "/usr/local/lib/python3.7/site-packages/flent-1.2.2_git_a8d31e9-py3.7.egg/flent/gui.py", line 1658, in __init__
>     wdgt = self._action_widget(a, getattr(settings, a.dest))
>   File "/usr/local/lib/python3.7/site-packages/flent-1.2.2_git_a8d31e9-py3.7.egg/flent/gui.py", line 1688, in _action_widget
>     action.type, action.dest))
> RuntimeError: Unknown type <function float_pair_noomit at 0x104513ea0> for option DATA_CUTOFF
> ```
>
> This happens on both Ubuntu 19.10 with Python 3.7.3, matplotlib 3.1.1,
> numpy 1.16.4 as well as MacOS with the same versions.

Ah! Seems I forgot to update this when I introduced the new data type
for data_cutoff. My apologies; should be a simple fix :)

-Toke


-- 
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/165#issuecomment-508556772

[-- Attachment #1.2: Type: text/html, Size: 3866 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Flent-users mailing list
Flent-users@flent.org
http://flent.org/mailman/listinfo/flent-users_flent.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Flent-users] [tohojo/flent] unable to start flent-gui (#165)
  2019-07-04 17:05 [Flent-users] [tohojo/flent] unable to start flent-gui (#165) Pete Heist
  2019-07-04 18:50 ` Toke Høiland-Jørgensen
@ 2019-07-04 18:51 ` Toke Høiland-Jørgensen
  2019-07-04 18:54 ` Pete Heist
  2 siblings, 0 replies; 4+ messages in thread
From: Toke Høiland-Jørgensen @ 2019-07-04 18:51 UTC (permalink / raw)
  To: tohojo/flent; +Cc: Subscribed


[-- Attachment #1.1: Type: text/plain, Size: 239 bytes --]

Closed #165 via c732080ebd9e0b7faafbc24f5d1a125c18ce40ef.

-- 
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/165#event-2461204162

[-- Attachment #1.2: Type: text/html, Size: 2224 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Flent-users mailing list
Flent-users@flent.org
http://flent.org/mailman/listinfo/flent-users_flent.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Flent-users] [tohojo/flent] unable to start flent-gui (#165)
  2019-07-04 17:05 [Flent-users] [tohojo/flent] unable to start flent-gui (#165) Pete Heist
  2019-07-04 18:50 ` Toke Høiland-Jørgensen
  2019-07-04 18:51 ` Toke Høiland-Jørgensen
@ 2019-07-04 18:54 ` Pete Heist
  2 siblings, 0 replies; 4+ messages in thread
From: Pete Heist @ 2019-07-04 18:54 UTC (permalink / raw)
  To: tohojo/flent; +Cc: Subscribed


[-- Attachment #1.1: Type: text/plain, Size: 224 bytes --]

Super, works for me. 👍 \r
\r
-- \r
You are receiving this because you are subscribed to this thread.\r
Reply to this email directly or view it on GitHub:\r
https://github.com/tohojo/flent/issues/165#issuecomment-508557242

[-- Attachment #1.2: Type: text/html, Size: 1747 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Flent-users mailing list
Flent-users@flent.org
http://flent.org/mailman/listinfo/flent-users_flent.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-07-04 18:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-04 17:05 [Flent-users] [tohojo/flent] unable to start flent-gui (#165) Pete Heist
2019-07-04 18:50 ` Toke Høiland-Jørgensen
2019-07-04 18:51 ` Toke Høiland-Jørgensen
2019-07-04 18:54 ` Pete Heist

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox