Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when the registry contains multiple empty lines #2

Open
ralf57 opened this issue Feb 1, 2018 · 0 comments
Open

Error when the registry contains multiple empty lines #2

ralf57 opened this issue Feb 1, 2018 · 0 comments

Comments

@ralf57
Copy link

ralf57 commented Feb 1, 2018

If /usr/local/packager/registry.log contains 2 or more empty lines the following error happens:

Traceback (most recent call last):
  File "/usr/local/packager/packager.py", line 561, in <module>
    c.run()
  File "/usr/local/packager/packager.py", line 50, in run
    cmd_obj.run(self, params, options)
  File "/usr/local/packager/packager.py", line 153, in run
    registry = PackageRegistry()
  File "/usr/local/packager/packager.py", line 439, in __init__
    self.packages = self.__parseRegistry(self.__registry)
  File "/usr/local/packager/packager.py", line 451, in __parseRegistry
    package, version = line.split(':')
ValueError: need more than 1 value to unpack

OSX 10.13.2
Python 2.7.10

@ralf57 ralf57 changed the title Error when the registry contains empty lines Error when the registry contains multiple empty lines Feb 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant