# City sample in houdini can't process and export

**URL:** <https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207>\
**Category:** World Creation\
**Tags:** World-Creation, unreal-engine, UE5-0, question\
**Created:** [June 29, 2022, 9:17am UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207 "2022-06-29T09:17:34Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![thelostmesmer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thelostmesmer](https://forums.unrealengine.com/u/thelostmesmer)\
**Post date:** [June 29, 2022, 9:17am UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/1 "2022-06-29T09:17:34Z")

</div>

I followed the City Sample Quick Start tutorial until setp 11, Generate the City Caches and Export Data.  
but when i press **process city base** ，houdini display this.

Traceback (most recent call last):  
File “city::Sop/processor::1.0/process\_base”, line 1, in   
File “C:/PROGRA~1/SIDEEF~1/HOUDIN~1.657/houdini/python3.7libs\hou.py”, line 49450, in **getattr**  
return _hou.HDAModule\_\_\_getattr_\_(self, name)  
AttributeError: ‘module’ object has no attribute ‘do\_base’

Then I tried all the export buttons under “processor”,they are all the same.  
I changed the houdini version,update sideFX，no work ,still the same  
so have anyone konw where i error 🥲

---

<div class="post-metadata">

**Author:** ![HandsomeCheese](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HandsomeCheese](https://forums.unrealengine.com/u/HandsomeCheese)\
**Post date:** [July 1, 2022, 3:47am UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/2 "2022-07-01T03:47:58Z")

</div>

hello,  
I have the same problem, do you have a solution.  
Thanks!

---

<div class="post-metadata">

**Author:** ![thelostmesmer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thelostmesmer](https://forums.unrealengine.com/u/thelostmesmer)\
**Post date:** [July 1, 2022, 4:31am UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/3 "2022-07-01T04:31:28Z")

</div>

no,No one on the internet says this，I’m close to giving up 🥲

---

<div class="post-metadata">

**Author:** ![HandsomeCheese](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HandsomeCheese](https://forums.unrealengine.com/u/HandsomeCheese)\
**Post date:** [July 1, 2022, 6:07am UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/4 "2022-07-01T06:07:29Z")

</div>

Good luck, I have a way.  
You need to complete parentheses for “print” in python code.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/e/6/9e6da465fd66f14b83c2f729107e8a68bd7fe907.jpeg)

---

<div class="post-metadata">

**Author:** ![thelostmesmer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thelostmesmer](https://forums.unrealengine.com/u/thelostmesmer)\
**Post date:** [July 1, 2022, 7:26am UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/5 "2022-07-01T07:26:34Z")

</div>

strangeness，After modification it shows a bunch of errors，but works。  
so strangeness 🤣  
you are the real hero

---

<div class="post-metadata">

**Author:** ![HandsomeCheese](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HandsomeCheese](https://forums.unrealengine.com/u/HandsomeCheese)\
**Post date:** [July 1, 2022, 9:15am UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/6 "2022-07-01T09:15:21Z")

</div>

Which version of Houdini are you using? Officially it says that version 18.5.532 is required, but 18.5.532 is only available on Mac platforms, and this project is only suitable for windows10, which confuses me.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/2/8/628a7f616affcf45e029f170f661889d80704e1a.png)

---

<div class="post-metadata">

**Author:** ![thelostmesmer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thelostmesmer](https://forums.unrealengine.com/u/thelostmesmer)\
**Post date:** [July 1, 2022, 9:32am UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/7 "2022-07-01T09:32:56Z")

</div>

is 18.5.532,it can dowload on houdini website，some hard to find。  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/2/3/423bb35ace670c1dd6874addda897497262fd5b5.png)  
and ，when i use ‘process city furniture’ the time，it shows some other errors(tons error)  
do you same?

Traceback (most recent call last):  
File “Sop/null/export\_all”, line 1, in   
ModuleNotFoundError: No module named ‘freeway\_export’

Traceback (most recent call last):  
File “Sop/filecache/execute”, line 1, in   
File “C:/PROGRA~1/SIDEEF~1/HOUDIN~1.532/houdini/python3.7libs\houpythonportion\ui.py”, line 1081, in decorator  
return func(\*args, \*\*kwargs)  
File “C:/PROGRA~1/SIDEEF~1/HOUDIN~1.532/houdini/python3.7libs\hou.py”, line 69104, in render  
return \_hou.RopNode\_render(self, \*args, \*\*kwargs)  
hou.OperationFailed: The attempted operation failed.  
Error: Cook error in input: /obj/geo1/processor1/Bldg\_COLLISON\_AND\_ROOF\_PARSING/City\_Tile\_Parser\_arbitrary\_collision/filecache2/cast\_attributes  
Error: Invalid source /obj/geo1/processor1/Bldg\_COLLISON\_AND\_ROOF\_PARSING/City\_Tile\_Parser\_arbitrary\_collision/foreach\_end5  
Error: Failure to cook template geometry…

Traceback (most recent call last):  
File “Sop/filecache/execute”, line 1, in   
File “C:/PROGRA~1/SIDEEF~1/HOUDIN~1.532/houdini/python3.7libs\houpythonportion\ui.py”, line 1081, in decorator  
return func(\*args, \*\*kwargs)  
File “C:/PROGRA~1/SIDEEF~1/HOUDIN~1.532/houdini/python3.7libs\hou.py”, line 69104, in render  
return \_hou.RopNode\_render(self, \*args, \*\*kwargs)  
hou.OperationFailed: The attempted operation failed.  
Error: Cook error in input: /obj/geo1/processor1/Bldg\_COLLISON\_AND\_ROOF\_PARSING/City\_Tile\_Parser\_arbitrary\_rooftops/filecache2/cast\_attributes  
Error: Invalid source /obj/geo1/processor1/Bldg\_COLLISON\_AND\_ROOF\_PARSING/City\_Tile\_Parser\_arbitrary\_rooftops/foreach\_end5  
Error: Failure to cook template geometry…

Traceback (most recent call last):  
File “Sop/filecache/execute”, line 1, in   
File “C:/PROGRA~1/SIDEEF~1/HOUDIN~1.532/houdini/python3.7libs\houpythonportion\ui.py”, line 1081, in decorator  
return func(\*args, \*\*kwargs)  
File “C:/PROGRA~1/SIDEEF~1/HOUDIN~1.532/houdini/python3.7libs\hou.py”, line 69104, in render  
return \_hou.RopNode\_render(self, \*args, \*\*kwargs)  
hou.OperationFailed: The attempted operation failed.  
Error: Cook error in input: /obj/geo1/processor1/Bldg\_COLLISON\_AND\_ROOF\_PARSING/City\_Tile\_Parser\_arbitrary\_rooftops/filecache2/cast\_attributes  
Error: Invalid source /obj/geo1/processor1/Bldg\_COLLISON\_AND\_ROOF\_PARSING/City\_Tile\_Parser\_arbitrary\_rooftops/foreach\_end5  
Error: Failure to cook template geometry…

---

<div class="post-metadata">

**Author:** ![HandsomeCheese](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HandsomeCheese](https://forums.unrealengine.com/u/HandsomeCheese)\
**Post date:** [July 1, 2022, 12:03pm UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/8 "2022-07-01T12:03:19Z")

</div>

I made an error when executing “PDG Process”, so I tried “Process city without PDG”, but it seems that because of insufficient space on the C drive, the error of “houdini segmentation fault saving application” is still reported.

---

<div class="post-metadata">

**Author:** ![thelostmesmer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thelostmesmer](https://forums.unrealengine.com/u/thelostmesmer)\
**Post date:** [July 1, 2022, 12:19pm UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/9 "2022-07-01T12:19:18Z")

</div>

so do i,I still have more than 500gb of space on my C drive，but just have 64g ram,The usage rate is over 98%，maybe is raw the problem。Because when I reboot,it just use 60% raw，and “Process city without PDG” not jump error anymore，but “export all pbc” ，Error still pops up。

Traceback (most recent call last):  
File “Sop/null/export\_all”, line 1, in  
ModuleNotFoundError: No module named ‘freeway\_export’

🙃so i give up,now i try use data in ue5,see the error did affect results

---

<div class="post-metadata">

**Author:** ![thelostmesmer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thelostmesmer](https://forums.unrealengine.com/u/thelostmesmer)\
**Post date:** [July 1, 2022, 2:13pm UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/10 "2022-07-01T14:13:33Z")

</div>

ok,error is no roof，no freeway. 🙃

---

<div class="post-metadata">

**Author:** ![zcanann](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zcanann](https://forums.unrealengine.com/u/zcanann)\
**Post date:** [July 14, 2022, 8:05am UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/11 "2022-07-14T08:05:31Z")

</div>

I’m still figuring this out, but installing the Py2 version of Houdini might solve this

Edit: Yep `freeway_export.py` is in `Small_City\houdini\python2.7libs\freeway_export`, so it’s looking for Python 2.

Also, apparently PBC files are not generated unless you shell out $270 for an indie license

---

<div class="post-metadata">

**Author:** ![thelostmesmer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thelostmesmer](https://forums.unrealengine.com/u/thelostmesmer)\
**Post date:** [July 15, 2022, 4:57am UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/12 "2022-07-15T04:57:10Z")

</div>

yes,but when i ues py2 to bake the data,still missing roof，freeway lack of road surface，Too strange,i bake smallcity the data ，it all good。 🙃

---

<div class="post-metadata">

**Author:** ![Robbie222](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/robbie222/32/1201536_2.png) [@Robbie222](https://forums.unrealengine.com/u/Robbie222)\
**Post date:** [August 11, 2022, 11:57am UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/13 "2022-08-11T11:57:55Z")

</div>

Hey there, I am getting the same initial error. I’ve added the parenthesis like you said and now I am getting this error:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/a/a/aaa9a342bbe4a6067cc9514d38f0f774cc1a3ef8.png)

I press ok and try to click " process city base" . It doesn’t work. I get this error:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/3/3/6334d145129f229116c5124338606d2db3e9203f.png)

Have you managed to succesfully recreate a different layout of the small city in Unreal?

p.s - I have a houdini indie license through steam.  
p.p.s - I am using 18.5.532 - Phyton 3

---

<div class="post-metadata">

**Author:** ![HandsomeCheese](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HandsomeCheese](https://forums.unrealengine.com/u/HandsomeCheese)\
**Post date:** [August 11, 2022, 12:55pm UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/14 "2022-08-11T12:55:03Z")

</div>

In fact, most of the problems are caused by the wrong version of python, you can try switching Houdini version back to py2 version. In addition, the cracked version does not seem to have py2

---

<div class="post-metadata">

**Author:** ![Robert37000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Robert37000](https://forums.unrealengine.com/u/Robert37000)\
**Post date:** [September 4, 2022, 1:15pm UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/17 "2022-09-04T13:15:02Z")

</div>

Hello everyone,  
@UnrealEngine5.1  
Could someone from the unreal engine team confirm what Zcanann is saying ?

“Also, apparently PBC files are not generated unless you shell out $270 for an indie license”

Because it is not specified in the tutorial

---

<div class="post-metadata">

**Author:** ![Sumisukyo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sumisukyo](https://forums.unrealengine.com/u/Sumisukyo)\
**Post date:** [September 13, 2022, 6:57pm UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/18 "2022-09-13T18:57:26Z")

</div>

+1 to this issue

Currently on Free License, 19.5.303, Py 3.9

Will try older versions and hope it sorts it out.

---

<div class="post-metadata">

**Author:** ![Sumisukyo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sumisukyo](https://forums.unrealengine.com/u/Sumisukyo)\
**Post date:** [September 13, 2022, 8:40pm UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/19 "2022-09-13T20:40:01Z")

</div>

The recommended version goes even worse and just spits constant errors.

let me try to remake a simpler city.

---

<div class="post-metadata">

**Author:** ![Sumisukyo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sumisukyo](https://forums.unrealengine.com/u/Sumisukyo)\
**Post date:** [September 13, 2022, 8:44pm UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/20 "2022-09-13T20:44:58Z")

</div>

The Errors are in mass but here are the most common

```auto
Error: Bad node type found: gamedev::sop_min_max_average in /obj/geo1/processor1/STREET_FURNITURE_ZONE_DEPENDANT/ground_processor1/measure_curvarture1.
Warning: Skipping unrecognized parameter "attribute".
             Skipping unrecognized parameter "attribute_type".
             Skipping unrecognized parameter "folder0".
             Skipping unrecognized parameter "method1".
             Skipping unrecognized parameter "prefix1".
             Skipping unrecognized parameter "detail_attribute1".
             Skipping unrecognized parameter "method2".
             Skipping unrecognized parameter "prefix2".
             Skipping unrecognized parameter "detail_attribute2".
        [/obj/geo1/processor1/STREET_FURNITURE_ZONE_DEPENDANT/ground_processor1/measure_curvarture1/get_min_max_average1]

Warning: Problem while synchronizing child node:
             Warning: Skipping unrecognized parameter "lightdef".
             Skipping unrecognized parameter "lightfilterdef".
        [/obj/geo1/processor1/FREEWAY/matnet1/uv_debug/useColorMap]

```

---

<div class="post-metadata">

**Author:** ![Un1co21](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/un1co21/32/88718_2.png) [@Un1co21](https://forums.unrealengine.com/u/Un1co21)\
**Post date:** [September 29, 2022, 11:55pm UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/21 "2022-09-29T23:55:47Z")

</div>

Having the same Issue than @Robbie222. So ++++++1

I am using 19.5.503 on Windows 10 and the proposed version was worse with more errors on my end as well.

I don’t understand how there is nobody on youtube trying this like everything else with the city sample as this is one of the most powerful things of the whole Matrix Demo and City Sample.

@UnrealEngine5.1 we need your help here and a proper Tutorial on Inside Unreal.

---

<div class="post-metadata">

**Author:** ![WizzleOfOZ](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/wizzleofoz/32/576885_2.png) [@WizzleOfOZ](https://forums.unrealengine.com/u/WizzleOfOZ)\
**Post date:** [October 1, 2022, 1:14pm UTC](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207/22 "2022-10-01T13:14:03Z")

</div>

Hey everyone, first off I will say I am fairly new to Unreal and Houdini, yet I figured out how to get results and export files with the city sample process explained in the unreal tutorial .

I am using Houdini FX 19.5.368 python3 with the latest unreal plugin from Github for 19.5.368(I believe it’s release is 21 or 22 days old as of now)

I followed the Unreal tutorial and came across many of the same problems as everyone else. I will break it down in steps for what has worked for me.

_These next steps are perfomed before opening Houdini_

Step 1: Instead of creating the folders inside the city sample source and copying the Houdini folder to there, I wound up placing the Houdini folder in my $hip folder, which for me is C:\Users[user name] (not sure if this is standard as I am new to Houdini)

Step 2: I then placed the freeway\_export.py and **init**.py in C:\Program Files\Side Effects Software\Houdini 19.5.368\python39\lib\freeway\_export

Step 3: I edit the freeway\_export.py, Every line that contained print message I put parentheses around message like so (message)

_Now into Houdini_

Step 4: I start a fresh project and rather than placing the nodes from the tab menu I copy them from the Small\_City.hip. I open the Small\_City.hip, copying and pasting to my project for each node as I go along.

4.1: Starting with the curve node(curve2) for the city shape, I then delete the points and  
place my own for the shape of my city.

4.2: Now I copy the city layout node(layout2) and connect the curve to the proper  
input City Shape(Input1)

4.3: Next I copy the curves(curve1 and curve3) and merge(merge1) node under city  
arteries and place them in my project, Instead of deleting the points I move them to  
my desired positions and connect the merge node to the proper input of the layout  
node Arterial Splines(input2)

4.4:Continuing the same process with the city zones I copy the curves(curve4 & curve6)  
as well as all other nodes connected(zone1 & zone2, color2 & color1, merge) and place  
them in my project. For each curve you can either delete the points or move them to  
where you need them. Next connect them to the proper input of the layout node City  
Zones(input 3)

4.5:Moving on to the freeway path copy both nodes and paste them in your project edit  
the curve(fr\_curve\_main) as you see fit

_Be sure to switch Houdini to manual mode inside your project_

4.6: Copy the city processor node(processor1) and place inside your project.

```
   *Before connecting anything to this node*

   Go to the options tab and switch connection 
   rules from Small City to Blank

```

_Important_

Right click the city processor node and select Type Properties  
From here go to the Scripts tab use the find button and type print. You will need to add parentheses around 3 things. First “no pdg folder found” Second “no PDG result found” and Third “no CACHES folder found”.

_Upon applying and accepting I would receive numerous errors if I had not placed the Houdini folder from the small\_city folder in my $hip folder_

4.7: Connect the city layout node(layout2) to the processor node processor1(City  
Processor) city\_layout(input1)

```
   Connect the Freeway Util Curve Attributes node(curve_attributes2) to processor1(City 
   Processor) freeway_input(input 2)

```

4.8:Switch Houdini back to Auto Update mode and let the process complete

5.0: Now right click the processor node(City Processor) and click Allow Editing of  
Contents

_This next part I am not entirely sure about_(You can perform it or not, it removes the red  
triangle from the pdg\_result node)

_Fixing the PDG\_results node_(OPTIONAL)

5.1: Dive into the node and in section 4: Building Generators on the Buildings node you will  
see the red problem triangle.

5.2: Right click the buildings node and click Allow Editing of Contents and dive in. You will  
see the PDG\_result node has another red triangle, go to the node above this  
BUILDING\_GENERATION\_PDG\_TOPNET, double click and dive in you will see the node  
Bldg\_generator click on this and look at the parameters shown you will notice the hda  
file points to is a folder that is non existent, switch this to the building.hda contained  
in C:\Users[user name}\houdini\otls

```
   5.2.1: In the Task bar click Cook the output nodes work items. Once this completes 
   you can go up one level and click on the PDG_results node an the triangle will 
  disappear

```

_Fixing the freeway\_export reload problem_(ESSENTIAL)\*

5.1: Goto Section 2: Freeway and click on the Freeway node look at the parameters  
window and make sure connection rules are set to blank

5.2:Right click the Freeway node and allow editing of contents, dive into the node and find the Control\_Export node right click this and go to parameters and channels\>edit parameter interface.

```
   5.2.1: Once here look under existing parameters and click Export All(export_all), look 
   at call back script and match it to this

```

import freeway\_export.freeway\_export as fe;import importlib;importlib.reload(fe);fe.run()

Click apply and accept

Now the problems should all be fixed and you will be able to continue along with the city sample tutorial.

\*I use “process city without PDG” then go to the next tab(caches and exports) and scroll down and click “EXPORT ALL PBC”( Not sure if it makes a difference if you use the button on the process tab or the caches and exports tab but I always use this one)

I was able to complete both sections of the tutorial, export to and generate my city in Unreal.

Once again I am new to both Unreal and Houdini, If someone is able to shorten the steps of this process by all means let’s all help each other out.

[Next page](https://forums.unrealengine.com/t/city-sample-in-houdini-cant-process-and-export/593207.md?page=2)
