POV-Ray : Newsgroups : povray.beta-test : typ error Server Time
19 Apr 2024 15:00:44 EDT (-0400)
  typ error (Message 1 to 8 of 8)  
From: Saul Luizaga
Subject: typ error
Date: 11 Jul 2022 05:50:27
Message: <62cbf263@news.povray.org>
#version 3.7;

Error Message:
POV-Ray\v3.8-beta\Insert Menu\Basic shapes.pov" line 7: Parse Error: 
Expected 'numeric expression', undeclared identifier 'Typ' found instead

This error is on many files.
Is there a way to automate the replacement of this word with another 
that works?


-- 
El software de antivirus Avast ha analizado este correo electrónico en
 busca de virus.
https://www.avast.com/antivirus


Post a reply to this message

From: Bald Eagle
Subject: Re: typ error
Date: 11 Jul 2022 06:35:00
Message: <web.62cbfca33da049fb1f9dae3025979125@news.povray.org>
Saul Luizaga <sau### [at] gmailcom> wrote:
> #version 3.7;
>
> Error Message:
> POV-Ray\v3.8-beta\Insert Menu\Basic shapes.pov" line 7: Parse Error:
> Expected 'numeric expression', undeclared identifier 'Typ' found instead
>
> This error is on many files.
> Is there a way to automate the replacement of this word with another
> that works?

I don't seem to have that file in my Insert Menu directory.

/usr/share/qtpovray-3.8/Insert Menu/Animation.pov
/usr/share/qtpovray-3.8/Insert Menu/Attributes.pov
/usr/share/qtpovray-3.8/Insert Menu/Basic shapes.pov
/usr/share/qtpovray-3.8/Insert Menu/Camera.pov
/usr/share/qtpovray-3.8/Insert Menu/Colors.pov
/usr/share/qtpovray-3.8/Insert Menu/CSG_Material.pov
/usr/share/qtpovray-3.8/Insert Menu/Images.ini
/usr/share/qtpovray-3.8/Insert Menu/Images.pov
/usr/share/qtpovray-3.8/Insert Menu/Include.pov
/usr/share/qtpovray-3.8/Insert Menu/IncludeFiles_own.pov
/usr/share/qtpovray-3.8/Insert Menu/Lights.pov
/usr/share/qtpovray-3.8/Insert Menu/Loops_sweep_spline.pov
/usr/share/qtpovray-3.8/Insert Menu/Material.pov
/usr/share/qtpovray-3.8/Insert Menu/Math functions.pov
/usr/share/qtpovray-3.8/Insert Menu/Meshmaker.pov
/usr/share/qtpovray-3.8/Insert Menu/Metals.pov
/usr/share/qtpovray-3.8/Insert Menu/Normal.pov
/usr/share/qtpovray-3.8/Insert Menu/No_XXX.pov
/usr/share/qtpovray-3.8/Insert Menu/Patterns.pov
/usr/share/qtpovray-3.8/Insert Menu/Photons_and_Radiosity.pov
/usr/share/qtpovray-3.8/Insert Menu/Random.pov
/usr/share/qtpovray-3.8/Insert Menu/Ready made scenes.pov
/usr/share/qtpovray-3.8/Insert Menu/Shapes2.pov
/usr/share/qtpovray-3.8/Insert Menu/Shapes3.pov
/usr/share/qtpovray-3.8/Insert Menu/Shear_Transform.pov
/usr/share/qtpovray-3.8/Insert Menu/Sky.pov
/usr/share/qtpovray-3.8/Insert Menu/Special shapes.pov
/usr/share/qtpovray-3.8/Insert Menu/Stones_and_Granites.pov
/usr/share/qtpovray-3.8/Insert Menu/Tex_Mat.pov
/usr/share/qtpovray-3.8/Insert Menu/Transform.pov
/usr/share/qtpovray-3.8/Insert Menu/Woods.pov

Maybe you copy-pasted the file and the "Typ" is part of a commented line?

