Skip to content
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

Setting coin settings causes crash #19

Closed
eyecreate opened this issue Dec 3, 2013 · 23 comments
Closed

Setting coin settings causes crash #19

eyecreate opened this issue Dec 3, 2013 · 23 comments

Comments

@eyecreate
Copy link

Upon using 2.0.2, I get this error whenever I try to set pool settings. Unless I erase the settings folder, I no longer even get a main window when restarting. This only happens with my usb miner attched also.

System.InvalidOperationException: Sequence contains more than one matching element
at System.Linq.Enumerable.Single[DeviceConfiguration](IEnumerable1 source, System.Func2 predicate, Fallback fallback) [0x00000] in :0
at System.Linq.Enumerable.SingleOrDefault[DeviceConfiguration](IEnumerable1 source, System.Func2 predicate) [0x00000] in :0
at MultiMiner.Win.MainForm.LoadListViewValuesFromConfiguration () [0x00000] in :0
at MultiMiner.Win.MainForm.RefreshDevices () [0x00000] in :0
at MultiMiner.Win.MainForm.MainForm_Load (System.Object sender, System.EventArgs e) [0x00000] in :0

@nwoolls
Copy link
Owner

nwoolls commented Dec 3, 2013

What OS?

@eyecreate
Copy link
Author

Ubuntu

@nwoolls
Copy link
Owner

nwoolls commented Dec 3, 2013

What type of USB miner are you using?

@eyecreate
Copy link
Author

The Block Erupter USB aka icarus.

@nwoolls
Copy link
Owner

nwoolls commented Dec 4, 2013

Addressed in 99c483c - thanks

@nwoolls nwoolls closed this as completed Dec 4, 2013
@eyecreate
Copy link
Author

I seem to now have a new error. One possibility I'm guessing is it's matching by device name/type and I have to identical miners hooked up to my computer.
System.InvalidOperationException: Sequence contains more than one matching element
at System.Linq.Enumerable.Single[DeviceConfiguration](IEnumerable1 source, System.Func2 predicate, Fallback fallback) [0x00000] in :0
at System.Linq.Enumerable.SingleOrDefault[DeviceConfiguration](IEnumerable1 source, System.Func2 predicate) [0x00000] in :0
at MultiMiner.Win.MainForm.LoadListViewValuesFromConfiguration () [0x00000] in :0
at MultiMiner.Win.MainForm.RefreshDevices () [0x00000] in :0
at MultiMiner.Win.MainForm.MainForm_Load (System.Object sender, System.EventArgs e) [0x00000] in :0

@nwoolls
Copy link
Owner

nwoolls commented Dec 4, 2013

Can you send me the XML files in ~/.config/MultiMiner please?

@nwoolls nwoolls reopened this Dec 4, 2013
@nwoolls
Copy link
Owner

nwoolls commented Dec 4, 2013

Can you also show me the output of:

bfgminer -S erupter:all -d?

@holim
Copy link

holim commented Dec 4, 2013

Hey Nate,

I am at work at the moment.
I'll send it as soon as I get back home

On Thursday, December 5, 2013, Nate Woolls wrote:

Reopened #19 #19.


Reply to this email directly or view it on GitHubhttps://github.com//issues/19
.

@eyecreate
Copy link
Author

Here's bfgminer output. Note I'm currently running another instance of bfgminer in interm, so that's why it says in use.

 [2013-12-04 17:57:35] Started bfgminer 3.8.0                    
 [2013-12-04 17:57:35] /dev/ttyUSB1 is already in use by another process                    
 [2013-12-04 17:57:35] /dev/ttyUSB0 is already in use by another process                    
 [2013-12-04 17:57:35] Devices detected:                    
0 devices listed

Here is a link to the zip with the XML files. I edited the Coin settings to remove passwords.
http://cloud.eyecreate.org/public.php?service=files&t=d23aaba507137cc1fc517fd0839654dd

@nwoolls
Copy link
Owner

nwoolls commented Dec 4, 2013

I need the output without any devices being in-use please.

@nwoolls
Copy link
Owner

nwoolls commented Dec 4, 2013

Also note that the worker name and password cannot actually be used to login to anything.

@nwoolls
Copy link
Owner

nwoolls commented Dec 4, 2013

From looking at the XML file, it looks like bfgminer is going to report two different USB devices with duplicate (supposedly) unique serial numbers.

@eyecreate
Copy link
Author

Here's the output running alone.

 [2013-12-04 18:08:59] Started bfgminer 3.8.0                    
 [2013-12-04 18:08:59] Devices detected:                    
 [2013-12-04 18:08:59]  CP2102 USB to UART Bridge Controller by Silicon Labs (driver=erupter; procs=1; serial=0001; path=/dev/ttyUSB0)                    
 [2013-12-04 18:08:59]  CP2102 USB to UART Bridge Controller by Silicon Labs (driver=erupter; procs=1; serial=0001; path=/dev/ttyUSB1)                    
2 devices listed

@nwoolls
Copy link
Owner

nwoolls commented Dec 4, 2013

Yup that is the issue. Both of your devices are reporting the same serial number, even though these should be unique. Can you try this update:

https://www.dropbox.com/s/q5f8iul8wdwz9e5/MultiMiner-2.0.3.zip

@eyecreate
Copy link
Author

Now the main window comes up. The start button is greyed out for some reason, though.

@nwoolls
Copy link
Owner

nwoolls commented Dec 4, 2013

Can you show a screenshot? You'll need to configure coins and then select the devices, right-click and assign coins.

@eyecreate
Copy link
Author

I didn't see the coin assign was moved to right click. It's there now. A miner quibble is it seems to not show the second miner's hashrate.
http://i.imgur.com/q84IWC6.png

@nwoolls
Copy link
Owner

nwoolls commented Dec 4, 2013

I was actually just looking at that bug. I should have a fix for it soon.

@eyecreate
Copy link
Author

Alright, good to hear. The original bug is effectively squashed.

@nwoolls
Copy link
Owner

nwoolls commented Dec 4, 2013

Can you please re-download that zip file and see if that fixes the display issue?

@eyecreate
Copy link
Author

Yep, that's good now too.

@nwoolls
Copy link
Owner

nwoolls commented Dec 4, 2013

Glad to hear it - thanks again! d82d563

@nwoolls nwoolls closed this as completed Dec 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants