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!

App Building 101 - Build Your First App!

WATCH RECORDING NOW   Tech Talk: App Dev Edition Splunk has tons of out-of-the-box functionality, and you’ve ...

Introducing support for Amazon Data Firehose in Splunk Edge Processor

We’re excited to announce a powerful update to Splunk Data Management with added support for Amazon Data ...

The Observability Round-Up: September 2024

What’s up Splunk Community! Welcome to the latest edition of the Observability Round-Up, a monthly series in ...