1. Nekmo NA
  2. NekBot
  3. Issues
Issue #5 resolved

Fallo en la ejecución de !weathercities con o sin argumento

Nekmo NA
repo owner created an issue

Con comando:

{{{ [23:55:01] Proton+: [NekBot] Informe de errores

Error al ejecutar el comando "!weathercities". Función weather_cities del addon weather.Traceback (most recent call last): File "/home/nekmo/nekbot/nekbot/addons/weather/init.py", line 42, in weather_cities Local variables: bodies = [('Malaga, Andalusia, ES', '306732'), ('Malaga, Santander, CO', '111288'), ('Malaga, Andalusia, ES', '306723')] body = "'Ciudades que concuerdan con el t\xc3\xa9rmino de b\xc3\xbasqueda: '" cities = [('Malaga, Andalusia, ES', '306732'), ('Malaga, Santander, CO', '111288'), ('Malaga, Andalusia, ES', '306723')] city = ('Malaga, Andalusia, ES', '306723') msg = <message to="bot@nekmo.org/nekbot_ks355117.kimsufi.com_1345982517" type="chat" id="198" from="offtopic@conf.jabberes.org/Nekm... msg['affiliation'] = ""'member'"" msg['args'] = ""u'm\xe1laga'"" }}}

Sin comando: {{{ Error al ejecutar el comando "!weathercities". Función weather_cities del addon weather.Traceback (most recent call last): File "/home/nekmo/nekbot/nekbot/addons/weather/init.py", line 28, in weather_cities ..... pick.reply('✘ Debe especificar un término de búsqueda').send() <type 'exceptions.NameError'>: global name 'pick' is not defined }}}

Comments (3)

  1. Log in to comment