# Native nodes not in libraries: bug

**URL:** <https://forum.xod.io/t/native-nodes-not-in-libraries-bug/231>\
**Category:** Uncategorized\
**Created:** [December 7, 2017, 12:06am UTC](https://forum.xod.io/t/native-nodes-not-in-libraries-bug/231 "2017-12-07T00:06:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![awgrover](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@awgrover](https://forum.xod.io/u/awgrover)\
**Post date:** [December 7, 2017, 12:06am UTC](https://forum.xod.io/t/native-nodes-not-in-libraries-bug/231/1 "2017-12-07T00:06:39Z")

</div>

I think there’s a bug:

- if you create a patch (e.g. midi-note)
- add a not-implemented-in-xod node
- add some code in eval, doesn’t matter
- use the patch in your main patch

When you deploy-to-arduino (local, not cloud), you get an error:

```
Error occured during uploading: ChildProcessError: Command failed: "/opt/XOD IDE/resources/arduino-builder/arduino-builder" -hardware="/opt/XOD IDE/resources/arduino-builder/hardware" -hardware="/home/awgrover/.config/xod-client-electron/packages" -libraries="/opt/XOD IDE/resources/arduino-libraries" -tools="/opt/XOD IDE/resources/arduino-builder/tools" -tools="/home/awgrover/.config/xod-client-electron/packages" -fqbn="arduino:avr:uno" -build-path="/home/awgrover/.config/xod-client-electron/upload-temp/build" "/home/awgrover/.config/xod-client-electron/upload-temp/xod-arduino-sketch.cpp"
/home/awgrover/.config/xod-client-electron/upload-temp/xod-arduino-sketch.cpp:1127:11: error: stray '@' in program
 namespace @ __midi_note__ {
       ^

```

Note the “@”! I think you didn’t clean if off the internal name. Attached is the project (try to deploy main)[midi-example-3.xodball](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/9c7df30de05bd729748b8fd743432b84ab7f8a03.xodball) (15.5 KB)

---

<div class="post-metadata">

**Author:** ![nkrkv](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/nkrkv/32/8_2.png) [@nkrkv](https://forum.xod.io/u/nkrkv)\
**Post date:** [December 7, 2017, 8:34am UTC](https://forum.xod.io/t/native-nodes-not-in-libraries-bug/231/2 "2017-12-07T08:34:02Z")

</div>

Thanks, you’re right!

We’ve [fixed it](https://github.com/xodio/xod/pull/939/files) in development version already. Will release 0.16.1 very soon.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)\
**Post date:** [December 10, 2017, 12:27am UTC](https://forum.xod.io/t/native-nodes-not-in-libraries-bug/231/3 "2017-12-10T00:27:28Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
