ucd-cws / arcpy_metadata

Python metadata editing classes for ArcGIS feature classes
90 stars 32 forks source link

FGDB Tests not passing on 10.7 #52

Open nickrsan opened 4 years ago

nickrsan commented 4 years ago

I wanted to put a note here that I can't get all of the tests to pass on my new machine running 10.7. It fails during the XSLTransform - I confirmed the xsl file exists in the same location in the ArcGIS install folder, and non FGDB tests work correctly. I can't export using XSLTransform outside of arcpy_metadata either, so this may be a wontfix even if it's occurring on other people's machines, but wanted to note it here in case it's happening to anyone else.

stdavis commented 4 years ago

I'm also experiencing this same issue at 10.7.

stdavis commented 4 years ago

It's working for me if I use the 32bit 10.7 desktop python instance.

dird-hyang commented 4 years ago

I got error message when I run the test_metadata_editor.py: RESTART: G:\GIS\Software\ESRI\ESRI_Util\arcpy_metadata\arcpy_metadata-master\tests\test_metadata_editor.py test_fc_layer (main.TestMetadataWriteRead) ...

Feature class layer

Set logging mode to DEBUG Exporting metadata to temporary file C:\Users\XXX\AppData\Local\Temp\scratch\root_poly.xml ERROR cannot delete c:\Users\xxx\AppData\Local\Temp\tmpbdllv_arcpy_metadata_unit_tests\test.gdb due to lock test_feature_class_no_meta (main.TestMetadataWriteRead) ...

FC without metadata

Set logging mode to DEBUG Exporting metadata to temporary file C:\Users\xxx\AppData\Local\Temp\scratch\root_poly.xml ERROR test_feature_class_with_meta (main.TestMetadataWriteRead) ...

FC in dataset with metadata

Set logging mode to DEBUG Exporting metadata to temporary file C:\Users\xxx\AppData\Local\Temp\scratch\dataset_poly.xml ERROR test_gdb_table (main.TestMetadataWriteRead) ...

Table no metadata

Set logging mode to DEBUG Exporting metadata to temporary file C:\Users\xxx\AppData\Local\Temp\scratch\root_table.xml ERROR test_layer_file (main.TestMetadataWriteRead) ...

Layer file metadata

nickrsan commented 4 years ago

Hi @dird-hyang,

Is using the 32 bit Python version an option for you? It might work there

dird-hyang commented 4 years ago

Hi @dird-hyang,

Is using the 32 bit Python version an option for you? It might work there

Hi, Thanks for the quick replying. How can I start the python in 32 bit mode? Helen

dird-hyang commented 4 years ago

Hi, I managed to open a shell 32bit python window. I now couldn't run the setup.py. It constantly closes the shell. I'm sorry. I'm new to the python scripting. Thanks for your patience. Helen