{"action":"closed","issue":{"url":"https://api.github.com/repos/nschloe/pygmsh/issues/174","repository_url":"https://api.github.com/repos/nschloe/pygmsh","labels_url":"https://api.github.com/repos/nschloe/pygmsh/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/nschloe/pygmsh/issues/174/comments","events_url":"https://api.github.com/repos/nschloe/pygmsh/issues/174/events","html_url":"https://github.com/nschloe/pygmsh/issues/174","id":318505118,"number":174,"title":"Syntax errors running tests","user":{"login":"bobmyhill","id":8144905,"avatar_url":"https://avatars1.githubusercontent.com/u/8144905?v=4","gravatar_id":"","url":"https://api.github.com/users/bobmyhill","html_url":"https://github.com/bobmyhill","followers_url":"https://api.github.com/users/bobmyhill/followers","following_url":"https://api.github.com/users/bobmyhill/following{/other_user}","gists_url":"https://api.github.com/users/bobmyhill/gists{/gist_id}","starred_url":"https://api.github.com/users/bobmyhill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobmyhill/subscriptions","organizations_url":"https://api.github.com/users/bobmyhill/orgs","repos_url":"https://api.github.com/users/bobmyhill/repos","events_url":"https://api.github.com/users/bobmyhill/events{/privacy}","received_events_url":"https://api.github.com/users/bobmyhill/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-27T18:26:02Z","updated_at":"2018-04-27T18:27:54Z","closed_at":"2018-04-27T18:27:54Z","author_association":"NONE","body":"After installation of pygmsh using pip (python 2.7), I tried running one of the test scripts (specifically test_logo.py), and got a long list of error messages printed to stdout (copied at the bottom of this page).\r\n\r\nThe same thing happens within a conda environment running python 3.6, and also installing directly from this repository (via sudo -H python setup.py install --force).\r\n\r\nAny ideas for how I could fix this? Has something changed with Gmsh recently? \r\n\r\nThanks! \r\n\r\n```\r\nInfo : Running 'gmsh -3 -bin /tmp/tmpWcM2yC.geo -o /tmp/tmpesAkcq.msh -optimize' [Gmsh 2.10.1, 1 node, max. 1 thread]\r\nInfo    : Started on Fri Apr 27 19:16:17 2018\r\nInfo    : Reading '/tmp/tmpWcM2yC.geo'...\r\nError   : '/tmp/tmpWcM2yC.geo', line 2 : syntax error (\")\r\nError   : '/tmp/tmpWcM2yC.geo', line 6 : syntax error ({)\r\nError   : '/tmp/tmpWcM2yC.geo', line 8 : syntax error ({)\r\nError   : '/tmp/tmpWcM2yC.geo', line 10 : syntax error ({)\r\nError   : '/tmp/tmpWcM2yC.geo', line 12 : syntax error ({)\r\nError   : '/tmp/tmpWcM2yC.geo', line 14 : syntax error ({)\r\nError   : '/tmp/tmpWcM2yC.geo', line 16 : syntax error ({)\r\nError   : '/tmp/tmpWcM2yC.geo', line 18 : syntax error ({)\r\nError   : '/tmp/tmpWcM2yC.geo', line 20 : syntax error ({)\r\nWarning : '/tmp/tmpWcM2yC.geo', line 21 : Unknown surface 1\r\nError   : '/tmp/tmpWcM2yC.geo', line 21 : syntax error (Delete)\r\nError   : '/tmp/tmpWcM2yC.geo', line 21 : syntax error (})\r\nError   : '/tmp/tmpWcM2yC.geo', line 21 : syntax error (;)\r\nError   : '/tmp/tmpWcM2yC.geo', line 21 : syntax error (})\r\nError   : '/tmp/tmpWcM2yC.geo', line 23 : syntax error ({)\r\nError   : '/tmp/tmpWcM2yC.geo', line 24 : Unknown variable 'bo1'\r\nError   : '/tmp/tmpWcM2yC.geo', line 24 : syntax error (Delete)\r\nError   : '/tmp/tmpWcM2yC.geo', line 24 : syntax error (})\r\nError   : '/tmp/tmpWcM2yC.geo', line 24 : syntax error (;)\r\nError   : '/tmp/tmpWcM2yC.geo', line 24 : syntax error (})\r\nError   : '/tmp/tmpWcM2yC.geo', line 26 : syntax error ({)\r\nError   : '/tmp/tmpWcM2yC.geo', line 28 : syntax error ({)\r\nError   : Too many errors: aborting parser...\r\nInfo    : Done reading '/tmp/tmpWcM2yC.geo'\r\nInfo    : Meshing 1D...\r\nInfo    : Done meshing 1D (0 s)\r\nInfo    : Meshing 2D...\r\nInfo    : Done meshing 2D (5.00679e-06 s)\r\nInfo    : Meshing 3D...\r\nInfo    : Done meshing 3D (0 s)\r\nInfo    : 0 vertices 0 elements\r\nInfo    : Writing '/tmp/tmpesAkcq.msh'...\r\nInfo    : Done writing '/tmp/tmpesAkcq.msh'\r\nInfo    : Stopped on Fri Apr 27 19:16:17 2018\r\nTraceback (most recent call last):\r\n  File \"test_logo.py\", line 59, in <module>\r\n    plot('logo.png', *test())\r\n  File \"test_logo.py\", line 51, in test\r\n    points, cells, _, _, _ = pygmsh.generate_mesh(geom, num_lloyd_steps=0)\r\n  File \"build/bdist.linux-x86_64/egg/pygmsh/helpers.py\", line 140, in generate_mesh\r\n    \r\nAssertionError: Gmsh exited with error (return code 1).\r\n```"}}
{"actor":{"display_login":"nschloe"}}