Comments (12)
Did you run it as Administrator? I haven't tested it but maybe registering a global hotkey requires Administrator (Snip requires to be run as Administrator anyway).
from snip.
I tried running with and without, both behave the same way. I also attempted to run in Compatibility mode for other versions of Windows, still same result.
from snip.
Added a catch for this in commit 62f9ba3. This will just provide a more detailed error that will help me figure out why it's failing to register the hotkey.
from snip.
I just tried 4.3.1.0. The crash was silent as it was previously.
I received the same error as above. The addition "Application Error" in the Event Viewer had the following:
Faulting application name: Snip.exe, version: 4.3.1.0, time stamp: 0x53b5d750
Faulting module name: KERNELBASE.dll, version: 6.2.9200.16451, time stamp: 0x50988aa6
Exception code: 0xe0434352
Fault offset: 0x000000000003811c
Faulting process id: 0x2230
Faulting application start time: 0x01cf99fb0902d0fd
Faulting application path: D:\Downloads\Snip\Snip.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 46d432b7-05ee-11e4-be82-bc5ff45b6705
Faulting package full name:
Faulting package-relative application ID:
from snip.
Can you try this for me and see if it says anything?
https://impas.se/projects/SnipTest.7z
from snip.
I get
Couldn't register the hotkey.
1409
It seems to keep running after that.
from snip.
1409 = ERROR_HOTKEY_ALREADY_REGISTERED
I guess something else you use has the hotkey registered already.
I'll have to see what I can do about this.
from snip.
I've prepared this for temporary use until I can add in the ability to customize hotkeys.
https://impas.se/projects/Snip-v4.4.0.1.7z
This will gracefully skip hotkeys that can't be registered because they are in use and fail for any other error.
from snip.
Well when you said it that way, it clicked as to what is causing the issue. I run AutoHotkey persistently, and I have a shortcut already mapped to Ctrl
+Alt
+M
.
Your fixed version runs correctly without throwing any messages. Thanks for your time on this!
from snip.
No problem. On the OBS forums there are a quite a few people that have a problem of Snip either crashing right away or not starting at all. I have a feeling this may be the cause of it. I wouldn't have found it without your help. Thanks.
from snip.
Thought I would mention that my Snip was crashing immediately with similar Event Viewer errors as the OP and running the alternative version provided a couple of posts up works fine, so I may also be experiencing the hotkey issue even with the latest version.
from snip.
Never mind. It worked the first time I launched it but wasn't writing the text file so I restarted it and now it crashes in the same manner as the latest version. Not sure what to do. For reference, the Event Viewer logs for 5.3.1.0 are below.
Application: Snip.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Resources.MissingManifestResourceException
at System.Resources.FileBasedResourceGroveler.GrovelForResourceSet(System.Globalization.CultureInfo, System.Collections.Generic.Dictionary`2<System.String,System.Resources.ResourceSet>, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)
at System.Resources.ResourceManager.InternalGetResourceSet(System.Globalization.CultureInfo, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)
at System.Resources.ResourceManager.InternalGetResourceSet(System.Globalization.CultureInfo, Boolean, Boolean)
at System.Resources.ResourceManager.GetString(System.String, System.Globalization.CultureInfo)
at System.Resources.ResourceManager.GetString(System.String)
at Winter.Snip..ctor()
at Winter.Program.Main()
Faulting application name: Snip.exe, version: 5.3.1.0, time stamp: 0x56fc993b
Faulting module name: KERNELBASE.dll, version: 10.0.10586.306, time stamp: 0x571afb9a
Exception code: 0xe0434352
Fault offset: 0x000bdae8
Faulting process id: 0x1570
Faulting application start time: 0x01d1af8f50fb9edb
Faulting application path: C:\Users\...\Desktop\Snip.exe
Faulting module path: C:\WINDOWS\SYSTEM32\KERNELBASE.dll
Report Id: 70c6271b-24b0-43cc-bd3c-ae9def23e63f
Faulting package full name:
Faulting package-relative application ID:
from snip.
Related Issues (20)
- Files don't empty when Spotify app on phone chrash or closes without hitting stop/pause HOT 2
- Windows 11 HOT 5
- Duplicates after resuming
- Add Sptify and iTunes logo HOT 1
- Snip not acting as usual
- Windows 11 (2) HOT 3
- 6944341 not resolving the problem of "No title playing" in Snip.txt
- Exposed Spotify client secret HOT 2
- Snip is updating files in middle of songs so if its in some source it makes them dissapear for few seconds HOT 17
- Album Cover and song title glitch HOT 1
- Snip doesn't retrieve album artwork from Apple Music HOT 1
- Snip v8 is very inconsistent when detecting song changes compared to v7 HOT 2
- Hotkeys not working. HOT 1
- Websocket connection
- macOS Version?
- Add Space HOT 1
- Album art wiping on no playing
- No info updates if only Album changes HOT 1
- Nothing Happens HOT 1
- How do I even delete the entire zip file after it's been unzipped on my Windows 10? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snip.