Giter VIP home page Giter VIP logo

Comments (5)

henryjac avatar henryjac commented on September 15, 2024 2

Sorry I didn't realise I had to accept the suggested changes. Have done so now

from befake.

NicoWeio avatar NicoWeio commented on September 15, 2024 1

No need to get so hacky. ;)
With my suggested change, #85 should fix this. You could checkout the PR's branch or apply the changes manually.

from befake.

NicoWeio avatar NicoWeio commented on September 15, 2024 1

Ah, I see you found my suggested change to the PR, which is required for its functioning. 😄
Sorry for being a little unclear: Checking out the PR alone won't make it work until my suggested change is incorporated into the PR.

from befake.

Dooominic avatar Dooominic commented on September 15, 2024

i fixed it by adding an exception in lib/python3.10/site-packages/click/utils.py line 299

instead of

file.write(out)  # type: ignore
file.flush()

change it to

    try:
        file.write(out)  # type: ignore

        file.flush()
    except AttributeError:
        pass

I also recommend you set up venv and alter the package in there instead.

from befake.

sanderDijkxhoorn avatar sanderDijkxhoorn commented on September 15, 2024

No need to get so hacky. ;)
With my suggested change, #85 should fix this. You could checkout the PR's branch or apply the changes manually.

I tried your PR too but I am getting this with anything you run.

Traceback (most recent call last):
  File "/root/BeReal/BeFake/befake.py", line 3, in <module>
    from BeFake.__main__ import cli
  File "/root/BeReal/BeFake/BeFake/__main__.py", line 134
    click.echo(f"saving memory {}".format(item.memory_day))
                                  ^
SyntaxError: f-string: empty expression not allowed

from befake.

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.