# Skywriter Hat issue = An invalid GestiIC Library was stored, or the last update failed

**URL:** <https://forums.pimoroni.com/t/skywriter-hat-issue-an-invalid-gestiic-library-was-stored-or-the-last-update-failed/5100>\
**Category:** Support\
**Created:** [June 23, 2017, 6:07am UTC](https://forums.pimoroni.com/t/skywriter-hat-issue-an-invalid-gestiic-library-was-stored-or-the-last-update-failed/5100 "2017-06-23T06:07:43Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![theShoffer](https://avatars.discourse-cdn.com/v4/letter/t/eb9ed0/32.png) [@theShoffer](https://forums.pimoroni.com/u/theShoffer)\
**Post date:** [June 23, 2017, 6:07am UTC](https://forums.pimoroni.com/t/skywriter-hat-issue-an-invalid-gestiic-library-was-stored-or-the-last-update-failed/5100/1 "2017-06-23T06:07:43Z")

</div>

My skywriter hat worked until there was some Hill something update notice.

The firmware update did not seem to go well.

Focal point of error: An invalid GestiIC Library was stored, or the last update failed

The rest…any ideas?

My error:  
ython [synth.py](http://synth.py)  
Got firmware info  
LL0:100.14;p:H  
Exception in thread Thread-1:  
Traceback (most recent call last):  
File “/usr/lib/python2.7/threading.py”, line 810, in \_\_bootstrap\_inner  
self.run()  
File “/usr/local/lib/python2.7/dist-packages/skywriter.py”, line 107, in run  
if self.todo() == False:  
File “/usr/local/lib/python2.7/dist-packages/skywriter.py”, line 336, in \_do\_poll  
handle\_firmware\_info(data)  
File “/usr/local/lib/python2.7/dist-packages/skywriter.py”, line 296, in handle\_firmware\_info  
raise Exception(“An invalid GestiIC Library was stored, or the last update failed”)  
Exception: An invalid GestiIC Library was stored, or the last update failed

Populating temp PD file: /tmp/tmp3SmxXi  
Started PD with PID: 1525  
File: /tmp/tmp3SmxXi  
Attempting to connect to PD  
Connected to PD

---

<div class="post-metadata">

**Author:** ![RogueM](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/roguem/32/311_2.png) [@RogueM](https://forums.pimoroni.com/u/RogueM)\
**Post date:** [June 23, 2017, 10:32am UTC](https://forums.pimoroni.com/t/skywriter-hat-issue-an-invalid-gestiic-library-was-stored-or-the-last-update-failed/5100/2 "2017-06-23T10:32:03Z")

</div>

I’m not clear on what created your issue, a Pi software update or something else? Please, give us as much details as you can about the steps that lead to a working system leading where you are now.

---

<div class="post-metadata">

**Author:** ![theShoffer](https://avatars.discourse-cdn.com/v4/letter/t/eb9ed0/32.png) [@theShoffer](https://forums.pimoroni.com/u/theShoffer)\
**Post date:** [June 23, 2017, 2:21pm UTC](https://forums.pimoroni.com/t/skywriter-hat-issue-an-invalid-gestiic-library-was-stored-or-the-last-update-failed/5100/3 "2017-06-23T14:21:51Z")

</div>

I attached sky writer hat to pi zero w and installed software.  
[Test.py](http://Test.py) or [synth.py](http://synth.py) ran and returned position data along with the north,south or east west .  
Cannot remember which example…but it worked.  
I shutdown the pi at command line and went to sleep.

Next day, after boot I ran [synth.py](http://synth.py) and got this sort of error:

f I move my hand over or tap the sensor nothing happens, except the same stream of firmware info.

Got firmware info  
1.1.18;p:Hills  
Got firmware info  
1.1.18;p:Hills  
Got firmware info  
1.1.18;p:Hills

So I followed the instruction to solve this from the thread and:

git clone [https://github.com/pimoroni/skywriter-hat](https://github.com/pimoroni/skywriter-hat) cd firmware sudo python ./update.py

I do not have exact errors, but it it went through blocks 1 to 108 and then would say update failed and then try to update again.

So now it gives the error I posted first.

---

<div class="post-metadata">

**Author:** ![theShoffer](https://avatars.discourse-cdn.com/v4/letter/t/eb9ed0/32.png) [@theShoffer](https://forums.pimoroni.com/u/theShoffer)\
**Post date:** [June 30, 2017, 3:03am UTC](https://forums.pimoroni.com/t/skywriter-hat-issue-an-invalid-gestiic-library-was-stored-or-the-last-update-failed/5100/4 "2017-06-30T03:03:59Z")

</div>

Wow…is that it? I followed directions from another blog post and now I am out of luck? So is it now just a waste of my money and a paperweight?

---

<div class="post-metadata">

**Author:** ![theShoffer](https://avatars.discourse-cdn.com/v4/letter/t/eb9ed0/32.png) [@theShoffer](https://forums.pimoroni.com/u/theShoffer)\
**Post date:** [July 2, 2017, 5:11pm UTC](https://forums.pimoroni.com/t/skywriter-hat-issue-an-invalid-gestiic-library-was-stored-or-the-last-update-failed/5100/5 "2017-07-02T17:11:42Z")

</div>

Can someone give me options? Or should I just consider the Skywriter and Pimoroni a waste of time as well as money?

---

<div class="post-metadata">

**Author:** ![sandyjmacdonald](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/sandyjmacdonald/32/393_2.png) [@sandyjmacdonald](https://forums.pimoroni.com/u/sandyjmacdonald)\
**Post date:** [July 3, 2017, 8:11am UTC](https://forums.pimoroni.com/t/skywriter-hat-issue-an-invalid-gestiic-library-was-stored-or-the-last-update-failed/5100/6 "2017-07-03T08:11:03Z")

</div>

I suspect that @gadgetoid may be able to help here. If we can’t get the problem solved, then of course you’d be welcome to return the HAT to us for replacement.

---

<div class="post-metadata">

**Author:** ![gadgetoid](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/gadgetoid/32/13_2.png) [@gadgetoid](https://forums.pimoroni.com/u/gadgetoid)\
**Post date:** [July 4, 2017, 12:19pm UTC](https://forums.pimoroni.com/t/skywriter-hat-issue-an-invalid-gestiic-library-was-stored-or-the-last-update-failed/5100/7 "2017-07-04T12:19:30Z")

</div>

Before chalking it up as a fail, try:

```auto
sudo python3 ./update.py

```

Sorry it took so long to get a reply. It’s always worth pinging support, or sending a DM on the forums if your reply goes unanswered. The forums are tricky to keep on top of.

---

<div class="post-metadata">

**Author:** ![theShoffer](https://avatars.discourse-cdn.com/v4/letter/t/eb9ed0/32.png) [@theShoffer](https://forums.pimoroni.com/u/theShoffer)\
**Post date:** [July 4, 2017, 2:40pm UTC](https://forums.pimoroni.com/t/skywriter-hat-issue-an-invalid-gestiic-library-was-stored-or-the-last-update-failed/5100/8 "2017-07-04T14:40:31Z")

</div>

I will try that and see what happens. Thank you.

---

<div class="post-metadata">

**Author:** ![theShoffer](https://avatars.discourse-cdn.com/v4/letter/t/eb9ed0/32.png) [@theShoffer](https://forums.pimoroni.com/u/theShoffer)\
**Post date:** [July 13, 2017, 5:08am UTC](https://forums.pimoroni.com/t/skywriter-hat-issue-an-invalid-gestiic-library-was-stored-or-the-last-update-failed/5100/9 "2017-07-13T05:08:10Z")

</div>

I finally was able to get to try this and it fails and loops. Every line item gives a BLOCK OK.  
At end of each sequence of successful BLOCK update the result is as follows.:  
Finishing update…  
Finishing update failed!  
Retrying…  
b’LL0:100.14;p:HillstarV01 ;;i:B;f:25000;s:Beta2r1059:MO;c:MKI;t:2013/11/13 11:48:\x00\x00\x00\x00U\xaa\x90e \x80\x0f\x00\x00\x00\x00\xfa\xfc\x00\x00’  
Starting loader update…  
Loader update failed!  
Retrying…

---

<div class="post-metadata">

**Author:** ![RogueM](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/roguem/32/311_2.png) [@RogueM](https://forums.pimoroni.com/u/RogueM)\
**Post date:** [July 13, 2017, 1:32pm UTC](https://forums.pimoroni.com/t/skywriter-hat-issue-an-invalid-gestiic-library-was-stored-or-the-last-update-failed/5100/10 "2017-07-13T13:32:21Z")

</div>

How are you connecting the Skywriter, and onto what type of Pis? Additional question: what type of power supply are you using?

---

<div class="post-metadata">

**Author:** ![theShoffer](https://avatars.discourse-cdn.com/v4/letter/t/eb9ed0/32.png) [@theShoffer](https://forums.pimoroni.com/u/theShoffer)\
**Post date:** [July 13, 2017, 5:56pm UTC](https://forums.pimoroni.com/t/skywriter-hat-issue-an-invalid-gestiic-library-was-stored-or-the-last-update-failed/5100/11 "2017-07-13T17:56:51Z")

</div>

Pins are soldered to pi as delineated on the pin out diagram…resoldered(or heated to re-melt) to ensure good connection.  
Then the pins on ends of these short jumper wires are pushed into the correct sockets on the hat.

Pi zero w is used

Power supply is a USB supply made specifically for the pi.

Keep in mind, the hat worked perfectly. Then after a command line shutdown of the pi…and a reboot the next day, the issue illustrated at first post above began to happen.

---

<div class="post-metadata">

**Author:** ![RogueM](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/roguem/32/311_2.png) [@RogueM](https://forums.pimoroni.com/u/RogueM)\
**Post date:** [July 14, 2017, 8:51am UTC](https://forums.pimoroni.com/t/skywriter-hat-issue-an-invalid-gestiic-library-was-stored-or-the-last-update-failed/5100/12 "2017-07-14T08:51:32Z")

</div>

There must be a connection issue. Can you please post a picture?

Also, how many ground lines have you used? Try to link additionals.
