A Django site.
June 16, 2008

Nicolás Varcarcel
nxvl
Nikolas Valcarcel
» More news!

It has been a really busy week, lot’s of news and things to share with you, so as always let’s start:

Software Freedom Day
Ubuntu Perú is placed to announce that is going to be in charge of the Software Freedom Day here, we are trying to run a different but amazing event, we have some ideas for that, we are trying to run a Lan Party using OpenArena, and have an inter university contest of FOSS related projects so we can promote and some how wake the students of the local universities up to be more active on the FOSS, and some other also, but everything on his time.

Global Bug Jam
We are also going to be part of the Ubuntu Global Bug Jam!! I’m very sad that we are just going to run it on Lime, but i’m trying to move some people from other towns to run a Bug Day there and just triage some Bug Reports and help, but we will see what happens.

Packaging Jams
Last Friday i run a packaging jam on my university it was really nice to see some students going, and more impressive to see a teacher in there! It was awesome, we only package ed from source because we run out of time, but i will patch some bugs this Friday, it seems that they want some workshops every Fridays so i will try to get them involved in ubuntu!
Also i have been invited to run a packaging Jam next week, i think, on other LUG’s place they need to confirm me the date, but it’s almost a fact i will be there!

CONASOL
This weekend i have been on Chimbote (6 hours by bus from Lima to the north) giving a talk on a congress they have there, i talk about the Ubuntu Behind the Scenes (thanks pedro for the presentation) and they were very happy, i hope to see people involved in the project soon, they were really happy and interested.

UCSA
As i focus my work on the server team of ubuntu i have been focusing on a new tools to manage services and configurations. I have seen some people interested in this idea asking what was about it: It’s not dead, i’m still working on that, i have been evaluating Augeas, and it seems that it’s really useful this days i will play more with it and package it for further development, so stay tunned or send me an e-mail if you want to help with this.

I’ve got my visa!
Now it’s a fact, i will be on Miami from 28 July to 6th August, i’m going to be in orlando (yes, i’m going on vacations to Disney) and one night in Tampa so if you live in there i’m looking to meet with some LoCo’s and have a good time, so send me and e-mail to talk about the details!

Ok, i think this is it for now, i will try to post more now that i’m not so busy as last week!

June 6, 2008

Nicolás Varcarcel
nxvl
Nikolas Valcarcel
» Terminator 0.9 beta 1

Terminator 0.9 Feature Freeze has come, i’m really excited to see the new features working, they are awesome, but what are this new exciting features?

  • Tabs: Now terminator supports tabs, you have different tabs with splited terminals on each one.
  • Drag & Drop: Now you can reorder your terminals, you just need to press Cntrl + right click and drag and drop your terminals wherever you want!
  • Terminal zooming: This is one of the more exiting ones, have you expect problems when using splited terminals and one of them turns to little for some seconds? Now you just need to press ctrl+shift+z to have this terminal on the whole window and then use the same key combination to put it back on it’s place! It’s awesome!
  • Terminatorrc: Don’t like gnome environments? Now you don’t depend on gnome-terminal to configure your terminator, you can use ~/.terminatorrc to tune your terminal as you want it to be
  • Titles: kind of confused when using ssh connections inside terminator? Now we support titles, so you always have a title on each splited terminal to know where you are working on

It’s really awesome to see al this changes comming, they make terminator really usefull, want to try them? Help the terminator team to test it, just add my ppa to your sources.list:

deb http://ppa.launchpad.net/nvalcarcel/ubuntu hardy main
deb-src http://ppa.launchpad.net/nvalcarcel/ubuntu hardy main

Download it:

$sudo apt-get update; sudo apt-get install terminator

And report bugs if you find some: https://bugs.launchpad.net/terminator

Excited? Digg it!

May 8, 2008

Nicolás Varcarcel
nxvl
Nikolas Valcarcel
» Bugs!?

Since i start in development i have had a question in mind, why the f*ck program errors are called Bugs? It seems that it’s for a whimsical reason as it’s said on How to Think Like a Computer Scientist: Learning with Python:

For whimsical reasons, programming errors are called bugs…

But the question finally has been answered!!! The firsts computer errors, given the size of the firsts computers, where caused by real Bugs interfering on the circuits and make the computers do unexpected operations.

April 21, 2008

Nicolás Varcarcel
nxvl
Nikolas Valcarcel
» Merge-o-matic’s are out /o\

I try to start to look at some merges since we are going to start merge process on a few weeks, but something went wrong:

< nxvl> does anyone know what happened with dad?
< nxvl> DaD*
< jdong> went off with MoM?
< icanhas> jdong: i had to refrain from that so badly.
< jdong> lol
< nxvl> heh
< nxvl> i’m blogging this

I simply LOVE ubuntu community!

February 17, 2008

Nicolás Varcarcel
nxvl
Nikolas Valcarcel
» 5-A-Day

So, this week the number five will become significant, Daniel has made a purpose for the Ubuntu Community, so try to reach the goal, is not hard just to look 5 bugs per day (not to patch them, just work on them) you don’t even need to be a developer to join the goal, take a look at the wiki on how you can help. I will do my best effort, but as this week is a really busy one (or it seems it would be) i don’t know i will reach the goal, but my best effort is a promise!

