# Spanish characters on templates causes WebUI cant see cookbooks

**URL:** <https://discourse.chef.io/t/spanish-characters-on-templates-causes-webui-cant-see-cookbooks/4768>\
**Category:** Chef Infra (archive)\
**Created:** [November 6, 2013, 2:57pm UTC](https://discourse.chef.io/t/spanish-characters-on-templates-causes-webui-cant-see-cookbooks/4768 "2013-11-06T14:57:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aL1](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/al1/32/228_2.png) [@aL1](https://discourse.chef.io/u/aL1)\
**Post date:** [November 6, 2013, 2:57pm UTC](https://discourse.chef.io/t/spanish-characters-on-templates-causes-webui-cant-see-cookbooks/4768/1 "2013-11-06T14:57:41Z")

</div>

Hi!

I suddenly starting to see the “ERROR: undefined method `close!’ for  
nil:NilClass” message, when trying to see my cookbooks on the WebUI.

Trying to fix that, i have discovered that the cause was spanish chars  
like: ñ, á, ó etc … on templates. Once i had removed that chars, i can  
see my cookbooks through the WebUI

So ¿What can i use these characters on templates?

Thanks in advance guys!

–  
Si necesitas una máquina para hacer algo y no la compras al final te darás  
cuenta de que has pagado lo mismo y no tienes la máquina.–Henry Ford

Alberto

---

<div class="post-metadata">

**Author:** ![kallistec](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/kallistec/32/23_2.png) [@kallistec](https://discourse.chef.io/u/kallistec)\
**Post date:** [November 6, 2013, 5:04pm UTC](https://discourse.chef.io/t/spanish-characters-on-templates-causes-webui-cant-see-cookbooks/4768/2 "2013-11-06T17:04:39Z")

</div>

On Wednesday, November 6, 2013 at 6:57 AM, aL. wrote:

> Hi!
> 
> I suddenly starting to see the "ERROR: undefined method `close!' for nil:NilClass" message, when trying to see my cookbooks on the WebUI.
> 
> Trying to fix that, i have discovered that the cause was spanish chars like: ñ, á, ó etc ... on templates. Once i had removed that chars, i can see my cookbooks through the WebUI
> 
> So ¿What can i use these characters on templates?
> 
> Thanks in advance guys!
> 
> --  
> Si necesitas una máquina para hacer algo y no la compras al final te darás cuenta de que has pagado lo mismo y no tienes la máquina.--Henry Ford
> 
> Alberto

This is a bug that is fixed in master but not yet released. The next release of chef-server should contain the patch.

Details here: [https://tickets.opscode.com/browse/CHEF-3952](https://tickets.opscode.com/browse/CHEF-3952)

--  
Daniel DeLeo

---

<div class="post-metadata">

**Author:** ![aL1](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/al1/32/228_2.png) [@aL1](https://discourse.chef.io/u/aL1)\
**Post date:** [November 8, 2013, 10:44pm UTC](https://discourse.chef.io/t/spanish-characters-on-templates-causes-webui-cant-see-cookbooks/4768/3 "2013-11-08T22:44:22Z")

</div>

Hope the fix is the right one! will wait til the release! Thx!

--  
Si necesitas una máquina para hacer algo y no la compras al final te darás  
cuenta de que has pagado lo mismo y no tienes la máquina.--Henry Ford

Alberto

On Wed, Nov 6, 2013 at 5:04 PM, Daniel DeLeo [dan@kallistec.com](mailto:dan@kallistec.com) wrote:

> On Wednesday, November 6, 2013 at 6:57 AM, aL. wrote:
> 
> Hi!
> 
> I suddenly starting to see the "ERROR: undefined method `close!' for  
> nil:NilClass" message, when trying to see my cookbooks on the WebUI.
> 
> Trying to fix that, i have discovered that the cause was spanish chars  
> like: ñ, á, ó etc ... on templates. Once i had removed that chars, i can  
> see my cookbooks through the WebUI
> 
> So ¿What can i use these characters on templates?
> 
> Thanks in advance guys!
> 
> --  
> Si necesitas una máquina para hacer algo y no la compras al final te darás  
> cuenta de que has pagado lo mismo y no tienes la máquina.--Henry Ford
> 
> Alberto
> 
> This is a bug that is fixed in master but not yet released. The next  
> release of chef-server should contain the patch.
> 
> Details here: [https://tickets.opscode.com/browse/CHEF-3952](https://tickets.opscode.com/browse/CHEF-3952)
> 
> --  
> Daniel DeLeo
