Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
twisp007 opened this issue Aug 25, 2020 · 1 comment
Open

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

twisp007 opened this issue Aug 25, 2020 · 1 comment

Comments

@twisp007
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant