-
Notifications
You must be signed in to change notification settings - Fork 131
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
Encoding error: 'ascii' codec can't decode byte 0xf0 in position 3: ordinal not in range(128) #159
Comments
I'm using the latest code from master branch by the way.... |
Do you have a data object (module level assignment) with a unicode value somewhere? It might be that we need to call The import resolution errors are telling you that autoapi could not find |
I don’t think I have any data objects objects with Unicode values but I might! Lol The resolve messages seem odd as the modules are there, but I will ignore this for now, and focus on this encoding issue. I’ll log it as a separate issue if I can’t make since of it after a bit more testing :) |
If you put a breakpoint in @property
def rendered(self):
"Shortcut to render an object in templates."
try:
return self.render()
except Exception:
import pdb; pdb.set_trace()
raise Although the fact that you need to use pdb is maybe an indication that we need to improve the debug logging. |
I will give that a go and let you know what I find out :) |
I've added debug logging, so you shouldn't need to use pdb anymore. If you give |
That’s awesome I’ll give it a go this weekend :) |
Happens during he "Rendering Data" step.
Any ideas?
auto api is also logging sevral "cannot resolve import" messages like the one below...
WARNING: Cannot resolve import of mango.mapis.icon_lib in mango.mutils.qccs
sphinx-err-sced7_.log
The text was updated successfully, but these errors were encountered: