DragonBuild / dragon

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

Poorly documented YAML Parsing Errors #11

Closed rullinoiz closed 4 years ago

rullinoiz commented 4 years ago

i’m trying to build your Gravitation tweak with this and it seems to be giving me undocumented errors, and from a python developer, the errors don’t seem easy to debug. the other error i saw was kind of what i had but here’s the thing: some things go wrong on my computer and when i ssh into my computer from my phone, other things go wrong. i realize this is new and you seem to be really working hard (thanks for that) but i need my gravitation tweak

by the way, i had to install some python modules (regex), so that might be a problem

another thing i noticed is that the python shell it’s using is the one that comes with spyder, so maybe that’s conflicting with something too

here’s a snippet of the error:

`File "/Users/OllinRuiz/.dragonbuild//DragonGen/DragonGen.py", line 1100, in main() File "/Users/OllinRuiz/.dragonbuild//DragonGen/DragonGen.py", line 1042, in main config = yaml.safe_load(f) File "/Users/OllinRuiz/opt/anaconda3/lib/python3.7/site-packages/yaml/init.py", line 162, in safe_load return load(stream, SafeLoader) File "/Users/OllinRuiz/opt/anaconda3/lib/python3.7/site-packages/yaml/init.py", line 114, in load return loader.get_single_data() File "/Users/OllinRuiz/opt/anaconda3/lib/python3.7/site-packages/yaml/constructor.py", line 41, in get_single_data node = self.get_single_node() File "/Users/OllinRuiz/opt/anaconda3/lib/python3.7/site-packages/yaml/composer.py", line 39, in get_single_node if not self.check_event(StreamEndEvent): File "/Users/OllinRuiz/opt/anaconda3/lib/python3.7/site-packages/yaml/parser.py", line 98, in check_event self.current_event = self.state() File "/Users/OllinRuiz/opt/anaconda3/lib/python3.7/site-packages/yaml/parser.py", line 174, in parse_document_start self.peek_token().start_mark)

ParserError(None, None, "expected '', but found ''", <yaml.error.Mark object at 0x108baa250>) expected '', but found '' in "DragonMake", line 6, column 1 [Dragon] Cleaning Up `

rullinoiz commented 4 years ago

thank you so much for fixing this, i can finally build gravitation (i had to install some commands like ldid and dpkg but it works!)