guardicore / guardicore/monkey

Windows must use `os.getcwd()` to get `MONKEY_ISLAND_ABS_PATH`

Open
#1,207 0 comments 0 reactions 0 assignees View on GitHub
Bug Complexity: Medium Impact: Low
Dominant language
Python
Stars
7.1k
Forks
830
PR merge metrics
No merged PRs in 30d

Description

## Describe the bug
Attempting to deterimine the `MONKEY_ISLAND_ABS_PATH` based on the location of the `consts.py` file results in the following error on windows:

![image](https://user-images.githubusercontent.com/19957806/120695078-f62a0280-c478-11eb-9b1a-6476fc699d07.png)

This workaround was put in place to circumvent the issue for now: https://github.com/guardicore/monkey/commit/19e47583e9a5db88f208bdd8775f1cfce27f1b82

## To Reproduce
Steps to reproduce the behavior:
1. Build a Windows MSI on jenkins
2. Install Monkey Island on Windows
3. Run Monkey Island

## Machine version (please complete the following information):
- OS: Windows 10

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.