# L5K Parser Issues

**URL:** <https://forum.inductiveautomation.com/t/l5k-parser-issues/48613>\
**Category:** Ignition Exchange\
**Created:** [July 8, 2021, 1:44pm UTC](https://forum.inductiveautomation.com/t/l5k-parser-issues/48613 "2021-07-08T13:44:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![b.peck](https://avatars.discourse-cdn.com/v4/letter/b/d78d45/32.png) [@b.peck](https://forum.inductiveautomation.com/u/b.peck)\
**Post date:** [July 8, 2021, 1:44pm UTC](https://forum.inductiveautomation.com/t/l5k-parser-issues/48613/1 "2021-07-08T13:44:11Z")

</div>

I started trying to test out the L5k Parser that was posted in the exchange and I’m having some issues. It seems to not like AOIs in general. I tried it with a couple different programs (with different AOIs) and firmware versions. I’ve been getting some variation of the error below in the logs whenever there was an AOI in the L5K and I went to import it.

Has anyone else run into this or do I need to do something that I’m missing?

```auto
Error running action 'component.onFileReceived' on L5K/Parser@C/root/FileUpload: Traceback (most recent call last): File "<function:runAction>", line 6, in runAction File "<module:L5K.Parser>", line 285, in parse File "<module:L5K.Parser>", line 20, in search AttributeError: 'NoneType' object has no attribute 'groups'

```

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [July 8, 2021, 1:50pm UTC](https://forum.inductiveautomation.com/t/l5k-parser-issues/48613/2 "2021-07-08T13:50:33Z")

</div>

Do you have a link or copy of the code? Looks like like line 20 of L5k.Parser you have a line `someVariable.groups` but `someVariable` is `None`. Also provide what data you are feeding the functions.

In general to get the best feedback from these forums, provide the broken code, your inputs, your expected outputs, and what your current output is. Also what version of Ignition can sometimes be important so that is always useful to provide.

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [July 8, 2021, 4:14pm UTC](https://forum.inductiveautomation.com/t/l5k-parser-issues/48613/3 "2021-07-08T16:14:16Z")

</div>

Hi b.peck! Can you send me your L5K file so I can take a look at it. The issue has something to do with add on instructions but I am not getting that error with the L5K file that I have. Send it to [travis@inductiveautomation.com](mailto:travis@inductiveautomation.com).

Once I have it, I can get this fixed.

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [July 8, 2021, 6:54pm UTC](https://forum.inductiveautomation.com/t/l5k-parser-issues/48613/4 "2021-07-08T18:54:38Z")

</div>

I was just missing an edge case with add on instructions. Essentially, you can have a tag reference, TAG OF ANOTHERTAG.1. I created a new version that fixes the issue. You can find it here:

[https://inductiveautomation.com/exchange/2114/versions](https://inductiveautomation.com/exchange/2114/versions)

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [July 8, 2021, 7:53pm UTC](https://forum.inductiveautomation.com/t/l5k-parser-issues/48613/5 "2021-07-08T19:53:32Z")

</div>

Travis, I just tried and get an error parsing, try again later. I will email my L5K file.
