Question Alexandra Mirzac · Apr 15, 2024

compilation error iris terminal class not found

  Hello all, i am new to IRIS in combination with VSCode, can anyone guide why this error appears ? Any suggestions are welcome. Thank you in advance.

Product version: IRIS 2023.1

Comments

Julius Kavay · Apr 15, 2024

Your subject (compilation error iris terminal class not found) and the screenshot
- workinhg on Class: Class TESTsAMTraining.NewClassDemo1
- calling a class: do ##class(MyCos.COSTest).Main
- and the error message: <CLASS DOES NOT EXISTS>

do not match!

I do not see anything about a "compilation error" on the other hand, there is an error saying, a class do not exists.

So please help us to help you and try to give us correct data about your problem.
Thank you.

0
Ben Spead · Apr 15, 2024

@Alexandra Mirzac - welcome to the Community :)  I would suggest the following:

1) Make sure you have saved and compiled your class, and that it returned with no errors.  

2) Make sure when you are testing in Terminal you are connected to the correct Instance and the correct Namespace

3) Double-check spelling and case in your Terminal command compared to your compiled classname

Please try those things out and let us know if that moves you forward.

0
Hannah Sullivan · Apr 15, 2024

Hi Alexandra, 

If you switch from the Terminal tab to the Output tab and then select ObjectScript from the options dropdown, you will be able to see the compilation status for classes and tables. This will tell you the compilation errors for if / why your classes are not compling.

 

0
Alexandra Mirzac  Apr 16, 2024 to Hannah Sullivan

yes i this message ....but in iris terminal i get the above mentioned error

0
Shakthi · Apr 15, 2024

 Alexandra, looks like you have two different namespaces FILERO and FILEROIRIS, could you please double check you are into right namespace ?

0
Ben Spead  Apr 16, 2024 to Alexandra Mirzac

in the screenshot above you are trying to run the class in the FILERO Namespace.  Did you try running that command in FILEROIRIS?

0
Alexandra Mirzac  Apr 17, 2024 to Ben Spead

i hv recently tried to switch to FILEROIRIS namespace but it cant switch,  i get an error ....the only namespace i can switch is FILERO

Knoten: HOME4, Instanz: IRIS

USER>zn "fileroiris"

ZN "fileroiris"
^
<NAMESPACE>
USER>zn "filero"

FILERO>

0
Alexandra Mirzac  Apr 16, 2024 to Shakthi

i want to switch to fileroiris namespace...instead of this only filero namespace is available and accesible


Knoten: HOME4, Instanz: IRIS

USER>zn "fileroiris"

ZN "fileroiris"
^
<NAMESPACE>
USER>zn "filero"

FILERO>

0
Ben Spead  Apr 16, 2024 to Alexandra Mirzac

From your initial screenshot:

Perhaps you need to be on the 'filerodev2023' Instance, rather than the 'IRIS' instance and you show above on your HOME4 node?

0
Robert Cemper  Apr 17, 2024 to Alexandra Mirzac

Is there some deeper reason not to contact LIB-IT DMS  that produced FILERO ?
They should know from the hip where their code is located and how to move it.
As your installation is talking German, there should be no lingual hurdle.

They even offer TeamViewer Support

0
Luc Morningstar · Apr 17, 2024

As a new hacker it's wise to study concepts and structures of your hacking target first.

0