# Can't Save Polyscope Program While Running Any More

**URL:** <https://forum.universal-robots.com/t/cant-save-polyscope-program-while-running-any-more/15544>\
**Category:** General Application Help: How do I?\
**Created:** [July 20, 2021, 1:02pm UTC](https://forum.universal-robots.com/t/cant-save-polyscope-program-while-running-any-more/15544 "2021-07-20T13:02:51Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon507564](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@anon507564](https://forum.universal-robots.com/u/anon507564)\
**Post date:** [July 20, 2021, 1:02pm UTC](https://forum.universal-robots.com/t/cant-save-polyscope-program-while-running-any-more/15544/1 "2021-07-20T13:02:51Z")

</div>

I always assumed Polyscope ran a cached version of the program because up until the latest version I was always able to save a modified program while it was running without having the robot stop.

The dirty file flag is my notification that I have made changes and not until I ran a few parts off the pallet would I save it (making sure I wanted the changes).

Can we have this back?

Please and thank you.

---

<div class="post-metadata">

**Author:** ![anon507564](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@anon507564](https://forum.universal-robots.com/u/anon507564)\
**Post date:** [July 23, 2021, 4:20pm UTC](https://forum.universal-robots.com/t/cant-save-polyscope-program-while-running-any-more/15544/2 "2021-07-23T16:20:14Z")

</div>

/bump/

_Post must be at least 20 chars long…_

---

<div class="post-metadata">

**Author:** ![eric.feldmann](https://avatars.discourse-cdn.com/v4/letter/e/94ad74/32.png) [@eric.feldmann](https://forum.universal-robots.com/u/eric.feldmann)\
**Post date:** [July 26, 2021, 7:01pm UTC](https://forum.universal-robots.com/t/cant-save-polyscope-program-while-running-any-more/15544/3 "2021-07-26T19:01:59Z")

</div>

Can’t say I’ve ever noticed the prior behavior. Polyscope runs its generateScript() methods on both Play and Save, so if something is being generated that for whatever reason required robot time, it would probably stop.

I’ve never been bitten by Save As-ing a file. I HAVE been bitten by NOT saving and then losing power, forgetting, etc. If I were you, I would just SaveAs my program as programName\_inProgress, or something similar as soon as you make a change. If you aren’t happy, reload programName and you’re back where you started. If you’re happy with your change, SaveAs the \_inProgress version back to the original.

---

<div class="post-metadata">

**Author:** ![anon507564](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@anon507564](https://forum.universal-robots.com/u/anon507564)\
**Post date:** [July 26, 2021, 7:20pm UTC](https://forum.universal-robots.com/t/cant-save-polyscope-program-while-running-any-more/15544/4 "2021-07-26T19:20:19Z")

</div>

That’s not what I meant. Lemme see if I can re-phrase it. 🙂

When I am making new programs I make one (or several) changes then test the program before saving.

In the old polyscope I could hit SAVE while the program was running and it would save and keep running.

In the new polyscope I hit SAVE it it stops the program.

I have two UR10e’s one with an older version of Polyscope that still saves while running and one with a newer version of Polyscope that STOPS a running program when you hit save.

---

<div class="post-metadata">

**Author:** ![anon41386329](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@anon41386329](https://forum.universal-robots.com/u/anon41386329)\
**Post date:** [November 25, 2021, 9:06am UTC](https://forum.universal-robots.com/t/cant-save-polyscope-program-while-running-any-more/15544/6 "2021-11-25T09:06:43Z")

</div>

> [@eric.feldmann](#):
>
> Can’t say I’ve ever noticed the prior behavior. Polyscope runs its generateScript() methods on both Play and Save, so if something is being generated that for whatever reason required robot time, it would probably stop.
> 
> I’ve never been bitten by Save As-ing a file. I HAVE been bitten by NOT saving and then losing power, forgetting, etc. If I were you, I would just SaveAs my program as programName\_inProgress, or something similar as soon as you make a change. If you aren’t happy, reload programName and you’re back where you started. If you’re happy with your change, SaveAs the \_inProgress version back to the original [check](https://ufa356s.com/%E0%B9%80%E0%B8%A7%E0%B9%87%E0%B8%9A%E0%B9%81%E0%B8%97%E0%B8%87%E0%B8%9A%E0%B8%AD%E0%B8%A5/).

it’s not working for me could you please also mention the source?

---

<div class="post-metadata">

**Author:** ![terryc](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/terryc/32/3006_2.png) [@terryc](https://forum.universal-robots.com/u/terryc)\
**Post date:** [November 25, 2021, 2:46pm UTC](https://forum.universal-robots.com/t/cant-save-polyscope-program-while-running-any-more/15544/7 "2021-11-25T14:46:49Z")

</div>

What’s the last version it worked on? I remember this too. Feel like I’ve had it work recently depending on what’s being saved.

---

<div class="post-metadata">

**Author:** ![eric.feldmann](https://avatars.discourse-cdn.com/v4/letter/e/94ad74/32.png) [@eric.feldmann](https://forum.universal-robots.com/u/eric.feldmann)\
**Post date:** [November 29, 2021, 12:51pm UTC](https://forum.universal-robots.com/t/cant-save-polyscope-program-while-running-any-more/15544/8 "2021-11-29T12:51:53Z")

</div>

What’s not working, and the source for what?

---

<div class="post-metadata">

**Author:** ![anon507564](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@anon507564](https://forum.universal-robots.com/u/anon507564)\
**Post date:** [November 29, 2021, 2:58pm UTC](https://forum.universal-robots.com/t/cant-save-polyscope-program-while-running-any-more/15544/9 "2021-11-29T14:58:56Z")

</div>

> [@terryc](#):
>
> What’s the last version it worked on? I remember this too.

I think I skipped a version before this and have since updated both robots, but it no longer works in my current version 5.10. It worked in 5.7 and I think one point update after that but don’t remember for sure.

> [@terryc](#):
>
> Feel like I’ve had it work recently depending on what’s being saved.

I think you may be right. When I get done with the run I’m doing I will test saving during different parts of the program.

---

<div class="post-metadata">

**Author:** ![bba](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/bba/32/555_2.png) [@bba](https://forum.universal-robots.com/u/bba)\
**Post date:** [December 8, 2021, 8:03pm UTC](https://forum.universal-robots.com/t/cant-save-polyscope-program-while-running-any-more/15544/10 "2021-12-08T20:03:55Z")

</div>

I just tried this on polyscope 5.11.5. When a program is running and I do a ‘save as’ it stops the program. However, if I do a save all it does not stop. Maybe that is a useful workaround?
