MathHubInfo / Legacy-localmh

DEPRECATED - A cross-repository administration tool for the local authoring in MathHub.info
1 stars 0 forks source link

lmh install regressed? #275

Closed kohlhase closed 8 years ago

kohlhase commented 8 years ago

I get

Michaels-MBP:MathHub kohlhase$ pwd
/Users/kohlhase/localmh/MathHub
Michaels-MBP:MathHub kohlhase$ lmh install MMT/DynamicLF
'NoneType' object has no attribute 'find'
Parsing failure (make sure gl::projects_url is correct)
'NoneType' object has no attribute 'find'
Parsing failure (make sure gl::projects_url is correct)
'NoneType' object has no attribute 'find'
Parsing failure (make sure gl::projects_url is correct)
'NoneType' object has no attribute 'find'
...

and one directory up I get the same

Michaels-MBP:MathHub kohlhase$ cd MMT
Michaels-MBP:MMT kohlhase$ lmh install DynamicLF
'NoneType' object has no attribute 'find'
Parsing failure (make sure gl::projects_url is correct)
'NoneType' object has no attribute 'find'
...
tkw1536 commented 8 years ago

Same issue that happened some time before christmas. Part of the gitlab glob resolution is broken. I will look up the workaround.

On Wed, Jan 6, 2016, 10:50 Michael Kohlhase notifications@github.com wrote:

I get

Michaels-MBP:MathHub kohlhase$ pwd /Users/kohlhase/localmh/MathHub Michaels-MBP:MathHub kohlhase$ lmh install MMT/DynamicLF 'NoneType' object has no attribute 'find' Parsing failure (make sure gl::projects_url is correct) 'NoneType' object has no attribute 'find' Parsing failure (make sure gl::projects_url is correct) 'NoneType' object has no attribute 'find' Parsing failure (make sure gl::projects_url is correct) 'NoneType' object has no attribute 'find' ...

and one directory up I get the same

Michaels-MBP:MathHub kohlhase$ cd MMT Michaels-MBP:MMT kohlhase$ lmh install DynamicLF 'NoneType' object has no attribute 'find' Parsing failure (make sure gl::projects_url is correct) 'NoneType' object has no attribute 'find' ...

— Reply to this email directly or view it on GitHub https://github.com/KWARC/localmh/issues/275.

tkw1536 commented 8 years ago

Workaround:

lmh config install::noglobs true

If that gives an error message about not being able to write the config file you first need to:

lmh docker sshell
touch /path/to/localmh/bin/lmh.cfg
chmod a+rw /path/to/localmh/bin/lmh.cfg
exit

(that is a localmh_docker issue: KWARC/localmh_docker#24)

tkw1536 commented 8 years ago

Has finally been fixed on dev. The config can be reset via

lmh config --reset install::noglobs