How to import .oib file from relative path in ProMan?
I created a .net file on my laptop and wanna run it on a server with WinPropCLI, however, because of the absolute path (W:/...), when I ran it with WinPropCLI -F C:\MyProject.net -A , there will be an error (0) said not possible to open file, as shown in the figure1. In the figure, path 1 (with green underline) and path 2 (with green underline) are the same, which means that to run the .net file, it would go to path 1 first, and then it needs to read the .oib file, so it uses the absolute path 2 (W:/...) provided in the .net file again, as shown in figure 2. And there will be a disk file path (w:/) in the middle of the path.
May I ask is there any ways to solve the problem? Thank you so much in advance!
Best Answer
-
Please try to export your project in ProMan GUI first using File > Export > Export project as zip archive, and then upload and unzip the zip archive on your server, which should ensure there is a relative path defined in the project .net file.
1
Answers
-
Please try to export your project in ProMan GUI first using File > Export > Export project as zip archive, and then upload and unzip the zip archive on your server, which should ensure there is a relative path defined in the project .net file.
1 -
Hi XW,
Can you please try the following:
- Export the project by following: File -> Export -> Export project as zip (this will create relative paths for all the files associated with the .net project: database, antenna patterns, etc...)
- Unzip it, and run the .net project in the corresponding directory.
Hope this solves the issue you are facing.
Best,
Zeina
1 -
reinerh said:
Please try to export your project in ProMan GUI first using File > Export > Export project as zip archive, and then upload and unzip the zip archive on your server, which should ensure there is a relative path defined in the project .net file.
Hi Reiner,
Thank you very much for your reply!
I tried to use the zip archive, but it seems there is no material document included when just exporting project as zip archive, and if I move the material file into the zip file on my laptop and unzip the zip archive on my server, there is still an error showing Cannot read material properties from building database. May I ask how to solve this problem? Thank you in advance!
Best wishes,
XW0 -
Zeina said:
Hi XW,
Can you please try the following:
- Export the project by following: File -> Export -> Export project as zip (this will create relative paths for all the files associated with the .net project: database, antenna patterns, etc...)
- Unzip it, and run the .net project in the corresponding directory.
Hope this solves the issue you are facing.
Best,
Zeina
Hi Zeina,
Thank you very much for your reply!
I tried to use the zip archive, but it seems there is no material document included when just exporting project as zip archive, and if I move the material file into the zip file on my laptop and unzip the zip archive on my server, there is still an error showing Cannot read material properties from building database. May I ask how to solve this problem? Thank you in advance!
Best wishes,
XW0 -
Hi XW,
thanks for your feedback!
Typically the material properties are included in the .odb file and also in the preprocessed .oib file, so I am wondering about the reason for this error message.
Which version of WinProp you are using?
Can you please provide us your files i.e. the created .zip file plus the original .odb file, so that we can have a look?
Thanky you again!0 -
reinerh said:
Hi XW,
thanks for your feedback!
Typically the material properties are included in the .odb file and also in the preprocessed .oib file, so I am wondering about the reason for this error message.
Which version of WinProp you are using?
Can you please provide us your files i.e. the created .zip file plus the original .odb file, so that we can have a look?
Thanky you again!Hi Reiner,
Thank you for your reply!
The Feko version on my laptop is 2022.2, and the version on the server is 2022.
I am very willing to share my files, but it's sad that the zip file is too large (2GB) because of the large .oib file (6GB before zip), which exceeds the maximum file size (15 MB). I attached my .odb file, and I really appreciate your help and checking.best wishes,
XW0 -
reinerh said:
Hi XW,
thanks for your feedback!
Typically the material properties are included in the .odb file and also in the preprocessed .oib file, so I am wondering about the reason for this error message.
Which version of WinProp you are using?
Can you please provide us your files i.e. the created .zip file plus the original .odb file, so that we can have a look?
Thanky you again!Hi Reiner,
I unzipped the file and ran the .net file on my laptop, and it worked well. But it's strange that there are some errors showing in the server with material problems. How I ran it in the server is shown in the figure. Could you please help me to check if there are any problems with the command? Thank you in advance!
best wishes,
XW0 -
reinerh said:
Hi XW,
thanks for your feedback!
Typically the material properties are included in the .odb file and also in the preprocessed .oib file, so I am wondering about the reason for this error message.
Which version of WinProp you are using?
Can you please provide us your files i.e. the created .zip file plus the original .odb file, so that we can have a look?
Thanky you again!Hi Reiner,
Thank you SO much for your help! I am so happy that I figured it out finally. That is because the memory in the server where I upload my file is only 8GB while my unzipped file is 7GB, which leads to the errors when reading the .OIB file I guess, and that's why it works well on my laptop but cannot work on the server.
Thank you again for your help and the zip file provided the relative path well.best wishes,
XW1 -
Zeina said:
Hi XW,
Can you please try the following:
- Export the project by following: File -> Export -> Export project as zip (this will create relative paths for all the files associated with the .net project: database, antenna patterns, etc...)
- Unzip it, and run the .net project in the corresponding directory.
Hope this solves the issue you are facing.
Best,
Zeina
Hi Zeina,
Thank you SO much for your help! I am so happy that I figured it out finally. That is because the memory in the server where I upload my file is only 8GB while my unzipped file is 7GB, which leads to the errors when reading the .OIB file I guess, and that's why it works well on my laptop but cannot work on the server.
Thank you again for your help and the zip file provided the relative path well.best wishes,
XW0 -
XW said:
Hi Reiner,
Thank you SO much for your help! I am so happy that I figured it out finally. That is because the memory in the server where I upload my file is only 8GB while my unzipped file is 7GB, which leads to the errors when reading the .OIB file I guess, and that's why it works well on my laptop but cannot work on the server.
Thank you again for your help and the zip file provided the relative path well.best wishes,
XWHi XW,
thank you very much for the positive news.
Great that you figured it out!
Best regards,
Reiner0