questions on 1.5rc3

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

questions on 1.5rc3

Joseph Reagle-2

I decided to try to move to the latest and greatest (again) and stubbed my toes on the following:

 

1. If `config` is install, the cgi script will import it first and throw an error <http://pypi.python.org/pypi/config/0.3.7> .

2. How to get comments to work? I've attached my config.py, I think it is set correctly, but I'm not seeing anything appropriate on:

http://reagle.org/joseph/blog3/


------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev

_______________________________________________
pyblosxom-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/pyblosxom-users

config.py (8K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: questions on 1.5rc3

will kahn-greene
How are you running PyBlosxom?  With the cgi script?  FastCGI?  WSGI?

Did you run:

   pyblosxom-cmd test

?  If so, does the comments plugin load?  Does it say it's configured
ok?  Are the templates in the right place?


On Mon 15 Aug 2011 04:13:21 PM EDT, Joseph Reagle wrote:

> I decided to try to move to the latest and greatest (again) and stubbed
> my toes on the following:
>
> 1. If `config` is install, the cgi script will import it first and throw
> an error <http://pypi.python.org/pypi/config/0.3.7> .
>
> 2. How to get comments to work? I've attached my config.py, I think it
> is set correctly, but I'm not seeing anything appropriate on:
>
> http://reagle.org/joseph/blog3/

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
pyblosxom-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/pyblosxom-users
Reply | Threaded
Open this post in threaded view
|

Re: questions on 1.5rc3

Joseph Reagle-2

On Monday, August 15, 2011, will kahn-greene wrote:

> How are you running PyBlosxom? With the cgi script? FastCGI? WSGI?

 

CGI script.

 

> pyblosxom-cmd test

 

- 'comments' (/home/reagle/data/2web/pyblosxom-1.5rc3/plugins/comments/__init__.pyc)

 

(see attached).

 

> If so, does the comments plugin load?

 

It says it does, without verification.

 

> Does it say it's configured ok?

 

Not sure.

 

> Are the templates in the right place?

 

The flavours?

 


------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev

_______________________________________________
pyblosxom-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/pyblosxom-users

results.txt (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: questions on 1.5rc3

Joseph Reagle-2
In reply to this post by will kahn-greene

On Monday, August 15, 2011, will kahn-greene wrote:

> Are the templates in the right place?

 

The directions say:

 

> Copy the flavour files from the plugins/comments/flavours directory to the appropriate places alongside your flavour files.


What are the appropriate places? I've gone back to using the default flavours (rather than my own from my 1.3 install) and my directory now looks like:

 

~~~~

orb:/home/reagle/e/clear/data/2web/pyblosxom-1.5rc3/flavours> dir

total 140

drwxrwxr-x 2 reagle reagle 4096 2011-08-15 14:40 atom.flav/

-rw-r--r-- 1 reagle reagle 471 2011-06-18 23:01 comment.atom

-rw-r--r-- 1 reagle reagle 0 2011-06-18 23:01 comment-form.atom

-rw-r--r-- 1 reagle reagle 1594 2011-06-18 23:01 comment-form.html

-rw-r--r-- 1 reagle reagle 0 2011-06-18 23:01 comment-form.rss20

-rw-r--r-- 1 reagle reagle 173 2011-06-18 23:01 comment.html

-rw-r--r-- 1 reagle reagle 248 2011-06-18 23:01 comment-preview.html

-rw-r--r-- 1 reagle reagle 482 2011-06-18 23:01 comment.rss20

-rw-r--r-- 1 reagle reagle 0 2011-06-18 23:01 comment-story.atom

-rw-r--r-- 1 reagle reagle 30 2011-06-18 23:01 comment-story.html

-rw-r--r-- 1 reagle reagle 0 2011-06-18 23:01 comment-story.rss20

drwxrwxr-x 2 reagle reagle 4096 2011-08-15 14:40 error.flav/

drwxrwxr-x 2 reagle reagle 4096 2011-08-15 14:40 html.flav/

drwxrwxr-x 2 reagle reagle 4096 2011-08-15 14:40 rss20.flav/

drwxrwxr-x 2 reagle reagle 4096 2011-08-15 14:40 rss.flav/

~~~~


------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev

_______________________________________________
pyblosxom-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/pyblosxom-users
Reply | Threaded
Open this post in threaded view
|

Re: questions on 1.5rc3

will kahn-greene
Definitely worth reading through:

http://pyblosxom.bluesock.org/1.5/flavours_and_templates.html

See if that helps.

/will


On 08/15/2011 05:01 PM, Joseph Reagle wrote:

> On Monday, August 15, 2011, will kahn-greene wrote:
>
>  > Are the templates in the right place?
>
> The directions say:
>
>  > Copy the flavour files from theplugins/comments/flavours directory to
> the appropriate places alongside your flavour files.
>
>
> What are the appropriate places? I've gone back to using the default
> flavours (rather than my own from my 1.3 install) and my directory now
> looks like:
>
> ~~~~
>
> orb:/home/reagle/e/clear/data/2web/pyblosxom-1.5rc3/flavours> dir
>
> total 140
>
> drwxrwxr-x 2 reagle reagle 4096 2011-08-15 14:40 atom.flav/
>
> -rw-r--r-- 1 reagle reagle 471 2011-06-18 23:01 comment.atom
>
> -rw-r--r-- 1 reagle reagle 0 2011-06-18 23:01 comment-form.atom
>
> -rw-r--r-- 1 reagle reagle 1594 2011-06-18 23:01 comment-form.html
>
> -rw-r--r-- 1 reagle reagle 0 2011-06-18 23:01 comment-form.rss20
>
> -rw-r--r-- 1 reagle reagle 173 2011-06-18 23:01 comment.html
>
> -rw-r--r-- 1 reagle reagle 248 2011-06-18 23:01 comment-preview.html
>
> -rw-r--r-- 1 reagle reagle 482 2011-06-18 23:01 comment.rss20
>
> -rw-r--r-- 1 reagle reagle 0 2011-06-18 23:01 comment-story.atom
>
> -rw-r--r-- 1 reagle reagle 30 2011-06-18 23:01 comment-story.html
>
> -rw-r--r-- 1 reagle reagle 0 2011-06-18 23:01 comment-story.rss20
>
> drwxrwxr-x 2 reagle reagle 4096 2011-08-15 14:40 error.flav/
>
> drwxrwxr-x 2 reagle reagle 4096 2011-08-15 14:40 html.flav/
>
> drwxrwxr-x 2 reagle reagle 4096 2011-08-15 14:40 rss20.flav/
>
> drwxrwxr-x 2 reagle reagle 4096 2011-08-15 14:40 rss.flav/
>
> ~~~~
>
>
>
> ------------------------------------------------------------------------------
> uberSVN's rich system and user administration capabilities and model
> configuration take the hassle out of deploying and managing Subversion and
> the tools developers use with it. Learn more about uberSVN and get a free
> download at:  http://p.sf.net/sfu/wandisco-dev2dev
>
>
>
> _______________________________________________
> pyblosxom-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/pyblosxom-users

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
pyblosxom-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/pyblosxom-users
Reply | Threaded
Open this post in threaded view
|

Re: questions on 1.5rc3

Joseph Reagle-2

On Monday, August 15, 2011, will kahn-greene wrote:

> http://pyblosxom.bluesock.org/1.5/flavours_and_templates.html

 

That doesn't say anything about comments...

 

Is there a version of a flavour that comes with comments ready to go?

 


------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev

_______________________________________________
pyblosxom-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/pyblosxom-users
Reply | Threaded
Open this post in threaded view
|

Re: questions on 1.5rc3

will kahn-greene
It talks about how flavours and templates are structured on the file
system.  You need to follow that structure when adding the comments
related templates.


On 08/15/2011 05:21 PM, Joseph Reagle wrote:
> On Monday, August 15, 2011, will kahn-greene wrote:
>
>  > http://pyblosxom.bluesock.org/1.5/flavours_and_templates.html
>
> That doesn't say anything about comments...
>
> Is there a version of a flavour that comes with comments ready to go?
>

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
pyblosxom-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/pyblosxom-users
Reply | Threaded
Open this post in threaded view
|

Re: questions on 1.5rc3

Janis Kracht
In reply to this post by Joseph Reagle-2
Joseph Reagle wrote:

On Monday, August 15, 2011, will kahn-greene wrote:

> http://pyblosxom.bluesock.org/1.5/flavours_and_templates.html

 

That doesn't say anything about comments...

 

Is there a version of a flavour that comes with comments ready to go?

 


These are the templates I'm using over here for a flavor that is a take-off on the Wordpress Adventure theme at http://www.filegate.net/blog/

-rwxrwxr-x 1 www-data www-data   75 2011-07-12 13:08 comment-story.adv
-rwxrwxr-x 1 www-data www-data  207 2011-07-12 13:08 comment-preview.adv
-rwxrwxr-x 1 www-data www-data  106 2011-07-12 13:13 summary.adv
-rwxrwxr-x 1 www-data www-data  117 2011-07-12 13:13 static.adv
-rwxrwxr-x 1 www-data www-data  705 2011-07-12 13:14 registry-story.adv
-rwxrwxr-x 1 www-data www-data   10 2011-07-12 13:14 content_type.adv
-rwxrwxr-x 1 www-data www-data  475 2011-07-16 23:58 story.adv
-rwxr-xr-x 1 www-data www-data 1.6K 2011-07-17 11:29 comment-form.adv
-rwxr-xr-x 1 www-data www-data  262 2011-07-17 11:29 comment.adv
-rwxrwxr-x 1 www-data www-data  771 2011-07-20 11:25 foot.adv
-rwxrwxr-x 1 www-data www-data 2.7K 2011-08-02 15:59 head.adv

I mentioned to Will a while back that I couldn't get the comments to work until 1.5 came out.. I re-installed the plugins in my plugin directory and the comments just started working.. 

I can zip those templates up for you if you want to play around with them.. 

For plugins, I'm pulling these over here, some of them I loaded up early on when I was pulling my hair out over the comments :

py["load_plugins"] =["akismetcomments", "akismet", "booklist",
"check_nonhuman", "comments", "filekicker", "index", "no_old_comments",
"pyrecentposts", "plugininfo", "pyarchives", "pycalendar", "pycategories",
"pygallery", "pyinclude", "trackback", "viewcount", "xmlrpc_blogger",
"xmlrpcexamples", "xmlrpc_metaweblog", "xmlrpc_pingback", "xmlrpc"]

Take care,
Janis





------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev

_______________________________________________
pyblosxom-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/pyblosxom-users
Reply | Threaded
Open this post in threaded view
|

Re: questions on 1.5rc3

Joseph Reagle-2
In reply to this post by will kahn-greene

 

I suspect my problem isn't templates, but the plugin itself. I note that in my old install I do get a verification:

 

~~~~

=== plugin: 'comments'

file: /home/reagle/data/2web/pyblosxom-contrib-1.3.3/plugins/comments/plugins/comments.pyc

version: $Id: comments.py 991 2007-02-26 01:20:02Z ryanbarrett $

missing optional property: 'comment_ext'

PASS

~~~~

 

Now I get:

 

~~~

- 'comments' (/home/reagle/data/2web/pyblosxom-1.5rc3/plugins/comments/__init__.pyc)

~~~~

 

Is that right?

 

Is there a way via the Web -- rather than the command line -- that would show some diagnostics of what plugin is operational and/or what variables are available?


------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev

_______________________________________________
pyblosxom-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/pyblosxom-users
Reply | Threaded
Open this post in threaded view
|

Re: questions on 1.5rc3

will kahn-greene
My guess is that it's not showing anything because it's not picking up
the templates.  Why don't you hop on IRC and we can work through this.


On Tue 16 Aug 2011 09:04:30 AM EDT, Joseph Reagle wrote:

> I suspect my problem isn't templates, but the plugin itself. I note that
> in my old install I do get a verification:
>
> ~~~~
>
> === plugin: 'comments'
>
> file:
> /home/reagle/data/2web/pyblosxom-contrib-1.3.3/plugins/comments/plugins/comments.pyc
>
> version: $Id: comments.py 991 2007-02-26 01:20:02Z ryanbarrett $
>
> missing optional property: 'comment_ext'
>
> PASS
>
> ~~~~
>
> Now I get:
>
> ~~~
>
> - 'comments'
> (/home/reagle/data/2web/pyblosxom-1.5rc3/plugins/comments/__init__.pyc)
>
> ~~~~
>
> Is that right?
>
> Is there a way via the Web -- rather than the command line -- that would
> show some diagnostics of what plugin is operational and/or what
> variables are available?

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
pyblosxom-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/pyblosxom-users
Reply | Threaded
Open this post in threaded view
|

Re: questions on 1.5rc3

Joseph Reagle-2
In reply to this post by Joseph Reagle-2

 

I wanted to thank Will for helping me figure out my comments plugin befuddlement! After many years I'm finally running a current version, and I easily made use of the paginate plugin, something I've long wanted. Woohoo and thanks!


------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
pyblosxom-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/pyblosxom-users
Reply | Threaded
Open this post in threaded view
|

Re: questions on 1.5rc3

Janis Kracht
Joseph Reagle wrote:
>
>  
>
> I wanted to thank Will for helping me figure out my comments plugin
> befuddlement! After many years I'm finally running a current version,
> and I easily made use of the paginate plugin, something I've long
> wanted. Woohoo and thanks!
>
Very cool :)

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
pyblosxom-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/pyblosxom-users