diff --git a/frontend/constants/serviceTemplates.ts b/frontend/constants/serviceTemplates.ts index a6e8666f0..ad1d95771 100644 --- a/frontend/constants/serviceTemplates.ts +++ b/frontend/constants/serviceTemplates.ts @@ -159,11 +159,11 @@ export const SERVICE_TEMPLATES: ServiceTemplate[] = [ { agentType: AgentType.Memeooorr, name: 'Memeooorr', - hash: 'bafybeid5qvhhn3t7eaiaarurijsjejhcogt6r3dfm7eid25to4vaivfrti', + hash: 'bafybeidt5vao63jarowkqzjtrwiw6b42gponznwzesll3vdcmtcmpffc5u', description: 'Memeooorr @twitter_handle', // should be overwritten with twitter username image: 'https://gateway.autonolas.tech/ipfs/QmQYDGMg8m91QQkTWSSmANs5tZwKrmvUCawXZfXVVWQPcu', - service_version: 'v0.2.0-alpha13', + service_version: 'v0.2.0-alpha14', home_chain: MiddlewareChain.BASE, configurations: { [MiddlewareChain.BASE]: { diff --git a/operate/services/deployment_runner.py b/operate/services/deployment_runner.py index cd435a566..ee56a434a 100644 --- a/operate/services/deployment_runner.py +++ b/operate/services/deployment_runner.py @@ -97,7 +97,10 @@ class BaseDeploymentRunner(AbstractDeploymentRunner, metaclass=ABCMeta): def _run_aea(self, *args: str, cwd: Path) -> Any: """Run aea command.""" - return self._run_cmd(args=[self._aea_bin, *args], cwd=cwd) + # TODO: Patch for Windows failing hash (add -s). Revert once it's fixed on OpenAutonomy / OpenAEA + # The fix is also implemented in PyInstallerHostDeploymentRunner._start_agent and + # on HostPythonHostDeploymentRunner._start_agent + return self._run_cmd(args=[self._aea_bin, "-s", *args], cwd=cwd) @staticmethod def _run_cmd(args: t.List[str], cwd: t.Optional[Path] = None) -> None: @@ -258,7 +261,7 @@ def _start_agent(self) -> None: env["PYTHONIOENCODING"] = "utf8" env = {**os.environ, **env} process = subprocess.Popen( # pylint: disable=consider-using-with # nosec - args=[self._aea_bin, "run"], + args=[self._aea_bin, "-s", "run"], # TODO: Patch for Windows failing hash cwd=working_dir / "agent", stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, @@ -342,7 +345,7 @@ def _start_agent(self) -> None: env["PYTHONIOENCODING"] = "utf8" process = subprocess.Popen( # pylint: disable=consider-using-with # nosec - args=[self._aea_bin, "run"], + args=[self._aea_bin, "-s", "run"], # TODO: Patch for Windows failing hash cwd=str(working_dir / "agent"), env={**os.environ, **env}, creationflags=( diff --git a/package.json b/package.json index e2bb824fb..4226da544 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "start:frontend": "cd frontend && yarn start", "test:frontend": "cd frontend && yarn test" }, - "version": "0.2.0-rc49", + "version": "0.2.0-rc50", "engine": { "node": ">=20", "yarn": ">=1.22.0", diff --git a/pyproject.toml b/pyproject.toml index d00ba8388..cb6008d5e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "olas-operate-middleware" -version = "0.2.0-rc49" +version = "0.2.0-rc50" description = "" authors = ["David Vilela ", "Viraj Patel "] readme = "README.md" diff --git a/templates/memeooorr.yaml b/templates/memeooorr.yaml index bffd2aca9..23bc5aa4e 100644 --- a/templates/memeooorr.yaml +++ b/templates/memeooorr.yaml @@ -1,8 +1,8 @@ name: "Memeooorr" description: "Memeooorr @twitter_handle" -hash: bafybeid5qvhhn3t7eaiaarurijsjejhcogt6r3dfm7eid25to4vaivfrti +hash: bafybeidt5vao63jarowkqzjtrwiw6b42gponznwzesll3vdcmtcmpffc5u image: https://gateway.autonolas.tech/ipfs/QmQYDGMg8m91QQkTWSSmANs5tZwKrmvUCawXZfXVVWQPcu -service_version: v0.2.0-alpha13 +service_version: v0.2.0-alpha14 home_chain: "base" configurations: base: