# Stretch\_robot\_system\_check not working

**URL:** <https://forum.hello-robot.com/t/stretch-robot-system-check-not-working/324>\
**Category:** Ask\
**Created:** [December 3, 2021, 12:59am UTC](https://forum.hello-robot.com/t/stretch-robot-system-check-not-working/324 "2021-12-03T00:59:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AswinGururaj](https://avatars.discourse-cdn.com/v4/letter/a/f6c823/32.png) [@AswinGururaj](https://forum.hello-robot.com/u/AswinGururaj)\
**Post date:** [December 3, 2021, 12:59am UTC](https://forum.hello-robot.com/t/stretch-robot-system-check-not-working/324/1 "2021-12-03T00:59:14Z")

</div>

I am reinstalling 20.04 on the stretch robot following the instructions given here: [[stretch\_ros/install\_noetic.md at dev/noetic · hello-robot/stretch\_ros · GitHub](https://github.com/hello-robot/stretch_ros/blob/dev/noetic/install_noetic.md)]. However, after installation I am getting the following error while running stretch\_robot\_system\_check.py

```auto
Traceback (most recent call last):
  File "/home/aswingururaj/.local/bin/stretch_robot_system_check.py", line 34, in <module>
    r=robot.Robot()
  File "/home/aswingururaj/.local/lib/python3.8/site-packages/stretch_body/robot.py", line 103, in __init__
    self.pimu=pimu.Pimu()
  File "/home/aswingururaj/.local/lib/python3.8/site-packages/stretch_body/pimu.py", line 557, in __init__
    PimuBase. __init__ (self, event_reset)
  File "/home/aswingururaj/.local/lib/python3.8/site-packages/stretch_body/pimu.py", line 165, in __init__
    self.config = self.params['config']
KeyError: 'config'

```

Any reason why this could be happening?

Thanks,  
Aswin Gururaj

---

<div class="post-metadata">

**Author:** ![bshah](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.hello-robot.com/bshah/32/55_2.png) [@bshah](https://forum.hello-robot.com/u/bshah)\
**Post date:** [December 3, 2021, 1:54am UTC](https://forum.hello-robot.com/t/stretch-robot-system-check-not-working/324/2 "2021-12-03T01:54:44Z")

</div>

Hi @AswinGururaj, can you double check that step 4 of “[Copying materials from the robot’s original Ubuntu 18.04 partition](https://github.com/hello-robot/stretch_ros/blob/dev/noetic/install_noetic.md#copy-materials-from-the-robots-original-ubuntu-1804-partition)” was completed correctly. It’s expected that the folder named `stretch-re1-xxxx/` resides in the home folder before executing the scripts in the next step.

Alternatively, the scripts may have failed to set up the `~/stretch_user` folder correctly. The scripts log their output in `~/stretch_user/log/<timestamp>/stretch_logs.zip`. Please attach these logs to see if installation had failed.

---

<div class="post-metadata">

**Author:** ![AswinGururaj](https://avatars.discourse-cdn.com/v4/letter/a/f6c823/32.png) [@AswinGururaj](https://forum.hello-robot.com/u/AswinGururaj)\
**Post date:** [December 3, 2021, 3:08am UTC](https://forum.hello-robot.com/t/stretch-robot-system-check-not-working/324/3 "2021-12-03T03:08:14Z")

</div>

Hi @bshah ! I did copy the folder from the robot’s original Ubuntu 18.04 partition. I am not able to upload a zip file here. I have uploaded it to drive instead [stretch\_logs.zip - Google Drive](https://drive.google.com/file/d/1KUM4R9hBaGqR74Hw9NcJP66X_L9Gn9MT/view?usp=sharing)

Thanks  
Aswin Gururaj Prakash

---

<div class="post-metadata">

**Author:** ![AswinGururaj](https://avatars.discourse-cdn.com/v4/letter/a/f6c823/32.png) [@AswinGururaj](https://forum.hello-robot.com/u/AswinGururaj)\
**Post date:** [December 3, 2021, 6:27pm UTC](https://forum.hello-robot.com/t/stretch-robot-system-check-not-working/324/4 "2021-12-03T18:27:27Z")

</div>

Hi @bshah! I was able to get it working after running:  
`sudo chmod -R a+rwx /etc/hello-robot`  
I also moved the files in `stretch-re1-xxxx/` inside `~/stretch_user` folder and reran the script. After rebooting, it started working. Thanks a lot for your help!

Thanks,  
Aswin Gururaj

---

<div class="post-metadata">

**Author:** ![bshah](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.hello-robot.com/bshah/32/55_2.png) [@bshah](https://forum.hello-robot.com/u/bshah)\
**Post date:** [December 3, 2021, 7:35pm UTC](https://forum.hello-robot.com/t/stretch-robot-system-check-not-working/324/5 "2021-12-03T19:35:21Z")

</div>

Hi @AswinGururaj, glad to hear it! The ownership/permissions on the folder to be copied was likely what was causing the installation scripts to error out.
