# Avogadro 2.1.0: crash upon building the surface slab

**URL:** <https://discuss.avogadro.cc/t/avogadro-2-1-0-crash-upon-building-the-surface-slab/7562>\
**Category:** Support\
**Created:** [October 23, 2026, 10:35pm UTC](https://discuss.avogadro.cc/t/avogadro-2-1-0-crash-upon-building-the-surface-slab/7562 "2026-10-23T22:35:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miroslav\_Ilias](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/miroslav_ilias/32/511_2.png) [@Miroslav\_Ilias](https://discuss.avogadro.cc/u/Miroslav_Ilias)\
**Post date:** [October 23, 2026, 10:35pm UTC](https://discuss.avogadro.cc/t/avogadro-2-1-0-crash-upon-building-the-surface-slab/7562/1 "2026-10-23T22:35:36Z")

</div>

Dear support,

upon building the surface slab

 ![image](https://discuss.avogadro.cc/uploads/default/original/2X/3/381f83fa26169df7c72f2a5e29d9dd59a37a1512.png)

I got this error:

 ![image](https://discuss.avogadro.cc/uploads/default/original/2X/5/5c56b08f5ddc9be641a36c20a94eed71826ce0bb.png)

Please help, again with the build-ase plugin.

---

<div class="post-metadata">

**Author:** ![ghutchis](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/ghutchis/32/456_2.png) [@ghutchis](https://discuss.avogadro.cc/u/ghutchis)\
**Post date:** [October 24, 2026, 12:53am UTC](https://discuss.avogadro.cc/t/avogadro-2-1-0-crash-upon-building-the-surface-slab/7562/2 "2026-10-24T00:53:23Z")

</div>

What crystal structure did you have loaded?

---

<div class="post-metadata">

**Author:** ![Miroslav\_Ilias](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/miroslav_ilias/32/511_2.png) [@Miroslav\_Ilias](https://discuss.avogadro.cc/u/Miroslav_Ilias)\
**Post date:** [October 24, 2026, 9:41am UTC](https://discuss.avogadro.cc/t/avogadro-2-1-0-crash-upon-building-the-surface-slab/7562/3 "2026-10-24T09:41:45Z")

</div>

Ah, my mistake - I did not load a cif periodic structure before.

It is working - first getting a 3D periodic structure and afterwards applying a surface slab build.

Closing and SOLVED.

---

<div class="post-metadata">

**Author:** ![ghutchis](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/ghutchis/32/456_2.png) [@ghutchis](https://discuss.avogadro.cc/u/ghutchis)\
**Post date:** [October 24, 2026, 1:07pm UTC](https://discuss.avogadro.cc/t/avogadro-2-1-0-crash-upon-building-the-surface-slab/7562/4 "2026-10-24T13:07:39Z")

</div>

Eh, I should put in some error checking and a warning. Glad it worked.

---

<div class="post-metadata">

**Author:** ![ghutchis](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/ghutchis/32/456_2.png) [@ghutchis](https://discuss.avogadro.cc/u/ghutchis)\
**Post date:** [October 24, 2026, 7:02pm UTC](https://discuss.avogadro.cc/t/avogadro-2-1-0-crash-upon-building-the-surface-slab/7562/5 "2026-10-24T19:02:28Z")

</div>

I updated the `build-ase` plugin - v0.2.0 now has a warning about this (or if you try to build a slab from a molecue without a unit cell).

---

<div class="post-metadata">

**Author:** ![system](https://discuss.avogadro.cc/uploads/default/original/1X/93fe5a56d10b304e678127e54139c28cde211662.png) [@system](https://discuss.avogadro.cc/u/system)\
**Post date:** [October 27, 2026, 7:02pm UTC](https://discuss.avogadro.cc/t/avogadro-2-1-0-crash-upon-building-the-surface-slab/7562/6 "2026-10-27T19:02:41Z")

</div>

Closed on October 27, 2026, 7:02pm UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
