Descarga una partida de Umbría a un fichero .tex
Programa que permite descargar partidas de la pagina http://www.comunidadumbria.com a ficheros de TeXt a partir de los cuales se puede generar un pdf.
Descarga una partida de Umbría a un fichero .tex
License: GNU General Public License v2.0
Descarga una partida de Umbría a un fichero .tex
Programa que permite descargar partidas de la pagina http://www.comunidadumbria.com a ficheros de TeXt a partir de los cuales se puede generar un pdf.
Si el nombre de la partida es erróneo, se queda colgado en vez de decir algo del tipo "Esa partida no existe".
Es un tema menor, pero lo dejo aquí para que no se pase.
El diálogo de grabación del fichero LaTeX se queda colgado en mi máquina y tengo que cancelar con Ctrl-C. No tengo claro por qué, pero pongo aquí algunas trazas de excepciones que me aparecen en la pantalla por si ayudan.
Esto es lo que sale si digo "Grabar" y luego cancelo (el programa no se cuelga en este caso, pero igual estos errores dan pistas sobre lo que ocurre):
[ < UmbriaDescargar.Umbria.Escena object at 0xae57332c > ]
(python:27505): GLib-CRITICAL **: Source ID 1972 was not found when attempting to remove it
(python:27505): GLib-CRITICAL **: Source ID 1988 was not found when attempting to remove it
(python:27505): GLib-CRITICAL **: Source ID 2009 was not found when attempting to remove it
(python:27505): GLib-CRITICAL **: Source ID 2026 was not found when attempting to remove it
(python:27505): GLib-CRITICAL **: Source ID 2047 was not found when attempting to remove it
y esto es lo que sale si intento dar un nombre de fichero y grabar:
^CTraceback (most recent call last):
File "Descargador.py", line 75, in genera_pdf
GeneradorText(nome_dir, self.partida)
File "/tmp/descargador/trunk/UmbriaDescargar/UmbriaTex.py", line 55, in init
fichero.write(self.genera_escena(escena))
File "/tmp/descargador/trunk/UmbriaDescargar/UmbriaTex.py", line 134, in genera_escena
for post in escena.posts():
File "/tmp/descargador/trunk/UmbriaDescargar/Umbria.py", line 135, in posts
self.url, pagina_siguiente))
File "/tmp/descargador/trunk/UmbriaDescargar/Umbria.py", line 214, in leer_pagina
return self.opener.open(direccion, None, HTTP_TIMEOUT).read()
File "/usr/lib/python2.7/socket.py", line 351, in read
data = self._sock.recv(rbufsize)
File "/usr/lib/python2.7/httplib.py", line 543, in read
return self._read_chunked(amt)
File "/usr/lib/python2.7/httplib.py", line 585, in _read_chunked
line = self.fp.readline(_MAXLINE + 1)
File "/usr/lib/python2.7/socket.py", line 476, in readline
data = self._sock.recv(self._rbufsize)
KeyboardInterrupt
HTH
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.