# Just running through Levente's example scripts

**URL:** <https://forum.canton.network/t/just-running-through-leventes-example-scripts/3638>\
**Category:** App Development\
**Tags:** daml\
**Created:** [January 1, 2022, 2:39am UTC](https://forum.canton.network/t/just-running-through-leventes-example-scripts/3638 "2022-01-01T02:39:35Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![rps](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/rps/32/5622_2.png) [@rps](https://forum.canton.network/u/rps)\
**Post date:** [January 1, 2022, 2:39am UTC](https://forum.canton.network/t/just-running-through-leventes-example-scripts/3638/1 "2022-01-01T02:39:35Z")

</div>

just running through Levente’s example scripts. having followed through the video, and double checked the scripts he posted to [github](https://github.com/LeventeBarczyDA/private-nft/tree/main/nft/daml), I keep getting this error message when I try to compile my dar file.

%daml build

2022-01-01 02:26:10.93 [INFO] [build]  
Compiling nft to a DAR.  
File: daml/UserAdmin.daml  
Hidden: no  
Range: 88:28-88:28  
Source: parser  
Severity: DsError  
Message: daml/UserAdmin.daml:88:28: error:You cannot use `…’ in a record update  
File: daml/Token.daml  
Hidden: no  
Range: 39:2-39:10  
Source: parser  
Severity: DsError  
Message: daml/Token.daml:39:2: error: parse error on input ‘template’  
ERROR: Creation of DAR file failed.

I know where the problem is, but after an hour of fiddling, I can’t seem to figure out a way around it. any ideas what I am bumping into? I am assuming his compiled (at least it looked like they did in his vid.).

thanks.

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [January 1, 2022, 7:44am UTC](https://forum.canton.network/t/just-running-through-leventes-example-scripts/3638/2 "2022-01-01T07:44:39Z")

</div>

Hi @rps, I’m unable to reproduce this issue after cloning the repository both with SDK 1.13.1 as specified in the repo as well as after upgrading to SDK 1.18.0.

Could it be that you introduced some changes either after cloning or you manually copied the files and introduced some changes during that?

---

<div class="post-metadata">

**Author:** ![rps](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/rps/32/5622_2.png) [@rps](https://forum.canton.network/u/rps)\
**Post date:** [January 1, 2022, 3:25pm UTC](https://forum.canton.network/t/just-running-through-leventes-example-scripts/3638/3 "2022-01-01T15:25:20Z")

</div>

I am running the latest .sdk but it was not from a starting point of a 1.13.1 upgrade.  
Pretty sure the issue is in here somewhere: Message: daml/UserAdmin.daml:100:28: error:You cannot use `…’ in a record update and it may just be a matter of the apostrophe type used. Will try digging around in that.

---

<div class="post-metadata">

**Author:** ![rps](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/rps/32/5622_2.png) [@rps](https://forum.canton.network/u/rps)\
**Post date:** [January 1, 2022, 3:27pm UTC](https://forum.canton.network/t/just-running-through-leventes-example-scripts/3638/4 "2022-01-01T15:27:26Z")

</div>

interestingly when I paste that in, it contains only 2 full stops and here it displays 3. It must be in this somehow.

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [January 1, 2022, 4:15pm UTC](https://forum.canton.network/t/just-running-through-leventes-example-scripts/3638/5 "2022-01-01T16:15:26Z")

</div>

You need two full stops not three. It’s correct in the GH repo [private-nft/UserAdmin.daml at 8cda0b0f34357f9dde5d09a565139ef46c200488 · LeventeBarczyDA/private-nft · GitHub](https://github.com/LeventeBarczyDA/private-nft/blob/8cda0b0f34357f9dde5d09a565139ef46c200488/nft/daml/UserAdmin.daml#L31)

---

<div class="post-metadata">

**Author:** ![rps](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/rps/32/5622_2.png) [@rps](https://forum.canton.network/u/rps)\
**Post date:** [January 1, 2022, 4:24pm UTC](https://forum.canton.network/t/just-running-through-leventes-example-scripts/3638/6 "2022-01-01T16:24:12Z")

</div>

ok that was not the problem. there were some spelling mistakes (I followed along as he presented and it was late).  
got that taken care of, then a gRPC error.  
Saved all the .daml files and restarted daml studio  
and I could build!!!  
Yippee! being able to compile a .DAR file is the BEST way to start 2022!  
Thanks for your help cocreature and happy 2022 to you!

---

<div class="post-metadata">

**Author:** ![quidagis](https://avatars.discourse-cdn.com/v4/letter/q/dbc845/32.png) [@quidagis](https://forum.canton.network/u/quidagis)\
**Post date:** [January 2, 2022, 10:03pm UTC](https://forum.canton.network/t/just-running-through-leventes-example-scripts/3638/7 "2022-01-02T22:03:12Z")

</div>

HNY! I too had some issues when following along with those examples, it was not due to any error on @Levente_Barczy behalf but I suspect as you have discovered, user transcription errors.

There were a few times when a code block was referenced but only briefly, then the work flow would jump to something a little different or further up the code.

I think that I contacted @Levente_Barczy or @nemanja over this, I’ll check my records to confirm/deny.

Looking forward to an amazing year for Digital Asset and Daml \o/

---

<div class="post-metadata">

**Author:** ![rps](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/rps/32/5622_2.png) [@rps](https://forum.canton.network/u/rps)\
**Post date:** [January 3, 2022, 8:54pm UTC](https://forum.canton.network/t/just-running-through-leventes-example-scripts/3638/8 "2022-01-03T20:54:56Z")

</div>

HNY to you too quidagis!!!

OMG. I was following so closely, as you probably were, and then a section would be corrected or updated and I would think, “Wait a minute, that was not there.” From my side, it took updating just a couple of upper case letters in the wrong place to sort myself out.

What I will say is that I have never, ever worked with materials where I felt such an investment from anyone into helping me learn. That is from the heart. I am so indebted to the guys at DA training because even when my code would not compile or run, I could try it on Katacoda, or read about it, or try an example on Daml.Hub.

I love to learn and although I spent a great deal of time doing that with this material, I have thoroughly enjoyed the whole experience.

Thanks to each and every contributor on the Daml side. Thanks to a wonderful community (quidagis, you can’t imagine how great it is to find a positive comment from you after a long, brutal day). Thanks to DA management for being smart enough to get a bunch of phenomenally brilliant people together and allowing them to create this whole ecosystem.

2022? This is going to be an amazing year!

---

<div class="post-metadata">

**Author:** ![quidagis](https://avatars.discourse-cdn.com/v4/letter/q/dbc845/32.png) [@quidagis](https://forum.canton.network/u/quidagis)\
**Post date:** [January 3, 2022, 10:09pm UTC](https://forum.canton.network/t/just-running-through-leventes-example-scripts/3638/9 "2022-01-03T22:09:37Z")

</div>

Yes, the team at DA is world class and incredibly supportive.
