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

Pidcat doesn't show logs on Python 3 #97

Closed
rynkowsg opened this issue May 19, 2015 · 3 comments
Closed

Pidcat doesn't show logs on Python 3 #97

rynkowsg opened this issue May 19, 2015 · 3 comments

Comments

@rynkowsg
Copy link

I use by default Python 3.4.3 and pidcat doesn't print logs.
When I ran it on Python 2, it works.

@diVineProportion
Copy link

diVineProportion commented Oct 2, 2021

works fine in python 3.9.x you just have to edit the last line..

--  print(linebuf.encode('utf-8'))
++  print(linebuf)

ozziefallick added a commit to ozziefallick/pidcat that referenced this issue Mar 8, 2022
Removed utf-8 encoding step as recommended in JakeWharton#97 (comment). This is backwards-compatible with Python 2.
@gaurav414u
Copy link

I am not sure. This issue is marked as fixed but JakeWharton/pidcat still doesn't have it. Can we merge this into that as well? :)

@aancw
Copy link

aancw commented Jun 14, 2022

works fine in python 3.9.x you just have to edit the last line..

--  print(linebuf.encode('utf-8'))
++  print(linebuf)

Confirmed work!

1fexd pushed a commit to 1fexd/pidcat that referenced this issue Apr 7, 2024
Removed utf-8 encoding step as recommended in JakeWharton#97 (comment). This is backwards-compatible with Python 2.
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