Closed luckypoem closed 9 years ago
It is used for feed urls and disqus integration. If you do not provide a www_root
some links may be invalid. See http://posativ.org/acrylamid/conf.py.html#basic-settings -> www_root
for details.
hi.pls see below. how to fix it?
as3:~/acrylamid# acrylamid compile
Traceback (most recent call last):
File "/usr/local/bin/acrylamid", line 9, in
there is no articles.html,where is the file?
It looks like the template is not found. Usually, when you follow the quickstart, you initialize a basic blog structure (including a theme/ directory). If you use custom layouts, make sure to change them for each view separately (e.g. "view": {..., template:"foo.html"}
.
hi.
i feel very strange.acrylamid has no init parameter??
as3:~/acrylamid# acrylamid init myblog usage: acrylamid [-h] [-v] [-q] [-C] [--conf /path/to/conf] [--version] ... acrylamid: error: argument parser: invalid choice: 'init' (choose from 'compile', 'view', 'autocompile', 'co', 'gen', 'generate', 'serve', 'srv', 'aco', 'info', 'ping', 'check', 'deploy', 'dp', 'import', 'new') as3:~/acrylamid#
tks
The init command has been removed from master. You need to initialize with the PyPi release and then upgrade to master. Sorry for the inconvenience.
hi. wether i use "python setup.py install" or "easy_install -U acrylamid",THEN when i run "acrylamid init myblog",it always show: acrylamid: error: argument parser: invalid choice: 'init' (choose from 'compile', 'view', 'autocompile', 'co', 'gen', 'generate', 'serve', 'srv', 'aco', 'info', 'ping', 'check', 'deploy', 'dp', 'import', 'new')
so can u give a version with the init feature?can give the version's download link?
Can you show me the output of pip freeze
?
hi.
as3:~/acrylamid# pip freeze Warning: cannot find svn location for Attest-latest==0.6dev-20121124
Attest-latest==0.6dev-20121124 Django==1.4.10 Jinja2==2.7.1 Logbook==0.6.0 Mako==0.7.3 Markdown==2.1.1 MarkupSafe==0.18 acrylamid==0.8.dev0
You still have the master installed. Do:
pip uninstall acrylamid
pip freeze | grep acrylamid
is empty. If not, go to 1.pip install acrylamid
hi.
thank u so much for ur patience.finally i solved it
hi.
as3:~/acrylamid/docs# acrylamid compile warn no
www_root
specified, using localhost:8000 0 new, 0 updated, 0 skipped [0.19s] as3:~/acrylamid/docs#i opened conf.py,didn't see where to set
www_root
how to fix it? tks