February 15, 2008

Cesar Villegas
slayer
Slayer_X homepage
» Bugs en Wordpress: contenido no encontrado y categorias desaparecidas

Encontré 2 problemas en wordpress ( o por lo menos en mi instalación), no sé que problema hubo pero de la noche a la mañana, varios días después de haber actualizado a la última versión 2.3.3 me dí cuenta que el contador bajo terriblemente, entre al panel de administración y todo lucía bien, cargue el blog y todo bien.

No input file specified
Pensé que era una falla del contador, pero al ver Google Analytics encontré el mismo problema, decidí investigar mas a fondo y el resultado fué que había una gran cantidad de post que tenían un problema con el permalink y en vez de visualizar la página aparecía un mensaje de error que decía: No input file specified . Inicialmente pensé que erá el PHP pero no, quedó descartado porque había post que si se visualizaban correctamente, luego me dí cuenta que los feeds tampoco funcionaban. Entonces ví la luz, el problema tenía que ser el .htaccess.

Lo borré. lo hice de nuevo, recreé la estructura de permalinks desde el wordpress y todo seguía igual, asi que no me quedó otra que revisar el código, luego de mucho mirar y casi tirar la toalla, encontré un enlace muy ilustrativo: de como funcionan los permalinks en Wordpress

Fué asi que llegué a la solución, lo que tiene que hacer es lo siguiente:

1.- Editar el archivo wp-includes/vars.php
2.- Busquen una línea que tenga el texto $is_apache = bla bla bla puede ir cualquier cosa aqui dependiendo de tu version bla bla bla
3.- Comentar esa línea anteponiendo “//” para que quede asi // $is_apache = bla bla bla
4.- Agregar una línea que diga exactamente: $is_apache = 1;

Por lo visto hay un problema entre wordpress y como detecta el webserver que estas ejecutando, lógicamente esto aplica para todos aquellos que usen Apache :)

Las categorías se perdieron!
Todo el problema anterior me hizo tomar la decisión de cambiar de hosting, pues fueron 3 días entre que empezó el problema y que yo lo pude solucionar, debido al limitado acceso que tengo al servidor (no tengo privilegios de root), si hubiera sido un problema de apache o php no lo hubiera podido solucionar debido a la falta de privilegios.

Pasé mi blog a DreamHost, todo salió supuestamente bien, hasta que caí en la cuenta que todas las categorías habían desaparecido! todos mis posts aparecían como “Uncategorized”.

Revisé las 3 tablas que tienen que ver con las categorías en wordpress que son las siguientes: wp_categorias, wp_link2cat y wp_post2cat las volví a pasar, pero tenía el mismo problema, me pusé a buscar y encontré que era un problema conocido:
Upgrade caused loss of Categories

El problema es que mi blog no tenía exactamente ese problema, yo no estaba haciendo un upgrade, realmente estaba haciendo una migración sobre un “fresh install”. Hice muchas pruebas, hasta que en ese mismo topic encontré la solución: como forzar el upgrade de tu base de datos en Wordpress, no, no se trata del mysql en realidad, sino del control de versiones interno que tiene Wordpress y que tiene este problema.

La solución es bastante sencilla y rápida
1.- Entra a la consola de mysql y digita
UPGRADE wp_options SET db_version="5183"
2.- Debes usar el número de versión adecuado, no es un número fijo, el número varia de acuerdo a la versión de Wordpress que tengas, aqui una tablita para las ultimas versiones:
2.3.2 = 6124
2.3.1 = 6124
2.3 = 6124
2.2.3 = 5183
2.2.x = 5183
2.2 = 5183
2.1.3 = 4773
2.1.x = 4773
2.1 = 4772
2.0.11 = 3441
2.0.x = 3441
2.0 = 3441

3.- Si no puedes acceder a la consola en mysql, puedes usar Phpmyadmin o el gestor de mysql que tengas y realizas exactamente el mismo cambio, ubicar el campo db_version en la tabla wp_options y cambiarlo.
4.- Desactiva todos los plugins y luego pon en tu navegador
http://www.tublog.com/wp-admin/upgrade.php sigue los pasos y todo se arreglará
5.- Todas las categorías y subcategorías aparecieron otra vez, peeeero mis post seguían uncategorized :P

Por lo visto mi problema era bastante particular y ponerme a categorizar todo de nuevo me da muuuuucha flojera, asi que tenía que encontrar la solución. Luego de mucho investigar, llegué a la conclusión de que había un problema entre las categorías y los tags, desactive todos los plugins, los volví a activar y no paso nada, hasta que se me probé usar la opción de transformar alguna categoría en tag.

Lo hice solo con una para probar y voilá! se arregló todo! como no creo en la magia seguí buscando y la explicación es que todo este rollo se arma por la nueva forma de manejar las categorías y los tags que tiene la versión 2.3.3 de Wordpress.

Por cierto una de las causas conocidas para este problema es la utilización del plugin Google Sitemap Generator que yo lo usaba, pero al pasar al nuevo hosting nunca instalé.

A ver si le sirve de ayuda a alguien :)