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

Trace/BPT trap error on OSX with unicode path #26

Closed
parente opened this issue Jan 9, 2011 · 4 comments
Closed

Trace/BPT trap error on OSX with unicode path #26

parente opened this issue Jan 9, 2011 · 4 comments
Labels

Comments

@parente
Copy link

parente commented Jan 9, 2011

If the path given to Observer.schedule() is a unicode string, Python crashes with a Trace/BPT trap error.

@gorakhargosh
Copy link
Owner

Can you please provide a traceback, and the unicode path that was in use
when it failed?

@parente
Copy link
Author

parente commented Jan 12, 2011

There was no trace. All that printed at the console was "Trace/BPT trap error".

Also, the path contained only ASCII characters. Any Python unicode string, even if it can encode to ASCII, causes the crash. For example, u"/Users/parente/watchme" will crash Observer.schedule() but "/Users/parente/watchme" will not.

@gorakhargosh
Copy link
Owner

I've attempted to fix this in git HEAD reading
Mac OS X specific information from
http://boodebr.org/main/python/all-about-python-and-unicode

Please close this issue if git HEAD fixes it for you.
Thank you. =)

@parente
Copy link
Author

parente commented Jan 14, 2011

It appears to be fixed. Thanks.

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

No branches or pull requests

2 participants