Skip to content

Python Error while using WalkingTime #3

@Jan050881

Description

@Jan050881

When i try to run the WalkingTime plugin a Python Error occurs after filling in the data and press the ok button. I'm not sure if this is a problem with the plugin or my Python console itself, but i hope someone has an idea. The error occurs even if i change layers, i tried it with different datasets, but no one works. Here is the error message:

Fehler bei der Ausführung von Python-Code:

Traceback (most recent call last):
File "C:/Users/Jan/.qgis2/python/plugins\walkingtime\walkingtime.py", line 134, in run
time, time_rev = self.timeCalc(geom)
File "C:/Users/Jan/.qgis2/python/plugins\walkingtime\walkingtime.py", line 173, in timeCalc
dh = elevation - last_elevation
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'

Python-Version:
2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]

QGIS-Version:
2.2.0-Valmiera Valmiera, c3a2817

Thanks for your help!
Jan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions