[Planet] Missing!

Juan José Alonso. kernel.no.found at gmail.com
Sun Jul 1 12:03:12 EST 2007


(Excuse me if my english not all correct, im not english.)

Hello,
First congratulation by this great software.

Second, i try describe my problems.

1) Running planet 2.0 on Windows XP SP2 with default config.ini this update
good, but only the first time, the second time i get ever:

    msvcrt.locking(fd, msvcrt.LK_UNLCK, 1)
IOError: [Errno 13] Permission denied

Googling i found a fix:

     # Go-go-gadget-template
-    manager =3D planet.htmltmpl.TemplateManager()
+    manager =3D planet.htmltmpl.TemplateManager(precompile =3D 0)



2) My second problem is into a webhost (dreamhost isp), i have an update cgi
scripts:

#!/usr/bin/python
import os
def main():
    print "Content-type: text/html"
    print
    print "<html><head>"
    print "<title>Updated!</title>"
    print "</head><body>"
    print "Feed updated!"
    print "%s" % os.system("python planetario/planet.py
examples/fancy/config.ini")
    print "</body></html>"
if __name__ =3D=3D "__main__":
    main()


This script run python planetario/planet.py examples/fancy/config.ini with
the same default config.ini that in my machine (windows xp sp2) but no
create any html into output dir, i see the error.log of the server and see
this:

[Sat Jun 30 18:48:35 2007] [error] [client 84.122.200.187] Configuration
missing [Planet] section.


I go to see this config.ini and YES have [Planet]

[Planet]
# name: Your planet's name
# link: Link to the main page
# owner_name: Your name
# owner_email: Your e-mail address
name =3D Planet Schmanet
link =3D http://planet.schmanet.janet/
owner_name =3D Janet Weiss
owner_email =3D janet at slut.sex


I also try with the basic template, but i see that only fail on webhost, the
webhost is linux2 platform.

Then, why this problem? Can help me please?
Thanks all!
-- =

Juan Jos=E9 Alonso. KarlsBerg.
eMail: kernel.no.found at gmail.com
MSN: kernel.no.found at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /archives/devel/attachments/20070701/6b4d3724/attachment.htm


More information about the devel mailing list