You are here: PSPad forum > Bug report / Hlášení chyb > Re: Padá při nahrazování textu

Re: Padá při nahrazování textu

#1 Padá při nahrazování textu

Posted by: sokl007 | Date: 08/02/2017 22:17 | IP: IP Logged

Exception description:

Cannot create file "C:\Program Files (x86)\PSPad editor\Recent.INI". Přístup byl odepřen.

Exception class: EFCreateError
Exception address: 004C1284
----------------------------------------------------------------------------------------------------
Stack list, generated 2. 8. 2017 22:07:04
[004C127F] System.Classes.TFileStream.Create + $BF
[00409E07] System.@ClassCreate + $7
[004C119C] System.Classes.TFileStream.Create + $20
[004BD575] System.Classes.TStrings.SaveToFile + $19
[00509333] System.IniFiles.TMemIniFile.UpdateFile + $43
[007B3152] uFindReplace.TfFindReplace.FormCloseQuery (Line 354, "uFindReplace.pas" + 13) + $4
[0062D621] Vcl.Forms.TCustomForm.CloseQuery + $55
[0062D653] Vcl.Forms.TCustomForm.CloseModal + $23
[0062DCE3] Vcl.Forms.TCustomForm.ShowModal + $1DB
[007B22DA] uFindReplace.ShowFindReplace (Line 112, "uFindReplace.pas" + 10) + $4
[0098551A] uMain.TfPSPad.aReplaceExecute (Line 6158, "uMain.pas" + 4) + $B
[00993644] uMain.TfPSPad.ActionListExecute (Line 11135, "uMain.pas" + 11) + $7
[0052CF8C] System.Actions.TContainedActionList.ExecuteAction + $70
[00409B56] System.@CallDynaInst + $6
[0052FD65] Vcl.ActnList.TCustomAction.Execute + $69
[004D24E7] System.Classes.TBasicActionLink.Execute + $13
[006486B7] Vcl.Menus.TMenuItem.Click + $93
[0064A353] Vcl.Menus.DoClick + $EF
[0064A43F] Vcl.Menus.TMenu.IsShortCut + $87
[0062E2D5] Vcl.Forms.TCustomForm.IsShortCut + $4D
[00409B56] System.@CallDynaInst + $6
[006326D6] Vcl.Forms.TApplication.IsShortCut + $4E
[00631C0A] Vcl.Forms.TApplication.WndProc + $482
[004D33E0] System.Classes.StdWndProc + $14
[0062E21F] Vcl.Forms.DispatchShortCut + $13
[0065782C] Vcl.Controls.SendAppMessage + $18
[00663AF9] Vcl.Controls.TWinControl.IsMenuKey + $7D
[00663B31] Vcl.Controls.TWinControl.CNKeyDown + $1D
[0065CB16] Vcl.Controls.TControl.WndProc + $2BE
[0051FA9B] Vcl.Graphics.FreeMemoryContexts + $9B
[00660C9C] Vcl.Controls.TWinControl.MainWndProc + $2C
[00660CB1] Vcl.Controls.TWinControl.MainWndProc + $41
[004D33E0] System.Classes.StdWndProc + $14
[0066167D] Vcl.Controls.TWinControl.WndProc + $5E9
[006EBA02] SynEdit.TCustomSynEdit.WndProc (Line 6344, "SynEdit.pas" + 22) + $4
[00660C9C] Vcl.Controls.TWinControl.MainWndProc + $2C
[004D33E0] System.Classes.StdWndProc + $14
[006325E0] Vcl.Forms.TApplication.IsKeyMsg + $84
[0063254B] Vcl.Forms.TApplication.IsMDIMsg + $3F
[0063288F] Vcl.Forms.TApplication.ProcessMessage + $CF
[006328F6] Vcl.Forms.TApplication.HandleMessage + $A
[00632C29] Vcl.Forms.TApplication.Run + $C9
[009BEA6E] PSPad.PSPad (Line 70, "PSPad.dpr" + 35) + $7
----------------------------------------------------------------------------------------------------
Program : C:\Program Files (x86)\PSPad editor\PSPad.exe 5.0.0 (235)
System : Windows 10 Home Edition x64, Version: 10.0, Build: 3AD7,
Processor: Intel, Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz, 2300 MHz MMX
Display : 1920x1080 pixels, 32 bpp
----------------------------------------------------------------------------------------------------
Active Controls Hierarchy:
TButton "bOK"
TfFindReplace "fFindReplace"
----------------------------------------------------------------------------------------------------

Options: Reply | Quote | Up ^


#2 Re: Padá při nahrazování textu

Posted by: vbr | Date: 08/03/2017 13:49 | IP: IP Logged

Zdravim,
vypada to, ze je PSPad nainstalovan v systemovem adresari:
C:\Program Files (x86)\ ...
kam ale nema pravo zapisovat data (v ramci uzivatelskeho, ne administratorskeho pristupu).

Zaroven je zrejme nastaven v rezimu "portable", kdy se snazi ukladat nastaveni apod. do vlastniho programoveho adresare (pri nahrazovani se uklada vyhledavany vyraz aj.).

Resenim by mohlo byt prekopirovani adresare PSPadu do bezneho ne systemoveho adresare a overit, ze se tam chyby neprojevuje.

Je mozne i nastavit viceuzivatelske uziti, kdy se data neukladaji do vlastniho adresare programu ale do osobnich slozek uctu.

Nastaveni: Integrace do systemu: [x] Viceuzivatelske prostredi

Aby se toto nastaveni mohlo ulozit, je treba predtim spustit PSPad s administratorskym opravnenim (z kontextoveho menu vyvolaneho pravym tlacitkem mysi nad ikonou pspad.exe: Spustit jako spravce).
Zdravim,
vbr

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2017 Jan Fiala
Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák