-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I noticed the script not catching freshly uploaded flists to hub.grid.tf
root@Main-Grid-DE-hub-02 ~ # python3 incremental.py
[+] authenticating
[+] master host: hub.grid.tf, port: 9900
[+] slave host: 172.17.0.2, port: 9900
[+] syncing namespace: default
[+] syncing: 724784.31 / 724784.46 MB (100.0 %), waiting changes
so I restarted it, but on restart:
root@Main-Grid-DE-hub-02 ~ # python3 incremental.py
[+] authenticating
[+] master host: hub.grid.tf, port: 9900
[+] slave host: 172.17.0.2, port: 9900
[+] syncing namespace: default
Traceback (most recent call last):
File "/root/incremental.py", line 104, in <module>
incremental.run()
File "/root/incremental.py", line 84, in run
sys.stdout.write("\r[+] syncing: %.2f / %.2f MB (%.1f %%), waiting changes \033[K" % (ssize, msize, progress))
UnboundLocalError: local variable 'ssize' referenced before assignment
Metadata
Metadata
Assignees
Labels
No labels