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

Error re ServicedOrganisations in converting TNDS TxC to GTFS #45

Open
jeff-tjiong opened this issue Nov 9, 2022 · 1 comment
Open

Comments

@jeff-tjiong
Copy link

Hello, there are approximately 39 routes (out of 2198) from the the TNDS TxC v2.5 feeds for the North West (NW.zip) that have failed to be converted by the transxchange2gtfs function. Can someone please shed light on the reasons behind these errors and whether I could fix the XMLs for the conversion to GTFS format?

These are the first few lines of error message:

' 2022-11-08 20:12:27 Converting to GTFS, multicore
  |========================================================================================| 100%
Failed to convert files:
NW_SC_SCNW_40_2_A.xml with error Error in if (class(ServicedOrganisations) == "data.frame") { :
  the condition has length > 1
,  NW_SC_STCR_2_1.xml with error Error in if (class(ServicedOrganisations) == "data.frame") { :
  the condition has length > 1
,  NW_SC_SCNW_100_1.xml with error Error in if (class(ServicedOrganisations) == "data.frame") { :
  the condition has length > 1
,  NW_SC_STCR_PR3_1.xml with error Error in if (class(ServicedOrganisations) == "data.frame") { :
  the condition has length > 1
,  NW_SC_SCNW_42_3_A.xml with error Error in if (class(ServicedOrganisations) == "data.frame") { :
  the condition has length > 1

Thank you!

@mem48
Copy link
Contributor

mem48 commented Dec 4, 2022

Have you tried with the older version of TXC? It might be an unsupported new feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants