Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pingtop stops pinging servers and issues various error messages #33

Open
Duayne2001 opened this issue Feb 12, 2021 · 10 comments
Open

Pingtop stops pinging servers and issues various error messages #33

Duayne2001 opened this issue Feb 12, 2021 · 10 comments

Comments

@Duayne2001
Copy link

Tried the script on 2 different KVM VPS running Debian 10 x64. Installed via apt install python3-pip and pip3 install pingtop.

Running the script directly as root gives me these error messages. Any idea what's going wrong here?
pingtop-1
pingtop-2
pingtop-3

@godet71
Copy link

godet71 commented Mar 2, 2021

Hi, I had was same problem.
How to fix this problem?

Could please help me..

@laixintao
Copy link
Owner

Hi thanks for reporting, I have tried on ubuntu20.04 and can't reproduce it. From @Duayne2001 's screenshot I think there are some ASCII issues. Are you also on Debian? @godet71

@godet71
Copy link

godet71 commented Mar 8, 2021

Hi, I have tried to in Mac OS, Is that same as ASCII issues?

Is this use only Debian Series?

@laixintao
Copy link
Owner

can you try with latest verion https://pypi.org/project/pingtop/0.4.0/
and under Python 3.8.5?

@Duayne2001
Copy link
Author

can you try with latest verion https://pypi.org/project/pingtop/0.4.0/
and under Python 3.8.5?

Do you mean Python = 3.8.5 or < 3.8.5, i.e. for example 3.8.4?

@laixintao
Copy link
Owner

I think 3.8.x are all good.

@godet71
Copy link

godet71 commented Jun 9, 2021

Hi I would installed pingtop 0.4.0, but doesn't installed.
Also, I was run python3.8.4 pingtop 0.3.0, but below on occured error.

Please check.

Traceback (most recent call last):
  File "./pingtop", line 11, in <module>
    load_entry_point('pingtop==0.3.0', 'console_scripts', 'pingtop')()
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pingtop/__init__.py", line 427, in multi_ping
    tablebox = MainBox(
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pingtop/__init__.py", line 210, in __init__
    self.table = PingDataTable(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pingtop/__init__.py", line 193, in __init__
    super().__init__(*args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'border'

@laixintao
Copy link
Owner

0.3.x no longer works, there are dependencies break.

Why can't you install 0.4.0?

@rbarzic
Copy link

rbarzic commented Dec 4, 2021

Same issues with the latest version from github. Problems seem to appear when some hosts are not reachable
roba@onio-ltp04  17:29:04  pip freeze
blist==1.3.6
click==8.0.3
orderedattrdict==1.6.0
panwid==0.2.5
-e git+https://github.com/laixintao/pingtop.git@75353119db1af8635fec85a9bf38722e152c426c#egg=pingtop
raccoon==2.1.5
six==1.16.0
tabulate==0.8.9
urwid==2.1.2
urwid-utils==0.1.2

Maybe it would be a good idea if you could post the version of the modules you are using. As panwid is the only module specified with a version, I would not be surprised that the issue is in a specific version of one of the other modules

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal

roba@onio-ltp04  17:31:12  python --version
Python 3.8.10

@laixintao
Copy link
Owner

Hi can you try to install from pypi instead of from git?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants