Post
Topic
Board Altcoin Discussion
Re: [XMR] Monero Client .NET - A GUI wallet made for Windows
by
Jojatekok
on 09/08/2014, 14:51:52 UTC
The first alpha version of the 0.39.0 releases introduce a new version of the settings file, which is located at '%LocalAppData%\Jojatekok\MoneroClient.Net\user.config'. Please delete it, or if you want to keep your settings while downgrading, just open it in a text editor, and change into . Also, don't forget to relocate softwareWallet="Resources\Software\rpcwallet.exe" into softwareWallet="Resources\Software\simplewallet.exe". Wink

As for your rpcwallet issue, I will look into it deeper as soon as I have access to my personal wallet at home, so I will be able to test things more toughly. It is weird that the password request box doesn't show up - some people said that it happens since v0.36.0. Do you have any problems with v0.38.1? If so, does v0.35.0 or even v0.36.0 work for you?
Thanks, this works. Maybe there should also be a path option for this available in the GUI?
Just tried 35 & 36, like 38.1, they seem to work fine. Only with 39 builds, password request doesn't show up.

The path for storing the settings should not be altered, as the current solution is what most of your PC programs use.


hi Jojatekok, (edit: its me the shoutout guy ^)

 i got the client up and running (3.81) and sync'd with a new wallet. then i quit.

now, when i run the client, it does start syncing after a minute or two, but the wallet does not load. stays in "initializing"

i have no other processes or applications running that are using the wallet.bin (that i know of)...
any ideas?

edit 2: i have shutdown/restarted... no effect.

the crash log shows shows:

Code:
Unable to connect to the remote server
   at System.Net.HttpWebRequest.GetResponse()
   at Jojatekok.MoneroAPI.Helper.GetResponseString(HttpWebRequest request)
   at Jojatekok.MoneroAPI.RpcManagers.RpcWebClient.HttpGetData[T](RpcPortType portType, String command)
   at Jojatekok.MoneroAPI.ProcessManagers.DaemonManager.HttpGetData[T](String command)
   at Jojatekok.MoneroAPI.ProcessManagers.DaemonManager.QueryNetworkInformation()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.TimerQueueTimer.CallCallback()
   at System.Threading.TimerQueueTimer.Fire()
   at System.Threading.TimerQueue.FireNextTimers()

The process cannot access the file 'WalletData\wallet.bin.keys' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
   at Jojatekok.MoneroGUI.Windows.BackupManagerWindow.RestoreWalletFromDirectory(String directoryToRestore)
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Jojatekok.MoneroGUI.Windows.BackupManagerWindow.d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Jojatekok.MoneroGUI.Windows.BackupManagerWindow.d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.b__4(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Window.ShowHelper(Object booleanBox)
   at System.Windows.Window.ShowDialog()
   at Jojatekok.MoneroGUI.Windows.MainWindow.DisplayDialog(Window window)
   at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
   at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
   at System.Windows.Input.CommandManager.TransferEvent(IInputElement newSource, ExecutedRoutedEventArgs e)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run()
   at Jojatekok.MoneroGUI.App.Main()

Unable to connect to the remote server
   at System.Net.HttpWebRequest.GetResponse()
   at Jojatekok.MoneroAPI.Helper.GetResponseString(HttpWebRequest request)
   at Jojatekok.MoneroAPI.RpcManagers.RpcWebClient.HttpGetData[T](RpcPortType portType, String command)
   at Jojatekok.MoneroAPI.ProcessManagers.DaemonManager.HttpGetData[T](String command)
   at Jojatekok.MoneroAPI.ProcessManagers.DaemonManager.QueryNetworkInformation()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.TimerQueueTimer.CallCallback()
   at System.Threading.TimerQueueTimer.Fire()
   at System.Threading.TimerQueue.FireNextTimers()

I'll be sure to check your case as soon as I get home. It seems that your daemon RPC cannot be used, it's probably because it conflicts with an application which already uses its port (which is - by default - 18081). In the file explorer, go to '%LocalAppData%\Jojatekok\MoneroClient.Net', and open 'user.config' with a text editor. You will see a line like this:

Code:

Quote
Try adjusting your daemon and wallet ports between 0 and 65535, until the software works. Wink



hey, so i changed the port numbers but no effect.  however, when i run the bitmonerod , it shows the port numbers are not being updated... so while the user.config file is changed, its not being updated when running everything again...

Please try deleting your application settings file, as described above.

i deleted the user.config file. it created a new file on next startup. this looks different than the previous version. there are no port numbers listed in the file anymore.

using the cmd line: C:\> netstat -a -b

it appears that the lsass.exe (Local Security Authentication Server) is using TCP port 18081 ...

edit: ran this line: netsh int ipv4 set dynamicport tcp start=10000 num=1000
to force the random port assignments to be >20000.
the wallet.bin still can't be loaded and stays in initializing.

running the bitmonerod .... i see

Code:
2014-Aug-09 10:27:23.412709 Module folder: C:\Program Files\monero-client-net-v0
.38.1-x64\Resources\Software\bitmonerod.exe
2014-Aug-09 10:27:23.416698 Initializing p2p server...
2014-Aug-09 10:27:23.427642 Binding on 0.0.0.0:18080
2014-Aug-09 10:27:23.430726 Net service binded on 0.0.0.0:18080
2014-Aug-09 10:27:23.431988 Attempting to add IGD port mapping.
2014-Aug-09 10:27:27.444946 No IGD was found.
2014-Aug-09 10:27:27.444946 P2p server initialized OK
2014-Aug-09 10:27:27.446994 Initializing cryptonote protocol...
2014-Aug-09 10:27:27.449202 Cryptonote protocol initialized OK
2014-Aug-09 10:27:27.451000 Initializing core rpc server...
2014-Aug-09 10:27:27.452318 Binding on 127.0.0.1:18081
2014-Aug-09 10:27:27.453024 Core rpc server initialized OK on port: 18081
2014-Aug-09 10:27:27.456393 Initializing core...
2014-Aug-09 10:27:27.461014 Loading blockchain...
2014-Aug-09 10:28:06.233748 Blockchain initialized. last block: 165952, d0.h0.m1
1.s55 time ago, current difficulty: 1308186462
2014-Aug-09 10:28:06.252720 Core initialized OK
2014-Aug-09 10:28:06.256679 Starting core rpc server...
2014-Aug-09 10:28:06.261819 Run net_service loop( 2 threads)...
2014-Aug-09 10:28:06.276680 [SRV_MAIN]Core rpc server started ok
2014-Aug-09 10:28:06.280876 [SRV_MAIN]Starting p2p net loop...
2014-Aug-09 10:28:06.289837 [SRV_MAIN]Run net_service loop( 10 threads)...
2014-Aug-09 10:28:07.290775 [P2P7]

Your daemon works just fine now, it still seems to be a port conflict for me. Adjusting the daemon and wallet ports should probably help you out. Wink