Coder Social home page Coder Social logo

Comments (7)

whiteraven8 avatar whiteraven8 commented on June 11, 2024 1

from namizun.

The-Binary-0-1 avatar The-Binary-0-1 commented on June 11, 2024

اینجا فورک زدم مشکلش رو حل کردم. از اینجا میتونی نصب کنی
https://github.com/The-Binary-0-1/namizun

from namizun.

whiteraven8 avatar whiteraven8 commented on June 11, 2024

from namizun.

hatinati2 avatar hatinati2 commented on June 11, 2024

اینجا فورک زدم مشکلش رو حل کردم. از اینجا میتونی نصب کنی
https://github.com/The-Binary-0-1/namizun

این اررور چیکارش کنم

Exception in thread Thread-2 (menu):
Traceback (most recent call last):
File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/connection.py", line 611, in connect
sock = self.retry.call_with_retry(
File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
return do()
File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/connection.py", line 612, in
lambda: self._connect(), lambda error: self.disconnect(error)
File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/connection.py", line 645, in _connect
for res in socket.getaddrinfo(
File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 953, in run
Exception in thread Thread-1 (system_usage):)
Traceback (most recent call last):enu/main_menu.py", line 18, in menu
File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/connection.py", line 611, in connect
sock = self.retry.call_with_retry(database.py", line 83, in set_parameter
File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
return do()w/namizun/venv/lib/python3.10/site-packages/redis/commands/core.py", line 2220, in set
File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/connection.py", line 612, in
lambda: self._connect(), lambda error: self.disconnect(error)client.py", line 1235, in execute_command
File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/connection.py", line 645, in _connect
for res in socket.getaddrinfo(python3.10/site-packages/redis/connection.py", line 1387, in get_connection
File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):.py", line 617, in connect
socket.gaierror: [Errno -2] Name or service not known
redis.exceptions.ConnectionError: Error -2 connecting to localhost:6379. Name or service not known.
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/var/www/namizun/namizun_menu/monitor.py", line 59, in system_usage
old_bytes_sent, old_bytes_recv = network.get_network_io()
File "/var/www/namizun/namizun_core/network.py", line 18, in get_network_io
return io.bytes_sent + database.get_parameter('upload_amount_synchronizer')
File "/var/www/namizun/namizun_core/database.py", line 72, in get_parameter
data = my_db.get(prefix + key)
File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/commands/core.py", line 1705, in get
return self.execute_command("GET", name)
File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/client.py", line 1235, in execute_command
conn = self.connection or pool.get_connection(command_name, **options)

from namizun.

The-Binary-0-1 avatar The-Binary-0-1 commented on June 11, 2024

اینجا فورک زدم مشکلش رو حل کردم. از اینجا میتونی نصب کنی
https://github.com/The-Binary-0-1/namizun

این اررور چیکارش کنم

Exception in thread Thread-2 (menu): Traceback (most recent call last): File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/connection.py", line 611, in connect sock = self.retry.call_with_retry( File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry return do() File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/connection.py", line 612, in lambda: self._connect(), lambda error: self.disconnect(error) File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/connection.py", line 645, in _connect for res in socket.getaddrinfo( File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/usr/lib/python3.10/threading.py", line 953, in run Exception in thread Thread-1 (system_usage):) Traceback (most recent call last):enu/main_menu.py", line 18, in menu File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/connection.py", line 611, in connect sock = self.retry.call_with_retry(database.py", line 83, in set_parameter File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry return do()w/namizun/venv/lib/python3.10/site-packages/redis/commands/core.py", line 2220, in set File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/connection.py", line 612, in lambda: self._connect(), lambda error: self.disconnect(error)client.py", line 1235, in execute_command File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/connection.py", line 645, in _connect for res in socket.getaddrinfo(python3.10/site-packages/redis/connection.py", line 1387, in get_connection File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags):.py", line 617, in connect socket.gaierror: [Errno -2] Name or service not known redis.exceptions.ConnectionError: Error -2 connecting to localhost:6379. Name or service not known. During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/usr/lib/python3.10/threading.py", line 953, in run self._target(*self._args, **self._kwargs) File "/var/www/namizun/namizun_menu/monitor.py", line 59, in system_usage old_bytes_sent, old_bytes_recv = network.get_network_io() File "/var/www/namizun/namizun_core/network.py", line 18, in get_network_io return io.bytes_sent + database.get_parameter('upload_amount_synchronizer') File "/var/www/namizun/namizun_core/database.py", line 72, in get_parameter data = my_db.get(prefix + key) File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/commands/core.py", line 1705, in get return self.execute_command("GET", name) File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/client.py", line 1235, in execute_command conn = self.connection or pool.get_connection(command_name, **options)

با این دستورات پاک کن اسکریپت رو. مراحل نصب دستی رو یکی یکی انجام بده. البته نصب رو از طریق لینکی که گذاشتم پیش ببر.
rm -r /var/www/namizun/
rm /etc/systemd/system/namizun.service
rm /usr/local/bin/namizun
sudo systemctl daemon-reload

from namizun.

hatinati2 avatar hatinati2 commented on June 11, 2024

با این دستورات پاک کن اسکریپت رو. مراحل نصب دستی رو یکی یکی انجام بده. البته نصب رو از طریق لینکی که گذاشتم پیش ببر.
rm -r /var/www/namizun/
rm /etc/systemd/system/namizun.service
rm /usr/local/bin/namizun
sudo systemctl daemon-reload

سلام مرسي ممنونم
تست مي كنم اطلاع مي دم

from namizun.

hatinati2 avatar hatinati2 commented on June 11, 2024

دوباره همين اررور زير مياد وقتي دستور namizun زده ميشه

Exception in thread Thread-2 (menu):
Traceback (most recent call last):
File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/connection.py", line 611, in connect
sock = self.retry.call_with_retry(
File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
return do()
File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/connection.py", line 612, in
lambda: self._connect(), lambda error: self.disconnect(error)
File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/connection.py", line 645, in _connect
for res in socket.getaddrinfo(
File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 953, in run
Exception in thread Thread-1 (system_usage):)
Traceback (most recent call last):enu/main_menu.py", line 18, in menu
File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/connection.py", line 611, in connect
sock = self.retry.call_with_retry(database.py", line 83, in set_parameter
File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/retry.py", line 46, in call_with_retry
return do()w/namizun/venv/lib/python3.10/site-packages/redis/commands/core.py", line 2220, in set
File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/connection.py", line 612, in
lambda: self._connect(), lambda error: self.disconnect(error)client.py", line 1235, in execute_command
File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/connection.py", line 645, in _connect
for res in socket.getaddrinfo(python3.10/site-packages/redis/connection.py", line 1387, in get_connection
File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):.py", line 617, in connect
socket.gaierror: [Errno -2] Name or service not known
redis.exceptions.ConnectionError: Error -2 connecting to localhost:6379. Name or service not known.
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/var/www/namizun/namizun_menu/monitor.py", line 59, in system_usage
old_bytes_sent, old_bytes_recv = network.get_network_io()
File "/var/www/namizun/namizun_core/network.py", line 18, in get_network_io
return io.bytes_sent + database.get_parameter('upload_amount_synchronizer')
File "/var/www/namizun/namizun_core/database.py", line 72, in get_parameter
data = my_db.get(prefix + key)
File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/commands/core.py", line 1705, in get
return self.execute_command("GET", name)
File "/var/www/namizun/venv/lib/python3.10/site-packages/redis/client.py", line 1235, in execute_command
conn = self.connection or pool.get_connection(command_name, **options)

from namizun.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.