ucd-cws / PISCES

Software for tracking and analyzing fish species range data
Other
0 stars 2 forks source link

PISCES fails at mapping functions when folder names have periods or hypens #114

Open nickrsan opened 9 years ago

nickrsan commented 9 years ago

Original report by Nicholas Santos (Bitbucket: nickrsan, GitHub: nickrsan).


Yes. Really. ESRI's bug - there's a bug in arcpy.ParseTableName where paths with those characters break and we can't determine the field delimiters to use for selections. We should do two things

  1. Avoid those characters in our folder names, for now
  2. Stop using arcpy.ParseTableName and replace it with other code
  3. Report the issue to ESRI if appropriate.
nickrsan commented 9 years ago

Original comment by Nicholas Santos (Bitbucket: nickrsan, GitHub: nickrsan).


Realized that there's more to this since my computer has a . in the folder name (dsx.AD3) - figure out the pattern first, or look at the docs/abandon the ESRI function in favor of os.path.split. But we probably chose not to go with that since knowing when you're in a geodatabase requires some coding (since you can have feature datasets etc, but also be in folders).

nickrsan commented 9 years ago

Original comment by Nicholas Santos (Bitbucket: nickrsan, GitHub: nickrsan).


Bumping to future. With new installer, this is far less critical