← Back to team overview

openlp-core team mailing list archive

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

 

Public bug reported:

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'

** Affects: openlp
     Importance: Undecided
         Status: New

-- 
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:
  New

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


Follow ups

References