Giter Site home page Giter Site logo

Comments (8)

hipsterusername avatar hipsterusername commented on June 20, 2024

@lstein - Do you think this might be system specific?

from invokeai.

cmensah avatar cmensah commented on June 20, 2024

Maybe i need to add this :
-my system is in French

  • my python version is 3.11.5
  • my pip version is 24.0
    Previous InvokeAI version was working great

from invokeai.

hipsterusername avatar hipsterusername commented on June 20, 2024

Maybe i need to add this : -my system is in French

* my python version is 3.11.5

* my pip version is 24.0
  Previous InvokeAI version was working great

Yes, that seems to be the case - But that's an issue we need to fix I think

from invokeai.

psychedelicious avatar psychedelicious commented on June 20, 2024

It appears the é character in Sombre Clarté is the issue.

Please open a command line window and try this command. Does it error?

python -c "import subprocess; print(subprocess.check_output('echo Sombre Clarté', shell=True).decode())"

Next, try this command. Does it error?

python -c "import subprocess; print(subprocess.check_output('echo Sombre Clarté', shell=True).decode("utf-8"))"

from invokeai.

cmensah avatar cmensah commented on June 20, 2024

Okay,.
First :
C:\Users\Sombre Clarté>python -c "import subprocess; print(subprocess.check_output('echo Sombre Clarté', shell=True).decode())"
Traceback (most recent call last):
File "", line 1, in
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x82 in position 12: invalid start byte

C:\Users\Sombre Clarté>python -c "import subprocess; print(subprocess.check_output('echo Sombre Clarté', shell=True).decode())"
Traceback (most recent call last):
File "", line 1, in
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x82 in position 12: invalid start byte

Second :

C:\Users\Sombre Clarté>python -c "import subprocess; print(subprocess.check_output('echo Sombre Clarté', shell=True).decode("utf-8"))"
Traceback (most recent call last):
File "", line 1, in
NameError: name 'utf' is not defined


Indeed, the character "é" has caused me some problems since I started to get interested in scripts and everything related to artificial intelligence.

I have been using my windows system for far too long, so it's too late to change.
I'll think about it if I ever install another system!

from invokeai.

psychedelicious avatar psychedelicious commented on June 20, 2024

@cmensah I apologize, I had a typo in the second command - please try this one:

python -c "import subprocess; print(subprocess.check_output('echo Sombre Clarté', shell=True).decode('utf-8'))"

Hopefully this works without an error, and we can update the installer to handle é.

from invokeai.

cmensah avatar cmensah commented on June 20, 2024

@cmensah I apologize, I had a typo in the second command - please try this one:

python -c "import subprocess; print(subprocess.check_output('echo Sombre Clarté', shell=True).decode('utf-8'))"

Hopefully this works without an error, and we can update the installer to handle é.


Microsoft Windows [version 10.0.19045.3693]
(c) Microsoft Corporation. Tous droits réservés.

C:\Users\Sombre Clarté>python -c "import subprocess; print(subprocess.check_output('echo Sombre Clarté', shell=True).decode('utf-8'))"
Traceback (most recent call last):
File "", line 1, in
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x82 in position 12: invalid start byte

C:\Users\Sombre Clarté>

this guy : 0x82 :)

from invokeai.

psychedelicious avatar psychedelicious commented on June 20, 2024

Oh boy, fun.

We have another related issue with an unexpected encoding here: https://discord.com/channels/1020123559063990373/1020123559831539744/1225085570032865291

In this case, the user (also with French characters) is getting an error when we attempt to read their config file into memory:

image

from invokeai.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.