Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: countershape.model.ApplicationError: Link to unknown page: src-dir/somecss #3

Open
samtaufa opened this issue Sep 23, 2009 · 0 comments

Comments

@samtaufa
Copy link
Collaborator

Caused after update: http://github.com/cortesi/countershape/commit/911eaebb1b4bc602f6bfef91a71fda8d9a97eaaf

Duplicated Always:

work: cshape /path-to/root/of/site/
fail: cshape /path-to/root/of/site <-- note no ending slash

Example:

works: cshape test /tmp
works: cshape /home/samt/src/test/ /tmp
fail: cshape /home/samt/src/test /tmp
Traceback (most recent call last):
File "/usr/local/bin/cshape", line 50, in

main()

File "/usr/local/bin/cshape", line 46, in main

c.main()

File "/usr/local/bin/cshape", line 34, in main

d.render(args[1])

File "/usr/local/lib/python2.6/site-packages/countershape/doc.py", line 296, in render

out = self(i)

File "/usr/local/lib/python2.6/site-packages/countershape/doc.py", line 301, in call

return list(model.BaseApplication.call(self, page))[0]

File "/usr/local/lib/python2.6/site-packages/countershape/model.py", line 465, in call

for d in page():

File "/usr/local/lib/python2.6/site-packages/countershape/model.py", line 299, in call

yield unicode(layout(self))

File "/usr/local/lib/python2.6/site-packages/countershape/layout.py", line 39, in call

data[i] = unicode(c)

File "/usr/local/lib/python2.6/site-packages/countershape/model.py", line 247, in str

self.path(j)

File "/usr/local/lib/python2.6/site-packages/countershape/model.py", line 235, in path

path = unicode(spec)

File "/usr/local/lib/python2.6/site-packages/countershape/model.py", line 54, in str

raise ApplicationError(s)

countershape.model.ApplicationError: Link to unknown page: test/test.css.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant