You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this is my qt4 python2.7 error
--- quote ---
You have selected a heightmap which has no .txt file yet, OR the given .txt file has the wrong dimensions. The parameter heightDif will be used to describe the height difference between the lowest and the highest points on the map.
Processing image
('Processed image being saved as ', u'stubs_height.png')
Traceback (most recent call last):
File "GUI.py", line 207, in start_roadmap
UI.roadmap()
File "/xxx/xxx/xxx/xxx/xxx/procedural_city_generation-master/UI.py", line 58, in roadmap
roadmap_main.main()
File "/xxx/xxx/xxx/xxx/xxx/procedural_city_generation-master/procedural_city_generation/roadmap/main.py", line 39, in main
front=iteration(front)
File "/xxx/xxx/xxx/xxx/xxx/procedural_city_generation-master/procedural_city_generation/roadmap/iteration.py", line 26, in iteration
for suggested_vertex in getSuggestion(vertex):
File "/xxx/xxx/xxx/xxx/xxx/procedural_city_generation-master/procedural_city_generation/roadmap/getSuggestion.py", line 25, in getSuggestion
rule= getRule(vertex)
File "/xxx/xxx/xxx/xxx/xxx/procedural_city_generation-master/procedural_city_generation/roadmap/getRule.py", line 27, in getRule
population_density = np.sqrt((singleton.img2[singleton.img2.shape[0]-ysingleton.img2.shape[0]][xsingleton.img2.shape[1]][0])/255)
IndexError: only integers, slices (:), ellipsis (...), numpy.newaxis (None) and integer or boolean arrays are valid indices
----- end quote ----
this tool DID work last year or two back on opensuse 42.2 and 42.3
But not running on OpenSUSE tumbleweed linux
Python 2.7.15 and Python 3.6.5
The text was updated successfully, but these errors were encountered:
this is my qt4 python2.7 error
--- quote ---
You have selected a heightmap which has no .txt file yet, OR the given .txt file has the wrong dimensions. The parameter heightDif will be used to describe the height difference between the lowest and the highest points on the map.
Processing image
('Processed image being saved as ', u'stubs_height.png')
Traceback (most recent call last):
File "GUI.py", line 207, in start_roadmap
UI.roadmap()
File "/xxx/xxx/xxx/xxx/xxx/procedural_city_generation-master/UI.py", line 58, in roadmap
roadmap_main.main()
File "/xxx/xxx/xxx/xxx/xxx/procedural_city_generation-master/procedural_city_generation/roadmap/main.py", line 39, in main
front=iteration(front)
File "/xxx/xxx/xxx/xxx/xxx/procedural_city_generation-master/procedural_city_generation/roadmap/iteration.py", line 26, in iteration
for suggested_vertex in getSuggestion(vertex):
File "/xxx/xxx/xxx/xxx/xxx/procedural_city_generation-master/procedural_city_generation/roadmap/getSuggestion.py", line 25, in getSuggestion
rule= getRule(vertex)
File "/xxx/xxx/xxx/xxx/xxx/procedural_city_generation-master/procedural_city_generation/roadmap/getRule.py", line 27, in getRule
population_density = np.sqrt((singleton.img2[singleton.img2.shape[0]-ysingleton.img2.shape[0]][xsingleton.img2.shape[1]][0])/255)
IndexError: only integers, slices (
:
), ellipsis (...
), numpy.newaxis (None
) and integer or boolean arrays are valid indices----- end quote ----
this tool DID work last year or two back on opensuse 42.2 and 42.3
But not running on OpenSUSE tumbleweed linux
Python 2.7.15 and Python 3.6.5
The text was updated successfully, but these errors were encountered: