** Attachment added: "92_csv.rar"
   
https://bugs.launchpad.net/openlp/+bug/1624847/+attachment/4743025/+files/92_csv.rar

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1624847

Title:
  Invalid CSV import results in traceback

Status in OpenLP:
  New

Bug description:
  I started importing a .csv Bible, 
  importer asked "What book is: "<book_id>.

  Win 10 / Trunk 2696

  Traceback (most recent call last):
    File "D:\bzr\openlp\add-bible-license-field\openlp\core\ui\lib\wizard.py", 
line 219, in on_current_id_changed
      self.perform_wizard()
    File 
"D:\bzr\openlp\add-bible-license-field\openlp\plugins\bibles\forms\bibleimportform.py",
 line 830, in perform_wizard
      if importer.do_import(license_version) and not importer.stop_import_flag:
    File 
"D:\bzr\openlp\add-bible-license-field\openlp\plugins\bibles\lib\importers\csvbible.py",
 line 165, in do_import
      book_list = self.process_books(books)
    File 
"D:\bzr\openlp\add-bible-license-field\openlp\plugins\bibles\lib\importers\csvbible.py",
 line 125, in process_books
      book_list.update({int(book.id): book.name})
  ValueError: invalid literal for int() with base 10: '<book_id>'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1624847/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to     : openlp-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to