On Fedora 22, Holland fails with Python error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
holland-backup |
New
|
Undecided
|
Unassigned |
Bug Description
At Fedora 22, it seems that Python 2.7 is stricter about the syntax for single-element tuples.
Using the mysqldump plugin and Holland 1.0.10-3.fc22, the result was:
Uncaught exception while running command 'bk': TypeError('not all arguments converted during string formatting',)
Traceback (most recent call last):
File "/usr/lib/
return self.run(
File "/usr/lib/
runner.
File "/usr/lib/
estimated_size = self.check_
File "/usr/lib/
estimated_
File "/usr/lib/
self.
File "/usr/lib/
for table in tbl_iter(
File "/usr/lib/
for metadata in self.client.
File "/usr/lib/
return self._show_
File "/usr/lib/
cursor.
File "/usr/lib64/
query = query % args
TypeError: not all arguments converted during string formatting
Changing line 181 of /usr/lib/
to:
fixes the problem.