Author

Topic: Fragmented backup and restore doesn't work with 0.96.02 testing (Read 386 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
full member
Activity: 153
Merit: 100
Hi all,
I have the exact same problem when I try to print a fragmented backup. The single sheet backup works fine, but on the fragmented one clicking any button ("Print All Fragments", "View/Print" or "Save to File") generates the following error in the console and then nothing happens:
Code:
(ERROR) Traceback (most recent call last):
  File "/usr/local/lib/armory/qtdialogs.py", line 10623, in
    fnSave = lambda: self.clickSaveFrag(idx)
  File "/usr/local/lib/armory/qtdialogs.py", line 10697, in clickSaveFrag
    defaultFn)
  File "/usr/local/lib/armory/armoryengine/Decorators.py", line 48, in inner
    rv = func(*args, **kwargs)
  File "/usr/local/bin/../lib/armory/ArmoryQt.py", line 2224, in getFileSave
    typesStr = ';; '.join(types)
TypeError: sequence item 0: expected string, QString found

Traceback (most recent call last):
  File "/usr/local/lib/armory/qtdialogs.py", line 10623, in
    fnSave = lambda: self.clickSaveFrag(idx)
  File "/usr/local/lib/armory/qtdialogs.py", line 10697, in clickSaveFrag
    defaultFn)
  File "/usr/local/lib/armory/armoryengine/Decorators.py", line 48, in inner
    rv = func(*args, **kwargs)
  File "/usr/local/bin/../lib/armory/ArmoryQt.py", line 2224, in getFileSave
    typesStr = ';; '.join(types)
TypeError: sequence item 0: expected string, QString found
So although single sheet backup is ok for a while, I'd really like to have the fragmented one.

My setup: Ubuntu 14.04 with both Qt4 and Qt5 installed. Armory freshly installed from the Download page (Debian 64 bits gcc 4.7) which gives me version 0.96-beta-ad01aa722.
legendary
Activity: 3794
Merit: 1375
Armory Developer
Will look into it.
jr. member
Activity: 70
Merit: 2
Both create fragmented backup and restore from fragmented backup do not work in 0.96.02. I think it's the same error that was in 0.96.01:
Log:
Code:
 (ERROR) -- Traceback (most recent call last):
  File "qtdialogs.pyc", line 10548, in
  File "qtdialogs.pyc", line 10588, in clickPrintFrag
  File "qtdialogs.pyc", line 6404, in __init__
AttributeError: 'QString' object has no attribute 'lower'
Jump to: