-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Boostrapper cant find .NET App specified in kcl.properties #28
Comments
I'm on Mac OS and have a similar issue. It fails with: Update: fixed it by putting the full path of SampleConsumer.dll in the executableName in kcl.properties |
Wow really, I tried with more of the partial path. I will try that full path later too |
Yeah putting in full path in kcl.properties did not fix it. I still get this The application to execute does not exist: 'C:\Users\sacha\Downloads\amazon-kinesis-client-net-master\amazon-kinesis-client-net-master\SampleConsumer\UserssachaDownloadsamazon-kinesis-client-net-masteramazon-kinesis-client-net-masterSampleConsumerbinDebug Anyone got any ideas of how to fix this, this is driving me crazy |
Ok finally got this to work, fiddled around a bit more, turns out the IAM user I was using also needed dynamoDB permission. Though path thing above was main issue |
For what it's worth, I think the issues in this thread are related to path problems for the bootstrap executableName. I'm running KCL on Windows 10 and ran into similar issues and thankfully wasn't stuck for long. You can use either an absolute or relative path in the kcl.properties file, these work for me:
I haven't checked this running on Linux, so it may need tweaked. |
So I am new to AWS Kinesis, and I have the sample basis producer working just fine with using my default profile which has my IAM user details in the store.
I can see that the producer send messages to the single stream shard. That's all good.
I downloaded the sample code from here and have done the following
The application to execute does not exist: 'C:\Users\sacha\Downloads\amazon-kinesis-client-net-master\amazon-kinesis-client-net-master\SampleConsumer\SampleConsumer.dll
Thing is this is the actual path to where the correct DLL lives (see the \bin\Debug\netcoreapp2.0 part of the path, that is standard .NET Core build path)
C:\Users\sacha\Downloads\amazon-kinesis-client-net-master\amazon-kinesis-client-net-master\SampleConsumer\bin\Debug\netcoreapp2.0\SampleConsumer.dll
SO what am I mean to change in order to get the boostrapper to recognize that the DLL is actually in the bin\Debug\netcoreapp2.0 folder.
Do I need to change the kcl.properties file?
Should I be changing the kcl.properties file line to this
executableName = dotnet \bin\Debug\netcoreapp2.0\SampleConsumer.dll
The producer is 100% fine.
This is the relevant stack trace
Anyone have any ideas?
The text was updated successfully, but these errors were encountered: