← Back to team overview

openlp-core team mailing list archive

[Bug 1095699] Re: check_dependencies.py fails on version numbers with letters

 

** Changed in: openlp/trunk
       Status: Fix Committed => Fix Released

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

Title:
  check_dependencies.py fails on version numbers with letters

Status in OpenLP - Worship Presentation Software:
  Fix Released
Status in OpenLP 2.0 series:
  Fix Committed
Status in OpenLP trunk series:
  Fix Released

Bug description:
  The check_dependencies.py script fails when a software package is
  checked that has other characters than only numbers in the version.

  My example:
  sqlalchemy was installed with easy_install on Windows XP. The version number of sqlalchemy is 0.8.0b2
  check_dependencies.py fails with the following stacktrace:

  Traceback (most recent call last):
    File "C:\footer_onlytitle\scripts\check_dependencies.py", line 190, in <module>
      main()
    File "C:\footer_onlytitle\scripts\check_dependencies.py", line 185, in main
      verify_versions()
    File "C:\footer_onlytitle\scripts\check_dependencies.py", line 124, in verify_versions
      check_vers(sqlalchemy.__version__, VERS['sqlalchemy'], 'sqlalchemy')
    File "C:\footer_onlytitle\scripts\check_dependencies.py", line 94, in check_vers
      version = map(int, version)
  ValueError: invalid literal for int() with base 10: '0b2'

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


References