You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that we dont build a Tesseract image for SpaceClaim in this example. This is because SpaceClaim cannot be installed in a containerized environment. You can test it using git bash and your specific Spaceclaim.exe Path:
"\u001b[36mFile \u001b[39m\u001b[32m/anaconda/envs/fem/lib/python3.13/site-packages/tesseract_core/sdk/tesseract.py:188\u001b[39m, in \u001b[36mTesseract.from_tesseract_api\u001b[39m\u001b[34m(cls, tesseract_api, input_path, output_path, output_format)\u001b[39m\n\u001b[32m 185\u001b[39m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;28misinstance\u001b[39m(tesseract_api, \u001b[38;5;28mstr\u001b[39m | Path):\n\u001b[32m 186\u001b[39m \u001b[38;5;28;01mfrom\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[34;01mtesseract_core\u001b[39;00m\u001b[34;01m.\u001b[39;00m\u001b[34;01mruntime\u001b[39;00m\u001b[34;01m.\u001b[39;00m\u001b[34;01mcore\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;28;01mimport\u001b[39;00m load_module_from_path\n\u001b[32m--> \u001b[39m\u001b[32m188\u001b[39m tesseract_api_path = \u001b[43mPath\u001b[49m\u001b[43m(\u001b[49m\u001b[43mtesseract_api\u001b[49m\u001b[43m)\u001b[49m\u001b[43m.\u001b[49m\u001b[43mresolve\u001b[49m\u001b[43m(\u001b[49m\u001b[43mstrict\u001b[49m\u001b[43m=\u001b[49m\u001b[38;5;28;43;01mTrue\u001b[39;49;00m\u001b[43m)\u001b[49m\n\u001b[32m 189\u001b[39m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m tesseract_api_path.is_file():\n\u001b[32m 190\u001b[39m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mRuntimeError\u001b[39;00m(\n\u001b[32m 191\u001b[39m \u001b[33mf\u001b[39m\u001b[33m\"\u001b[39m\u001b[33mTesseract API path \u001b[39m\u001b[38;5;132;01m{\u001b[39;00mtesseract_api_path\u001b[38;5;132;01m}\u001b[39;00m\u001b[33m is not a file.\u001b[39m\u001b[33m\"\u001b[39m\n\u001b[32m 192\u001b[39m )\n",
99
+
"\u001b[36mFile \u001b[39m\u001b[32m/anaconda/envs/fem/lib/python3.13/pathlib/_local.py:670\u001b[39m, in \u001b[36mPath.resolve\u001b[39m\u001b[34m(self, strict)\u001b[39m\n\u001b[32m 664\u001b[39m \u001b[38;5;28;01mdef\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[34mresolve\u001b[39m(\u001b[38;5;28mself\u001b[39m, strict=\u001b[38;5;28;01mFalse\u001b[39;00m):\n\u001b[32m 665\u001b[39m \u001b[38;5;250m \u001b[39m\u001b[33;03m\"\"\"\u001b[39;00m\n\u001b[32m 666\u001b[39m \u001b[33;03m Make the path absolute, resolving all symlinks on the way and also\u001b[39;00m\n\u001b[32m 667\u001b[39m \u001b[33;03m normalizing it.\u001b[39;00m\n\u001b[32m 668\u001b[39m \u001b[33;03m \"\"\"\u001b[39;00m\n\u001b[32m--> \u001b[39m\u001b[32m670\u001b[39m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28mself\u001b[39m.with_segments(\u001b[43mos\u001b[49m\u001b[43m.\u001b[49m\u001b[43mpath\u001b[49m\u001b[43m.\u001b[49m\u001b[43mrealpath\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mstrict\u001b[49m\u001b[43m=\u001b[49m\u001b[43mstrict\u001b[49m\u001b[43m)\u001b[49m)\n",
100
+
"\u001b[36mFile \u001b[39m\u001b[32m<frozen posixpath>:454\u001b[39m, in \u001b[36mrealpath\u001b[39m\u001b[34m(filename, strict)\u001b[39m\n",
101
+
"\u001b[31mFileNotFoundError\u001b[39m: [Errno 2] No such file or directory: '/home/azureuser/localfiles/tesseract-jax/examples/ansys/hot_design_tess'"
0 commit comments