I have also manually tried to reset the admin user password as suggested if
locked out, but equally failed. Since then I have purged my copy of
schooltool and reinstalled but with no change in results.
Accessing the login page directly produced the same error.
I have never been presented with the basic http auth request while using
schooltools.
Thanks all for your help...
On 13 March 2014 15:13, Tyeth <email address hidden> wrote:
> Tried suggested steps. No joy. Same Error.
>
> Your School - server running SchoolTool 2.1.1<http://localhost:7080/about.html>
>
>
> On 13 March 2014 14:43, Gediminas Paulauskas <email address hidden> wrote:
>
>> Looks to me that the database was not initialized correctly.
>>
>> There was no data entered? Delete the database and try again.
>>
>> $ sudo service schooltool stop
>> $ sudo rm -r /var/lib/schooltool/*
>> $ sudo service schooltool start
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1290996
>>
>> Title:
>> FreshInstall: Exception TypeError: Object has default comparison
>>
>> Status in SchoolTool:
>> New
>>
>> Bug description:
>> After a fresh install via APT, edited paste.ini to allow remote access.
>> Restarted service, then tried to open interface.
>> On first open at <ourdomain>:7080/
>> and equally localhost:7080
>>
>>
>> Exception
>>
>> TypeError: Object has default comparison
>>
>> Traceback
>>
>> File "/usr/lib/python2.7/dist-packages/zope/publisher/publish.py", line
>> 129, in publish
>> obj = request.traverse(obj)
>> File "/usr/lib/python2.7/dist-packages/zope/publisher/browser.py", line
>> 540, in traverse
>> ob = super(BrowserRequest, self).traverse(obj)
>> File "/usr/lib/python2.7/dist-packages/zope/publisher/http.py", line
>> 457, in traverse
>> ob = super(HTTPRequest, self).traverse(obj)
>> File "/usr/lib/python2.7/dist-packages/zope/publisher/base.py", line
>> 249, in traverse
>> publication.callTraversalHooks(self, obj)
>> File
>> "/usr/lib/python2.7/dist-packages/zope/app/publication/zopepublication.py",
>> line 137, in callTraversalHooks
>> self._maybePlacefullyAuthenticate(request, ob)
>> File
>> "/usr/lib/python2.7/dist-packages/zope/app/publication/zopepublication.py",
>> line 124, in _maybePlacefullyAuthenticate
>> principal = auth.authenticate(request)
>> File "/usr/lib/python2.7/dist-packages/schooltool/app/security.py",
>> line 221, in authenticate
>> return self.authPlugin.authenticate(request)
>> File "/usr/lib/python2.7/dist-packages/schooltool/app/security.py",
>> line 96, in authenticate
>> if self._checkPlainTextPassword(login, creds.getPassword()):
>> File "/usr/lib/python2.7/dist-packages/schooltool/app/security.py",
>> line 101, in _checkPlainTextPassword
>> if username in app['persons']:
>> File "/usr/lib/python2.7/dist-packages/zope/container/btree.py", line
>> 80, in __contains__
>> return key in self._SampleContainer__data
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/schooltool/+bug/1290996/+subscriptions
>>
>
>
I have also manually tried to reset the admin user password as suggested if
locked out, but equally failed. Since then I have purged my copy of
schooltool and reinstalled but with no change in results.
Accessing the login page directly produced the same error.
I have never been presented with the basic http auth request while using
schooltools.
Thanks all for your help...
On 13 March 2014 15:13, Tyeth <email address hidden> wrote:
> Tried suggested steps. No joy. Same Error. localhost: 7080/about. html> schooltool/ * /bugs.launchpad .net/bugs/ 1290996 python2. 7/dist- packages/ zope/publisher/ publish. py", line traverse( obj) python2. 7/dist- packages/ zope/publisher/ browser. py", line quest, self).traverse(obj) python2. 7/dist- packages/ zope/publisher/ http.py" , line python2. 7/dist- packages/ zope/publisher/ base.py" , line callTraversalHo oks(self, obj) python2. 7/dist- packages/ zope/app/ publication/ zopepublication .py", efullyAuthentic ate(request, ob) python2. 7/dist- packages/ zope/app/ publication/ zopepublication .py", yAuthenticate te(request) python2. 7/dist- packages/ schooltool/ app/security. py", .authenticate( request) python2. 7/dist- packages/ schooltool/ app/security. py", nTextPassword( login, creds.getPasswo rd()): python2. 7/dist- packages/ schooltool/ app/security. py", Password python2. 7/dist- packages/ zope/container/ btree.py" , line tainer_ _data /bugs.launchpad .net/schooltool /+bug/1290996/ +subscriptions
>
> Your School - server running SchoolTool 2.1.1<http://
>
>
> On 13 March 2014 14:43, Gediminas Paulauskas <email address hidden> wrote:
>
>> Looks to me that the database was not initialized correctly.
>>
>> There was no data entered? Delete the database and try again.
>>
>> $ sudo service schooltool stop
>> $ sudo rm -r /var/lib/
>> $ sudo service schooltool start
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https:/
>>
>> Title:
>> FreshInstall: Exception TypeError: Object has default comparison
>>
>> Status in SchoolTool:
>> New
>>
>> Bug description:
>> After a fresh install via APT, edited paste.ini to allow remote access.
>> Restarted service, then tried to open interface.
>> On first open at <ourdomain>:7080/
>> and equally localhost:7080
>>
>>
>> Exception
>>
>> TypeError: Object has default comparison
>>
>> Traceback
>>
>> File "/usr/lib/
>> 129, in publish
>> obj = request.
>> File "/usr/lib/
>> 540, in traverse
>> ob = super(BrowserRe
>> File "/usr/lib/
>> 457, in traverse
>> ob = super(HTTPRequest, self).traverse(obj)
>> File "/usr/lib/
>> 249, in traverse
>> publication.
>> File
>> "/usr/lib/
>> line 137, in callTraversalHooks
>> self._maybePlac
>> File
>> "/usr/lib/
>> line 124, in _maybePlacefull
>> principal = auth.authentica
>> File "/usr/lib/
>> line 221, in authenticate
>> return self.authPlugin
>> File "/usr/lib/
>> line 96, in authenticate
>> if self._checkPlai
>> File "/usr/lib/
>> line 101, in _checkPlainText
>> if username in app['persons']:
>> File "/usr/lib/
>> 80, in __contains__
>> return key in self._SampleCon
>>
>> To manage notifications about this bug go to:
>> https:/
>>
>
>