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

typo in device discover script #7

Open
arturothepapercutemployee opened this issue May 13, 2021 · 4 comments
Open

typo in device discover script #7

arturothepapercutemployee opened this issue May 13, 2021 · 4 comments

Comments

@arturothepapercutemployee

The py2 and py3 device discover scripts include a typo. Removing the ‘u’ overcomes the problem.

An error pointed out these lines when loading the Papercut Server Host Items Page.

@Joffcom
Copy link
Contributor

Joffcom commented May 13, 2021

Do you happen to have the error? The u prefix on the string indicates it is a Unicode string so it shouldn’t be matching for u'OK' just the OK.

@arturothepapercutemployee
Copy link
Author

Nope. The issue came across my desk at PaperCut from a customer and the error message wasn't in their ticket. Still, I have a feeling that Unicode identification for strings manifests differently between Python 2 and 3. The customer in question had Python 3.9.5.

@Trikke76
Copy link
Collaborator

i will try to have a look at everything next year and do some tests with zabbix 6 or 7

@Joffcom
Copy link
Contributor

Joffcom commented Nov 17, 2023

I am pretty sure this was working the last time I tested it but sadly Art no longer works for PaperCut and I am also no longer working in the PaperCut channel.

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

3 participants