Hallo!<\/P>
Ik probeer de tool 'Generate Stop-Street Connector' te gebruiken uit de toolbox 'Add GTFS to network dataset'. Ik heb onlangs de toolbox gedownload van hier: Add GTFS to a Network Dataset<\/A> en toegevoegd aan ArcMap. <\/P>Maar wanneer ik de 'Generate Stop-Street Connector' tool uitvoer, werkt het niet en krijg ik een foutmelding zoals de bijgevoegde screenshot hier. Wat kan ik doen om deze fout op te lossen? <\/SPAN><\/P><\/SPAN><\/P><\/BODY><\/HTML>
Maar wanneer ik de 'Generate Stop-Street Connector' tool uitvoer, werkt het niet en krijg ik een foutmelding zoals de bijgevoegde screenshot hier. Wat kan ik doen om deze fout op te lossen? <\/SPAN><\/P><\/SPAN><\/P><\/BODY><\/HTML>
This error message is the key to identifying the problem:
Execute: "C:\Program Files (x86)\Common Files\ArcGIS\bin\ESRIRegAsm.exe" "C:\Program Files (x86)\ArcGIS\Desktop10.5\ArcToolbox\Toolboxes\EvaluatorFiles\TransitEvaluator.dll" /p:Desktop /sRegistration of TransitEvaluator.dll was not successful.
When you install the tool, there is a dll called TransitEvaluator.dll which must be "registered" with ArcMap so that ArcMap knows that it can use this dll. It's like telling ArcMap, "hey, here's a new dll that's part of you now.". (This dll contains the special transit evaluator necessary for using network datasets that contain transit data.) ArcMap comes with a utility, ESRIRegAsm.exe, which takes care of registering new dlls. However, in this case, for some reason the registration process is failing, and I don't know why, and I don't know how to find out why. This type of problem is very frustrating! It's almost always some quirk of the user's machine set-up or their installation of ArcMap.
I don't know what to suggest except a couple of probably not-too-helpful things:
1) Do you have another computer with ArcMap you can use instead? Maybe another machine won't have the same error.
2) Do you have the ability to re-install ArcMap on your machine or to upgrade to the latest release (10.6.1) of ArcMap? The tool should work correctly on 10.5, but since it's not, it might be worth trying something else.
I tried the released version but for some unknown reason, it couldn't register the transitevaluator.dll and generated the following error:
Delete file: C:\Program Files (x86)\ArcGIS\Desktop10.5\ArcToolbox\Toolboxes\EvaluatorFiles\ESRI.ArcGIS.NetworkAnalyst.dllDelete file: C:\Program Files (x86)\ArcGIS\Desktop10.5\ArcToolbox\Toolboxes\EvaluatorFiles\ESRI.ArcGIS.System.dllDelete file: C:\Program Files (x86)\ArcGIS\Desktop10.5\ArcToolbox\Toolboxes\EvaluatorFiles\ESRI.ArcGIS.Version.dllDelete file: C:\Program Files (x86)\ArcGIS\Desktop10.5\ArcToolbox\Toolboxes\EvaluatorFiles\TransitEvaluator.dllOutput folder: C:\Program Files (x86)\ArcGIS\Desktop10.5\ArcToolbox\ToolboxesRemove folder: C:\Program Files (x86)\ArcGIS\Desktop10.5\ArcToolbox\Toolboxes\EvaluatorFiles\Installation aborted.
Thanks
Ooooooohhhhhhh, you downloaded the github version. That version doesn't work as is. The github version is meant exclusively for people who actually want to look at and play with the code. I think there's explanatory text somewhere that says that, but probably not in an obvious enough way.
If you just want to use the tool for analysis, you should download the released version from arcgis.com: http://arcg.is/10jXez. It comes with an installer that will configure all the toolboxes properly on your machine.
Thanks for your quick reply!
I have tried downloading both the toolbox and the python script from GitHub and saved them in the same folder (without moving them anywhere). But I got the error message again. Though I could see that the script was there in the same folder:
So I downloaded again from ArcGIS online. When I ran the .exe file, I got the following error message:
I am using ArcMap 10.5.
The script tool seems to have lost the reference to its python script, probably because you moved the toolbox .tbx file without moving the associated .py script.
See public-transit-tools/TroubleshootingGuide.md at master · Esri/public-transit-tools · GitHub
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.