Other than that, no idea.
I'm sure you could try some regular expression replacement technique - no idea
how to do that in Win/Dos.   Maybe a text editor/word processor...

Best to find out what the actual problem is first.


Post a reply to this message

From: Thomas de Groot
Subject: Re: typ error
Date: 11 Jul 2022 08:08:13
Message: <62cc12ad$1@news.povray.org>
Op 11-7-2022 om 11:50 schreef Saul Luizaga:
> #version 3.7;
> 
> Error Message:
> POV-Ray\v3.8-beta\Insert Menu\Basic shapes.pov" line 7: Parse Error: 
> Expected 'numeric expression', undeclared identifier 'Typ' found instead
> 
> This error is on many files.
> Is there a way to automate the replacement of this word with another 
> that works?
> 
> 
This is a Friedrich Lohmueller file, part of the original (Windows) 
download package. To use it directly, you need to uncomment line 5:
       //#declare Typ = 62; // for testing

Initially, when you install POV-Ray, you have (somewhere) the 
possibility to generate thumbnails for the complete Insert Menu. I don't 
remember however, how to start that :-( It was created by Friedrich and 
made part of the POV-Ray download package.

-- 
Thomas


Post a reply to this message

From: Saul Luizaga
Subject: Re: typ error
Date: 14 Jul 2022 06:10:21
Message: <dc0770b1-f4e2-11c5-2668-6849b244c4cb@gmail.com>
On 11/07/2022 08:08, Thomas de Groot wrote:
> Op 11-7-2022 om 11:50 schreef Saul Luizaga:
>> #version 3.7;
>>
>> Error Message:
>> POV-Ray\v3.8-beta\Insert Menu\Basic shapes.pov" line 7: Parse Error: 
>> Expected 'numeric expression', undeclared identifier 'Typ' found instead
>>
>> This error is on many files.
>> Is there a way to automate the replacement of this word with another 
>> that works?
>>
>>
> This is a Friedrich Lohmueller file, part of the original (Windows) 
> download package. To use it directly, you need to uncomment line 5:
>        //#declare Typ = 62; // for testing
> 
> Initially, when you install POV-Ray, you have (somewhere) the 
> possibility to generate thumbnails for the complete Insert Menu. I don't 
> remember however, how to start that :-( It was created by Friedrich and 
> made part of the POV-Ray download package.
> 
Yes thank you and Bold Eagle, it's a Windows build, I uninstalled a 29 
Dec 2021 v3.8.0b2 and it doesn't ha that line, looks like is something 
developers want to introduce in the final 3.8, so it comes only on the 
latest beta builds; but thanks for the help


-- 
El software de antivirus Avast ha analizado este correo electrónico en busca de
virus.
https://www.avast.com/antivirus


Post a reply to this message

From: Saul Luizaga
Subject: Re: typ error
Date: 14 Jul 2022 06:10:59
Message: <5d814211-a077-bcd5-19df-ce4398c05198@gmail.com>
On 11/07/2022 08:08, Thomas de Groot wrote:
> Op 11-7-2022 om 11:50 schreef Saul Luizaga:
>> #version 3.7;
>>
>> Error Message:
>> POV-Ray\v3.8-beta\Insert Menu\Basic shapes.pov" line 7: Parse Error: 
>> Expected 'numeric expression', undeclared identifier 'Typ' found instead
>>
>> This error is on many files.
>> Is there a way to automate the replacement of this word with another 
>> that works?
>>
>>
> This is a Friedrich Lohmueller file, part of the original (Windows) 
> download package. To use it directly, you need to uncomment line 5:
>        //#declare Typ = 62; // for testing
> 
> Initially, when you install POV-Ray, you have (somewhere) the 
> possibility to generate thumbnails for the complete Insert Menu. I don't 
> remember however, how to start that :-( It was created by Friedrich and 
> made part of the POV-Ray download package.
> 
Yes thank you and Bold Eagle, it's a Windows build, I uninstalled a 29 
Dec 2021 v3.8.0b2 and it doesn't ha that line, looks like is something 
developers want to introduce in the final 3.8, so it comes only on the 
latest beta builds; but thanks for the help


-- 
El software de antivirus Avast ha analizado este correo electrónico en busca de
virus.
https://www.avast.com/antivirus


Post a reply to this message

From: Saul Luizaga
Subject: Re: typ error
Date: 14 Jul 2022 06:26:14
Message: <62cfef46$1@news.povray.org>
On 14/07/2022 06:10, Saul Luizaga wrote:
> On 11/07/2022 08:08, Thomas de Groot wrote:
>> Op 11-7-2022 om 11:50 schreef Saul Luizaga:
>>> #version 3.7;
>>>
>>> Error Message:
>>> POV-Ray\v3.8-beta\Insert Menu\Basic shapes.pov" line 7: Parse Error: 
>>> Expected 'numeric expression', undeclared identifier 'Typ' found instead
>>>
>>> This error is on many files.
>>> Is there a way to automate the replacement of this word with another 
>>> that works?
>>>
>>>
>> This is a Friedrich Lohmueller file, part of the original (Windows) 
>> download package. To use it directly, you need to uncomment line 5:
>>        //#declare Typ = 62; // for testing
>>
>> Initially, when you install POV-Ray, you have (somewhere) the 
>> possibility to generate thumbnails for the complete Insert Menu. I 
>> don't remember however, how to start that :-( It was created by 
>> Friedrich and made part of the POV-Ray download package.
>>
> Yes thank you and Bold Eagle, it's a Windows build, I uninstalled a 29 
> Dec 2021 v3.8.0b2 and it doesn't ha that line, looks like is something 
> developers want to introduce in the final 3.8, so it comes only on the 
> latest beta builds; but thanks for the help
> 
But if I find the line again, I'll comment it out, thanks again


-- 
El software de antivirus Avast ha analizado este correo electrónico en busca de
virus.
https://www.avast.com/antivirus


Post a reply to this message

From: Thomas de Groot
Subject: Re: typ error
Date: 14 Jul 2022 08:00:23
Message: <62d00557$1@news.povray.org>
Op 14-7-2022 om 12:10 schreef Saul Luizaga:

> Yes thank you and Bold Eagle, it's a Windows build, I uninstalled a 29 
> Dec 2021 v3.8.0b2 and it doesn't ha that line, looks like is something 
> developers want to introduce in the final 3.8, so it comes only on the 
> latest beta builds; but thanks for the help
> 
> 
I got it also for 3.7 and I seem to remember that I downloaded the 
package, years ago, from: 
http://www.f-lohmueller.de/pov_tut/down/insert_a.htm

Possibly, it followed me over all those years and through different pov 
updates by simply copy/past the insert menu each time...

-- 
Thomas


Post a reply to this message

From: Saul Luizaga
Subject: Re: typ error
Date: 14 Jul 2022 21:30:56
Message: <62d0c350$1@news.povray.org>
On 14/07/2022 08:00, Thomas de Groot wrote:
> Op 14-7-2022 om 12:10 schreef Saul Luizaga:
> 
>> Yes thank you and Bold Eagle, it's a Windows build, I uninstalled a 29 
>> Dec 2021 v3.8.0b2 and it doesn't ha that line, looks like is something 
>> developers want to introduce in the final 3.8, so it comes only on the 
>> latest beta builds; but thanks for the help
>>
>>
> I got it also for 3.7 and I seem to remember that I downloaded the 
> package, years ago, from: 
> http://www.f-lohmueller.de/pov_tut/down/insert_a.htm
> 
> Possibly, it followed me over all those years and through different pov 
> updates by simply copy/past the insert menu each time...
> Hmmm, interesting, only a copy-paste huh? I'll try that, thank you


-- 
El software de antivirus Avast ha analizado este correo electrónico en
 busca de virus.
https://www.avast.com/antivirus


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.