Hello,developers!
When I want to save the following project, the warning "Version control operation failed: module ‘git’ has no attribute 'refs’s " appears , and when I want to run the case, I get the solver crash error , I don’t know how to fix them, can you help me check what’s wrong? Attaching my case here.
Thank you very much!
To be clear, these are two unrelated errors. The “Version control operation failed” message can be safely ignored. MFiX uses “git” internally to track changes to your project. (You can see these changes if you switch to “History” mode.) However, MFiX can operate fine without the version control, this is provided purely for user convenience. It looks like something may have changed in the Git library we use. Please either send a full bug report or the output of mfixversioninfo or the output of mamba list which will help me see what package versions you are running so we can resolve this.
The second problem is an access violation in your UDF. Sometimes building the solver in “DEBUG” mode will help track these down. Also, if you have access to a Linux host (either real Linux or via a VM on Windows) you will find it easier to debug UDFs since you will have access to better diagnostic info on Linux.
so something there - either the IJK or the ib:ub bounds is outside the valid range. In the absence of a good debugger, you can try adding PRINT statements to see what’s going on. But I think the problem is here:
Sorry to take so long to get back to you.
1.I’ve only get this problem in this project.
2.The project directory does not have a subdirectory named “combustioncasegit”.
For the third and fourth points, I am not sure how to proceed. I tried typing the code you mentioned on anaconda prompt but I have the problem in the picture.
Thank you. It is more helpful to have output in English since we don’t read Chinese.
Please type git status from inside the project directory … it looks like you typed it in your home directory C:\Users\18370. You must cd to the project directory first… this is something like E:\WJJ\biomass\YH (from looking at the log file).
The second command failed because Windows does not like the single ' character… sorry … the command I wrote works on Linux but not on Windows … on Windows we have to do
python -c "import git; print(git.refs)"
you should be able to copy-paste that into a command prompt.
Thanks for your patience, I hope we can fix this problem soon.
The second one is correct. The first one should be
cd E:\WJJ\biomass\YH
git status
Two commands, the first one to set the current directory, the second one to get the status of that project. (I’m assuming that E:\WJJ\biomass\YH is your project directory.
Hi, it seems that the problem "Version control operation failed: module ‘git’ has no attribute 'refs’s " is gone now, but a new problem (as shown in the picture) has appeared,but it doesn’t seem to affect the case.
What puzzles me is that the mass fraction of H2O < 0,I tried to adjust the reaction rate but it still didn’t solve the problem, are there any other parameters I can change?
Thank you!
Since we are no longer discussing the Module 'git' problem, could you please create a new topic, with the current version of your project attached? I’m closing this topic now.