Author

Topic: MultiMiner: Any Miner, Any Where, on Any Device (Free, Open Source, Cross Platform) - page 145. (Read 827340 times)

hero member
Activity: 504
Merit: 500
Damn, after fiddling with things, I realized that's what it was, but shouldn't MultiMiner easily be able to re-generate that XML file without crashing with an unhandled error?
hero member
Activity: 840
Merit: 1002
My main miner is completely down right now, because I can't run it.

Code:
************** Exception Text **************
System.InvalidOperationException: There is an error in XML document (0, 0). ---> System.Xml.XmlException: Root element is missing.
...
   at MultiMiner.Win.MainForm.LoadKnownCoinsFromFile() in d:\Data\Visual Studio Projects\Personal\MultiMiner\MultiMiner.Win\MainForm.cs:line 1575


It's your KnownCoinsCache.xml file. Close MultiMiner, open up %appdata%\MultiMiner and delete your KnownCoinsCache.xml (I'd guess its 0 bytes). Relaunch MultiMiner and that should clear it up.
hero member
Activity: 504
Merit: 500
Major error: Something wrong with my xml configs, but I can't tell which one, and I don't know enough about xml syntax to debug it myself. Computer crashed while editing coin configs, but when I click continue on this error, all my settings EXCEPT coin config are missing.

There is an error in XML Document (0,0).

My main miner is completely down right now, because I can't run it.

Code:
************** Exception Text **************
System.InvalidOperationException: There is an error in XML document (0, 0). ---> System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlReader.MoveToContent()
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderList1.Read4_ArrayOfCryptoCoin()
   --- End of inner exception stack trace ---
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)
   at MultiMiner.Utility.ConfigurationReaderWriter.ReadConfiguration[T](String fileName) in d:\Data\Visual Studio Projects\Personal\MultiMiner\MultiMiner.Utility\ConfigurationReaderWriter.cs:line 15
   at MultiMiner.Win.MainForm.LoadKnownCoinsFromFile() in d:\Data\Visual Studio Projects\Personal\MultiMiner\MultiMiner.Win\MainForm.cs:line 1575
   at MultiMiner.Win.MainForm.RefreshCoinStats() in d:\Data\Visual Studio Projects\Personal\MultiMiner\MultiMiner.Win\MainForm.cs:line 1438
   at MultiMiner.Win.MainForm.MainForm_Load(Object sender, EventArgs e) in d:\Data\Visual Studio Projects\Personal\MultiMiner\MultiMiner.Win\MainForm.cs:line 129
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5472 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
MultiMiner.Win
    Assembly Version: 1.3.42.0
    Win32 Version: 1.3.42
    CodeBase: file:///C:/Mining/MultiMiner/MultiMiner.Win.exe
----------------------------------------
MultiMiner.Utility
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Mining/MultiMiner/MultiMiner.Utility.DLL
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
MultiMiner.Engine
    Assembly Version: 1.3.42.0
    Win32 Version: 1.3.42
    CodeBase: file:///C:/Mining/MultiMiner/MultiMiner.Engine.DLL
----------------------------------------
MultiMiner.Xgminer
    Assembly Version: 1.3.42.0
    Win32 Version: 1.3.42
    CodeBase: file:///C:/Mining/MultiMiner/MultiMiner.Xgminer.DLL
----------------------------------------
MultiMiner.Coinchoose.Api
    Assembly Version: 1.3.42.0
    Win32 Version: 1.3.42
    CodeBase: file:///C:/Mining/MultiMiner/MultiMiner.Coinchoose.Api.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5476 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Core
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.5420 built by: Win7SP1
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5476 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
dlytkir2
    Assembly Version: 1.3.42.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
i3ez7wiy
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
rgdsxr9_
    Assembly Version: 1.3.42.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
rialshve
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:


    


When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
full member
Activity: 208
Merit: 100
A new prerelease update is now available. This update addresses the following issues:

  • Fixed the wrong number of accepted shares reported in the History window when using both ASICs and GPUs along with bfgminer 3.3.0
  • Fixed no entry being logged in the History window when a process is restarted for being sick/dead/frozen/etc.
  • Fixed the wrong device numbers being displayed on the History window when using both ASICs and GPUs along with bfgminer 3.3.0
  • Fixed a "Sequence contains more than one matching element" error refreshing devices after hot-plugging hardware

Thanks!
hero member
Activity: 840
Merit: 1002
A new prerelease update is now available. This update addresses the following issues:

  • Fixed the wrong number of accepted shares reported in the History window when using both ASICs and GPUs along with bfgminer 3.3.0
  • Fixed no entry being logged in the History window when a process is restarted for being sick/dead/frozen/etc.
  • Fixed the wrong device numbers being displayed on the History window when using both ASICs and GPUs along with bfgminer 3.3.0
  • Fixed a "Sequence contains more than one matching element" error refreshing devices after hot-plugging hardware
