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

FGDB Tests not passing on 10.7 #52

Open
nickrsan opened this issue Oct 8, 2019 · 6 comments
Open

FGDB Tests not passing on 10.7 #52

nickrsan opened this issue Oct 8, 2019 · 6 comments
Assignees

Comments

@nickrsan
Copy link
Member

nickrsan commented Oct 8, 2019

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.

@nickrsan nickrsan self-assigned this Oct 8, 2019
@stdavis
Copy link

stdavis commented Nov 7, 2019

I'm also experiencing this same issue at 10.7.

@stdavis
Copy link

stdavis commented Nov 7, 2019

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

@dird-hyang
Copy link

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
Copy link
Member Author

nickrsan commented Nov 27, 2019

Hi @dird-hyang,

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

@dird-hyang
Copy link

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
Copy link

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

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

3 participants