Debug Python Script
- or -
Post a project like this1288
$25
- Posted:
- Proposals: 5
- Remote
- #3011478
- Awarded
Description
Experience Level: Entry
Trying to get this up and running on a virtual machine: https://github.com/meetar/dotmap
Virtual environment is setup and able to retrieve the .zip when running makedots.py but get an empty .db and this:
Traceback (most recent call last):
File "makedots.py", line 217, in
main( "../tmp/tabblock2010_%s_pophu.shp"%state, "../data/people.%s.db"%state )
File "makedots.py", line 156, in main
bbox = get_bbox( geom )
File "makedots.py", line 26, in get_bbox
pts = bd.GetPoints()
File "/usr/lib/python2.7/dist-packages/osgeo/ogr.py", line 2927, in
__getattr__ = lambda self, name: _swig_getattr(self, Geometry, name)
File "/usr/lib/python2.7/dist-packages/osgeo/ogr.py", line 55, in _swig_getattr
raise AttributeError(name)
AttributeError: GetPoints
Virtual environment is setup and able to retrieve the .zip when running makedots.py but get an empty .db and this:
Traceback (most recent call last):
File "makedots.py", line 217, in
main( "../tmp/tabblock2010_%s_pophu.shp"%state, "../data/people.%s.db"%state )
File "makedots.py", line 156, in main
bbox = get_bbox( geom )
File "makedots.py", line 26, in get_bbox
pts = bd.GetPoints()
File "/usr/lib/python2.7/dist-packages/osgeo/ogr.py", line 2927, in
__getattr__ = lambda self, name: _swig_getattr(self, Geometry, name)
File "/usr/lib/python2.7/dist-packages/osgeo/ogr.py", line 55, in _swig_getattr
raise AttributeError(name)
AttributeError: GetPoints
Branden P.
100% (4)Projects Completed
5
Freelancers worked with
3
Projects awarded
78%
Last project
24 Jan 2023
United States
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies