{"action":"created","issue":{"url":"https://api.github.com/repos/gnuradio/gnuradio/issues/1911","repository_url":"https://api.github.com/repos/gnuradio/gnuradio","labels_url":"https://api.github.com/repos/gnuradio/gnuradio/issues/1911/labels{/name}","comments_url":"https://api.github.com/repos/gnuradio/gnuradio/issues/1911/comments","events_url":"https://api.github.com/repos/gnuradio/gnuradio/issues/1911/events","html_url":"https://github.com/gnuradio/gnuradio/issues/1911","id":343410735,"node_id":"MDU6SXNzdWUzNDM0MTA3MzU=","number":1911,"title":"grc next ! Loading flowgraph fails with attribute error","user":{"login":"dl1ksv","id":3470424,"node_id":"MDQ6VXNlcjM0NzA0MjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3470424?v=4","gravatar_id":"","url":"https://api.github.com/users/dl1ksv","html_url":"https://github.com/dl1ksv","followers_url":"https://api.github.com/users/dl1ksv/followers","following_url":"https://api.github.com/users/dl1ksv/following{/other_user}","gists_url":"https://api.github.com/users/dl1ksv/gists{/gist_id}","starred_url":"https://api.github.com/users/dl1ksv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dl1ksv/subscriptions","organizations_url":"https://api.github.com/users/dl1ksv/orgs","repos_url":"https://api.github.com/users/dl1ksv/repos","events_url":"https://api.github.com/users/dl1ksv/events{/privacy}","received_events_url":"https://api.github.com/users/dl1ksv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-22T14:33:50Z","updated_at":"2018-07-22T20:15:59Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Loading an incomplete or faulty flowgraph fails with an attribute error. The flowgraph will not be displayed and can't be repaired.\r\n\r\n/usr/lib/python3/dist-packages/apport/report.py:13: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\r\n  import fnmatch, glob, traceback, errno, sys, atexit, locale, imp\r\nTraceback (most recent call last):\r\n  File \"/usr/local/gnuradio/lib/python3.6/dist-packages/gnuradio/grc/core/params/param.py\", line 157, in validate\r\n    validator(self)\r\n  File \"/usr/local/gnuradio/lib/python3.6/dist-packages/gnuradio/grc/core/params/dtypes.py\", line 93, in validate_scalar\r\n    param.get_evaluated(), param.dtype))\r\ngnuradio.grc.core.params.dtypes.ValidateError: Expression None is invalid for type 'real'.\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/local/gnuradio/lib/python3.6/dist-packages/gnuradio/grc/gui/DrawingArea.py\", line 234, in _handle_window_realize\r\n    self._flow_graph.update()\r\n  File \"/usr/local/gnuradio/lib/python3.6/dist-packages/gnuradio/grc/gui/canvas/flowgraph.py\", line 175, in update\r\n    self.validate()\r\n  File \"/usr/local/gnuradio/lib/python3.6/dist-packages/gnuradio/grc/core/base.py\", line 40, in validate\r\n    child.validate()\r\n  File \"/usr/local/gnuradio/lib/python3.6/dist-packages/gnuradio/grc/core/blocks/block.py\", line 136, in validate\r\n    Element.validate(self)\r\n  File \"/usr/local/gnuradio/lib/python3.6/dist-packages/gnuradio/grc/core/base.py\", line 40, in validate\r\n    child.validate()\r\n  File \"/usr/local/gnuradio/lib/python3.6/dist-packages/gnuradio/grc/core/params/param.py\", line 159, in validate\r\n    self.add_error_message(e.message)\r\nAttributeError: 'ValidateError' object has no attribute 'message'\r\n\r\nLine 158/159 in grc/core/params/param.py are\r\n\r\n            except dtypes.ValidateError as e:\r\n                self.add_error_message(e.message)\r\n\r\nand should be\r\n\r\n            except dtypes.ValidateError as e:\r\n                self.add_error_message(str(e))\r\n\r\ninstead.\r\nI don't know if a pr is already pending.\r\n\r\n\r\n \r\n"},"comment":{"url":"https://api.github.com/repos/gnuradio/gnuradio/issues/comments/406893644","html_url":"https://github.com/gnuradio/gnuradio/issues/1911#issuecomment-406893644","issue_url":"https://api.github.com/repos/gnuradio/gnuradio/issues/1911","id":406893644,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjg5MzY0NA==","user":{"login":"dl1ksv","id":3470424,"node_id":"MDQ6VXNlcjM0NzA0MjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3470424?v=4","gravatar_id":"","url":"https://api.github.com/users/dl1ksv","html_url":"https://github.com/dl1ksv","followers_url":"https://api.github.com/users/dl1ksv/followers","following_url":"https://api.github.com/users/dl1ksv/following{/other_user}","gists_url":"https://api.github.com/users/dl1ksv/gists{/gist_id}","starred_url":"https://api.github.com/users/dl1ksv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dl1ksv/subscriptions","organizations_url":"https://api.github.com/users/dl1ksv/orgs","repos_url":"https://api.github.com/users/dl1ksv/repos","events_url":"https://api.github.com/users/dl1ksv/events{/privacy}","received_events_url":"https://api.github.com/users/dl1ksv/received_events","type":"User","site_admin":false},"created_at":"2018-07-22T20:15:59Z","updated_at":"2018-07-22T20:15:59Z","author_association":"CONTRIBUTOR","body":"Could you put it to your pr's ?"}}
{"actor":{"display_login":"dl1ksv"}}