You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, I applied all the changes mentioned and I keep getting the following errors. Kindly assist.
Traceback (most recent call last): File "/usr/local/bin/aclpwn", line 8, in <module> sys.exit(main()) File "/usr/local/lib/python3.9/dist-packages/aclpwn/__init__.py", line 120, in main paths = pathfinding.dijkstra_find(fromid, toid, args.database) File "/usr/local/lib/python3.9/dist-packages/aclpwn/pathfinding.py", line 34, in dijkstra_find data = resp.json() File "/usr/lib/python3/dist-packages/requests/models.py", line 900, in json return complexjson.loads(self.text, **kwargs) File "/usr/lib/python3/dist-packages/simplejson/__init__.py", line 525, in loads return _default_decoder.decode(s) File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode obj, end = self.raw_decode(s) File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 400, in raw_decode return self.scan_once(s, idx=_w(s, idx).end()) simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Hi there, I applied all the changes mentioned and I keep getting the following errors. Kindly assist.
Traceback (most recent call last): File "/usr/local/bin/aclpwn", line 8, in <module> sys.exit(main()) File "/usr/local/lib/python3.9/dist-packages/aclpwn/__init__.py", line 120, in main paths = pathfinding.dijkstra_find(fromid, toid, args.database) File "/usr/local/lib/python3.9/dist-packages/aclpwn/pathfinding.py", line 34, in dijkstra_find data = resp.json() File "/usr/lib/python3/dist-packages/requests/models.py", line 900, in json return complexjson.loads(self.text, **kwargs) File "/usr/lib/python3/dist-packages/simplejson/__init__.py", line 525, in loads return _default_decoder.decode(s) File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode obj, end = self.raw_decode(s) File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 400, in raw_decode return self.scan_once(s, idx=_w(s, idx).end()) simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Does anyone know the fix to this?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi,
This should allow to use aclpwn.py with neo4j >= 4.0 and python >= 3 with algorithms shortestonly and dijkstra-cypher.
This needs to be double checked. However, it should fix #4 and fix #6. Hope it helps.