Calculate Accessibility Matrix Error

04-27-2020 07:20 AM
New Contributor

When creating an OD Cost Matrix, using a Network Dataset with Public Transit Data (that works fine for Service Area generation), the following error pops up already in the Geoprocessing Pane:

ERROR 032659 Traceback (most recent call last):
File "<string>", line 536, in updateMessages
TypeError: allow_YYYYMMDD_day() missing 1 required positional argument: 'SQLDbase'

Now, the Calender file for the GTFS data is not enabled for generic weekdays.

However, it doesn't change even when going to a specific date.

Any input in how to get this right?

Thank you in advance!

0 Kudos
2 Replies
Esri Regular Contributor

I cannot reproduce this problem, but I have an idea about what caused it.  Do you also have the BetterBusBuffers tool on your computer, and where is it saved in relation to the Transit Network Analysis Tools toolbox?  Both of these are python toolboxes, and both of them import a script called ToolValidator, and both versions of ToolValidator have a method called allow_YYYYMMDD_day().  From the error message, it looks to me as if Transit Network Analysis Tools is mistakenly calling the BetterBusBuffers version of that method.  I don't know how it would do that unless you saved the two tools in the same folder or something.

Try a fresh download of each toolbox, and make sure that they're saved in different folders.

0 Kudos
Esri Regular Contributor

Did you ever find a solution to this problem? Another user reported a similar issue to me, and I still cannot reproduce it.

0 Kudos