DragonBuild / dragon

pip install dragon | A Powerful buildsystem and toolkit currently targeting darwin (iOS/macOS) machines
MIT License
220 stars 23 forks source link

Error on Linux #13

Closed tylerwolf35 closed 4 years ago

tylerwolf35 commented 4 years ago

Hello, I am trying to use DragonBuild on Arch Linux. When I run the bash script, initially everything appears to be going fine, the script ends with the following errors:

fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git

I notice that I can still run dragon commands, so I attempt to build a package using dragon d and I get the following result:

We hit an error while generating your package. Unfortunately this error is undocumented. This means that either _kritanta broke something, or you've found a new bug! Regardless, please do reach out to @_kritanta with this info! Press v for detailed debugging output, any other key to exit. Exiting...

I will give the detailed debugging output below:

File "/home/tyler/.dragonbuild//DragonGen/DragonGen.py", line 1100, in <module> main() File "/home/tyler/.dragonbuild//DragonGen/DragonGen.py", line 1042, in main config = yaml.safe_load(f) File "/usr/lib/python3.8/site-packages/yaml/__init__.py", line 162, in safe_load return load(stream, SafeLoader) File "/usr/lib/python3.8/site-packages/yaml/__init__.py", line 114, in load return loader.get_single_data() File "/usr/lib/python3.8/site-packages/yaml/constructor.py", line 49, in get_single_data node = self.get_single_node() File "/usr/lib/python3.8/site-packages/yaml/composer.py", line 39, in get_single_node if not self.check_event(StreamEndEvent): File "/usr/lib/python3.8/site-packages/yaml/parser.py", line 98, in check_event self.current_event = self.state() File "/usr/lib/python3.8/site-packages/yaml/parser.py", line 171, in parse_document_start raise ParserError(None, None, ParserError(None, None, "expected '<document start>', but found '<scalar>'", <yaml.error.Mark object at 0x7fda64a93d90>) expected '<document start>', but found '<scalar>' in "DragonMake", line 6, column 1

demhademha commented 4 years ago

You need to install git

tylerwolf35 commented 4 years ago

You need to install git

This does not work, I have git installed.

0cyn commented 4 years ago

You should delete the project files and reinstall the latest version.