Seguridad Wireless - Wifi
Equipos y materiales => Puntos de acceso, routers, switchs y bridges => Openwrt & LEDE => Mensaje iniciado por: vk496 en 06-11-2014, 21:18 (Jueves)
-
Alguien ha conseguido acceder a GoogleDrive desde OpenWRT?
He probado con GDataCopier, y no me lista los archivos (si me autentifica). He intentado debugearlo (problema en linea 143 de gls.py) , pero no sé nada de Python como para analizarlo mas a fondo....
Salu2
-
Alguien ha conseguido acceder a GoogleDrive desde OpenWRT?
He probado con GDataCopier, y no me lista los archivos (si me autentifica). He intentado debugearlo (problema en linea 143 de gls.py) , pero no sé nada de Python como para analizarlo mas a fondo....
Salu2
¿Cuál es el fallo que te da exactamente?
Mira si puede estar relacionado con este fallo: http://code.google.com/p/gdatacopier/issues/detail?id=47 (http://code.google.com/p/gdatacopier/issues/detail?id=47)
-
Ok, gracias Tki2000
Ahora no me da tiempo a analizar el problema, pero dejo el mensaje de error aquí para tenerlo a mano luego ;D
root@OpenWrt:~/wifislax/gdatacopier-2.1.2# ./gls.py email@gmail.com:/all/
gls 2.1.2, document list utility. Copyright 2010 Eternity Technologies
Released under the GNU/GPL v3 at <http://gdatacopier.googlecode.com>
Password:
Logging into Google server as email@gmail.com ... done.
Fetching document list feeds from Google servers for email@gmail.com ... Traceback (most recent call last):
File "./gls.py", line 230, in <module>
main()
File "./gls.py", line 226, in main
parse_user_input() # Check to see we have the right options or exit
File "./gls.py", line 214, in parse_user_input
list_documents(args[0], options)
File "./gls.py", line 143, in list_documents
feed = gd_client.Query(document_query.ToUri())
File "/usr/lib/python2.7/site-packages/gdata/docs/service.py", line 225, in Query
return self.Get(uri, converter=converter)
File "/usr/lib/python2.7/site-packages/gdata/service.py", line 1074, in Get
return converter(result_body)
File "/usr/lib/python2.7/site-packages/gdata/docs/__init__.py", line 246, in DocumentListFeedFromString
return atom.CreateClassFromXMLString(DocumentListFeed, xml_string)
File "/usr/lib/python2.7/site-packages/atom/__init__.py", line 93, in optional_warn_function
return f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/atom/__init__.py", line 127, in CreateClassFromXMLString
tree = ElementTree.fromstring(xml_string)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser = XMLParser(target=TreeBuilder())
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1466, in __init__
"No module named expat; use SimpleXMLTreeBuilder instead"
ImportError: No module named expat; use SimpleXMLTreeBuilder instead
-
Ok, gracias Tki2000
Ahora no me da tiempo a analizar el problema, pero dejo el mensaje de error aquí para tenerlo a mano luego ;D
root@OpenWrt:~/wifislax/gdatacopier-2.1.2# ./gls.py email@gmail.com:/all/
gls 2.1.2, document list utility. Copyright 2010 Eternity Technologies
Released under the GNU/GPL v3 at <http://gdatacopier.googlecode.com>
Password:
Logging into Google server as email@gmail.com ... done.
Fetching document list feeds from Google servers for email@gmail.com ... Traceback (most recent call last):
File "./gls.py", line 230, in <module>
main()
File "./gls.py", line 226, in main
parse_user_input() # Check to see we have the right options or exit
File "./gls.py", line 214, in parse_user_input
list_documents(args[0], options)
File "./gls.py", line 143, in list_documents
feed = gd_client.Query(document_query.ToUri())
File "/usr/lib/python2.7/site-packages/gdata/docs/service.py", line 225, in Query
return self.Get(uri, converter=converter)
File "/usr/lib/python2.7/site-packages/gdata/service.py", line 1074, in Get
return converter(result_body)
File "/usr/lib/python2.7/site-packages/gdata/docs/__init__.py", line 246, in DocumentListFeedFromString
return atom.CreateClassFromXMLString(DocumentListFeed, xml_string)
File "/usr/lib/python2.7/site-packages/atom/__init__.py", line 93, in optional_warn_function
return f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/atom/__init__.py", line 127, in CreateClassFromXMLString
tree = ElementTree.fromstring(xml_string)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser = XMLParser(target=TreeBuilder())
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1466, in __init__
"No module named expat; use SimpleXMLTreeBuilder instead"
ImportError: No module named expat; use SimpleXMLTreeBuilder instead
Por lo que veo parece que le falta un módulo. Instala python-expat, y mira si se soluciona la cosa, o peta por otra parte...
-
Sip, es eso. Probé en principio con libexpat (ya que es el unico que encontraba con expat en los repositorios del 14.07).
Agregué sources de AA (http://downloads.openwrt.org/attitude_adjustment/12.09/ (http://downloads.openwrt.org/attitude_adjustment/12.09/)), instalé python-expat y todo Perfecto >:( >:( >:(
Salu2
-
Me alegro de que se solucionara la cosa... ;D