Code Monkey home page Code Monkey logo

Comments (6)

spiiin avatar spiiin commented on May 11, 2024

The exception says that CadEditor.exe can't load assembly Microsoft.Scripting. Looks like I forgot to include some files to release archive (I have it somewhere in my local machine, so export works fine for me even without dlls in CadEditor folder) =\

I'll fix it in next release.

It's standart IronPython assemblies:
CadEditor_IronPythonModules.zip

You need to extract it to CadEditor folder (and don't forget to unblock zip archive after download it - https://blogs.msdn.microsoft.com/delay/p/unblockingdownloadedfile/)

from cadeditor.

happysoul avatar happysoul commented on May 11, 2024

I download the zip file, unzip 3 dll files to CadEditor folder, but ... it show another error(alert form).
Export TMX form -> choose a Layout from select box -> click the button Export -> then error
The alert message is:

Error (alert form - title)
No module named _functools (alert form - body)

It looks like you forgot another .dll file

from cadeditor.

spiiin avatar spiiin commented on May 11, 2024

Check this file
IronPython.Modules.zip

Later I'll test editor on the fresh machine, if forgot something again, you can install IronPython 2.7. Thanks for testing.

from cadeditor.

happysoul avatar happysoul commented on May 11, 2024

OMG, it works.
it is not enougth after unzip IronPython.Modules.zip into CadEditor folder
First, i download ironPython from github, but the version is 2.7.9 then i think it will be ok ... but fail
Second, i cp all dll from dir of ironPython, but exception of the version...
Third, i reinstall ironPython of 2.7.7 then cp dll and Lib dir (Importent folder!!) into cadEditor, the exprot tmx works...
This is the reason why i don't like learn C#

from cadeditor.

happysoul avatar happysoul commented on May 11, 2024

i uninstall cadeditor and reinstall again. it works ...
maybe install the full IronPython 2.7.7 is the beast choose

https://github.com/IronLanguages/main/releases/tag/ipy-2.7.7

最后总结:安装 CadEditor 需要 2.7.7的 IronPython 才能使用导出 tmx 功能

from cadeditor.

spiiin avatar spiiin commented on May 11, 2024

I rewrote TMX export on pure C#, so now it does not need IronPython or any python library at all.
https://github.com/spiiin/CadEditor/releases/tag/v5.2

from cadeditor.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.