SUSE Support

Here When You Need Us

repo sync quits with: ValueError: zero length field name in format

This document (7018570) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Manager 2.1

Situation

The following error may be encountered when syncing channels:


[...]
Packages in repo:                59
Packages already synced:         49
Packages to sync:                 3
1/3 : lifecycle-data-sle-module-toolchain-1-2.1-0.noarch
2/3 : sle-module-toolchain-release-cd-12-8.1-0.x86_64
3/3 : sle-module-toolchain-release-12-8.1-0.x86_64

Unexpected error: <type 'exceptions.ValueError'>

Traceback (most recent call last):

  File "/usr/lib64/python2.6/site-packages/spacewalk/satellite_tools/reposync.py", line 191, in sync

    self.import_packages(plugin, data['id'], data['source_url'])

  File "/usr/lib64/python2.6/site-packages/spacewalk/satellite_tools/reposync.py", line 1065, in import_packages

    self._normalize_orphan_vendor_packages()

  File "/usr/lib64/python2.6/site-packages/spacewalk/satellite_tools/reposync.py", line 1080, in _normalize_orphan_vendor_packages

    .format(affected_row_count)

ValueError: zero length field name in format

Resolution

Cause

A missing integer value.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7018570
  • Creation Date: 02-Feb-2017
  • Modified Date:03-Mar-2020
    • SUSE Manager

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.