Errors on one certain server - too long filename perhaps?
See original GitHub issueHi,
One of my servers spits out an error. I’ve replaced the servername and username.
My first wild guess is that the path is too long and the application can’t handle that. But that’s just a wild guess on the first glance at the path. Do note that the broken lines is copied as-is from the output I got.
Traceback (most recent call last):
+ CategoryInfo : NotSpecified: (Traceback (most recent call last)::String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
+ PSComputerName : _<servername>_
Traceback (most recent call last):
+ CategoryInfo : NotSpecified: (Traceback (most recent call last)::String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
+ PSComputerName : _<servername>_
File "log4j-finder.py", line 298, in <module>
File "log4j-finder.py", line 298, in <module>
File "log4j-finder.py", line 264, in main
File "log4j-finder.py", line 264, in main
File "pathlib.py", line 1193, in open
File "pathlib.py", line 1193, in open
File "pathlib.py", line 1046, in _opener
File "pathlib.py", line 1046, in _opener
FileNotFoundError
FileNotFoundError
:
:
[Errno 2] No such file or directory: 'C:\\Documents and Settings\\_<username>_\\AppData\\Local\\Application Data\\Application
Data\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Application Data\\Appli
cation Data\\Temp\\tmphc250ssu\\org\\apache\\logging\\log4j\\core\\net\\JndiManager.class'
[Errno 2] No such file or directory: 'C:\\Documents and Settings\\_<username>_\\AppData\\Local\\Application Data\\Application Data\\Application Data\\Application Data\\App
lication Data\\Application Data\\Application Data\\Application Data\\Application Data\\Temp\\tmphc250ssu\\org\\apache\\logging\\log4j\\core\\net\\JndiManager.class'
NotSpecified: (:) [], RemoteException
NotSpecified: (:) [], RemoteException
[
[
3189
3189
7
7
2] Failed
2] Failed
NotSpecified: (:) [], RemoteException
NotSpecified: (:) [], RemoteException
to execute
to execute
NotSpecified: (:) [], RemoteException
NotSpecified: (:) [], RemoteException
script l
script l
o
o
g4j-finder
g4j-finder
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How To Fix 'Filename Is Too Long' Issue In Windows
It's obvious who the offender is in this case. Find the file in Windows Explorer, or File Explorer as it's called in Windows...
Read more >How To Fix Destination Path Too Long [2022] - YouTube
Fix Destination Path Too Long Error In Windows 10/8/7.If you've ever seen this issue, it was probably a simple fix for you.
Read more >The file name would be too long for the destination folder. You ...
This is the message: The file name would be too long for the destination folder. You can shorten the file name and try...
Read more >The filename or extension is too long? Here's a fix
The best way to fix The filename or extension is too long error is to rename the problematic directory or move the file...
Read more >Long File or Folder Names are a Problem - Oregon.gov
Long File or Folder Names are a Problem. By Lennie Torgerson. If a file's full path length is too long, you may not...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Since the 1.2.0 version the scan keeps running this time! Since it keeps running it’s no biggie for me anymore.
Error is the same.
Good to know! Will close this issue.