Skip to content

Commit dd1607c

Browse files
authored
Merge pull request #209 from TieWay59/add-troubleshooting-case
[docs] update troubleshooting
2 parents b7dcabd + f8d9d65 commit dd1607c

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

docs/getting-started/troubleshooting.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,4 +253,18 @@ Retrying (Retry(total=10,connected=21,read=0,redirect=5,status=None)) after conn
253253
* Diagnosis: After a rebuild of git-based indices you are not receiving a full dataset as expected, but only from the date of the re-index forward. That data is complete, but anything prior to that is missing.
254254
* Solution: The `setup.cfg` file has an option under the Git configuration section: `latest-items = true` - set this to `latest-items = false` to pull in all data from the beginnning. Once this has been processed, remember to set it back to `latest-items = true`!
255255
256-
---
256+
### Directory Not Found
257+
258+
* Indication: while following the tutorial of [Source code and docker](https://github.com/chaoss/grimoirelab-sirmordred/blob/master/Getting-Started.md#source-code-and-docker-), you might receive an error log of `[Errno 2] No such file or directory: '/tmp/worktrees/grimoirelab-toolkit-git'`. This will be reported by `cocom` backend.
259+
* Diagnosis: the `cocom` backend would require worktrees. The micro-project by default will attend to reach a location at `<worktrees-path>/grimoirelab-toolkit-git`.
260+
* Solution:
261+
* if you don't need `cocom` support, you can exclude it in your command, i.e. `python --raw --enrich --cfg ./setup.cfg --backends git`.
262+
* or you can create the directory manually:
263+
* make sure you installed `cloc` (see [this](https://github.com/chaoss/grimoirelab-graal#how-to-installcreate-the-executables))
264+
* create two directory `mkdir /somepath` and `mkdir /somepath/grimoirelab-toolkit-git`
265+
* use `/somepath/` as the `worktree-path` in `setup.cfg`'s `[cocom]` section. (see how to configure `cocom` in [this](https://github.com/chaoss/grimoirelab-sirmordred#cocom-))
266+
* rerun the command `python --raw --enrich --cfg ./setup.cfg --backends git cocom`
267+
* Reference:
268+
* [Issue #539 · chaoss/grimoirelab-sirmordred (github.com)](https://github.com/chaoss/grimoirelab-sirmordred/issues/539)
269+
270+
---

0 commit comments

Comments
 (0)