Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Error in Model when importing org.project.time.* #177

Open
ahumaira11 opened this issue Jul 2, 2020 · 3 comments
Open

Error in Model when importing org.project.time.* #177

ahumaira11 opened this issue Jul 2, 2020 · 3 comments

Comments

@ahumaira11
Copy link

Describe the bug
When importing the time package into an empty template using the line "import org.accordproject.time.* from https://models.accordproject.org/v2.0/time.cto" as seen in the Cicero templates, an error that says "[Change Model] Namespace is not defined for type org.accordproject.time.* File 'model/model.cto':" occurs.

error

To fix the issue, I have also tried "import org.accordproject.time.* from https://models.accordproject.org/time@0.2.0.cto" and "import org.accordproject.time.Duration from https://models.accordproject.org/time.cto"

@jeromesimeon
Copy link
Member

Sadly, I think this is a known template-studio issue. #106

In the interim, you might want to do the update on your local machine, or edit using the Visual Studio Code extension for Accord Project.

@jeromesimeon
Copy link
Member

This is a Template Studio issue, so I am moving it to the corresponding project.

@jeromesimeon jeromesimeon transferred this issue from accordproject/models May 27, 2021
@norweis
Copy link

norweis commented Jul 15, 2021

I also found that most model imports do not work properly. I needed to copy the contents of the URL into the model.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants