Skip to content

Instantly share code, notes, and snippets.

@Algogator
Created March 12, 2018 16:44
Show Gist options
  • Save Algogator/a5164336cb0eaeed4a47edf0eadba88d to your computer and use it in GitHub Desktop.
Save Algogator/a5164336cb0eaeed4a47edf0eadba88d to your computer and use it in GitHub Desktop.
nosetests pysal
vagrant@ubuntu-xenial:~$ nosetests pysal/
...................................................................................................................................................EEEE........................................E........................SS.SSSSSSS...........................SSSSSS.................................................................EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE.......................................S....../home/vagrant/pysal/pysal/weights/weights.py:189: UserWarning: There are 3 disconnected observations
warnings.warn("There are %d disconnected observations" % ni)
/home/vagrant/pysal/pysal/weights/weights.py:190: UserWarning: Island ids: 6, 8, 11
warnings.warn("Island ids: %s" % ', '.join(str(island) for island in self.islands))
........./home/vagrant/pysal/pysal/core/IOHandlers/gwt.py:148: RuntimeWarning: DBF relating to GWT was not found, proceeding with unordered string ids.
warn("DBF relating to GWT was not found, proceeding with unordered string ids.", RuntimeWarning)
......................../home/vagrant/pysal/pysal/weights/weights.py:189: UserWarning: There are 7 disconnected observations
warnings.warn("There are %d disconnected observations" % ni)
/home/vagrant/pysal/pysal/weights/weights.py:190: UserWarning: Island ids: 5, 9, 10, 11, 12, 14, 15
warnings.warn("Island ids: %s" % ', '.join(str(island) for island in self.islands))
................................................S.S.S.S.S....S....S.S.S.S......................................SS.S..SS.S.......SSS.S.S.S..S.S.S.S.S................................/home/vagrant/pysal/pysal/esda/moran.py:902: RuntimeWarning: invalid value encountered in greater
zp = self.z > 0
/home/vagrant/pysal/pysal/esda/moran.py:903: RuntimeWarning: invalid value encountered in greater
lp = zl > 0
/home/vagrant/pysal/pysal/esda/moran.py:852: RuntimeWarning: invalid value encountered in greater_equal
above = sim >= self.Is
/home/vagrant/.local/lib/python2.7/site-packages/scipy/stats/_distn_infrastructure.py:879: RuntimeWarning: invalid value encountered in greater
return (self.a < x) & (x < self.b)
/home/vagrant/.local/lib/python2.7/site-packages/scipy/stats/_distn_infrastructure.py:879: RuntimeWarning: invalid value encountered in less
return (self.a < x) & (x < self.b)
/home/vagrant/.local/lib/python2.7/site-packages/scipy/stats/_distn_infrastructure.py:1738: RuntimeWarning: invalid value encountered in greater_equal
cond2 = (x >= self.b) & cond0
......................................................................SS.SS.......................................SSSSSSS.SS.SSSSSSSSSS.........../home/vagrant/.local/lib/python2.7/site-packages/scipy/sparse/compressed.py:742: SparseEfficiencyWarning: Changing the sparsity structure of a csc_matrix is expensive. lil_matrix is more efficient.
SparseEfficiencyWarning)
../home/vagrant/.local/lib/python2.7/site-packages/scipy/sparse/linalg/dsolve/linsolve.py:295: SparseEfficiencyWarning: splu requires CSC matrix format
warn('splu requires CSC matrix format', SparseEfficiencyWarning)
/home/vagrant/.local/lib/python2.7/site-packages/scipy/sparse/linalg/dsolve/linsolve.py:202: SparseEfficiencyWarning: spsolve is more efficient when sparse b is in the CSC matrix format
'is in the CSC matrix format', SparseEfficiencyWarning)
................................................................................S....S......S....S......S......................................................./home/vagrant/pysal/pysal/weights/weights.py:186: UserWarning: There is one disconnected observation (no neighbors)
warnings.warn("There is one disconnected observation (no neighbors)")
/home/vagrant/pysal/pysal/weights/weights.py:187: UserWarning: Island id: 2
warnings.warn("Island id: %s" % str(self.islands[0]))
..../home/vagrant/pysal/pysal/weights/weights.py:187: UserWarning: Island id: 163
warnings.warn("Island id: %s" % str(self.islands[0]))
......../home/vagrant/pysal/pysal/weights/util.py:858: UserWarning: This function is deprecated. Use fill_diagonal instead.
warn('This function is deprecated. Use fill_diagonal instead.')
......................./home/vagrant/pysal/pysal/weights/weights.py:187: UserWarning: Island id: d
warnings.warn("Island id: %s" % str(self.islands[0]))
............................................................
======================================================================
ERROR: Failure: ImportError (No module named pandas)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/.local/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/home/vagrant/.local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/home/vagrant/.local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/home/vagrant/pysal/pysal/contrib/geotable/ops/tests/test_accessors.py", line 1, in <module>
from ....pdio import read_files as rf
File "/home/vagrant/pysal/pysal/contrib/pdio/__init__.py", line 1, in <module>
import dbf as dbio
File "/home/vagrant/pysal/pysal/contrib/pdio/dbf.py", line 7, in <module>
import pandas as pd
ImportError: No module named pandas
======================================================================
ERROR: Failure: NameError (name '_poly_equal' is not defined)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/.local/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/home/vagrant/.local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/home/vagrant/.local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/home/vagrant/pysal/pysal/contrib/geotable/ops/tests/test_shapely.py", line 3, in <module>
from pysal.cg import Point, Chain, Polygon, comparators as comp
File "/home/vagrant/pysal/pysal/cg/comparators.py", line 134, in <module>
Polygon:_poly_equal,
NameError: name '_poly_equal' is not defined
======================================================================
ERROR: Failure: ImportError (No module named pandas)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/.local/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/home/vagrant/.local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/home/vagrant/.local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/home/vagrant/pysal/pysal/contrib/geotable/ops/tests/test_tabular.py", line 6, in <module>
import pysal.contrib.pdio as pdio
File "/home/vagrant/pysal/pysal/contrib/pdio/__init__.py", line 1, in <module>
import dbf as dbio
File "/home/vagrant/pysal/pysal/contrib/pdio/dbf.py", line 7, in <module>
import pandas as pd
ImportError: No module named pandas
======================================================================
ERROR: Failure: ImportError (No module named pandas)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/.local/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/home/vagrant/.local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/home/vagrant/.local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/home/vagrant/pysal/pysal/contrib/geotable/tests/test_utils.py", line 2, in <module>
from ...pdio import read_files
File "/home/vagrant/pysal/pysal/contrib/pdio/__init__.py", line 1, in <module>
import dbf as dbio
File "/home/vagrant/pysal/pysal/contrib/pdio/dbf.py", line 7, in <module>
import pandas as pd
ImportError: No module named pandas
======================================================================
ERROR: Failure: ImportError (No module named pdutilities.dbf_utilities)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/.local/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/home/vagrant/.local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/home/vagrant/.local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/home/vagrant/pysal/pysal/contrib/handler/tests/test_diagnostics.py", line 7, in <module>
from pysal.contrib.pdutilities.dbf_utilities import dbf2df
ImportError: No module named pdutilities.dbf_utilities
======================================================================
ERROR: Failure: ImportError (No module named geodanet.network)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/.local/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/home/vagrant/.local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/home/vagrant/.local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/home/vagrant/pysal/pysal/contrib/network/test_klincs.py", line 4, in <module>
import klincs
File "/home/vagrant/pysal/pysal/contrib/network/klincs.py", line 13, in <module>
import geodanet.network as pynet
ImportError: No module named geodanet.network
======================================================================
ERROR: Failure: ImportError (No module named geodanet.network)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/.local/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/home/vagrant/.local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/home/vagrant/.local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/home/vagrant/pysal/pysal/contrib/network/test_lincs.py", line 4, in <module>
import lincs
File "/home/vagrant/pysal/pysal/contrib/network/lincs.py", line 13, in <module>
import geodanet.network as pynet
ImportError: No module named geodanet.network
======================================================================
ERROR: test_components (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_dijkstras (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_inject_points (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_list_network_to_shp (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_mesh_network (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_net_global_stats (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_network_from_allvertices (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_network_from_endnodes (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_no_components (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_no_edges (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_no_nodes (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_proj_distances_directed (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_proj_distances_undirected (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_proj_pnt_coor (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_random_projs (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_read_hierarchical_network (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_read_network (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_snap (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_tot_net_length (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_walk (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_write_network_to_pysalshp (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_write_valued_network_to_shp (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_components (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_dijkstras (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_inject_points (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_list_network_to_shp (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_mesh_network (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_net_global_stats (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_network_from_allvertices (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_network_from_endnodes (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_no_components (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_no_edges (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_no_nodes (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_proj_distances_directed (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_proj_distances_undirected (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_proj_pnt_coor (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_random_projs (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_read_hierarchical_network (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_read_network (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_snap (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_tot_net_length (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_walk (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_write_network_to_pysalshp (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_write_valued_network_to_shp (pysal.contrib.network.test_network.Network_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_network.py", line 12, in setUp
self.G = pynet.read_network(self.net)
File "/home/vagrant/pysal/pysal/contrib/network/network.py", line 399, in read_network
s = pysal.open(filename)
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 68, in __init__
self.__open()
File "/home/vagrant/pysal/pysal/core/IOHandlers/pyShpIO.py", line 79, in __open
self.dataObj = shp_file(self.dataPath)
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 221, in __init__
self._open_shp_file()
File "/home/vagrant/pysal/pysal/core/util/shapefile.py", line 250, in _open_shp_file
self.fileObj = open(fileName + '.shp', 'rb')
IOError: [Errno 2] No such file or directory: 'streets.shp'
======================================================================
ERROR: test_dist_weights (pysal.contrib.network.test_weights.Weights_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_weights.py", line 11, in test_dist_weights
w = weights.dist_weights('distances.csv','knn',ids,3)
File "/home/vagrant/pysal/pysal/contrib/network/weights.py", line 57, in dist_weights
for row in data_csv:
TypeError: 'NoneType' object is not iterable
======================================================================
ERROR: test_dist_weights (pysal.contrib.network.test_weights.Weights_Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/pysal/pysal/contrib/network/test_weights.py", line 11, in test_dist_weights
w = weights.dist_weights('distances.csv','knn',ids,3)
File "/home/vagrant/pysal/pysal/contrib/network/weights.py", line 57, in dist_weights
for row in data_csv:
TypeError: 'NoneType' object is not iterable
======================================================================
ERROR: Failure: ImportError (No module named pandas)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/.local/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/home/vagrant/.local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/home/vagrant/.local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/home/vagrant/pysal/pysal/contrib/pdio/__init__.py", line 1, in <module>
import dbf as dbio
File "/home/vagrant/pysal/pysal/contrib/pdio/dbf.py", line 7, in <module>
import pandas as pd
ImportError: No module named pandas
----------------------------------------------------------------------
Ran 1035 tests in 125.570s
FAILED (SKIP=71, errors=54)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment