Post
Topic
Board Mining (Altcoins)
Re: MultiMiner Remoting & MobileMiner: Your rigs. Your coins. Your pools. Your way.
by
nwoolls
on 03/03/2014, 04:39:31 UTC
Looks as if it's getting a 404.

Code:
[2014-03-02 21:38:50]  Getting Data from CGMiner RPC API using port:4028
2014-03-02 21:38:50,887 WARNING Generic Exception: Traceback (most recent call last):
  File "/opt/CGMinerMobileAdapter/CGMinerMobileAdapter.py", line 104, in
    for item in data['DEVS']:
TypeError: string indices must be integers, not str

Looks to me like it cannot get a response back from the CGMiner RPC API. You need to configure your miner to enable API access and to allow API access from the IP where the Python script will run.

Try telneting into the IP & port of the CGMiner instance in BAMT. If you are unable to connect then the script is not going to work. See this thread for more info:

https://bitcointalk.org/index.php?topic=248173.msg5112607#msg5112607

And this one as well for tools you can use for testing:

https://bitcointalk.org/index.php?topic=248173.msg5230592#msg5230592