Closed hsitz closed 4 years ago
The templar package should be installed from launchpad as a debian package. It is here: https://launchpad.net/~mark-veltzer Install it and then just issue "make" when you download the openbook source code. It should built. Let me know.
The README is old. I will fix it.
Thanks. I'm not sure what 'installed from launchpad' means. I installed the templar package using apt-get after adding your ppa repository (as described on launchpad link) and it seemed to install fine. Is that 'installing from launchpad'?
When I run it in Idle the function: pkgutil.iter_modules() returns a long list that does include the templar module (but nothing at all on the templardefs path). So not surprisingly when I run pkgutil.iter_modules(path=['templardefs']) I get an empty result.
Installing from launchpad is exactly what you did. I will check with python3.4 to see if I can recreate your problem...
This issue is dead since templar is no longer a prereq. The build runs well on all ubuntus.
Thanks for this project but I'm not sure I can get off the ground with it. I just wanted to let you know of a few problems I ran into trying to get the build system to work, which may be representative of problems other people have.
I'm running Ubuntu 14.04 which has Python 3.4. Maybe there's something simple I can do, but system is unfamiliar and at this point I really can't tell. It is nice just to have the song pdf's, though, and even if I don't get things going I can find some other way to plumb the mako files for the .ly source (one reason for looking at this is to get up to speed coding jazz standards with Lilypond.
5. When I run 'make' examples I get error message below, and checking manually I find that the get_mod_list() function returns an empty list:
Traceback (most recent call last): File "/usr/bin/templar_cmd", line 15, in
templar.cmdline.cmdline()
File "/usr/lib/python3/dist-packages/templar/cmdline.py", line 97, in cmdline
print(' '.join(templar.api.get_all_deps()))
File "/usr/lib/python3/dist-packages/templar/api.py", line 67, in get_all_deps
for m in get_mod_list():
File "/usr/lib/python3/dist-packages/templar/api.py", line 49, in get_mod_list
m=ml.load_module()
AttributeError: 'NoneType' object has no attribute 'load_module'
doing [out/tools.stamp]
Traceback (most recent call last):
File "/usr/bin/templar_cmd", line 15, in
templar.cmdline.cmdline()
File "/usr/lib/python3/dist-packages/templar/cmdline.py", line 89, in cmdline
d=templar.api.load_and_populate()
File "/usr/lib/python3/dist-packages/templar/api.py", line 54, in load_and_populate
for m in get_mod_list():
File "/usr/lib/python3/dist-packages/templar/api.py", line 49, in get_mod_list
m=ml.load_module()
AttributeError: 'NoneType' object has no attribute 'load_module'
make: *\ [out/tools.stamp] Error 1