-
Notifications
You must be signed in to change notification settings - Fork 29
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
Server exceptions generate unicode error #354
Comments
Heya @jeffdotthompson, nice to see you in cyberspace.
To clarify, are the other computers running the same OS and Python interpreter? |
Hi, Dan! Actually, the other computers are different--they are all running Windows 7 and Python 2.7.13. |
@jeffdotthompson, which version of pylabrad are you using on the server machines? |
Here's a running list of versions--if there's anything else you want me to add, or think that I should try downgrading, please let me know! Not working (generates unicode error): Working:
|
I would definitely recommend starting with something that works, and changing one thing at a time until you see what breaks. Then we know where to look. I'd start with the Twisted version and go from there. |
I agree that that would be the best approach, but given that we have a
workaround, we probably aren't going to break any working systems in the
name of further troubleshooting. I mainly wanted to post it to github so
the solution would be available to others!
…On Thu, Aug 30, 2018 at 7:23 PM Daniel Sank ***@***.***> wrote:
I would definitely recommend starting with something that works, and
changing one thing at a time until you see what breaks. Then we know where
to look. I'd start with the Twisted version and go from there.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#354 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFRyo4m0c-p9GqQOV_kAhumnZk6n6ZNmks5uWHQDgaJpZM4WM710>
.
|
We recently set up labrad on a new computer (Win10, Anaconda python environment, py 2.7.15) and our servers are behaving strangely. In particular, whenever a server raises an exception, the client sees the following exception:
It is always a unicode error, regardless of the exception raised by the underlying server function.
A workaround that we discovered is to set sendTracebacks=False in the server. This works fine.
However, we have not figured out the origin of the issue, or why it does not occur on any of our other computers. Since it appears that twisted is heavily involved in this, we tried downgrading from 18.7.0 to 17.1.0 (which is in use elsewhere in our lab), but this did not change anything.
Thanks!
The text was updated successfully, but these errors were encountered: