You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exporting a Revelation file to HTML or CSV crash at entrylist.sort:
For HTML:
File "/usr/local/bin/revelation", line 235, in <lambda>
action.connect("activate", lambda w,k: self.file_export())
File "/usr/local/bin/revelation", line 1457, in file_export
datafile.save(self.entrystore, file, password)
File "/usr/local/lib64/python3.8/site-packages/revelation/io.py", line 124, in save
file_write(file, self.__handler.export_data(entrystore, password))
File "/usr/local/lib64/python3.8/site-packages/revelation/datahandler/xhtml.py", line 562, in export_data
xhtml += self.__generate_sidebar(entrystore)
File "/usr/local/lib64/python3.8/site-packages/revelation/datahandler/xhtml.py", line 433, in __generate_sidebar
xhtml += self.__generate_sidebar_accountlist(entrystore)
File "/usr/local/lib64/python3.8/site-packages/revelation/datahandler/xhtml.py", line 473, in __generate_sidebar_accountlist
entrylist.sort(lambda x,y: cmp(x.name.lower(), y.name.lower()))
TypeError: sort() takes no positional arguments
For CSV:
File "/usr/local/bin/revelation", line 235, in <lambda>
action.connect("activate", lambda w,k: self.file_export())
File "/usr/local/bin/revelation", line 1457, in file_export
datafile.save(self.entrystore, file, password)
File "/usr/local/lib64/python3.8/site-packages/revelation/io.py", line 124, in save
file_write(file, self.__handler.export_data(entrystore, password))
File "/usr/local/lib64/python3.8/site-packages/revelation/datahandler/csvfile.py", line 37, in export_data
entries.sort(lambda x,y: cmp(x.name.lower(), y.name.lower()))
TypeError: sort() takes no positional arguments
Needs to be adapted to Python3
The text was updated successfully, but these errors were encountered:
Exporting a Revelation file to HTML or CSV crash at
entrylist.sort
:For HTML:
For CSV:
Needs to be adapted to Python3
The text was updated successfully, but these errors were encountered: