Avogadro 2.1.0: crash upon building the surface slab

Dear support,

upon building the surface slab

I got this error:

Please help, again with the build-ase plugin.

What crystal structure did you have loaded?

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.

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

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).