Skip to content

files are shown as empty where they are not #64

@damnms

Description

@damnms

Description
i have a requirements.txt that is not empty and not modified (checked with git), but in netbeans it is shown as empty.
it looks like as if "someone" deleted the content, but as mentioned, that file is perfectly fine.
it seems like netbeans or the python plugin somehow identify them as binary, where they should be text/ascii.
i dont have those problems in pycharm, not sure if this is a netbeans bug or a netbeansPython problem.

Steps to reproduce the behavior:

  1. open a python project
  2. open the requirements.txt

Expected behavior
that all deps are listed as plain ascii

Screenshots
Bildschirmfoto_2023-09-11_08-35-29

Desktop (please complete the following information):

  • OS: Fedora 38
  • JDK Version 21
  • Netbeans Version: 19
  • Python Plugin Version: python-RELEASE190-1.4.nbm

Mandatory Logs
Add any other context about the problem here.
[e.g. Netbeans stacktrace/logs: (View-> IDE Log)]
[e.g. LSP Server logs ${netbeans_userdir}/.pythonlsp/lsp_log_file]
/!: (this log is cleaned at Netbeans exit)

(venv) [oli@fedora usermgmtautomation]$ ls -lah requirements.txt
-rw-r--r--. 1 oli oli 2,7K 11. Sep 08:33 requirements.txt
(venv) [oli@fedora usermgmtautomation]$ file requirements.txt
requirements.txt: Unicode text, UTF-16, little-endian text, with CRLF line terminators

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions