Jori Mantysalo <[email protected]> writes: > Still puzzling about this... Now I have tried to get ldap to really > work. And got "Failed to load application: No module named > flask_version".
This is probably due to something François Bissey pointed out to me and Jason Grout earlier in an email - the setup.py for sagenb doesn't actually install the flask_version directory found in the main sagenb directory, so sagenb fails to work unless you run `setup.py develop` (rather than, or in addition to, `setup.py install`). So try `setup.py develop` in the sagenb directory and see if it starts working. This is probably a bug, though 1) it doesn't affect anyone installing sagenb automatically as part of the Sage installation process because we use `setup.py develop` in the build script for the sagenb SPKG, and 2) maybe there's some good reason for it to be this way which I'm not seeing (?). Alternatively you could apply this patch to the sagenb sources: https://github.com/cschwan/sage-on-gentoo/blob/master/sci-mathematics/sage-notebook/files/sage-notebook-0.9.0-setup.py.patch (François decided to just go ahead and fix this - maybe we should just do so in sagenb as well.) -Keshav ---- Join us in #sagemath on irc.freenode.net ! -- -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
