[1.8.2] ValueError: dictionary update sequence element #0 has length 1; 2 is required
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP buildout recipe |
Invalid
|
Undecided
|
Georges Racinet |
Bug Description
Using the 1.8.2 recipe and OpenERP trunk branches, I am getting this error message building out :
Creating directory '/home/
Creating directory '/home/
Creating directory '/home/
Creating directory '/home/
Generated script '/home/
Getting distribution for 'cp.recipe.
Got cp.recipe.cmd 0.4.
Getting distribution for 'zope.testing=
warning: no files found matching '*.test' under directory 'src'
warning: no files found matching 'sampletests' under directory 'src'
Got zope.testing 4.1.1.
Getting distribution for 'zope.exception
Got zope.exceptions 4.0.1.
Getting distribution for 'anybox.
Got anybox.
Getting distribution for 'zc.recipe.
Got zc.recipe.egg 2.0.1.
anybox.
anybox.
While:
Installing.
Getting section dev.
Initializing section dev.
Getting option dev:addons.
Getting section openerp.
Initializing section openerp.
An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "/home/
getattr(
File "/home/
[self[
File "/home/
options.
File "/home/
self._dosub(k, v)
File "/home/
v = '$$'.join(
File "/home/
v = self.buildout[
File "/home/
options.
File "/home/
self.
File "/home/
self.recipe = recipe_
File "/home/
super(
File "/home/
self.
File "/home/
options = dict(opt.split('=') for opt in split[spec_len:])
ValueError: dictionary update sequence element #0 has length 1; 2 is required
Related branches
Changed in anybox.recipe.openerp: | |
assignee: | nobody → Georges Racinet (gracinet) |
Hi Maxime,
you most probably have a syntax problem in the 'addons' option. Maybe a missing destination directory or wished revision.
The recipe should catch an reraise this as a UserError.