From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.toke.dk X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.2 Received: from mail.toke.dk by mail.toke.dk with LMTP id ix3oJL1KHl3oOQAAOr1fkg (envelope-from ) for ; Thu, 04 Jul 2019 20:51:41 +0200 Authentication-Results: mail.toke.dk; none (SPF check N/A for local connections - client-ip=77.235.54.103; helo=web6.sd.eurovps.com; envelope-from=flent-users-bounces@flent.org; receiver=) Authentication-Results: mail.toke.dk; dkim=fail reason="signature verification failed" (1024-bit key) header.d=github.com header.i=@github.com header.b=wLbABLVz Received: from web6.sd.eurovps.com (web6.sd.eurovps.com [77.235.54.103]) by mail.toke.dk (Postfix) with ESMTPS id 6C6EA63258D for ; Thu, 4 Jul 2019 20:51:38 +0200 (CEST) Received: from [::1] (port=48060 helo=web6.sd.eurovps.com) by web6.sd.eurovps.com with esmtp (Exim 4.92) (envelope-from ) id 1hj6pV-004tOt-8o; Thu, 04 Jul 2019 21:51:37 +0300 Received: from out-2.smtp.github.com ([192.30.252.193]:36559) by web6.sd.eurovps.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1hj6pI-004tIb-EJ for flent-users@flent.org; Thu, 04 Jul 2019 21:51:31 +0300 Date: Thu, 04 Jul 2019 11:50:43 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1562266243; bh=PX536I6L2uhmVSjkcNM6OfWtOinNEEdtSNXsfZFHfl4=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=wLbABLVzqvdsSItl3unc9o5mpq7VSdf+3ItmAXZuLQ/MrwTlSdEufpQ9ugHPgDh2Z a1TC3OsafZRyOn5Nm81r9Y0wOFhXJlSK46ulsUuc7wxXwyw+b3y/MkTstZn26EFB3C yyu1qk2QB0CLgfDa0Oa+EumiMg9r2aGZDEYFTk60= From: =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?= To: tohojo/flent Message-ID: In-Reply-To: References: Mime-Version: 1.0 Precedence: list X-GitHub-Sender: tohojo X-GitHub-Recipient: flent-users X-GitHub-Reason: subscribed X-Auto-Response-Suppress: All X-GitHub-Recipient-Address: flent-users@flent.org Subject: Re: [Flent-users] [tohojo/flent] unable to start flent-gui (#165) X-BeenThere: flent-users@flent.org X-Mailman-Version: 2.1.27 List-Id: Flent discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: tohojo/flent Cc: Subscribed Content-Type: multipart/mixed; boundary="===============5537087462371081606==" Errors-To: flent-users-bounces@flent.org Sender: "Flent-users" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - web6.sd.eurovps.com X-AntiAbuse: Original Domain - toke.dk X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - flent.org X-Get-Message-Sender-Via: web6.sd.eurovps.com: acl_c_authenticated_local_user: mailman/mailman X-Authenticated-Sender: web6.sd.eurovps.com: mailman@flent.org --===============5537087462371081606== Content-Type: multipart/alternative; boundary="--==_mimepart_5d1e4a83831c8_7ed23fe0d06cd9644843dc"; charset=UTF-8 Content-Transfer-Encoding: 7bit ----==_mimepart_5d1e4a83831c8_7ed23fe0d06cd9644843dc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Pete Heist 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 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: > > 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 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 ----==_mimepart_5d1e4a83831c8_7ed23fe0d06cd9644843dc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit 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, view it on GitHub, or mute the thread.

----==_mimepart_5d1e4a83831c8_7ed23fe0d06cd9644843dc-- --===============5537087462371081606== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Flent-users mailing list Flent-users@flent.org http://flent.org/mailman/listinfo/flent-users_flent.org --===============5537087462371081606==--