Mikhail Gusarov, el 14 de mayo a las 03:21 me escribiste: > > Twas brillig at 21:56:31 07.05.2009 UTC-03 when [email protected] did gyre and > gimble: > > LL> resolving references... > LL> Exception occurred: > LL> File "/usr/lib/pymodules/python2.5/sphinx/application.py", line 147, > in warn > LL> self._warning.write(warntext.encode(encoding, 'replace')) > LL> TypeError: encode() argument 1 must be string, not None > > LL> Please also report this if it was a user error, so that a better > LL> error message can be provided next time. > > Looks like a programming error. Can you point to the docs you're > building?
I'm sorry, if I remember right I was trying something out when I hit this. I don't recall what I was trying so I can't reproduce it right now. If it's not easy to see what's wrong from the backtrace maybe you can close the bug and I'll reopen it if I hit the bug again so I can send a test case or something. > LL> Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8) > > Locale, plus doc which makes Sphinx output a warning may be the cause, > as it is triggered by the calling Sphinx.warn method with > self._warning.encoding variable being set to None. Ok. But I guess locale should be not None then. Locale being set to None should be a bug, right? -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ---------------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------------- Long you live and high you fly And smiles you'll give and tears you'll cry And all you touch and all you see Is all your life will ever be. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en -~----------~----~----~----~------~----~------~--~---
