# Failed Transport Out

**URL:** <https://forum.visualcomponents.com/t/failed-transport-out/2744>\
**Category:** Process Modeling\
**Created:** [July 23, 2021, 3:17pm UTC](https://forum.visualcomponents.com/t/failed-transport-out/2744 "2021-07-23T15:17:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexzier](https://forum.visualcomponents.com/letter_avatar_proxy/v4/letter/a/dec6dc/32.png) [@Alexzier](https://forum.visualcomponents.com/u/Alexzier)\
**Post date:** [July 23, 2021, 3:17pm UTC](https://forum.visualcomponents.com/t/failed-transport-out/2744/1 "2021-07-23T15:17:58Z")

</div>

Hello,

I have an issue with a TransportOut process statement in PM while using Execute Routine as Robot Motion and the next process where the parts are transported to is just a buffer. There is a while loop with the condition that it is executed twice. Everything works fine and on the first run the TransportOut statement even works, but on the second run of the loop the process gets stuck on the TransportOut statement and I get the following output in the console:

Traceback (most recent call last):  
File “RobotController::ResourceLogic”, line 117, in OnRun  
File “RobotController::ResourceLogic”, line 1567, in execute\_next\_action  
File “RobotController::ResourceLogic”, line 157, in execute\_pick  
File “RobotController::ResourceLogic”, line 723, in pick  
File “RobotController::ResourceLogic”, line 1218, in get\_transport\_data  
AttributeError: ‘NoneType’ object has no attribute ‘Source’

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![sloba\_kg](https://forum.visualcomponents.com/user_avatar/forum.visualcomponents.com/sloba_kg/32/2519_2.png) [@sloba\_kg](https://forum.visualcomponents.com/u/sloba_kg)\
**Post date:** [July 25, 2021, 10:04am UTC](https://forum.visualcomponents.com/t/failed-transport-out/2744/2 "2021-07-25T10:04:27Z")

</div>

> [@Alexzier](#):
>
> d I get the following

Hello Alexzier, can you show us your code so we can see what the problem is.

---

<div class="post-metadata">

**Author:** ![andyv](https://forum.visualcomponents.com/letter_avatar_proxy/v4/letter/a/9fc29f/32.png) [@andyv](https://forum.visualcomponents.com/u/andyv)\
**Post date:** [July 26, 2021, 8:41am UTC](https://forum.visualcomponents.com/t/failed-transport-out/2744/3 "2021-07-26T08:41:52Z")

</div>

I experience a similiar issue where I get stuck on TransportOut after executing robot routine. As a workaround I’ve used an immediate (1 ms) interpolating transport to get TransportOut.

Not very elegant, but it kind of works in most cases. Would be great to know what I’m doing wrong though.

---

<div class="post-metadata">

**Author:** ![Alexzier](https://forum.visualcomponents.com/letter_avatar_proxy/v4/letter/a/dec6dc/32.png) [@Alexzier](https://forum.visualcomponents.com/u/Alexzier)\
**Post date:** [July 26, 2021, 8:49am UTC](https://forum.visualcomponents.com/t/failed-transport-out/2744/4 "2021-07-26T08:49:39Z")

</div>

The Code is just the default Code of the PM robot controller.

 ![RC_Code_01](https://forum.visualcomponents.com/uploads/default/original/2X/8/8e09cda1c053b922cf7fc517a018384c9bb99557.png)  
 ![RC_Code_02_01](https://forum.visualcomponents.com/uploads/default/original/2X/5/5c02723c9c96af4858b7ff4e78ecb2a6ed2745e8.png)  
 ![RC_Code_02_02](https://forum.visualcomponents.com/uploads/default/original/2X/d/d867724a7f430d1fd75cea7ef01a7bdf5c0d81f4.png)  
 ![RC_Code_02_03](https://forum.visualcomponents.com/uploads/default/original/2X/f/f245643f0058a2ac802dd22e387bea7ce537104e.png)
