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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...