Not able to start sr_watch when using realpath false on the conf. (so the realpath must been true)
2017-03-31 15:18:35,111 [INFO] sr_watch /xxxx/xxx is a link to directory /xx/xxxxx
Traceback (most recent call last):
File "/usr/bin/sr_watch", line 9, in <module>
load_entry_point('metpx-sarracenia==2.17.03a5', 'console_scripts', 'sr_watch')()
File "/usr/lib/python3/dist-packages/sarra/sr_watch.py", line 407, in main
if action == 'foreground' : watch.foreground_parent()
File "/usr/lib/python3/dist-packages/sarra/sr_instances.py", line 110, in foreground_parent
self.start()
File "/usr/lib/python3/dist-packages/sarra/sr_watch.py", line 254, in start
self.run()
File "/usr/lib/python3/dist-packages/sarra/sr_watch.py", line 224, in run
self.priming_walk(sld)
File "/usr/lib/python3/dist-packages/sarra/sr_watch.py", line 179, in priming_walk
self.priming_walk(d)
File "/usr/lib/python3/dist-packages/sarra/sr_watch.py", line 179, in priming_walk
self.priming_walk(d)
File "/usr/lib/python3/dist-packages/sarra/sr_watch.py", line 142, in priming_walk
fs = os.stat(p)
PermissionError: [Errno 13] Permission denied: '/fs/site2/fs1/eccc/cmod/prod/archive/stat_ident_arc/.'
Exception ignored in: <bound method="" ssltransport.__del__="" of="" \<amqplib.client_0_8.transport.ssltransport="" object="" at="" 0x2b1a95c33780="">>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/amqplib/client_0_8/transport.py", line 97, in del
File "/usr/lib/python3/dist-packages/amqplib/client_0_8/transport.py", line 135, in close
File "/usr/lib/python3/dist-packages/amqplib/client_0_8/transport.py", line 205, in _shutdown_transport
File "/usr/lib/python3.4/ssl.py", line 811, in unwrap
ssl.SSLError: Underlying socket connection gone (_ssl.c:1808)</bound></module>
can't reproduce, works for me... dunno what this is about. Had Jun add '/.' to the end of the path, and then it apparently started working, but I don't see why... I moved code around to be simpler, and shorter (reduce number of code paths) in commit e912ea6b1dd392d48314a12faf2c18cb2319373d
but I don't know what this is about yet.
haven't reproduced, using in many other cases.