GithubHelp home page GithubHelp logo

Comments (5)

bugnano avatar bugnano commented on July 17, 2024

Ok, I see that even ls has trouble with that efi directory.

Can you paste me the full stack trace, the full error messages that show up when rnr crashes, please?

from rnr.

Alteus avatar Alteus commented on July 17, 2024

Sorry for the delay. My system was altered somewhat, so couldn't reproduce the issue.
RNR doesn't quits anymore on root directory.
But I had the error today on /mnt after a kernel update (without rebooting).
"raspiusb" is a nfs mount. After reboot everything is normal, until another kernel update arrives.
I know, I have to reboot after kernel updates, but RNR shouldn't just quit with errors.

ls: 'raspiusb' nem érhető el: Nincs ilyen eszköz
összesen 8
d????????? ? ? ? ? ? raspiusb
drwxr-x--- 1 zoli root 4096 ápr 16 07.53 seagate
drwxrwxr-x 1 zoli zoli 4096 máj 11 14.42 ssd-data

Traceback (most recent call last):
  File "/usr/bin/rnr", line 8, in <module>
    sys.exit(main())
  File "/usr/lib/python3.9/site-packages/rnr/__main__.py", line 1065, in main
    app.run()
  File "/usr/lib/python3.9/site-packages/rnr/__main__.py", line 246, in run
    self.loop.run()
  File "/usr/lib/python3.9/site-packages/urwid/main_loop.py", line 287, in run
    self._run()
  File "/usr/lib/python3.9/site-packages/urwid/main_loop.py", line 385, in _run
    self.event_loop.run()
  File "/usr/lib/python3.9/site-packages/urwid/main_loop.py", line 790, in run
    self._loop()
  File "/usr/lib/python3.9/site-packages/urwid/main_loop.py", line 827, in _loop
    self._watch_files[fd]()
  File "/usr/lib/python3.9/site-packages/urwid/raw_display.py", line 416, in <lambda>
    wrapper = lambda: self.parse_input(
  File "/usr/lib/python3.9/site-packages/urwid/raw_display.py", line 515, in parse_input
    callback(processed, processed_codes)
  File "/usr/lib/python3.9/site-packages/urwid/main_loop.py", line 412, in _update
    self.process_input(keys)
  File "/usr/lib/python3.9/site-packages/urwid/main_loop.py", line 513, in process_input
    k = self._topmost_widget.keypress(self.screen_size, k)
  File "/usr/lib/python3.9/site-packages/urwid/container.py", line 1626, in keypress
    key = self.focus.keypress(tsize, key)
  File "/usr/lib/python3.9/site-packages/urwid/container.py", line 2316, in keypress
    key = w.keypress((mc,) + size[1:], key)
  File "/usr/lib/python3.9/site-packages/urwid/container.py", line 1626, in keypress
    key = self.focus.keypress(tsize, key)
  File "/usr/lib/python3.9/site-packages/urwid/container.py", line 1626, in keypress
    key = self.focus.keypress(tsize, key)
  File "/usr/lib/python3.9/site-packages/urwid/container.py", line 2316, in keypress
    key = w.keypress((mc,) + size[1:], key)
  File "/usr/lib/python3.9/site-packages/rnr/panel.py", line 306, in keypress
    self.model.enter(self.model.walker.get_focus()[0].model)
  File "/usr/lib/python3.9/site-packages/rnr/panel.py", line 623, in enter
    self.chdir(file['file'])
  File "/usr/lib/python3.9/site-packages/rnr/panel.py", line 483, in chdir
    if self._reload(cwd, focus_path):
  File "/usr/lib/python3.9/site-packages/rnr/panel.py", line 540, in _reload
    files = get_file_list(cwd, count_directories=count_directories, unarchive_path=self.unarchive_path)
  File "/usr/lib/python3.9/site-packages/rnr/panel.py", line 192, in get_file_list
    length = len(list(file.iterdir()))
  File "/usr/lib/python3.9/pathlib.py", line 1150, in iterdir
    for name in self._accessor.listdir(self):
OSError: [Errno 19] Nincs ilyen eszköz: '/mnt/raspiusb'

from rnr.

bugnano avatar bugnano commented on July 17, 2024

Try version 1.0.6, it should fix this problem.

from rnr.

Alteus avatar Alteus commented on July 17, 2024

Tried to downgrade then upgrade my kernel, that didn't crash rnr on /mnt. I'm waiting now for a real kernel update to test and I'll give feedback.

from rnr.

Alteus avatar Alteus commented on July 17, 2024

Everything is ok after kernel update. Thank you!

from rnr.

Related Issues (8)

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.