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

Metadata step 2 multiple DASid issue #88

Open
VAGeoSurvey opened this issue Jun 9, 2022 · 11 comments
Open

Metadata step 2 multiple DASid issue #88

VAGeoSurvey opened this issue Jun 9, 2022 · 11 comments

Comments

@VAGeoSurvey
Copy link

Hi,

We at the Virginia Survey are trying to create metadata for our conversion projects. We have multiple DASids in our DescriptionOfMapUnits feature and this is giving us an error in our Chester.gdb-metadataLog.txt file. Included in the first image below is what the text file looks like. We've attempted to fix this issue in the second image within the MetadataWizard but are unable to get the log file to update to confirm that change.

We are not sure if part of the problem is that we are using an ArcMap tool on a Pro geodatabase, since the metadata tools do not exist in the ArcPro toolbox. We're unsure if the metadata tool has been updated to include multiple DASids either.

Any guidance is appreciated.

Sincerely,
Katie Lang and Holly Mangum

Capture2
Capture3

@ethoms-usgs
Copy link
Collaborator

ethoms-usgs commented Jun 9, 2022 via email

@VAGeoSurvey
Copy link
Author

Thanks for the feedback, Evan. We have tried a few things with the Pro Metadata tool today. Every time we ran the tool, it failed within a few seconds and gave us an output that looked like this:
image (4)

We also saw in the Gitter chat room that you were helping user chhalsted with a similar issue. We tried finding the proj.db file and couldn't seem to access it, but admittedly we don't have a lot of coding experience. Maybe we don't have the same ESRI version you were talking about?

Additionally, we are planning on reaching out to the metadata wizard Github site to see if they have a solution to our outputs...

Any more guidance or workflows to try would be much appreciated for the new Pro Metadata tool.
-Katie and Holly

@ethoms-usgs
Copy link
Collaborator

The error message is about python not being able to find the lxml module, which, as far as I knew, is installed by default when ArcGIS Pro installs python.

In Pro, could you check something? Go to Project and click on Python. It will take a while to pop up, but scroll down through the Installed Packages and you should see 'lxml'. Double-check that the Project Environment reads arcgispro-py3.

Also, what license level do you have?

image

@VAGeoSurvey
Copy link
Author

After checking with the rest of our staff, most of our Pro versions did not have the lxml file (Pro versions 2.3-2.6). However, one or two people had the Pro 2.8 version and did have that lxml file, and so I tried to get this working on their computers. I first tried to run the Pro tool, and came up with this error on line 752:
error752

In trying to be proactive and figure out the error for myself, I found out that you had updated the code yesterday to fix this issue on line 752 on another page of Github. So I downloaded the newest version of the toolbox on the computer running ArcPro 2.8, ran the metadata tool again to see if the issue was resolved. That issue was fixed, but I then came up with these new errors:
Error843_321

So, is there something I should be doing here to fix these two other line errors? Or did I forget to include something?

Thanks again,
-Katie

@ethoms-usgs
Copy link
Collaborator

ethoms-usgs commented Jun 10, 2022 via email

@VAGeoSurvey
Copy link
Author

Hi again Evan,

We had downloaded the most recent version of the toolbox last week but we checked again and are still getting the same two errors on line 843 and 321. Any insight on why this might be the problem this time?
error843and321
-KL

@ethoms-usgs
Copy link
Collaborator

ethoms-usgs commented Jun 13, 2022 via email

@VAGeoSurvey
Copy link
Author

Thank you for troubleshooting this with us!

Just tried the green code button, and downloaded that release on the main page. When I just ran the build metadata tool, the error on line 321 was resolved this time, but the error on line 843 is still popping up. It failed much more quickly this time, but that read out looks like this:
error843
-KL

@ethoms-usgs
Copy link
Collaborator

ethoms-usgs commented Jun 13, 2022 via email

@VAGeoSurvey
Copy link
Author

Updated the code and toolbox again after you posted the update an hour ago. It resolved the error on line 843, but now it is showing an error on the next line (844). I'm sorry....
error844
-KL and HM

@ethoms-usgs
Copy link
Collaborator

ethoms-usgs commented Oct 11, 2022 via email

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