Select to view content in your preferred language

3d Buildings Toolbox: 'no module named'

180
3
Jump to solution
2 weeks ago
D_Atkins
Emerging Contributor

Experimenting with 3d Buildings and 3d Basemaps -- we already have LIDAR tiles, decent aerials, and building footprint polygons, so thought we had a good start.  Deployed the Solution and downloaded the ArcPro Project, and were following the Tasks.

We hit a snag with "Extract elevation surfaces from LAS dataset" -- the Toolbox tool references a Python script, which we can trace.  But the Python script ("extract_elevation_from_las_tbx.py") is just a wrapper -- it calls a module "scripts", and we get an error!

Googling this error leads all over the place, and is probably a simple fix -- hence the questions:

Where are the actual scripts associated with 3d Buildings / 3d Basemaps Toolboxes? (in the solution, or..?)
and/or, what can we do to obtain the 'module' Scripts, and where would it need to be 'dropped' to work with the Solution Toolboxes?

D_Atkins_0-1748880302966.png

 

0 Kudos
1 Solution

Accepted Solutions
nowiwonder
New Contributor

It seems like the zip file you are getting is not correct for some reason. The ZIP file should be 1.1MB before it is unzipped.

Please email me directly at npopovich@esri.com and I can send you a link to a direct download. In the meantime, I'll look into the possible issue with the download.

View solution in original post

0 Kudos
3 Replies
nowiwonder
New Contributor

@D_Atkins - hi I'm Nick Popovich and I work on the ArcGIS Solutions team. I'm sorry you are having this issue. Let's see if we can get you going.

When you download the zip file and unpack it, you will get a Pro project with the tasks which it sounds like you are using. It will also create a series of folders one call scripts. Browse to the directory you unpacked the solution into and see if the data structure looks similiar to this:

nowiwonder_0-1749007643908.png

What version of Pro are you running?

 

0 Kudos
D_Atkins
Emerging Contributor

Thanks for sharing!  It looks like our error is the .ZIP file itself. I redownloaded the 'Desktop application template' from ArcGIS Online this morning, to confirm:

We're getting a 488kb .zip archive and, when we unpack it, 7-Zip fails with "Unexpected end of data".  So at least we know what's going on...

We tried deleting the solution from AGOL, and re-deployed the items: the 'new' .zip project shows the same characteristics...  

Is there another source for the Project/Script files?


* (I'm using ArcPro 3.5)

0 Kudos
nowiwonder
New Contributor

It seems like the zip file you are getting is not correct for some reason. The ZIP file should be 1.1MB before it is unzipped.

Please email me directly at npopovich@esri.com and I can send you a link to a direct download. In the meantime, I'll look into the possible issue with the download.

0 Kudos