Euruko 2009: el 9 y 10 de mayo en Barcelona


#1

Perdon por el offtopic, pero creo que es de interés general:
Ya hemos cerrado las fechas para la proxíma Euruko el próximo año en
Barcelona, son el 9 y 10 de mayo y se celebrará en el Citilab [1]

De momento Matz ha confirmado su disponibilidad.
Cualquier novedad que haya la iremos posteando en el blog de la Euruko
2009[2] y en la lista de correo [3].

PD: coincide con el Salón del cómic en Barcelona, otro motivo para venir
:slight_smile:

[1] http://citilab.eu/
[2] http://euruko2009.org
[3] http://groups.google.es/group/euruko-spain-2009


#2

Hola lista!

Aqui estoy otra vez con un problema. Esta vez se trata de un problema al
momento de exportar información desde mi aplicacion a una planilla XLS.
Para generar el documento utilizo la gema ‘spreadsheet-excel’, y hasta
hace un tiempo todo funcionaba bien, pero cuando migré de S.O. (de
Windoze XP a Ubuntu 8.04) empecé con los problemas. Ahora cuando elijo
la opcion de “Generar” me envía el siguiente error:

Iconv::IllegalSequence in RepoController#xls_mineduc

“�a��”

|RAILS_ROOT: ./script/…/config/…|

Application Trace http://localhost:3000/repo/xls_mineduc# | Framework
Trace http://localhost:3000/repo/xls_mineduc# | Full Trace
http://localhost:3000/repo/xls_mineduc#

|/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/encodings.rb:23:in iconv' /usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/encodings.rb:23:ininternal’
/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/biff8.rb:34:in
_unicode_string' /usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:471:in_write_sst’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/base.rb:1943:in
each_with_index' /usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:467:ineach’
/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:467:in
each_with_index' /usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:467:in_write_sst’
/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:453:in
write_sst' /usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:403:inwrite_from_scratch’
/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:568:in
write_workbook' /usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/writer.rb:14:inwrite’
/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/writer.rb:13:in
open' /usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/writer.rb:13:inwrite’
/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/workbook.rb:107:in
write' /usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel.rb:20:inclose’
/home/setzer/NetBeansProjects/elixir/app/controllers/repo_controller.rb:45:in
`xls_mineduc’|

|/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/encodings.rb:23:in iconv' /usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/encodings.rb:23:ininternal’
/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/biff8.rb:34:in
_unicode_string' /usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:471:in_write_sst’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/base.rb:1943:in
each_with_index' /usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:467:ineach’
/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:467:in
each_with_index' /usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:467:in_write_sst’
/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:453:in
write_sst' /usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:403:inwrite_from_scratch’
/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:568:in
write_workbook' /usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/writer.rb:14:inwrite’
/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/writer.rb:13:in
open' /usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/writer.rb:13:inwrite’
/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/workbook.rb:107:in
write' /usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel.rb:20:inclose’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:1101:in
send' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:1101:inperform_action_without_filters’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:696:in
call_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:688:inperform_action_without_benchmark’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in
perform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:inmeasure’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in
perform_action_without_rescue' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/rescue.rb:83:inperform_action’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:435:in
send' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:435:inprocess_without_filters’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:684:in
process_without_session_management_support' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/session_management.rb:114:inprocess’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:334:in
process' /usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/dispatcher.rb:41:indispatch’
/usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/webrick_server.rb:113:in
handle_dispatch' /usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/webrick_server.rb:79:inservice’
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:inrun’
/usr/lib/ruby/1.8/webrick/server.rb:173:in start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:instart’
/usr/lib/ruby/1.8/webrick/server.rb:162:in start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:instart’
/usr/lib/ruby/1.8/webrick/server.rb:92:in each' /usr/lib/ruby/1.8/webrick/server.rb:92:instart’
/usr/lib/ruby/1.8/webrick/server.rb:23:in start' /usr/lib/ruby/1.8/webrick/server.rb:82:instart’
/usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/webrick_server.rb:63:in
dispatch' /usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/commands/servers/webrick.rb:59 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:ingem_original_require’
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in require' /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:inrequire’
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:342:in
new_constants_in' /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:inrequire’
/usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/commands/server.rb:39
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
script/server:3|

|/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/encodings.rb:23:in iconv' /usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/encodings.rb:23:ininternal’
/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/biff8.rb:34:in
_unicode_string' /usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:471:in_write_sst’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/base.rb:1943:in
each_with_index' /usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:467:ineach’
/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:467:in
each_with_index' /usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:467:in_write_sst’
/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:453:in
write_sst' /usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:403:inwrite_from_scratch’
/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:568:in
write_workbook' /usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/writer.rb:14:inwrite’
/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/writer.rb:13:in
open' /usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/writer.rb:13:inwrite’
/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/workbook.rb:107:in
write' /usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel.rb:20:inclose’
/home/setzer/NetBeansProjects/elixir/app/controllers/repo_controller.rb:45:in
xls_mineduc' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:1101:insend’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:1101:in
perform_action_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:696:incall_filters’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:688:in
perform_action_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:inperform_action_without_rescue’
/usr/lib/ruby/1.8/benchmark.rb:293:in measure' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:inperform_action_without_rescue’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/rescue.rb:83:in
perform_action' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:435:insend’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:435:in
process_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:684:inprocess_without_session_management_support’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/session_management.rb:114:in
process' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:334:inprocess’
/usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/dispatcher.rb:41:in
dispatch' /usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/webrick_server.rb:113:inhandle_dispatch’
/usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/webrick_server.rb:79:in
service' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:inservice’
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in run' /usr/lib/ruby/1.8/webrick/server.rb:173:instart_thread’
/usr/lib/ruby/1.8/webrick/server.rb:162:in start' /usr/lib/ruby/1.8/webrick/server.rb:162:instart_thread’
/usr/lib/ruby/1.8/webrick/server.rb:95:in start' /usr/lib/ruby/1.8/webrick/server.rb:92:ineach’
/usr/lib/ruby/1.8/webrick/server.rb:92:in start' /usr/lib/ruby/1.8/webrick/server.rb:23:instart’
/usr/lib/ruby/1.8/webrick/server.rb:82:in start' /usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/webrick_server.rb:63:indispatch’
/usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/commands/servers/webrick.rb:59
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:in
require' /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:342:innew_constants_in’
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:in
require' /usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/commands/server.rb:39 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:ingem_original_require’
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require’
script/server:3|

Request

Parameters: {“fecha”=>{“fin”=>“2008-05-01”, “ini”=>“2008-01-01”},
“commit”=>“Generar”, “post”=>{“tipo”=>“XLS”},
“mineduc”=>{“peticion”=>“mineduc”}}

Show session dump http://localhost:3000/repo/xls_mineduc#


:empleado_region: 2
:empleado_nombre: Juan
:cadena:

  • si
  • “no”
  • “no”
  • “no”
  • “no”
  • “no”
  • “no”
  • “no”
  • “no”
  • “no”
  • “no”
  • “no”
  • “no”
  • “no”
  • “no”
    :col_id: 1
    :empleado_apellido_p: “Ram\xC3\xADrez”
    :empleado_id: 2
    :empleado_rut: 15123625-1
    flash: !map:ActionController::Flash::FlashHash {}

:ep: “77777777777788377”

Response

Headers: {“cookie”=>[], “Cache-Control”=>“no-cache”}

Revisando el log, me encontré con lo siguiente:


Iconv::IllegalSequence (“ña^@·”):

/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/encodings.rb:23:in
`iconv’

