Git Product home page Git Product logo

Comments (7)

MatteoCampinoti94 avatar MatteoCampinoti94 commented on June 27, 2024

That is very weird, it's working without problems on my machine. What shell are you using?

Try wrapping the two --cookie arguments in quotes (i.e., --cookie "a" "abcd-1234-efgh"). It may be the shell messing with the arguments because there are dashes in them, though it seems unlikely.

PS: the FALOCALREPO_DEBUG flag was disabled with version 4, the log is printed automatically for every exception that isn't related to argument parsing because that is handled by click, or it should be at least.

from falocalrepo.

Crossoverfan96 avatar Crossoverfan96 commented on June 27, 2024

I'm using bash on debian

from falocalrepo.

Crossoverfan96 avatar Crossoverfan96 commented on June 27, 2024

I tried putting the arguments in quotes with no result
Screenshot 2022-06-10 1 51 28 AM
t

from falocalrepo.

MatteoCampinoti94 avatar MatteoCampinoti94 commented on June 27, 2024

I really have no clue what the problem could be.

In the meantime, you can run the program from a Python interpreter:

from falocalrepo.console import app

app.main(["config", "cookies", "--cookie", "a", "abcd-1234-efgh", "--cookie", "b", "abcd-1234-efgh"], standalone_mode=False)

Or:

from falocalrepo.console import app

app.main("config cookies --cookie a abcd-1234-efgh --cookie b abcd-1234-efgh".split(" "), standalone_mode=False)

The standalone_mode argument makes sure it won't close the Python interpreter.

from falocalrepo.

MatteoCampinoti94 avatar MatteoCampinoti94 commented on June 27, 2024

Just as an experiment, could you try running this short script as a Python file with the exact same arguments you were using for falocalrepo?

from sys import argv

print(argv)

Just to make sure that the argument array is correct since click uses it in background.

from falocalrepo.

MatteoCampinoti94 avatar MatteoCampinoti94 commented on June 27, 2024

Hey, did running the program in the interpreter work? And the argv test? :)

from falocalrepo.

MatteoCampinoti94 avatar MatteoCampinoti94 commented on June 27, 2024

I'm closing this issues has there has been no update and the error could not be reproduced.

If there is any new information, add a comment and I will investigate it further :)

from falocalrepo.

Related Issues (12)

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.