Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1395 Dont' start, greenshot.ini access is denied

None
open
Robin Krom
Unknown (100)
fixed
5
2013-01-27
2012-11-26
Anonymous
No

Software version: 0.8.1.1392
.NET runtime version: v2.0.50727
Time: 2012-11-26 08:27:20 +01:00
OS: Windows 7 Ultimate Service Pack 1 x32 modus Version = 6.1.7601.65536
GDI object count: 4
User object count: 2
Exception: System.IO.IOException
Message: Il processo non può accedere al file 'C:\Users\Gino\AppData\Roaming\Greenshot\Greenshot.ini' perché è in uso da un altro processo.

Stack:
in System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
in 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)
in System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
in IniFile.IniReader.read(String path, Encoding encoding)
in IniFile.IniConfig.Read(String iniLocation)
in IniFile.IniConfig.Reload()
in IniFile.IniConfig.Init(String appName, String confName)
in IniFile.IniConfig.Init()
in Greenshot.MainForm.Start(String[] args)
in Greenshot.GreenshotMain.Main(String[] args)

Configuration dump:
[Core]
Language=
RegionHotkey=PrintScreen
WindowHotkey=Alt + PrintScreen
FullscreenHotkey=Ctrl + PrintScreen
LastregionHotkey=Shift + PrintScreen
IEHotkey=Shift + Ctrl + PrintScreen
IsFirstLaunch=True
Destinations=Editor
ClipboardFormats=PNG,HTML,DIB
CaptureMousepointer=True
CaptureWindowsInteractive=False
CaptureDelay=100
WindowCaptureMode=Auto
DWMBackgroundColor=White
PlayCameraSound=False
OutputFilePath=C:\Users\Gino\Desktop
OutputFileFilenamePattern=${capturetime}_${title}
OutputFileFormat=png
OutputFileReduceColors=False
OutputEMailFormat=OUTLOOK_HTML
OutputOutlookMethod=AlwaysNew
OutputFileCopyPathToClipboard=True
OutputFileAsFullpath=C:\Users\Gino\Desktop\dummy.png
OutputFileJpegQuality=80
OutputFilePromptJpegQuality=False
OutputFileIncrementingNumber=1
OutputPrintPromptOptions=True
OutputPrintAllowRotate=True
OutputPrintAllowEnlarge=True
OutputPrintAllowShrink=True
OutputPrintCenter=True
OutputPrintInverted=False
OutputPrintTimestamp=True
UseProxy=True
IECapture=True
IncludePlugins=
ExcludePlugins=
UpdateCheckInterval=1
LastUpdateCheck=
ThumnailPreview=True

Discussion

  • Robin Krom
    Robin Krom
    2012-11-26

    • assigned_to: nobody --> apex75
    • status: open --> open-fixed
     
  • Robin Krom
    Robin Krom
    2012-11-26

    Some application is having a hold on the configuration, this might be you with an editor or you might be trying to start Greenshot twice? There also was a bug in the 0.8.1 which you might be hitti here.

    My advice is to upgrade to Greenshot 1.0 and try again.

    I'll see if I can add something to our next release which will make the error less extreme and more clear, maybe even tell what process has locked the file.

     
  • Jens Klingen
    Jens Klingen
    2013-01-27

    • status: open-fixed --> open
    • resolution: --> fixed
    • milestone: -->