Unexpected error while running parlai_chat_task_demo python3 parlai_test_script.py - mephisto

I receive an error while running an example code from https://github.com/facebookresearch/Mephisto/blob/main/examples/parlai_chat_task_demo/README.md
python3 parlai_test_script.py
I try to run an example script.
The error:
hydra.errors.ConfigCompositionException: Error merging mephisto/blueprint=parlai_chat
May be someone have already faced the same problem and fixed it? Thank you!

I find an answer! When you install parlai with pip, hydra-core-1.0.7 is a dependency and this old version of package is the reason of my error. You need to install hydra-core-1.1.1.
I hope that it will be useful for somebody.

Related

install-pkg command in not working in repl.it

Here is my code:
install-pkg "Minecraft.deb"
I am trying to install a .deb package and whenever I run the code, I get an error message telling me that they could not find the install-pkg command.
I cannot find out how to do it. Any help?
Try with dpkg -i Minecraft.deb

React Native _weakMap2 error

I just updated to React Native 0.21, but I am getting an error when I require Parse:
var Parse = require('parse/react-native').Parse;
The error I get is:
undefined is not a constructor (evaluating 'new _weakMap2.default()')
I don't believe it has to do with Parse though, as searching the directory, the 'weakMap2' reference is only found inside the react-proxy package.
Has anyone else experienced this error or found a workaround? Thanks!
This should be fixed in react-proxy#1.1.7.
(Don’t use 2.x, it’s not related to React Native at all currently!)
You can run npm install react-proxy#1.1.7 so NPM updates it locally. If you are using npm#2.x, you would need to run npm install react-proxy#1.1.7 inside node_modules/react-native/node_modules/react-transform-hmr or something like this—check where it is installed and make sure it’s 1.x but up to date.
Don't really know the issue but running Parse JS SDK as version 1.6.14 works for me. Have the same error as you when running latest 1.7.1. Hard to trace the error.
npm i parse#1.6.14 --save
I forced react-proxy to version 2.0.1 and the error is now gone for me.

Softaculous/AMPPS - The installation package could not be found (localhost)

The installation package could not be found error returns after I hit install on http://localhost/ampps/ for most of the available packages such as Wikimedia.
I tried to find out where this error comes from such as updating setting in
http://localhost/ampps-admin/
and no success yet. Anyone with any recommendation? Thanks!
Delete the folder Ampps/ampps/scripts/mw and try installing again from http://localhost/ampps again.
Softaculous will download the package automatically if not found.

httpie gives me an error on macosx 'HTTPConnection'

I'm working on macosx and I try to use httpie (with Symfony2 and FOSRestBundle).
I follow different tutorial on how to install httpie.
When I try to launch with: http httpie.org
I received the following error :
http: error: AttributeError: 'HTTPConnection' object has no attribute '_tunnel_host'
I can't find anything on Google.
Do I have to configure something special or do I have to install another thing ?
Thanks !
It looks like a bug. I'd try to update/reinstall HTTPie (pip install --force-reinstall --upgrade httpie), and fill a bug report if it doesn't help.

Error with the command 'make basics ' while install winexe

I want to isntall winexe on Ubuntu 13.1 32bit version.
I did exactly after this guide: Winexe - aldeid
If I execute the command "make basics bin/winexe" there occurs the following error:
Compiling ../librpc/idl/atsvc.idl
/usr/include/stdc-predef.h:0: error: Syntax error near '3'
Failed to parse ../librpc/idl/atsvc.idl at ./../pidl/pidl line 608.
make: *** [idl] Error 1
I have absolutely no idea how to fix this.
I would be even satisfied with a solution suggestion to this problem.
Thank you.
make "CPP=gcc -E -ffreestanding" basics bin/winexe works around this error.
I found "another" way to isntall winexe.
ubuntu forum
The Donwload-Links to the static version (just unzip and run winexe) are working at the moment (on some other pages they didn't).
I still don't know why the error above occurs, if anybody knows it, please tell me anyway. I am still interessted.
VERY IMPORTANT EDIT: After restart winexe gives put an Internal Error signal 11
So I still need a solution for winexe. Either to isntall the verision from git or to fix this error.
EDIT nummber 2: OK, why am I sking questions if I answer them by myself?
The installation form the quide mentiond in my question qorks fine on Ubuntu 12 LTS and winexe-static-version is also ok if you don't make typing errors as I did.

Resources