Looks like in your call to URL, the vars dictionary includes: 'title': u'Eva de Dominici pos\xf3 como una chica Guess y cont\xf3 sus tips beauty'
Notice that the title is a unicode object. If the title is the only item that might be unicode, you can simply encode it before passing it to the URL() function: URL(..., vars=dict(..., title=unicode(title).encode('utf8'))) If other items in the query string might also end up as unicode, you should loop through and encode everything. Anthony On Thursday, December 22, 2016 at 5:32:32 PM UTC-5, Lisandro wrote: > > Sorry about that, the image quality was reduced after uploading it. > Here I made a new screen capture and uploaded it to my drive account, so > It's full quality: > > https://drive.google.com/file/d/0B0y0m_8LgjGIT3hCU000T0hQamM/view?usp=sharing > > But the character you noticed was just some noise in the image. > > Just to add something that could be relevant: I use IS_SLUG validator in > order to generate a unique slug and store it in a database record. Then, I > use it as an argument of URL(), to construct the url of an article. > I think that shouldn't cause any trouble, but who knows.. ¿maybe some > unicode character is leaking into the slug? It shouldn't be the case, > because if it was, then the error would be raised constantly, but it is > sporadic :/ > > > > > El jueves, 22 de diciembre de 2016, 18:25:59 (UTC-3), Dave S escribió: >> >> >> >> On Thursday, December 22, 2016 at 8:32:16 AM UTC-8, Lisandro wrote: >>> >>> Hi there, sorry for the delay, I was waiting for the error to occur. >>> Today the error triggered again, and I had disabled tickets2email, so I >>> have the ticket, but it doesn't show any code, its odd. >>> >> >> Using my magnifying glass, I think I see that there's a Unicode character >> in the *location* variable, between "con" and "sus". Unicode is not >> allowed in URLs; did you run an escape tool over it? >> >> /dps >> >> >> >> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.