Hi,
Thanks for the great tool - It looks promising.
I spent plenty of time trying to understand why when I run forge build or forge deploy the script just hang!
It gets stuck in the descend function of the service.py for some reason!
I added some print line to the see the current path scanned, it's traversing my entire hard drive!
this is the stacktrace once i kill the process:
║ Traceback (most recent call last):
║ File "/Users/fenos/.pex/install/Forge-0.4.15-py2-none-any.whl.9231fb8ee2b34ba80e2fa9fab3e8592e4ca4ae54/Forge-0.4.15-py2-none-any.whl/forge/core.py", line 331, in root
║ for name in self.load_services():
║ File "/Users/fenos/.pex/install/Forge-0.4.15-py2-none-any.whl.9231fb8ee2b34ba80e2fa9fab3e8592e4ca4ae54/Forge-0.4.15-py2-none-any.whl/forge/core.py", line 298, in load_services
║ self.scan(self.base)
║ File "/Users/fenos/.pex/install/Forge-0.4.15-py2-none-any.whl.9231fb8ee2b34ba80e2fa9fab3e8592e4ca4ae54/Forge-0.4.15-py2-none-any.whl/forge/core.py", line 195, in scan
║ found = self.discovery.search(directory)
║ File "/Users/fenos/.pex/install/Forge-0.4.15-py2-none-any.whl.9231fb8ee2b34ba80e2fa9fab3e8592e4ca4ae54/Forge-0.4.15-py2-none-any.whl/forge/service.py", line 142, in search
║ descend(directory, None, base_ignores)
║ File "/Users/fenos/.pex/install/Forge-0.4.15-py2-none-any.whl.9231fb8ee2b34ba80e2fa9fab3e8592e4ca4ae54/Forge-0.4.15-py2-none-any.whl/forge/service.py", line 138, in descend
║ descend(child, parent, ignores)
║ File "/Users/fenos/.pex/install/Forge-0.4.15-py2-none-any.whl.9231fb8ee2b34ba80e2fa9fab3e8592e4ca4ae54/Forge-0.4.15-py2-none-any.whl/forge/service.py", line 138, in descend
║ descend(child, parent, ignores)
║ File "/Users/fenos/.pex/install/Forge-0.4.15-py2-none-any.whl.9231fb8ee2b34ba80e2fa9fab3e8592e4ca4ae54/Forge-0.4.15-py2-none-any.whl/forge/service.py", line 138, in descend
║ descend(child, parent, ignores)
║ File "/Users/fenos/.pex/install/Forge-0.4.15-py2-none-any.whl.9231fb8ee2b34ba80e2fa9fab3e8592e4ca4ae54/Forge-0.4.15-py2-none-any.whl/forge/service.py", line 138, in descend
║ descend(child, parent, ignores)
║ File "/Users/fenos/.pex/install/Forge-0.4.15-py2-none-any.whl.9231fb8ee2b34ba80e2fa9fab3e8592e4ca4ae54/Forge-0.4.15-py2-none-any.whl/forge/service.py", line 138, in descend
║ descend(child, parent, ignores)
║ File "/Users/fenos/.pex/install/Forge-0.4.15-py2-none-any.whl.9231fb8ee2b34ba80e2fa9fab3e8592e4ca4ae54/Forge-0.4.15-py2-none-any.whl/forge/service.py", line 138, in descend
║ descend(child, parent, ignores)
║ File "/Users/fenos/.pex/install/Forge-0.4.15-py2-none-any.whl.9231fb8ee2b34ba80e2fa9fab3e8592e4ca4ae54/Forge-0.4.15-py2-none-any.whl/forge/service.py", line 121, in descend
my repo lives in ~/Documents/Projects/{name}/{repo}, inside the repo I have the service.yaml file.
Some debug information:
I added a print after This line - here's the output.
Hi, Thanks for the great tool - It looks promising.
I spent plenty of time trying to understand why when I run
forge build
orforge deploy
the script just hang!It gets stuck in the
descend
function of theservice.py
for some reason! I added some print line to the see the current path scanned, it's traversing my entire hard drive!this is the stacktrace once i kill the process:
my repo lives in
~/Documents/Projects/{name}/{repo}
, inside the repo I have theservice.yaml
file.Some debug information:
I added a
print
after This line - here's the output.when it gets to
('FOUND')
means the function returned.Any idea why forge it's doing this?