Bitcoin Forum
August 21, 2018, 03:39:12 PM *
News: Latest stable version of Bitcoin Core: 0.16.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 [3] 4 5 »  All
  Print  
Author Topic: Antminer Monitor  (Read 3620 times)
imtnc
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
January 31, 2018, 09:15:07 PM
 #41

Hi there,

I tried runing the software and this is what i get? Undecided

0\app\__init__.py", line 1, in <module>
    from flask import Flask
ImportError: No module named flask

any idea?
1534865952
Hero Member
*
Offline Offline

Posts: 1534865952

View Profile Personal Message (Offline)

Ignore
1534865952
Reply with quote  #2

1534865952
Report to moderator
1534865952
Hero Member
*
Offline Offline

Posts: 1534865952

View Profile Personal Message (Offline)

Ignore
1534865952
Reply with quote  #2

1534865952
Report to moderator
BOUNTY PORTALS
BLOG
WHERE BOUNTY MANAGEMENT
MEETS AUTOMATION
SIGNATURE CAMPAIGNS
TWITTER
FACEBOOK
MEDIA CAMPAIGNS
AND MORE!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
imtnc
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
January 31, 2018, 09:36:22 PM
 #42

Code:
File "C:\Python27\lib\site-packages\flask\app.py", line 1997, in __call__
return [Suspicious link removed]gi_app(environ, start_response)
File "C:\Python27\lib\site-packages\flask\app.py", line 1985, in wsgi_app
response = self.handle_exception(e)
File "C:\Python27\lib\site-packages\flask\app.py", line 1540, in handle_exception
reraise(exc_type, exc_value, tb)
File "C:\Python27\lib\site-packages\flask\app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "C:\Python27\lib\site-packages\flask\app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\Python27\lib\site-packages\flask\app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "C:\Python27\lib\site-packages\flask\app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Python27\lib\site-packages\flask\app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "C:\Users\HP Server\Downloads\antminer-monitor-0.3.0\app\views\antminer.py", line 44, in miners
miners = Miner.query.all()
File "C:\Python27\lib\site-packages\sqlalchemy\orm\query.py", line 2726, in all
return list(self)
File "C:\Python27\lib\site-packages\sqlalchemy\orm\query.py", line 2878, in __iter__
return self._execute_and_instances(context)
File "C:\Python27\lib\site-packages\sqlalchemy\orm\query.py", line 2901, in _execute_and_instances
result = conn.execute(querycontext.statement, self._params)
File "C:\Python27\lib\site-packages\sqlalchemy\engine\base.py", line 948, in execute
return meth(self, multiparams, params)
File "C:\Python27\lib\site-packages\sqlalchemy\sql\elements.py", line 269, in _execute_on_connection
return connection._execute_clauseelement(self, multiparams, params)
File "C:\Python27\lib\site-packages\sqlalchemy\engine\base.py", line 1060, in _execute_clauseelement
compiled_sql, distilled_params
File "C:\Python27\lib\site-packages\sqlalchemy\engine\base.py", line 1200, in _execute_context
context)
File "C:\Python27\lib\site-packages\sqlalchemy\engine\base.py", line 1413, in _handle_dbapi_exception
exc_info
File "C:\Python27\lib\site-packages\sqlalchemy\util\compat.py", line 203, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "C:\Python27\lib\site-packages\sqlalchemy\engine\base.py", line 1193, in _execute_context
context)
File "C:\Python27\lib\site-packages\sqlalchemy\engine\default.py", line 507, in do_execute
cursor.execute(statement, parameters)
OperationalError: (sqlite3.OperationalError) no such table: miner [SQL: u'SELECT miner.id AS miner_id, miner.ip AS miner_ip, miner.model_id AS miner_model_id, miner.remarks AS miner_remarks \nFROM miner'] (Background on this error at: http://sqlalche.me/e/e3q8)

i did upgrade not sure whats goin on!
anselal
Jr. Member
*
Offline Offline

Activity: 64
Merit: 0


View Profile
January 31, 2018, 09:43:15 PM
 #43

Code:
File "C:\Python27\lib\site-packages\flask\app.py", line 1997, in __call__
return [Suspicious link removed]gi_app(environ, start_response)
File "C:\Python27\lib\site-packages\flask\app.py", line 1985, in wsgi_app
response = self.handle_exception(e)
File "C:\Python27\lib\site-packages\flask\app.py", line 1540, in handle_exception
reraise(exc_type, exc_value, tb)
File "C:\Python27\lib\site-packages\flask\app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "C:\Python27\lib\site-packages\flask\app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\Python27\lib\site-packages\flask\app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "C:\Python27\lib\site-packages\flask\app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Python27\lib\site-packages\flask\app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "C:\Users\HP Server\Downloads\antminer-monitor-0.3.0\app\views\antminer.py", line 44, in miners
miners = Miner.query.all()
File "C:\Python27\lib\site-packages\sqlalchemy\orm\query.py", line 2726, in all
return list(self)
File "C:\Python27\lib\site-packages\sqlalchemy\orm\query.py", line 2878, in __iter__
return self._execute_and_instances(context)
File "C:\Python27\lib\site-packages\sqlalchemy\orm\query.py", line 2901, in _execute_and_instances
result = conn.execute(querycontext.statement, self._params)
File "C:\Python27\lib\site-packages\sqlalchemy\engine\base.py", line 948, in execute
return meth(self, multiparams, params)
File "C:\Python27\lib\site-packages\sqlalchemy\sql\elements.py", line 269, in _execute_on_connection
return connection._execute_clauseelement(self, multiparams, params)
File "C:\Python27\lib\site-packages\sqlalchemy\engine\base.py", line 1060, in _execute_clauseelement
compiled_sql, distilled_params
File "C:\Python27\lib\site-packages\sqlalchemy\engine\base.py", line 1200, in _execute_context
context)
File "C:\Python27\lib\site-packages\sqlalchemy\engine\base.py", line 1413, in _handle_dbapi_exception
exc_info
File "C:\Python27\lib\site-packages\sqlalchemy\util\compat.py", line 203, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "C:\Python27\lib\site-packages\sqlalchemy\engine\base.py", line 1193, in _execute_context
context)
File "C:\Python27\lib\site-packages\sqlalchemy\engine\default.py", line 507, in do_execute
cursor.execute(statement, parameters)
OperationalError: (sqlite3.OperationalError) no such table: miner [SQL: u'SELECT miner.id AS miner_id, miner.ip AS miner_ip, miner.model_id AS miner_model_id, miner.remarks AS miner_remarks \nFROM miner'] (Background on this error at: http://sqlalche.me/e/e3q8)

i did upgrade not sure whats goin on!


Well, it seems that you run the update script on a new installation where the database didnt exist. Why did you do that?

Are you sure there is a database at all ?
imtnc
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
February 01, 2018, 10:36:25 PM
 #44

it refused to start
i tried to run the command stated in your previous post

what can be done here?
anselal
Jr. Member
*
Offline Offline

Activity: 64
Merit: 0


View Profile
February 02, 2018, 05:57:49 AM
 #45

it refused to start
i tried to run the command stated in your previous post

what can be done here?

Did you run 'python create_db.py' ?
anselal
Jr. Member
*
Offline Offline

Activity: 64
Merit: 0


View Profile
February 02, 2018, 10:31:43 AM
 #46

it is there

What do you mean by `it is there` ? Did you run it ? Please follow the instructions at https://github.com/anselal/antminer-monitor/blob/master/README.md or pm me so I can assist you
tatooedsn
Newbie
*
Offline Offline

Activity: 14
Merit: 5


View Profile
February 16, 2018, 08:00:26 PM
 #47

Anselal, nice software bud. If you could incorporate some sort of notification by email or sms/text of over temp or under hash speed conditions.. that would be a great tool to have in our pocket. Also, if the miners go above temp, what indication does the webpage show? Do the temps values show up in red, or does it just show a message in info section? I'll send you some bitcoins in a moment. Thanks for the work from you and your team.
anselal
Jr. Member
*
Offline Offline

Activity: 64
Merit: 0


View Profile
February 17, 2018, 02:34:39 PM
 #48

Anselal, nice software bud. If you could incorporate some sort of notification by email or sms/text of over temp or under hash speed conditions.. that would be a great tool to have in our pocket. Also, if the miners go above temp, what indication does the webpage show? Do the temps values show up in red, or does it just show a message in info section? I'll send you some bitcoins in a moment. Thanks for the work from you and your team.

Thank you for using AntminerMonitor and for the support, I really appreciate it and it keeps us going.

Email notifications are currently tested and we hope to be part of the next releases. We are currently trying to close some older issues.
In the next release we will probably see per miner settings, like temp warning/errors.
Currently the threshold is hardcoded for all miner and you get an in-app notification if the temp reaches 80 degrees Celsius, which actually raises an error and besides the notification the row of the miner turns red.

PS: I got your donation. Again, thank you very much !!!

If you want to stay updated you can follow us on twitter at https://twitter.com/AntminerMonitor
ralf007at
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
February 20, 2018, 11:20:34 AM
 #49

Hi there,

after i added a S9-14TH i only get Error-Messages:

Code:
ValueError
ValueError: max() arg is an empty sequence

Traceback (most recent call last)
File "C:\Python27\lib\site-packages\flask\app.py", line 1997, in __call__
return [Suspicious link removed]gi_app(environ, start_response)
File "C:\Python27\lib\site-packages\flask\app.py", line 1985, in wsgi_app
response = self.handle_exception(e)
File "C:\Python27\lib\site-packages\flask\app.py", line 1540, in handle_exception
reraise(exc_type, exc_value, tb)
File "C:\Python27\lib\site-packages\flask\app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "C:\Python27\lib\site-packages\flask\app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\Python27\lib\site-packages\flask\app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "C:\Python27\lib\site-packages\flask\app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Python27\lib\site-packages\flask\app.py", line 1598, in dispatch_request
        # request came with the OPTIONS method, reply automatically
        if getattr(rule, 'provide_automatic_options', False) \
           and req.method == 'OPTIONS':
            return self.make_default_options_response()
        # otherwise dispatch to the handler for that endpoint
        return self.view_functions[rule.endpoint](**req.view_args)
 
    def full_dispatch_request(self):
        """Dispatches the request and on top of that performs request
        pre and postprocessing as well as HTTP exception catching and
        error handling.
File "C:\Python27\app\views\antminer.py", line 138, in miners
if max(temps) >= 80:
ValueError: max() arg is an empty sequence
The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error.
To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side.

You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection:

dump() shows all variables in the frame
dump(obj) dumps all that's known about the object

do you have an idea?!

BR Ralf



(Moderator's note: This post was edited by frodocooper to add code tags.)
anselal
Jr. Member
*
Offline Offline

Activity: 64
Merit: 0


View Profile
February 20, 2018, 11:55:18 AM
 #50

...

Does the error fix after a refresh?  I think this is due that the app cannot retrieve the miner's temperatures for some reason. It turns out that sometimes it has to do with the socket timeout I have set (1 second).
I can tell that you are running an older version. I did some updates and moved some files around.
In your current version the file `pycgminer.py` should be located inside the `pycgminer` folder.
Please try to increase the timeout in the file `pycgminer.py` to eg. 3 seconds.

the line you should change is the following:

`sock.settimeout(1)`

just change it to:

`sock.settimeout(3)`

PS: In the latest versions the file `pycgminer.py` is moved inside the `lib` folder



(Moderator's note: This post was edited by frodocooper to trim the quote from ralf007at.)
ralf007at
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
February 20, 2018, 12:06:20 PM
 #51

Hi there,

i changed the file - but no success - for your additional information: i checked the miner in the cgminer interface - i don't see any temperature in this miner-type - can i delete the entry out of the database?

BR Ralf
anselal
Jr. Member
*
Offline Offline

Activity: 64
Merit: 0


View Profile
February 20, 2018, 12:22:14 PM
 #52

Hi there,

i changed the file - but no success - for your additional information: i checked the miner in the cgminer interface - i don't see any temperature in this miner-type - can i delete the entry out of the database?

BR Ralf

Can you please try to change the timeout to 5 seconds and be sure to restart the app after that. If this still doesn't fix your issue I will submit a patch immediately.
ralf007at
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
February 20, 2018, 12:53:22 PM
 #53

Hi there,

it didn't helped - sorry...

BR Ralf
anselal
Jr. Member
*
Offline Offline

Activity: 64
Merit: 0


View Profile
February 20, 2018, 01:10:41 PM
 #54

Hi there,

it didn't helped - sorry...

BR Ralf

I released a patch. Please update to the latest version following the instructions in the README file https://github.com/anselal/antminer-monitor/blob/master/README.md

Please be so kind and let me know if this fixed your issue
ralf007at
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
February 20, 2018, 01:27:02 PM
 #55

thank you - that worked!

BR Ralf
anselal
Jr. Member
*
Offline Offline

Activity: 64
Merit: 0


View Profile
February 20, 2018, 01:30:22 PM
 #56

thank you - that worked!

BR Ralf

I am glad it worked out for you
citronick
Legendary
*
Offline Offline

Activity: 1078
Merit: 1031


---- winter*juvia -----


View Profile
April 22, 2018, 12:41:25 AM
 #57

This is an interesting project.

Would adding a "search miner" and report writer function makes sense too?

If I provided you good and useful info or just bring a smile to your day, consider sending me merit points to further validate this Bitcointalk account ~ useful for future account recovery... BINANCE vs Huobi.Pro - Buy/Sell hash at Nicehash - Rent Rigs at MRR - SMOS -BBT/VOSK/AANTONOP/CBB/PM57/CryptoNEWS/CoinMktCap/Cryptoboreas
anselal
Jr. Member
*
Offline Offline

Activity: 64
Merit: 0


View Profile
April 22, 2018, 01:30:18 PM
 #58

This is an interesting project.

Would adding a "search miner" and report writer function makes sense too?

Thank you very much. Searching will be part in the next releases. What exactly do you want the report to include? Please open an issue on Github if you like so.
citronick
Legendary
*
Offline Offline

Activity: 1078
Merit: 1031


---- winter*juvia -----


View Profile
April 22, 2018, 01:47:23 PM
 #59

This is an interesting project.

Would adding a "search miner" and report writer function makes sense too?

Thank you very much. Searching will be part in the next releases. What exactly do you want the report to include? Please open an issue on Github if you like so.

Thanks for adding search function.

Example:
Search by worker name, pool name, miner type
>> output, IP address, Miner type/username/poolname/password/other details
Option to output to txt file.
The search function can double up as the Report writer - output to screen or text/log file.

If I provided you good and useful info or just bring a smile to your day, consider sending me merit points to further validate this Bitcointalk account ~ useful for future account recovery... BINANCE vs Huobi.Pro - Buy/Sell hash at Nicehash - Rent Rigs at MRR - SMOS -BBT/VOSK/AANTONOP/CBB/PM57/CryptoNEWS/CoinMktCap/Cryptoboreas
anselal
Jr. Member
*
Offline Offline

Activity: 64
Merit: 0


View Profile
April 30, 2018, 10:29:21 AM
 #60

Thank you for shearing the softwear with us but I will like to ask how to go about it as a beginner couse I am very much intrested. And I wan to thank you once again for giving us the platform ti invest the little we can to earn more

Thank you for using my software. The README file should cover all of your questions regarding installation and stuff https://github.com/anselal/antminer-monitor/blob/master/README.md
Pages: « 1 2 [3] 4 5 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!