lando / lando/python

Lando rebuild, python 2.7 grammar.txt issue - drupal 9, php 8.1

Open
#14 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Needs Triage
Dominant language
JavaScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Error: 2022-10-31 14:04:23,257 root INFO Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt

at /snapshot/cli/lib/shell.js
From previous event:
at Shell.sh (/snapshot/cli/lib/shell.js)
at Object.dc (/snapshot/cli/lib/bootstrap.js)
at compose (/snapshot/cli/lib/bootstrap.js)
From previous event:
at /snapshot/cli/lib/router.js
at processImmediate (internal/timers.js:464:21)
From previous event:
at Object.run (/snapshot/cli/lib/router.js)
at run (/snapshot/cli/lib/engine.js)
at /snapshot/cli/lib/router.js
From previous event:
at Object.eventWrapper (/snapshot/cli/lib/router.js)
at Engine.engineCmd (/snapshot/cli/lib/engine.js)
at Engine.run (/snapshot/cli/lib/engine.js)
at /snapshot/cli/node_modules/@lando/platformsh/app.js
at processImmediate (internal/timers.js:464:21)
From previous event:
at /snapshot/cli/node_modules/@lando/platformsh/app.js
From previous event:
at AsyncEvents. (/snapshot/cli/node_modules/@lando/platformsh/app.js)
at AsyncEvents.handle (/snapshot/cli/lib/events.js)
at /snapshot/cli/lib/events.js
From previous event:
at AsyncEvents.emit (/snapshot/cli/lib/events.js)
From previous event:
at App.start (/snapshot/cli/lib/app.js)
at /snapshot/cli/lib/app.js
From previous event:
at App.restart (/snapshot/cli/lib/app.js)
at Object.run (/snapshot/cli/plugins/lando-core/tasks/restart.js)
From previous event:
at /snapshot/cli/lib/cli.js
From previous event:
at Object.handler (/snapshot/cli/lib/cli.js)
at Object.runCommand (/snapshot/cli/node_modules/yargs/lib/command.js:238:44)
at Object.parseArgs [as _parseArgs] (/snapshot/cli/node_modules/yargs/yargs.js:1063:30)
at Function.get [as argv] (/snapshot/cli/node_modules/yargs/yargs.js:1004:21)
at Cli.init (/snapshot/cli/lib/cli.js)
at Cli.run (/snapshot/cli/lib/cli.js)
at Object. (/snapshot/cli/bin/lando.js)
at Module._compile (pkg/prelude/bootstrap.js:1794:22)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Function.runMain (pkg/prelude/bootstrap.js:1847:12)
at internal/main/run_main_module.js:17:47

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing lando rebuild with the Drupal 9 and PHP 8.1 setup, then trace the reported stack through lib/shell.js, lib/bootstrap.js, and plugins/lando-core/tasks/restart.js. Determine why Python 2.7 generates Grammar.txt during the rebuild and verify that the rebuild completes without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php, python
Domain
backend, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.