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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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