First of all congratulations for the excellent work.
Problem
When I run the pls command in a folder like /etc or /dev I'm getting this error.
Traceback (most recent call last):
File "/home/aeagiraldelli/.local/bin/pls", line 8, in <module>
sys.exit(main())
File "/home/aeagiraldelli/.local/lib/python3.8/site-packages/pls/main.py", line 16, in main
nodes = read_input()
File "/home/aeagiraldelli/.local/lib/python3.8/site-packages/pls/fs/list.py", line 82, in read_input
all_nodes.sort(key=sort_key, reverse=args.sort == SortOrder.DESC)
File "/home/aeagiraldelli/.local/lib/python3.8/site-packages/pls/fs/list.py", line 31, in sort_key
prefix = "0" if node.node_type == NodeType.DIR else "1"
File "/usr/lib/python3.8/functools.py", line 967, in __get__
val = self.func(instance)
File "/home/aeagiraldelli/.local/lib/python3.8/site-packages/pls/models/node.py", line 93, in node_type
self.dest_node = Node(name=link_path, path=link)
TypeError: __init__() missing 1 required positional argument: 'state'
pipx list
venvs are in /home/aeagiraldelli/.local/pipx/venvs
apps are exposed on your $PATH at /home/aeagiraldelli/.local/bin
package glances 3.2.4.2, installed using Python 3.8.10
- glances
package pls 1.8.0, installed using Python 3.8.10
- pls
First of all congratulations for the excellent work.
Problem
When I run the
pls
command in a folder like/etc
or/dev
I'm getting this error.Steps to reproduce
open a terminal
Extra information
I'm using
I installed
pls
using pipx