[Therion] Selecting map defined with preview only causes error

Bruce Mutton bruce at tomo.co.nz
Mon Oct 4 06:53:55 CEST 2021


Hello Team

 

I think this may be a bug.

Selecting a map with only previews inside of it is causing an error, where
possibly it should not.

And if it is by design that it triggers an error, then the message it gives
is not helpful.  A better message would be "map cannot contain only
previews"

 

The error message.

therion.exe: error -- GreenlinkArea/INDEXGLMESM_System.th [164] --
incompatible map projection -- SwissM_PlanMap at GLMESM_system

 

The map definition.

  map GLMESMPreviewOnlyMap -projection plan

                preview below SwissM_PlanMap at GLMESM_system      #map

                preview below DwarfsDoorPlanMap at GLMESM_system   #map

                preview below MiddleEarthPlanMap at GLMESM_system  #map

  endmap GLMESMPreviewOnlyMap

 

The maps all have -projection plan explicitly defined, and the error is
unchanged if I remove the projection option from the definition above.

 

The thconfig.

select QEII-01GreenLinkPlanCL

select QEII-01GreenLinkPlan

select GLMESMPreviewOnlyMap

 

I have selected three maps, two contain valid maps, and one contains only
previews.  If I remove one of the 'preview below' statements preceding any
of the previewed maps, the project compiles as expected.

If I try to type the preview below directly into the thconfig, there is an
error also, but I suspect this might be by design.

 

Using 6.0.3, but am not assuming this was introduced recently.  I have never
tried it before.

 

Regards

Bruce

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20211004/a9b731ac/attachment.htm>


More information about the Therion mailing list