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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...