You are here: Home > Forum Index > Support and Help > Testing "2008 test 2"

Support and Help - Testing "2008 test 2"

 
Występują chwilowe problemy z serwerem, które mogą utrudniać dostęp do serwisów. Problem powinien być "szybko" rozwiązany...
11.07.2008
gambol
I did a svn update from "test 1". Failed to syncdb. Here is the error message:
  File "diamandas/myghtyboard/models.py", line 12, in ?
    from pages.feedupdate import *
  File "diamandas/pages/feedupdate.py", line 12
    class FeedUpdate():
                     ^
SyntaxError: invalid syntax

Should change to "class FeedUpdate:"
Thanks.

11.07.2008
riklaunim
how this didn't showed for me? :evil: on python 2.5 this doesn't make me a syntax error -_-

11.07.2008
gambol
I write code under 2.5 too, but my shared hosting only provides python 2.4 which causes this error.

Another issue, when I tested OpenID login, the front page shows:
"""
OpenID failed

Server denied check_authentication
"""

The dev server reports:
kvToSeq warning: Line 1 does not contain a colon: '<HTML>\n<HEAD>\n<TITLE>Not Implemented</TITLE>\n</HEAD>\n
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">\n
<H1>Not Implemented</H1>\n<H2>Error 501</H2>\n</BODY>\n</HTML>\n'
kvToSeq warning: Line 2 does not contain a colon: '<HTML>\n<HEAD>\n<TITLE>Not Implemented</TITLE>\n</HEAD>\n
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">\n
<H1>Not Implemented</H1>\n<H2>Error 501</H2>\n</BODY>\n</HTML>\n'
openid.associate request failed: bad status code from server http://www.blogger.com/openid-server.g: 501
Generated checkid_setup request to http://www.blogger.com/openid-server.g using stateless mode.
[03/Jul/2008 19:47:07] "POST /openid/ HTTP/1.1" 302 0
Received id_res response from http://www.blogger.com/openid-server.g using association oida-1215114450692--1419606759
Using OpenID check_authentication
return_to
identity


Which version of python openid lib are you using? Thanks.

11.07.2008
riklaunim
python-openid 2.2.0 tested with openid.pl provider. And djang-openid branch wit the openid 2.0 support.

11.07.2008
gambol
1. I suggest you can take a look at Pinax at
http://code.google.com/p/django-hotclub/

They integrate OpenID support as well, although with Python 2.5 only. It might save you some time.

2. stats has naming conflict with other modules with the same name in my python lib. As I mentioned in Test 1, I have to rename all references to 'stats' to 'diamandas.stats'. Fortunately, there are not many.

When there are no records in DB, if I click "Google keywords", it will show an error msg:
[code]

3. A quick question: What's the "Categories:" on each page for? There is no data after the title. Sometime on mouse hovering, it changes color, but not clickable. What does it suppose to do? Thanks.

11.07.2008
riklaunim
2. I'll fix it :)
3. If you add a page/content you can select is as Category/Book. Every book with sort order > 0 will show in that menu.

11.07.2008
riklaunim
As for OpenID - can you test your blogger openid on http://djangopeople.net/login/ ? :) it uses probably the same code as Diamanda.

11.07.2008
gambol

11.07.2008
riklaunim
doesn't work:
riklaunim.pip.verisignlabs.com
kvToSeq warning: Line 1 does not contain a colon: '

\n<b>Fatal error</b>:  This PHP installation has no big integer math library. Define Auth_OpenID_NO_MATH_SUPPORT
 to use this library in dumb mode. Tried: gmp, bcmath in <b>/home/.hawn/revolta/myid.pl/pear/Auth/OpenID/BigMath.php</b> on line <b>434</b>
\n'
kvToSeq warning: In line 2, ignoring leading or trailing whitespace in value '  This PHP installation has no big integer math library. ....


Works:
http://riklaunim.openid.pl/ - remove openID
http://myid.pl/id/riklaunim - remove openID
http://riklaunim.myopenid.com/ - remove openID

So it's provider problem what features they provide and which elements of OpenID are there. Idea of OpenID is simple, but the API is freaking big :P

~~~~~~~~~~~~~~
1.
coment_topic - holds Comment-Topic id if it exists
coment_forum - in which forum to create the topic
If the topic doesn't exist - adding a comment will create it, if it exists - only post will be added to existing topic

2. Not yet there in Test 2 :)

11.07.2008
gambol
1. under '/w/rss/', links are mapped to 'www.localhost/...', please map the link to the server name. thanks.

2. in diamandas/pages/templates/500.html,
please put {% load i18n %}
under {% extends "pages/body.html" %}. Current code causes a TemplateSyntaxError.

First Page | Next Page | Last Page


You can't post new Topics
You can't post new Posts
You aren't a moderator

Hosting NRC-FOSS at AU-KBC.. Django/Python powered.