Cannot import project on Ubuntu 16.04

Bug #1554000 reported by Marco Giusti on 2016-03-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Virtualbricks
High
Marco Giusti

Bug Description

This is due to the use of the private API
`twisted.python.filepath._secureEnoughString` and that that API changed
in Twisted 15.2.0.

Here the traceback:

2016-03-04 17:40:09+0100 [virtualbricks.brickfactory] Uncaught exception:
_secureEnoughString() takes exactly 1 argument (0 given)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/virtualbricks/app.py", line 111,
in run_app
    _backport.react(Application(config).run, ())
  File "/usr/lib/python2.7/dist-packages/virtualbricks/_backport.py", line
71, in react
    _reactor.run()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/_glibbase.py",
line 309, in run
    self._run()
  File "/usr/lib/python2.7/dist-packages/virtualbricks/gui/dialogs.py",
line 1704, in on_ImportDialog_prepare
    filepath.FilePath(ws).child("vimages"))
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/virtualbricks/gui/dialogs.py",
line 1704, in on_ImportDialog_prepare
    filepath.FilePath(ws).child("vimages"))
  File "/usr/lib/python2.7/dist-packages/virtualbricks/gui/dialogs.py",
line 1469, in step_1
    d = extract(filepath._secureEnoughString(), archive_path)
exceptions.TypeError: _secureEnoughString() takes exactly 1 argument (0
given)
2016-03-04 17:40:14+0100 [virtualbricks.brickfactory] Uncaught exception:
'NoneType' object is not iterable
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/virtualbricks/app.py", line 111,
in run_app
    _backport.react(Application(config).run, ())
  File "/usr/lib/python2.7/dist-packages/virtualbricks/_backport.py", line
71, in react
    _reactor.run()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/_glibbase.py",
line 309, in run
    self._run()
  File "/usr/lib/python2.7/dist-packages/virtualbricks/gui/dialogs.py",
line 1709, in on_ImportDialog_prepare
    self.get_object("liststore2"))
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/virtualbricks/gui/dialogs.py",
line 1709, in on_ImportDialog_prepare
    self.get_object("liststore2"))
  File "/usr/lib/python2.7/dist-packages/virtualbricks/gui/dialogs.py",
line 1508, in step_2
    for name in dialog.images:
exceptions.TypeError: 'NoneType' object is not iterable

 affects virtualbrick
 assignee marco-giusti
 status new
 importance medium
 milestone 1.0.3

Related branches

Changed in virtualbrick:
importance: Medium → High

Fixed in commit #921.

 status fixcommitted

Changed in virtualbrick:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers