Software > WeeWX
Weewx en Windows
kocher:
Con esta ruta mas completa, proporciona mas información:
--- Código: ---C:\Users\weewx\bin>python wee_import --conf=/users/weewx/bin/weeimport/var/cumulus/cumulus-example.c
onf --dry-run
Starting wee_import...
Traceback (most recent call last):
File "wee_import", line 834, in <module>
main()
File "wee_import", line 783, in main
wlog)
File "C:\Users\weewx\bin\weeimport\weeimport.py", line 294, in sourceFactory
file_name=options.import_config_path)
File "C:\Users\weewx\bin\weecfg\__init__.py", line 173, in read_config
locations=locations, file_name=file_name)
File "C:\Users\weewx\bin\weecfg\__init__.py", line 139, in find_file
candidate = os.path.abspath(os.path.join(directory, file_name))
File "C:\Python27\lib\ntpath.py", line 67, in join
p_drive, p_path = splitdrive(p)
File "C:\Python27\lib\ntpath.py", line 115, in splitdrive
if len(p) > 1:
TypeError: object of type 'NoneType' has no len()
--- Fin del código ---
kocher:
Quizás sería interesante que yo pudiera probar con estos dos archivos tuyos:
wee_import
weeimport.py
jmviper:
Es tu Windows W7 ?
kocher:
Sí, es windows7 Ultimate
jmviper:
Parece claramente un problema de rutas. Otro intento sería probar con:
python wee_import --conf="C:\Users\weewx\bin\weeimport\var\cumulus\cumulus-example.conf" --dry-run
--- Cita de: kocher en 24 de Noviembre de 2019, 23:35:32 ---
Sí, es windows7 Ultimate
--- Fin de la cita ---
Diferente SO puede tener configuración diferente a la mía.
Navegación
[#] Página Siguiente
[*] Página Anterior
Ir a la versión completa