anselal / antminer-monitor

Cryptocurrency ASIC mining hardware monitor using a simple web interface
GNU General Public License v3.0
228 stars 145 forks source link

typeerror: enviroment can only contain strings #141

Closed saeedaminifarahani closed 4 years ago

saeedaminifarahani commented 5 years ago

hi when issue : python manage.py run -h 0.0.0.0 -p 5000 i get this message: typeerror enviroment can only contain strings

and quits. please help

anselal commented 5 years ago

Hi there. Try putting the host inside parentheses like "0.0.0.0"

saeedaminifarahani commented 5 years ago

Hiit does not work . I attached the entire error . Thanks saeed On Thursday, November 29, 2018, 6:46:33 PM GMT+3:30, Anastasios Selalmazidis notifications@github.com wrote:

Hi there. Try putting the host inside parentheses like "0.0.0.0"

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

anselal commented 5 years ago

You didn't attach anything here

saeedaminifarahani commented 5 years ago

sorry I attached it here. Best regards'Saeed On Thursday, November 29, 2018, 10:54:48 PM GMT+3:30, Anastasios Selalmazidis notifications@github.com wrote:

You didn't attach anything here

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

anselal commented 5 years ago

Sorry, I still don't see anything on github

saeedaminifarahani commented 5 years ago

I attached the error with this email.Shall I attach it elsewhere? Saeed

On Friday, November 30, 2018, 10:24:34 AM GMT+3:30, Anastasios Selalmazidis <notifications@github.com> wrote:  

Sorry, I still don't see anything on github

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

anselal commented 5 years ago

Please add it on this github issue https://github.com/anselal/antminer-monitor/issues/141 I don't see any attached image neither on the email or here

saeedaminifarahani commented 5 years ago

monitormaster error

anselal commented 5 years ago

Actually host 0.0.0.0 and port 5000 are the default options so you can omit them.

saeedaminifarahani commented 5 years ago

you mean i use this line: python manage.py run this gives me the same error regardsSaeed On Friday, November 30, 2018, 8:51:34 PM GMT+3:30, Anastasios Selalmazidis notifications@github.com wrote:

Actually host 0.0.0.0 and port 5000 are the default options so you can omit them.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.

saeedaminifarahani commented 5 years ago

I still have the same error:

typeerror: enviroment can only contain strings

any help?

anselal commented 4 years ago

A solution i found is to update python-dotenv cause it has some issues. You can do this with pip install -U python-dotenv

anselal commented 4 years ago

I close this issue due to inactivity. Feel free to reopen