All Apps and Add-ons

Splunk DB Connect 3 migration: Why do I get a "ValueError: zero length field name in format" error?

jcoates_splunk
Splunk Employee
Splunk Employee

Hi,

There's been a couple of reports of this error when running the Splunk DB Connect 3 migration script:

   Traceback (most recent call last):
     File "./app_migration.py", line 907, in <module>
       check_file_to_be_backuped(installed_apps)
     File "./app_migration.py", line 143, in check_file_to_be_backuped
       _copy_dir(from_dir, to_dir)
     File "./app_migration.py", line 121, in _copy_dir
       print("backup directory {} to location {}".format(from_dir, to_dir))
   ValueError: zero length field name in format

The reason for this error is that you're using the system Python instead of Splunk's Python.

To avoid this issue, follow the directions at http://docs.splunk.com/Documentation/DBX/3.0.0/DeployDBX/MigratefromDBConnectv1#User_permissions

Thanks!

0 Karma
1 Solution

jcoates_splunk
Splunk Employee
Splunk Employee

The reason for this error is that you're using the system Python instead of Splunk's Python.

To avoid this issue, follow the directions at http://docs.splunk.com/Documentation/DBX/3.0.0/DeployDBX/MigratefromDBConnectv1#User_permissions

Thanks!

View solution in original post

jcoates_splunk
Splunk Employee
Splunk Employee

The reason for this error is that you're using the system Python instead of Splunk's Python.

To avoid this issue, follow the directions at http://docs.splunk.com/Documentation/DBX/3.0.0/DeployDBX/MigratefromDBConnectv1#User_permissions

Thanks!

Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...