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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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