Problem with configuration of odoo for working with pycharm - configuration

I have a problem with the configuration step of pycharm in order to work with Odoo 12.
I edited the configuration and set these parameters:
In the script path field: C:\Program Files (x86)\Odoo 12.0\server\odoo-bin
In the parameters field: --conf C:\Program Files (x86)\Odoo 12.0\server\odoo.conf
When I try to run I have the following error:
Usage: odoo-bin [options]
odoo-bin: error: unrecognized parameters: 'Files (x86)\Odoo 12.0\server\odoo.conf'

You are getting this error because of the space in the path try put it between two quotes:
--conf="C:\Program Files (x86)\Odoo 12.0\server\odoo.conf"

Related

Octave GUI on Mac is not able to find a file

I entered this code on my octave GUI on Mac:
>>cd file:///Users/Sudipta/Downloads/Stanford/warmUpExercise.m
error: file:///Users/Sudipta/Downloads/Stanford/warmUpExercise.m: No such file or directory
I am using macOS Big Sur and Octave version 3.8.0.The file in question exists in my computer and I have checked this code multiple times.
It is not able to locate the file on my MacBook for some reason. Can someone help?
Edit: I have tried a new code as mentioned in the comments, but it also can't find the file
>> cd Users/Sudipta/Downloads/Stanford/warmUpExercise.m
error: Users/Sudipta/Downloads/Stanford/warmUpExercise.m: No such file or directory
I have also tried:
1.>> cd Users/Sudipta/Downloads
error: Users/Sudipta/Downloads No such file or directory
2.>> cd Users/Sudipta/Downloads/Stanford
error: Users/Sudipta/Downloads/Stanford No such file or directory
And I got the same error as above.
The other code gave a different error:
3.> cd /Users/Sudipta/Downloads
warning: load_path: .: Operation not permitted
QKqueueFileSystemWatcherEngine::addPaths: open: Operation not permitted
Warning: QFileSystemWatcher: failed to add paths: /Users/Sudipta/Downloads

ConfigurationLoadError: Unable to load configuration file

I have no idea why but I am unable to use conda within terminal. Conda command results in "ConfigurationLoadError"
ConfigurationLoadError: Unable to load configuration file.
path: /Users/kiranmarathe/.condarc
reason: invalid yaml at line 2, column 42
kiranmarathe$ cat /Users/kiranmarathe/.condarc
channels:
- defaults
- conda-forge
- bioconda
- http://conda.binstar.org/faircloth-lab
Go to the /Users/kiranmarathe/ path and delete the .condarc file. I think the issue will be resolved.

Could not load the file or assembly | Report Builder 3.0

I need to add a custom dll which will provide me with Data Matrix generation but for some reason it gives me this error... Error
It says "Could not load the file or assembly 'C: \ Windows \ System32 \ cruflbcs.dll' or one of its dependencies. The module was expected to contain an assembly manifest."
I added the file to every single folder possible, did the 'regsvr32' command and it gave a successful response.
I'm out of ideas...
Remotely, this file should be pushed to following location:
%ProgramFiles%\Microsoft SQL Server\<VERSION>.MSSQLSERVER\Reporting Services\ReportServer\bin
Locally, this should be placed in the following location:
%ProgramFiles%\Microsoft Visual Studio <VERSION>\Common7\IDE\PrivateAssemblies.

avoid error in ssis package using winscpcommand

Hi I have doubt in ssis using winscp commands on excuteprocess task
I need download/move .zip file from remote server to local server machine.
Here I follow few steps:
step1:I install winscp software in local server .
step2: I configure winscp settings with hostnameand username and pwd it working fine.
step3: I tried to implement ssis package using executeprocess task
there I given like below seetings in execute process task
executable:
C:\Program Files (x86)\WinSCP\WinSCP.exe
Arguments:
WinSCP /command "open ""sftp://uesrname:pwdhostname""" "get ""remoterservrpath"" localpath" "exit"
after that I ran execute process task.then file is moved from remoteserver to localserver path location
then imedentaily package failed with below error message
[Execute Process Task] Error: In Executing "C:\Program Files (x86)\WinSCP\WinSCP.exe" "WinSCP /command "open ""
sftp://usernamepwdhostname""" "get ""test.zip""
C:\Users\test\Desktop\Test\test.zip" "exit"" at "",
The process exit code was "1" while the expected was "0".
here usernamepwdhostname I did not share orignal.I mention similay format.
zip file is moved from remote to local server location.its fine.but I am getting package error after move the .zip file
please tell me how to avoid this error in ssis package level
In the arguments field, remove the WinSCP part at the start
executable:
C:\Program Files (x86)\WinSCP\WinSCP.exe
Arguments:
/command "open ""sftp://uesrname:pwdhostname""" "get ""remoterservrpath"" localpath" "exit"

Load new module in Kamailio

I would like to ask, how can I load new module in Kamailio 4.1.2?
Actually, I have an issue, when I tried to compile my kamaiio.cfg
I've got error:
root#kamailio:/usr/local/# kamailio -c kamailio.cfg
loading modules under /usr/local/lib64/kamailio/modules/
0(25392) ERROR: <core> [sr_module.c:587]: load_module(): ERROR: load_module: could not find module <websocket> in </usr/local/lib64/kamailio/modules/>
0(25392) : <core> [cfg.y:3408]: yyerror_at(): parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 323, column 12-25: failed to load module
0(25392) ERROR: <core> [cfg.y:3272]: yyparse(): cfg. parser: failed to find command ws_handle_handshake
0(25392) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 1083, column 27: unknown command, missing loadmodule?
ERROR: bad config file (2 errors)
when I look physically to the /usr/local/lib64/kamailio/modules/ there is some modules, but websocket.so is missing.
So, how can I get and load module in Kamailio?
Thank you for help!
You haven't installed the module websocket. Edit modules.lst file in the source code directory and add websocket to include_modules variable. If you don't have modules.lst, just do:
make cfg
Alternative is to do:
make cfg include_modules="websocket"
By default, the build system for kamailio compiles and install only the modules that have the same dependencies as the core of the application. For websocket you need to install libunistring and openssl (libssl) devel packages.
Steps to load new module to Kamailio server. (Try if above answer is not working for you)
Check the modules is exist in the default module directly /usr/local/lib64/kamailio/modules.
If found, add loadmodule "module_name.so" in load module section in kamailio.cfg file.
If the module is not found in default module directory, you can check for the source code of that module in the default module source code directory /usr/local/src/kamailio-4.4/kamailio/modules.
If source code found, enter to the module directory. Then create modules' shared object file(.so) by following commands.
./configure
make
make test
make install
Then you will get a shared object file(.so). Copy that file into the default module directory. and load this module from the kamailio.cfg file as mentioned in step 1.
If module source code does not exist in the default source code directory, You need to download the source code from the web. And follow step 3 and 4.