Skip to content

validateVersion fails with gpsBabel version 1.4.2 #2

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. import gpsbabel with gpsBabel version 1.4.2 installed

What is the expected output? What do you see instead?
Module should load, instead the following error occurs:
>>> import gpsbabel

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "build/bdist.linux-i686/egg/gpsbabel.py", line 1360, in <module>
  File "build/bdist.linux-i686/egg/gpsbabel.py", line 1285, in validateVersion
AssertionError


What version of the product are you using? On what operating system?
Opensuse 11.4 32bit
Python 2.6.7
python-gpsbabel 1.0.0
gpsbabel 1.4.2


Please provide any additional information below.
Changing line 1285 to the following will fix the issue:
    if minor=='3':
        assert patch>='3'


Original issue reported on code.google.com by d...@emplod.com on 18 Jan 2012 at 8:51

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions