question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unexpected character: '[' at line 17 col 91

See original GitHub issue
  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
  • macOS Mojave 10.14.6:
  • 1.0.0:
  • pyproject.toml file:
[tool.poetry]
name = "wear-zozo"
version = "0.1.0"
description = ""
authors = ["hrsma2i <hrs.ma2i@gmail.com>"]

[tool.poetry.dependencies]
python = "^3.6"
numpy = "^1.18"
tqdm = "^4.41"
aiohttp = "^3.6"
asyncio = "^3.4"
Pillow = "^6.2"
jupyter = "^1.0"
mypy = "^0.761.0"
black = {version = "^18.3-alpha.0", allows-prereleases = true}
aiodl = {git = "git@github.com:hrsma2i/aiodl.git@04d916dcf2ac552827e3e8781e2d81301f0b9a1c"}[tool.poetry.dev-dependencies]
flake8 = "^3.7"

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

Issue

poetry shell doesn’t work throwing the following error.

Unexpected character: '[' at line 17 col 91

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

6reactions
hrsma2icommented, Jan 1, 2020

I solved this issue.

2reactions
mdenglercommented, Aug 8, 2020

@hrsma2i How did you solve this issue? I am having a similar issue with python -m poetry add flask (and other packages besides flask).

It appears if pyproject.toml does not end with a newline, this behavior happens.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Flux Decoding Exception : Unexpected character ('[' (code 91 ...
A terrible problem!!! I wasted my 4-5 days figuring out what is wrong in my code and tried all permutation combination but nothing...
Read more >
Unexpected character ('a' (code 97)): was expecting double ...
UPDATE The error was in the CalloutMock class, I was trying to create a JSON without the double quotes. public HttpResponse respond(HttpRequest ...
Read more >
Run the Problem Inspector locally causes to "Error: JSON.parse
Run the Problem Inspector locally causes to "Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data" error.
Read more >
SyntaxError: JSON.parse: unexpected character at l...
Hi, I was setting up a new sprint as usual and suddenly I can't access anything in my Jira account because everywhere I...
Read more >
Sign In - Talend Community
2) If you are using a data source such as a CSV file, it could have empty records. This will treat rows as...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found