Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gmsh write problemon windows #35

Closed
wd15 opened this issue Sep 19, 2014 · 0 comments
Closed

gmsh write problemon windows #35

wd15 opened this issue Sep 19, 2014 · 0 comments

Comments

@wd15
Copy link
Contributor

@wd15 wd15 commented Sep 19, 2014

Gmsh is not able to read its own files on Windows. Three errors in tests similar to the one below. Either gmshExporter is writing screwy tmp files or the gmshImporter is not reading them correctly. Typical error. ========================================= ============================= ERROR: doctest of examples.diffusion.steadyState.otherMeshes.inputCircle ---------------------------------------------------------------------- Traceback (most recent call last): File &C:\python23\lib\unittest.py&, line 423, in runTest self.__testFunc() File &C:\python23\lib\doctest.py&, line 1359, in runit _utest(tester, name, doc, filename, lineno) File &C:\python23\lib\doctest.py&, line 1309, in _utest raise DocTestTestFailure('Failed doctest test for %s\n' DocTestTestFailure: Failed doctest test for examples.diffusion.steadyState Meshes.inputCircle File &C:\Documents and Settings\wd15\My Documents\fipy\HEAD\examples\dif \steadyState\otherMeshes\inputCircle.py&, line 1 (or above), in inputCircl ***************************************************************** Failure in example: mesh = GmshImporter2D (meshName) from line #58 of examples.diffusion.steadyState.otherMeshes.inputCircle Exception raised: Traceback (most recent call last): File &C:\python23\lib\doctest.py&, line 442, in _run_examples_inner compileflags, 1) in globs File &<string>&, line 1, in ? File &C:\Documents and Settings\wd15\My Documents\fipy\HEAD\fipy\meshes\ h\gmshImport.py&, line 327, in __init__ mesh2D.Mesh2D.__init__(self, **_DataGetter ().getData(filename, dimensi 2)) File &C:\Documents and Settings\wd15\My Documents\fipy\HEAD\fipy\meshes\ h\gmshImport.py&, line 197, in getData vertexCoords = self._calcVertexCoords() File &C:\Documents and Settings\wd15\My Documents\fipy\HEAD\fipy\meshes\ h\gmshImport.py&, line 220, in _calcVertexCoords numVertices = int(self.inFile.readline()) ValueError: invalid literal for int(): *****************************************************************

Imported from trac ticket #36, created by wd15 on 04-14-2005 at 17:30, last modified: 04-19-2005 at 15:18

@wd15 wd15 closed this Sep 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant