Open
Description
get the following error log while using ollama as model and running
python main.py --dir /Users/priyangshu.mazumder/Desktop/POC/object-service/server/src --include "*"
Traceback (most recent call last):
File "/Users/priyangshu.mazumder/Desktop/POC/PocketFlow-Tutorial-Codebase-Knowledge/nodes.py", line 178, in exec
idx = int(str(idx_entry).strip())
ValueError: invalid literal for int() with base 10: 'main/java/com/whatfix/Migration/NonOSMigration/DataReaderPipelineNonOs.java'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/priyangshu.mazumder/Desktop/POC/PocketFlow-Tutorial-Codebase-Knowledge/main.py", line 84, in <module>
main()
~~~~^^
File "/Users/priyangshu.mazumder/Desktop/POC/PocketFlow-Tutorial-Codebase-Knowledge/main.py", line 81, in main
tutorial_flow.run(shared)
~~~~~~~~~~~~~~~~~^^^^^^^^
File "/Users/priyangshu.mazumder/Desktop/POC/.venv/lib/python3.13/site-packages/pocketflow/__init__.py", line 16, in run
return self._run(shared)
~~~~~~~~~^^^^^^^^
File "/Users/priyangshu.mazumder/Desktop/POC/.venv/lib/python3.13/site-packages/pocketflow/__init__.py", line 50, in _run
def _run(self,shared): p=self.prep(shared); o=self._orch(shared); return self.post(shared,p,o)
~~~~~~~~~~^^^^^^^^
File "/Users/priyangshu.mazumder/Desktop/POC/.venv/lib/python3.13/site-packages/pocketflow/__init__.py", line 48, in _orch
while curr: curr.set_params(p); last_action=curr._run(shared); curr=copy.copy(self.get_next_node(curr,last_action))
~~~~~~~~~^^^^^^^^
File "/Users/priyangshu.mazumder/Desktop/POC/.venv/lib/python3.13/site-packages/pocketflow/__init__.py", line 13, in _run
def _run(self,shared): p=self.prep(shared); e=self._exec(p); return self.post(shared,p,e)
~~~~~~~~~~^^^
File "/Users/priyangshu.mazumder/Desktop/POC/.venv/lib/python3.13/site-packages/pocketflow/__init__.py", line 33, in _exec
if self.cur_retry==self.max_retries-1: return self.exec_fallback(prep_res,e)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/Users/priyangshu.mazumder/Desktop/POC/.venv/lib/python3.13/site-packages/pocketflow/__init__.py", line 28, in exec_fallback
def exec_fallback(self,prep_res,exc): raise exc
^^^^^^^^^
File "/Users/priyangshu.mazumder/Desktop/POC/.venv/lib/python3.13/site-packages/pocketflow/__init__.py", line 31, in _exec
try: return self.exec(prep_res)
~~~~~~~~~^^^^^^^^^^
File "/Users/priyangshu.mazumder/Desktop/POC/PocketFlow-Tutorial-Codebase-Knowledge/nodes.py", line 184, in exec
raise ValueError(f"Could not parse index from entry: {idx_entry} in item {item['name']}")
ValueError: Could not parse index from entry: main/java/com/whatfix/Migration/NonOSMigration/DataReaderPipelineNonOs.java in item NonOS Migration Data Reader Pipeline
Metadata
Metadata
Assignees
Labels
No labels