newbie
Activity: 43
Merit: 0
I've made a simple test case:
http://luke.dashjr.org/tmp/code/setlocale.exe
If you run it with no arguments, it should always print "1.234"
If you run it with 2 arguments (eg, setlocale 1 2), it should print "1,234" in your non-english locale.
If you run it with 1 argument (eg, setlocale 1), it should always print "1.234"

Please let me know what you get...

I have done your little test and the results are exactly as you predicted. 1.234, 1,234 and 1.234 respectively.
Please see if http://luke.dashjr.org/tmp/code/webisect/webisect.php?dobuild=localetest fixes this problem.

Yes. I tried both files and now the win32 is displaying the scrypt hashrate correctly in Multiminer just like the win64. Nice work.
legendary
Activity: 2576
Merit: 1186
I've made a simple test case:
http://luke.dashjr.org/tmp/code/setlocale.exe
If you run it with no arguments, it should always print "1.234"
If you run it with 2 arguments (eg, setlocale 1 2), it should print "1,234" in your non-english locale.
If you run it with 1 argument (eg, setlocale 1), it should always print "1.234"

Please let me know what you get...

I have done your little test and the results are exactly as you predicted. 1.234, 1,234 and 1.234 respectively.
Please see if http://luke.dashjr.org/tmp/code/webisect/webisect.php?dobuild=localetest fixes this problem.
hero member
Activity: 840
Merit: 1002
thx this was it...
after upgrade of Ubuntu mono was not complete

Awesome - glad you got it working and thanks for confirming the steps! Happy mining  Grin
legendary
Activity: 2955
Merit: 1049
Code:
sudo apt get install mono-complete
thx this was it...
after upgrade of Ubuntu mono was not complete
hero member
Activity: 840
Merit: 1002
Any issues will be written to the terminal.
Code:
mono MultiMiner.Win.exe
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `/usr/lib/mono/2.0/mscorlib.dll' directory.

Please follow the instructions in the documentation for running MultiMiner under Linux:

Quote
Linux Installation (Debian-Based)

  • Install the latest version of Mono

Code:
sudo apt get install mono-complete

  • Install your chosen mining engine

Code:
sudo add-apt-repository ppa:unit3/bfgminer
sudo apt-get update
sudo apt-get install bfgminer

  • Download and extract the .zip file at the above Downloads link
  • Run MultiMiner.Win.exe using mono:

Code:
mono MultiMiner.Win.exe
legendary
Activity: 2955
Merit: 1049
Any issues will be written to the terminal.
Code:
mono MultiMiner.Win.exe
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `/usr/lib/mono/2.0/mscorlib.dll' directory.
hero member
Activity: 840
Merit: 1002
where is the log, because nothing is seen (have the debug version)?

Run MultiMiner from the terminal:

Code:
mono MultiMiner.Win.exe

Any issues will be written to the terminal.
legendary
Activity: 2955
Merit: 1049
Please provide the full output received in the terminal when launching the app with the mono command - thanks!
where is the log, because nothing is seen (have the debug version)?
hero member
Activity: 840
Merit: 1002
I noticed that when the miners are restarted because of the 'Subpar hashrate' it is not logged into the History tab and thus cannot keep an eye on the correct shares when compared to pools...

Just realized it now... Maybe you can fix it?

I'll look into it - thanks.
full member
Activity: 208
Merit: 100
Hi nwoolls,

I noticed that when the miners are restarted because of the 'Subpar hashrate' it is not logged into the History tab and thus cannot keep an eye on the correct shares when compared to pools...

Just realized it now... Maybe you can fix it?

Thanks.
hero member
Activity: 840
Merit: 1002
    does not start at Ubuntu 13.10 (short terminal and over..)[/list]

    Please provide the full output received in the terminal when launching the app with the mono command - thanks!
    legendary
    Activity: 2955
    Merit: 1049
    A new prerelease of MultiMiner is now available with the following changes:

      Let me know if you run into any issues. I am working on getting things stable for a 1.4 release (which should also include support for some new hardware).
    does not start at Ubuntu 13.10 (short terminal and over..)[/list]
    member
    Activity: 109
    Merit: 10
    rlhead: That would probably be easier for the Coinchoose admin to implement than it would for an independent coder like nwoolls. I believe that would be a great metric to see on coinchoose, anyway!

    Now that I think about it more, I would have to agree.
    hero member
    Activity: 840
    Merit: 1002
    Just realized in the iPad version of mobile miner, it says "Retart" instead of "restart"

    Made me laugh and wonder why I didn't notice before

    LOL made me laugh just reading it. I'll fix that. Thanks!  Grin
    hero member
    Activity: 504
    Merit: 500
    Just realized in the iPad version of mobile miner, it says "Retart" instead of "restart"

    Made me laugh and wonder why I didn't notice before
    Jump to: