Dashboards & Visualizations

Why I am getting error Invalid xml detected in file default/data/ui/views/._xmlFileName.xml at line 1?

rsethi001
Explorer

 I see I don't have any ._*.xml files in my app, even though I have created a tar.gz file which excludes the local generated file.

Still I am getting the error 

Invalid xml detected in file default/data/ui/views/._xmlFileName.xml at line 1

 

Could you pls let me know what is the workaround for the same.

Thanks in advance.

Labels (2)
0 Karma
1 Solution

bowesmana
SplunkTrust
SplunkTrust

You are tarring up Mac's hidden files

Before you tar, set this variable

export COPYFILE_DISABLE=true

Google search for COPYFILE_DISABLE Mac 

View solution in original post

bowesmana
SplunkTrust
SplunkTrust

Have you created the tar file on a Mac?

when do you see this error?

 

0 Karma

rsethi001
Explorer

Yes, I have created the tar file on mac.

This error is coming while submitting my app to Splunkbase.

0 Karma

bowesmana
SplunkTrust
SplunkTrust

You are tarring up Mac's hidden files

Before you tar, set this variable

export COPYFILE_DISABLE=true

Google search for COPYFILE_DISABLE Mac 

rsethi001
Explorer

Thank you for the response, I try and let you know.

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Build Your First SPL2 App!

Watch the recording now!.Do you want to SPL™, too? SPL2, Splunk's next-generation data search and preparation ...

Exporting Splunk Apps

Join us on Monday, October 21 at 11 am PT | 2 pm ET!With the app export functionality, app developers and ...

[Coming Soon] Splunk Observability Cloud - Enhanced navigation with a modern look and ...

We are excited to introduce our enhanced UI that brings together AppDynamics and Splunk Observability. This is ...