bug a l'execution

Description

Software version: 1.2.8.12-RELEASE-cab854b7229994fc9e4deaccd47885df500d7e1a (64 bit)
.NET runtime version: 4.0.30319.42000+
Time: 2020-01-30 13:36:39 +01:00
OS: Windows 10 (x64) 10.0 build 17763 revision 0
GDI object count: 0
User object count: 2

Exception: System.IO.IOException
Message: Le processus ne peut pas accéder au fichier 'C:\LiberKey\Apps\Greenshot\App\Greenshot\Greenshot-defaults.ini', car il est en cours d'utilisation par un autre processus.

Stack:
à System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
à System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
à System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
à Greenshot.IniFile.IniReader.read(String path, Encoding encoding)
à Greenshot.IniFile.IniConfig.Read(String iniLocation)
à Greenshot.IniFile.IniConfig.Reload()
à Greenshot.IniFile.IniConfig.Init()
à Greenshot.MainForm.Start(String[] args)
à Greenshot.GreenshotMain.Main(String[] args)

Configuration dump:

Environment

None

Activity

Show:
Jens Klingen
February 9, 2020 at 4:23 PM

Looks as if Greenshot could not load one of its configuration files, because it was used by another process - so maybe the file was opened in a text editor, or by an administrative process. Does the problem still occur after closing all other programs and/or rebooting the system? If yes, you should find out the process keeping the configuration file locked.

Details

Assignee

Reporter

Priority

Created January 30, 2020 at 12:40 PM
Updated February 9, 2020 at 4:23 PM