Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binary release? #18

Closed
emilio-martin opened this issue Jan 10, 2021 · 8 comments
Closed

Binary release? #18

emilio-martin opened this issue Jan 10, 2021 · 8 comments

Comments

@emilio-martin
Copy link

I would like to know if you are going to provide a binary release (bin) of the ccx2paraview application, as you did with 2.3.1. In any case, thank you very much for your contribution.

@imirzov imirzov closed this as completed Jan 11, 2021
@emilio-martin
Copy link
Author

Thanks a lot. I had already tried it before. But it doesn't work for me. On the other hand, version 2.3.1 contained in the (bin) folder of the zip file does work correctly. I guess it has to do with the fact that I don't have Python installed under Windows. Could it be that this version requires some component that I don't have?

@imirzov
Copy link
Collaborator

imirzov commented Jan 11, 2021

In theory binary doesn't need installed Python. If it doesn't work, you could provide some logging information regarding errors.

@emilio-martin
Copy link
Author

First I run it with a .bat file (which does work in the bin directory of version 2.3.1), with the following code:
ccx2paraview.exe input3.frd vtu
The system (windows 10) shows the error window that I show in the capture, and that I translate below:
"Code execution cannot continue because python37.dll was not found. This problem can be solved by reinstalling the program."
SNAG-0000

On the other hand, if I execute the same sentence in the command window, you can see in the second screenshot that the system shows another error message, and suggests executing the following:
.\ccx2paraview.exe input3.frd vtu
This way, no error is displayed, but no file is generated either.
SNAG-0001

I don't know if this will be enough for you to understand what is happening. In any case, I really appreciate your interest.

@imirzov
Copy link
Collaborator

imirzov commented Jan 11, 2021

Unfortunately, we can only ask Bill Gates why PowerShell and cmd.exe give different results. I'd rather work with cmd. And try to install latest Python 3. Hope it'll help.

Your case seems to be irrelevant to the converter itself. So I can not help, sorry. Consider stop using Windows. Linux is much better for scientists, engineers and programmers.

@emilio-martin
Copy link
Author

In any case, thank you very much for your work.

@emilio-martin
Copy link
Author

I comment only for your knowledge. I have installed the current version of Python (3.9.1), and I have also tried 3.7.9 since the system asked for the phyton37.dll library. In both cases it has not worked. Indeed, you are right. I would like to be able to work in Linux, but in my position we use many applications that will not work under Linux except with an emulator. And also, my university has opted for Office365 systems. I have no other options.
In any case, I am surprised that version 2.3.1 of the application in the bin folder has two files (ccx2paraview.exe 6Mb and ccx2paraview 23.4Mb), while 3.0.0 only has the executable (with 18.4Mb). I do not know if it is relevant, but it catches my attention.
Anyway, thank you very much for your time and interest.

@imirzov
Copy link
Collaborator

imirzov commented Jan 12, 2021

It's a pity that you haven't succeeded to run the converter.
ccx2paraview v2.3.1 was created with pyinstaller, while v3.0.0 - with nuitka. That's why binary file size is different.
ccx2paraview v2.3.1 for Windows was compiled without numpy, while Linux version - with it. As you can see, numpy is quite 'heavy' library.

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

No branches or pull requests

2 participants