bible-verse-parser icon indicating copy to clipboard operation
bible-verse-parser copied to clipboard

"ValueError: not enough values to unpack (expected 2, got 1)"

Open twisp007 opened this issue 4 years ago • 1 comments

I used the sample file provided and it's not working even with that file.

python BibleVerseParser.py dictionary-for-testing.txt
Traceback (most recent call last):
  File "BibleVerseParser.py", line 264, in <module>
    parser = BibleVerseParser(standardisation)
  File "BibleVerseParser.py", line 60, in __init__
    self.updateStandardAbbreviation()
  File "BibleVerseParser.py", line 89, in updateStandardAbbreviation
    self.checkConfig()
  File "BibleVerseParser.py", line 99, in checkConfig
    name, value = ("standardAbbreviation = ", config.standardAbbreviation),
ValueError: not enough values to unpack (expected 2, got 1)

twisp007 avatar Aug 25 '20 09:08 twisp007

The issue seems to be name, value = ("standardAbbreviation = ", config.standardAbbreviation), this works name, value = ("standardAbbreviation = ", config.standardAbbreviation)

Also need to import a module import pprint

twisp007 avatar Aug 25 '20 09:08 twisp007