# (drawbot image to gcode v2) error when running

**URL:** <https://discourse.processing.org/t/drawbot-image-to-gcode-v2-error-when-running/18273>\
**Category:** Coding Questions\
**Created:** [March 1, 2020, 12:25pm UTC](https://discourse.processing.org/t/drawbot-image-to-gcode-v2-error-when-running/18273 "2020-03-01T12:25:26Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![motorimicro](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@motorimicro](https://discourse.processing.org/u/motorimicro)\
**Post date:** [March 1, 2020, 12:25pm UTC](https://discourse.processing.org/t/drawbot-image-to-gcode-v2-error-when-running/18273/1 "2020-03-01T12:25:26Z")

</div>

Hi everyone I am trying to run this sketch, theoretically it should work as written and tested by many other users but in my case it gives me this error.  
do you know how to fix the situation?  
the file can be downloaded at:

> **[Scott-Cooper/Drawbot\_image\_to\_gcode\_v2](https://github.com/Scott-Cooper/Drawbot_image_to_gcode_v2)**
>
> Creates gcode for use on drawbots. Contribute to Scott-Cooper/Drawbot\_image\_to\_gcode\_v2 development by creating an account on GitHub.

 ![Schermata 2020-03-01 alle 13.24.27](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/3/37a8f5c04f057223065b0dfc1d14faa6413ab679.png)

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [March 1, 2020, 12:47pm UTC](https://discourse.processing.org/t/drawbot-image-to-gcode-v2-error-when-running/18273/2 "2020-03-01T12:47:57Z")

</div>

> [@motorimicro](#):
>
> , theoretically it should work as written and tested by many other users but…

Processing’s IDE (PDE) requires the name of a sketch folder matches the name of its main “.pde” file.

For example, in this Processing repo below we have a folder named “Grumbo\_Adventure\_OOP/”:

> **[GitHub - GoSubRoutine/Grumbo](https://github.com/GoSubRoutine/Grumbo)**
>
> Contribute to GoSubRoutine/Grumbo development by creating an account on GitHub.

And inside that folder we find its corresponding “.pde” filename “Grumbo\_Adventure\_OOP.pde”:

- [Grumbo/Grumbo\_Adventure\_OOP at master · GoSubRoutine/Grumbo · GitHub](http://GitHub.com/GoSubRoutine/Grumbo/tree/master/Grumbo_Adventure_OOP)

The main “.pde” file is the 1 that contains the callbacks **settings()** and/or **setup()** btW.

In short, it’s Processing’s entry point “.pde” file.

---

<div class="post-metadata">

**Author:** ![motorimicro](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@motorimicro](https://discourse.processing.org/u/motorimicro)\
**Post date:** [March 1, 2020, 5:56pm UTC](https://discourse.processing.org/t/drawbot-image-to-gcode-v2-error-when-running/18273/3 "2020-03-01T17:56:51Z")

</div>

maybe so it is correct?

 ![Schermata 2020-03-01 alle 18.51.33](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/d/dc6e4387f9652d8e717a2a8cadfc9e261c9c2279.png)

---

<div class="post-metadata">

**Author:** ![motorimicro](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@motorimicro](https://discourse.processing.org/u/motorimicro)\
**Post date:** [March 1, 2020, 5:57pm UTC](https://discourse.processing.org/t/drawbot-image-to-gcode-v2-error-when-running/18273/4 "2020-03-01T17:57:29Z")

</div>

but however happen this:

 ![Schermata 2020-03-01 alle 18.51.19](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/2/25598e7faecd450e06199e3249bf5019e2f4daa9.png)

Another things that i haven’y understand is how chose the file to proces!!!

thanks a alot Marco

---

<div class="post-metadata">

**Author:** ![motorimicro](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@motorimicro](https://discourse.processing.org/u/motorimicro)\
**Post date:** [March 1, 2020, 6:26pm UTC](https://discourse.processing.org/t/drawbot-image-to-gcode-v2-error-when-running/18273/5 "2020-03-01T18:26:46Z")

</div>

now work perfectly,i understand how to chose the file…run the sketch and wait that program ask you which file you want process…tahnk you a lot

---

<div class="post-metadata">

**Author:** ![Zkaface](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/zkaface/32/9032_2.png) [@Zkaface](https://discourse.processing.org/u/Zkaface)\
**Post date:** [April 30, 2020, 11:46pm UTC](https://discourse.processing.org/t/drawbot-image-to-gcode-v2-error-when-running/18273/6 "2020-04-30T23:46:10Z")

</div>

Hello Motorimicro, how did you manage to run the code?

---

<div class="post-metadata">

**Author:** ![kevout](https://avatars.discourse-cdn.com/v4/letter/k/8edcca/32.png) [@kevout](https://discourse.processing.org/u/kevout)\
**Post date:** [June 25, 2020, 11:41am UTC](https://discourse.processing.org/t/drawbot-image-to-gcode-v2-error-when-running/18273/7 "2020-06-25T11:41:56Z")

</div>

alguno me explica como se selcciona la imagen para trabajar?

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [June 25, 2020, 3:59pm UTC](https://discourse.processing.org/t/drawbot-image-to-gcode-v2-error-when-running/18273/8 "2020-06-25T15:59:18Z")

</div>

I can run it without problems.

Just download as ZIP, extract locally and make sure you have all the tabs / pde files in processing: Backgroud Ball Display Grumbo…

---

<div class="post-metadata">

**Author:** ![kevout](https://avatars.discourse-cdn.com/v4/letter/k/8edcca/32.png) [@kevout](https://discourse.processing.org/u/kevout)\
**Post date:** [June 25, 2020, 5:50pm UTC](https://discourse.processing.org/t/drawbot-image-to-gcode-v2-error-when-running/18273/9 "2020-06-25T17:50:56Z")

</div>

hola, disculpa no entiendo mucho todavia de processing, ya extraje todos los archivos del comprimido, pero cualquier pde que ejecuto me salta un error, por ejemplo abri el que dice  
Drawbot\_image\_to\_gcode\_v2 lo ejecuto y me dice

“Cannot find a class or type named “Limit”

podrias ayudarme? perdón por la ignorancia
