← 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
       Status: New => Fix Committed

** Changed in: openlp
    Milestone: None => 2.0.2

** Changed in: openlp
     Assignee: (unassigned) => Arjan Schrijver (arjan-i)

** Also affects: openlp/trunk
   Importance: Undecided
     Assignee: Arjan Schrijver (arjan-i)
       Status: Fix Committed

** Also affects: openlp/2.0
   Importance: Undecided
       Status: New

** Changed in: openlp/2.0
     Assignee: (unassigned) => Arjan Schrijver (arjan-i)

** Changed in: openlp/2.0
       Status: New => Fix Committed

** Changed in: openlp/2.0
    Milestone: None => 2.1.1

-- 
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 Committed
Status in OpenLP 2.0 series:
  Fix Committed
Status in OpenLP trunk series:
  Fix Committed

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