# Can not open file "$STRT_REPLACES$"

• Hi

When I try to open a DUMP file chrome.DMP, notepad++ show me
Can not open file “$STRT_REPLACES$”
I couldn’t find any help about it.
Can someone explaine what it means and why I can’t open “chrome.DMP” file?

Ps.: “chrome.DMP” has 592 MB (621.383.540 bytes)

• Are you sure you gave the full and exact error message?

At first, given the “$STRT_REPLACE$” looking like an un-processed substitution variable, I thought it was a problem with whatever means you used to select and open the dump file. But when I tried notepad++ $STRT_REPLACE$, Notepad++ just asks if I want to create a new file.

Next, I googled for “can not open file” and Notepad++, and the hits that really have that full string implied that’s part of the error message that occurs when the file is too big.

I tried to replicate the file-too-big situation, by making a random file with 1Gb of data called chrome.dmp, and opened notepad++ chrome.dmp (my path includes my Notepad++ 7.5.4 32bit). It gave two dialog boxes. The first said “File is too big to be opened by Notepad++” and the second said “Can not open file “c:\path\to\chrome.dmp””. This agreed with my google results.

When I tried to open the same file with 7.5.4 64bit portable, it makes a valiant effort (doesn’t show the error), but I give up waiting for it after 2-3min (I was impatient, and wanted system memory back).

• Did you really have just the one dialog box, or did you have two (and forgot about or didn’t think to mention the first)?
• What is your Debug Info (navigate to Notepad++ ? menu, Debug Info, Copy debug info into clipboard, OK, paste into blank Notepad++ tab, Ctrl+A to select all, TAB to indent all, Ctrl+C to copy, paste in your post here)

For example:

Notepad++ v7.5.4   (32-bit)
Build time : Jan  1 2018 - 01:47:45
Admin mode : ON
Local Conf mode : OFF
OS : Windows 10 (64-bit)
Plugins : ComparePlugin.dll dbgpPlugin.dll DSpellCheck.dll MarkdownViewerPlusPlus.dll mimeTools.dll NppConverter.dll NppExec.dll NppExport.dll NppFTP.dll PluginManager.dll PreviewHTML.dll PythonScript.dll XMLTools.dll


My guess is you had two simultaneous problems:

1. Too big of a file for 32bit Notepad++. Notepad++ 64bit can theoretically open larger files, because it has more bits for addressing the various bytes in the file. But you may still be memory-limited by your system, and what other apps and memory usage are going on. You might want to try to download a 64bit Notepad++ (possibly the portable version), but I don’t guarantee that will solve it
2. I think might be using an version of Notepad++ which possibly has a bug in the error message (causing it to use $STRT_REPLACES$ instead of the name of the file. The debug info would allow someone to confirm whether that version has the same error message when loading a too-big file

@PeterJones said:

“File is too big to be opened by Notepad++”

Yes, this is the first message
“File is too big to be opened by Notepad++”
and the second was
Can not open file “$STRT_REPLACES$”
I’m using 32bit Notepad++ (full plugins support)

Notepad++ v7.5.6   (32-bit)
Build time : Mar 19 2018 - 00:26:59
Admin mode : OFF
Local Conf mode : OFF
OS : Windows 10 (64-bit)
Plugins : ComparePlugin.dll DSpellCheck.dll mimeTools.dll NppCalc.dll NppConverter.dll NppExport.dll NppFTP.dll NppTextFX.dll PluginManager.dll PythonScript.dll


See the screenshot that I took a few minutes ago.
screenshot
It could be a internal error from my OS :(

About my memory now see.

I will try Notepad++ 7.5.4 64bit
Tks

• I just confirmed: with 7.5.6 (32-bit) portable (zip package), when I try to open the file that’s too large, it gives $STRT_REPLACE$ instead of the name of the file. It’s a bug. I’ll go do a bug report…

• submitted github issue# 4354

• Same error.
Realised that 193 byte log file was open and linked through to MSAccess.
Error was raised because file was locked.
(This may only be a secondary effect)
Closed MSAccess, file opens.
Hope that helps!

• Per issue#4354, they have committed a fix to that error message box and closed the issue, so presumably in the next release, the error message will be correct.

Note: this will just fix it so the error message reads properly. Notepad++ 32-bit will still have a file size limit (both hard-limit, due to the 32-bit integers used internally, and a soft-limit based on the amount of memory available to the NPP process at any given time), so will still issue the pair of errors described above. And, presumably, NPP still won’t be able to open locked files.

• TAKE OWNERSHIP AS ADMINSTRATOR AND GIVE ADMINISTRATOR FULL PERMISSIONS.
“Can not open file “$STRT_REPLACES$”” MESSAGE WHEN TRYING TO OPEN FILE W/ NOTEPAD++ (SEE DEBUG INFO BELOW). THIS IS HOW I SOLVED IT.
YOUR MILEAGE MAY VARY.
I HAPPENED TO BE IN THE BUILT-IN ADMINSTRATOR ACCOUNT WHEN I GOT THE MESSAGE. FROM THE FILE’S PROPERTIES-SECURITY-ADVANCED-OWNER CHANGE OWNER TO ADMINISTRATOR. IT WOULD NOT LET ME CHANGE OWNER TO ME, THE CREATOR OF THE FILE EVEN THOUGH I HAVE ADMINISTRATIVE PRIVILEGES. YOU ALSO HAVE TO ADD ADMINISTRATOR TO PROPERTIES-SECURITY-GROUP AND GIVE ADMINISTRATOR FULL PRIVILEGES.

WINDOWS 10 PRO 64-BIT APRIL 2018 UPDATE Version 10.0.17134.48