/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/encodings.rb:23:in
`internal’

/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/biff8.rb:34:in
`_unicode_string’

/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:471:in
`_write_sst’

/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/base.rb:1943:in
`each_with_index’

/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:467:in
`each’

/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:467:in
`each_with_index’

/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:467:in
`_write_sst’

/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:453:in
`write_sst’

/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:403:in
`write_from_scratch’

/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel/writer/workbook.rb:568:in
`write_workbook’

/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/writer.rb:14:in
`write’

/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/writer.rb:13:in
`open’

/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/writer.rb:13:in
`write’

/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/workbook.rb:107:in
`write’

/usr/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/excel.rb:20:in
`close’

/home/setzer/NetBeansProjects/elixir/app/controllers/repo_controller.rb:45:in
`xls_mineduc’

/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:1101:in
`send’

/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:1101:in
`perform_action_without_filters’

/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:696:in
`call_filters’

/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:688:in
`perform_action_without_benchmark’

/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in
perform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:inmeasure’

/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in
`perform_action_without_rescue’

/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/rescue.rb:83:in
`perform_action’

/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:435:in
`send’

/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:435:in
`process_without_filters’

/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:684:in
`process_without_session_management_support’

/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/session_management.rb:114:in
`process’

/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:334:in
process' /usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/dispatcher.rb:41:indispatch’
/usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/webrick_server.rb:113:in
handle_dispatch' /usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/webrick_server.rb:79:inservice’
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:inrun’
/usr/lib/ruby/1.8/webrick/server.rb:173:in start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:instart’
/usr/lib/ruby/1.8/webrick/server.rb:162:in start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:instart’
/usr/lib/ruby/1.8/webrick/server.rb:92:in each' /usr/lib/ruby/1.8/webrick/server.rb:92:instart’
/usr/lib/ruby/1.8/webrick/server.rb:23:in start' /usr/lib/ruby/1.8/webrick/server.rb:82:instart’
/usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/webrick_server.rb:63:in
`dispatch’

/usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/commands/servers/webrick.rb:59
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’

/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:in
`require’

/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:342:in
`new_constants_in’

/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:in
require' /usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/commands/server.rb:39 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:ingem_original_require’
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require’
script/server:3

Rendering
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/templates/rescues/layout.rhtml
(500 Internal Error)

Ahora, por lo que veo el problema claramente está en Iconv, pero no
logro entender que es lo que provoca este error ya que, como dije antes,
la aplicación funcionaba de maravillas…

¿Alguien tiene alguna idea de lo que puede estar sucediendo?

Desde ya, muchas gracias!!


#3

Juan,

Tu primer problema es que estás desarrollando en Windows, pero

bueno dejemos eso de lado.

El problema es de encoding, lo que no es raro dadas las

diferencias entre de plataforma, etc.

Prueba a hacer lo siguiente, antes de asignar el valor a un celda

conviértelo usando iconv:

require 'iconv'
converter = Iconv.new('latin1//IGNORE//TRANSLIT', 'utf-8')
converter.iconv(value.to_s)


Aníbal Rojas
http://hasmanydevelopers.com
http://rubycorner.com
http://anibal.rojas.com.ve

On Thu, Dec 11, 2008 at 10:20 AM, Juan R. Ordenes


#4

Gracias Aníbal! Ahora lo voy a probar!!

Ahh… el problema surgió cuando migré a Ubuntu, de todas formas llevo 2
semanas trabajando en este S.O. y debo admitir que me encantó!!

Aníbal Rojas escribió:


#5

Ah, ok. Yo había entendido que estabas desarrollando en Windows y
haciendo deployment en Ubuntu pero mejor si ya switchaste. Cualquier
problema mándame un mensaje directo usando la información en
http://anibal.rojas.com.ve que el tráfico de la lista no lo reviso
tanto como debería.


Aníbal

On Sat, Dec 13, 2008 at 3:07 PM, Juan R. Ordenes