'UmiTemplateLibrary' is not defined
Closed this issue · 3 comments
FarzadHashemi88 commented
I am trying to convert an E+ idf file to UMI .json template. I am a new Python user and followed the installation instruction (installing using pip) in Python 3.6. I have installed archetypal successfully, but when I am trying to convert the IDF file following "Using the Python Console" I am getting this error: 'UmiTemplateLibrary' is not defined". Please see the attached screenshot from Python IDE.
Please help to figure this problem out!
Thanks,
samuelduchesne commented
Hi there! Thanks for trying out archetypal! I think you need to import UmiTemplate instead of UmiTemplateLibrary. I believe the documentation is showing the develop branch instead of the master branch.
I’ll try and fix that. You can also star the repo since I’ll be releasing a much better version in the coming days with a bunch of fixes. It will also change some of the function names.
Best,
Sam
… On Jul 10, 2020, at 7:11 PM, FarzadHashemi88 ***@***.***> wrote:
I am trying to convert an E+ idf file to UMI .json template. I am a new Python user and followed the installation instruction (installing using pip) in Python 3.6. I have installed archetypal successfully, but when I am trying to convert the IDF file following "Using the Python Console" I am getting this error: 'UmiTemplateLibrary' is not defined". Please see the attached screenshot from Python IDE.
Please help to figure this problem out!
Thanks,
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
FarzadHashemi88 commented
Dear Samuel,
I appreciate your reply!
I am trying to convert a bunch of IDF files to UMI (.json) templates and I
only found Archetypal something that can help me. I spent some hours
figuring out how to add it to Command Prompt also my Python 3.6 Shell.
However, two methods asserted on the Archetypal
<https://archetypal.readthedocs.io/en/develop/converting.html> are not
giving me what I desire to. Using the "*reduce"* command is giving me the
attached error. Also, using the Python Console and what you suggested to
change UmiTemplateLibrary to UmiTemplate in the syntax didn't work out
properly. I would really appreciate it if you could guide me in a way (as a
beginner Python user) that I can convert my files.
Thanks!
On Sat, Jul 11, 2020 at 11:16 AM Samuel Letellier-Duchesne <
notifications@github.com> wrote:
… Hi there! Thanks for trying out archetypal! I think you need to import
UmiTemplate instead of UmiTemplateLibrary. I believe the documentation is
showing the develop branch instead of the master branch.
I’ll try and fix that. You can also star the repo since I’ll be releasing
a much better version in the coming days with a bunch of fixes. It will
also change some of the function names.
Best,
Sam
> On Jul 10, 2020, at 7:11 PM, FarzadHashemi88 ***@***.***>
wrote:
>
>
> I am trying to convert an E+ idf file to UMI .json template. I am a new
Python user and followed the installation instruction (installing using
pip) in Python 3.6. I have installed archetypal successfully, but when I am
trying to convert the IDF file following "Using the Python Console" I am
getting this error: 'UmiTemplateLibrary' is not defined". Please see the
attached screenshot from Python IDE.
>
> Please help to figure this problem out!
>
> Thanks,
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#104 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIEXIJ6BROQC3BFKMG7VYFLR3B635ANCNFSM4OXAAOHQ>
.
samuelduchesne commented
Which attached error?