malkemit / namizun

Asymmetric upload and download
https://t.me/ExplainLikeIam5
613 stars 99 forks source link

مشکل در نصب در سیستم عامل debian #88

Open whiteraven8 opened 4 months ago

whiteraven8 commented 4 months ago

Processing ./namizun_core Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [14 lines of output] error: Multiple top-level modules discovered in a flat-layout: ['log', 'database', 'ip', 'time', 'network', 'udp'].

  To avoid accidental inclusion of unwanted files or directories,
  setuptools will not proceed with this build.

  If you are trying to create a single distribution with multiple modules
  on purpose, you should not rely on automatic discovery.
  Instead, consider the following options:

  1. set up custom discovery (`find` directive with `include` or `exclude`)
  2. use a `src-layout`
  3. explicitly set `py_modules` or `packages` with a list of names

  To find more information, look for "package discovery" on setuptools docs.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

The-Binary-0-1 commented 2 months ago

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

whiteraven8 commented 2 months ago

متاسفانه هنوز ارورها رو دارم

On Thu, May 23, 2024 at 2:45 PM The-Binary-0-1 @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/malkemit/namizun/issues/88#issuecomment-2126851916, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWGSVONWTIV6HY4BYAWVXSTZDXFV5AVCNFSM6AAAAABEMAODG6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRWHA2TCOJRGY . You are receiving this because you authored the thread.Message ID: @.***>

whiteraven8 commented 2 months ago

مشکل حل شد.ارور به خاطر نصب قبلی بود.دایرکتوری رو پاک کردنم و مراحل منوال رو جلو رفتم و انجام شد.ممنونم از لطفت

On Tue, May 28, 2024 at 11:49 AM Behnam Mumivand @.***> wrote:

متاسفانه هنوز ارورها رو دارم

On Thu, May 23, 2024 at 2:45 PM The-Binary-0-1 @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/malkemit/namizun/issues/88#issuecomment-2126851916, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWGSVONWTIV6HY4BYAWVXSTZDXFV5AVCNFSM6AAAAABEMAODG6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRWHA2TCOJRGY . You are receiving this because you authored the thread.Message ID: @.***>

hatinati2 commented 1 month ago

اینجا فورک زدم مشکلش رو حل کردم. از اینجا میتونی نصب کنی 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)

The-Binary-0-1 commented 1 month ago

اینجا فورک زدم مشکلش رو حل کردم. از اینجا میتونی نصب کنی 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

hatinati2 commented 1 month ago

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

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

hatinati2 commented 1 month ago

دوباره همين اررور زير مياد وقتي دستور 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)