Code Monkey home page Code Monkey logo

Comments (4)

v1k1ngfr avatar v1k1ngfr commented on July 22, 2024

Hi @nathan-rabet,
Could you try the workaround below ?
Workaround : #77

from arsenal.

nathan-rabet avatar nathan-rabet commented on July 22, 2024

Hi, it doesn't work.

$ sudo sysctl -w dev.tty.legacy_tiocsti=1
dev.tty.legacy_tiocsti = 1
                                                                                
$ a
Traceback (most recent call last):
  File "/usr/lib/python3.11/curses/__init__.py", line 94, in wrapper
    return func(stdscr, *args, **kwds)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/nathan/.local/lib/python3.11/site-packages/arsenal/modules/gui.py", line 319, in run
    wrapper(args_menu.run)
  File "/usr/lib/python3.11/curses/__init__.py", line 101, in wrapper
    endwin()
_curses.error: endwin() returned ERR

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nathan/.local/bin/arsenal", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/nathan/.local/lib/python3.11/site-packages/arsenal/app.py", line 185, in main
    App().run()
  File "/home/nathan/.local/lib/python3.11/site-packages/arsenal/app.py", line 64, in run
    self.start(args, cheatsheets)
  File "/home/nathan/.local/lib/python3.11/site-packages/arsenal/app.py", line 71, in start
    cmd = gui.run(cheatsheets)
          ^^^^^^^^^^^^^^^^^^^^
  File "/home/nathan/.local/lib/python3.11/site-packages/arsenal/modules/gui.py", line 827, in run
    wrapper(self.cheats_menu.run)
  File "/usr/lib/python3.11/curses/__init__.py", line 101, in wrapper
    endwin()
_curses.error: endwin() returned ERR

from arsenal.

nathan-rabet avatar nathan-rabet commented on July 22, 2024

Issue Resolution Update

I've discovered the cause of the bug related to the Arsenal package. There's a discrepancy between the versions of the package on PyPI and GitHub. Although both sources claim to be at version 1.1.1, their implementations diverge significantly.

Critical Issue

The PyPI version incorrectly uses the endwin() function. This issue has been fixed in the version of Arsenal available on GitHub.

Recommended Action

To ensure consistent functionality and avoid this bug, it's necessary to update the Arsenal package from PyPI to the latest corrected version on GitHub. This update is crucial for maintaining compatibility and project integrity.

Version Number Recommendation

It is strongly recommended that the GitHub version of the Arsenal package be updated to a new version number greater than 1.1.1. This change will help clearly differentiate the corrected version from the previous one, avoiding any potential confusion and ensuring that users are aware they're getting an updated (and less buggy) implementation.

from arsenal.

Mayfly277 avatar Mayfly277 commented on July 22, 2024

ok changed and push to pip : https://pypi.org/project/arsenal-cli/1.2.0/

from arsenal.

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.