ripe-gigabyte-88964
02/13/2024, 4:26 PMflat-zoo-31952
02/13/2024, 4:30 PM~/.cache/pants and ~/.cache/nce. Not sure where those cache dirs are in windows under wsl but in principle it should be the same thingripe-gigabyte-88964
02/13/2024, 4:31 PM~/.cache/pants but now it's just telling us it can't find stuff from the cacheflat-zoo-31952
02/13/2024, 4:31 PMpkill pantsd maybe?flat-zoo-31952
02/13/2024, 4:32 PMripe-gigabyte-88964
02/13/2024, 5:37 PMProcessExecutionFailure: Process 'Parse Terraform module sources: arbitrary/terraform/module' failed with exit code 1.
stdout:
stderr:
Traceback (most recent call last):
File "/home/moncrieffed1/.cache/pants/named_caches/pex_root/venvs/s/ef0390ce/venv/lib/python3.8/site-packages/lark/lexer.py", line 598, in lex
token = self.root_lexer.next_token(lexer_state, parser_state)
File "/home/moncrieffed1/.cache/pants/named_caches/pex_root/venvs/s/ef0390ce/venv/lib/python3.8/site-packages/lark/lexer.py", line 528, in next_token
raise UnexpectedCharacters(lex_state.text, line_ctr.char_pos, line_ctr.line, line_ctr.column,
' in the current parser context, at line 1 col 12 matches '
terraform {
^
Expected one of:
* RPAR
* "&&"
* STAR
* LSQB
* COMMA
* PLUS
* /<<-(?P<heredoc_trim>[a-zA-Z][a-zA-Z0-9._-]+)\n(?:.|\n)*?(?P=heredoc_trim)/
* ".*"
* EXP_MARK
* LESSTHAN
* PERCENT
* "||"
* /<<(?P<heredoc>[a-zA-Z][a-zA-Z0-9._-]+)\n(?:.|\n)*?(?P=heredoc)/
* "=>"
* "<="
* MORETHAN
* COLON
* QMARK
* "..."
* LPAR
* /#.*\n/
* EQUAL
* MINUS
* DECIMAL
* LBRACE
* SLASH
* "=="
* RBRACE
* RSQB
* /[a-zA-Z_][a-zA-Z0-9_-]*/
* /\/\/.*\n/
* "[*]"
* BANG
* STRING_LIT
* ">="
* /\n/
* "!="
* DOT
Previous tokens: Token('LBRACE', '{')flat-zoo-31952
02/13/2024, 5:40 PMripe-gigabyte-88964
02/13/2024, 8:25 PMpython-hcl2 dependency to a resolve but it's still happening. However, there's no issue when we activate the venv for that resolve and run it directly, so it's definitely something really screwy going on with the virtual environments.flat-zoo-31952
02/13/2024, 9:17 PMripe-gigabyte-88964
02/13/2024, 9:18 PMflat-zoo-31952
02/13/2024, 9:18 PMflat-zoo-31952
02/13/2024, 9:18 PMripe-gigabyte-88964
02/13/2024, 9:18 PMflat-zoo-31952
02/13/2024, 9:19 PMripe-gigabyte-88964
02/13/2024, 9:20 PMflat-zoo-31952
02/13/2024, 9:23 PM