blogofile init not working properly (git)

27 views
Skip to first unread message

Wasil Sergejczyk

unread,
May 28, 2012, 5:07:52 AM5/28/12
to blogofile-discuss
blogofile can't manage installed blog plugin properly, it tries to
find _controllers and other packed in the zip file on old (0.7)
location. if i manually copy all the required files, it builds and
serves smoothly.
this happens with both Doug's and Ryan's repos.

Doug Latornell

unread,
May 28, 2012, 10:26:05 AM5/28/12
to blogofil...@googlegroups.com
On Mon, May 28, 2012 at 2:07 AM, Wasil Sergejczyk <szelg...@gmail.com> wrote:
> blogofile can't manage installed blog plugin properly, it tries to
> find _controllers and other packed in the zip file on old (0.7)
> location. if i manually copy all the required files, it builds and
> serves smoothly.

You're right, we don't have a good way yet of migrating from 0.7 to
0.8. But it sounds like you have figured it out. Can you give more
details about what files you had to copy, from where to where. It will
help others and maybe be the basis for automatic upgrading as 0.8 goes
forward.

> this happens with both Doug's and Ryan's repos.

I'm keeping those 2 repos more or less in sync. Mine gets ahead when
I've got some work-in-progress going on, but as soon as I think it's
stable enough for others to try I push it to Ryan's repo (which I
think of as the project's master repo).

Wasil Sergejczyk

unread,
May 28, 2012, 11:49:59 AM5/28/12
to blogofile-discuss
i manually copied:
- the content of blogofile/site_init/simple_blog_html5 from source
directory cloned from github (setup.py didn't install it into dist-
packages).
- the content of blogofile_blog/site_src
the problem is, i didn't migrate from 0.7, i tried fresh install
according to documentation on blogofile.com. so, either the
documentation is outdater, or blogofile init command is broken.

Doug Latornell

unread,
May 28, 2012, 2:51:53 PM5/28/12
to blogofil...@googlegroups.com
Thanks for the details. I'll look into this.

I really appreciate your help as we try to get blogofile moving forward again.

Doug Latornell

unread,
May 29, 2012, 12:55:06 AM5/29/12
to blogofil...@googlegroups.com
On Monday, May 28, 2012 11:51:53 AM UTC-7, Doug Latornell wrote:
On Mon, May 28, 2012 at 8:49 AM, Wasil Sergejczyk wrote:
> i manually copied:
> - the content of blogofile/site_init/simple_blog_html5 from source
> directory cloned from github (setup.py didn't install it into dist-
> packages).
> - the content of blogofile_blog/site_src
> the problem is, i didn't migrate from 0.7, i tried fresh install
> according to documentation on blogofile.com. so, either the
> documentation is outdater, or blogofile init command is broken.

Thanks for the details. I'll look into this.

This is fixed now on github.

I left out the call that builds the site_init zip files when I refactored setup.py. Packaging continued to work for me because there were old copies of the zip files in existence.

Working on this tonight has confirmed my suspicion that the site_init directory needs to go away. The blogofile init command should look to the installed plugins for the files that are to be used to set up the site.
Reply all
Reply to author
Forward
0 new messages