InstaLooter icon indicating copy to clipboard operation
InstaLooter copied to clipboard

CRITICAL Unterminated string starting at: line 1 column 37237

Open kenorb opened this issue 6 years ago • 6 comments

Library version

What's the installed library version ? Check with instalooter --version:

instalooter v2.3.1

Environment

Describe here your environment, including:

  • OS: WSL/Ubuntu on Windows
  • Python version: Python 3.6.6
$ set | grep LANG
LANG=C
LANGUAGE=en_GB:en

Error description - runtime

The following error happened during downloading:

instalooter.cli[1509] CRITICAL Unterminated string starting at: line 1 column 37237 (char 37236) | 134/881 [00:08<00:23, 31.74it/s]

Reproducible test case

Are you using the CLI ? If so, include a command that can be used to re-raise the error, with actual arguments anybody can try:

instalooter user hybrid_scientist hybrid_scientist

The mentioned error happened at 17%:

 17%|#####################8   

Expected behaviour

What's supposed to happen ?

The command is completed.

Actual behaviour

What's actually happening?

The command fails.

kenorb avatar Nov 29 '18 11:11 kenorb

The download worked after running 2nd time, after setting different LANG variables:

export LANG=en_GB
export LANG_ALL=en_GB

Not sure if that helped, or it's coincident.

kenorb avatar Nov 29 '18 11:11 kenorb

Met the same issue in version 2.4.0

roy668899 avatar Jul 16 '19 02:07 roy668899

@kenorb But I didin't find what and where that causes the issue, do you?

I met this issue twice, when having metadata json dump parameters

roy668899 avatar Jul 16 '19 15:07 roy668899

But I didin't find what and where that causes the issue, do you?

You need to change the terminal coding as mentioned above.

kenorb avatar Jul 16 '19 15:07 kenorb

But I didin't find what and where that causes the issue, do you?

You need to change the terminal coding as mentioned above.

I'll have a try, thanks!

roy668899 avatar Jul 16 '19 15:07 roy668899

@kenorb : can you post the output with the --traceback flag? InstaLooter does not really have anything to do with the terminal so I'd like to know where that happen and if it is a bug coming from a dependency.

althonos avatar Jul 16 '19 23:07 althonos