On May 28, 11:55 pm, Jesse <
pianohac...@gmail.com> wrote:
> (Sending it to the discussion list again, for future reference)
>
> 2010/5/28 JesseMc <
jessemcdonn...@gmail.com>
>
> > Jesse,
>
> > Powerline starts up fine on the library server. Thanks again for all
> > the help.
>
> > How does one start Powerline without the Koha plugin? We will add the
> > patron barcodes manually using the add user function.
>
> > Thanks!
>
> > JesseMc
>
> This is very easy. Just remove the Koha plugin file. On your machine:
>
> sudo rm
> /usr/lib/python2.5/site-packages/powerline-0.2.4-py2.5.egg/powerline/plugins/koha.p*
>
> (...I believe. If not, just look for files named koha.py and koha.pyc in a
> plugins directory in that vicinity and remove them.)
>
> Coincidentally, does your library use an ILS, and if so, does it support the
> SIP protocol? Thinking of adding it to a future Powerline, and was wondering
> how common it was.
>
That got rid of the koha.py error. Thanks.
Now, it's returning the same error at line 120 of dbwrap.py when I try
to make a change on *any* screen of the manager interface.
File "build/bdist.linux-i686/egg/dbwrap.py", line 120, in exist
return len(self) == 0
TypeError: an integer is required
We're on a countywide system using Polaris, I'll check to see if it
supports SIP.
Thanks!
JesseMc
127.0.0.1 - - [29/May/2010:02:47:33] "POST /manager/hours/ HTTP/1.1"
500 2087 "
http://localhost:8080/manager/hours/" "Mozilla/5.0 (X11; U;
Linux i686; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3"
127.0.0.1 - - [29/May/2010:02:47:57] "GET /manager/login_setup HTTP/
1.1" 200 1237 "
http://localhost:8080/manager/" "Mozilla/5.0 (X11; U;
Linux i686; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3"
[29/May/2010:02:48:19] HTTP
Request Headers:
ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/
*;q=0.8
Content-Type: application/x-www-form-urlencoded
REFERER:
http://localhost:8080/manager/login_setup
HOST: localhost:8080
Content-Length: 58
ACCEPT-CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
USER-AGENT: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3)
Gecko/20090824 Firefox/3.5.3
CONNECTION: keep-alive
COOKIE: session_id=4542dc0df0ec80ad8cd90b8532c0adb053b0fec8
Remote-Addr: 127.0.0.1
ACCEPT-LANGUAGE: en-us,en;q=0.5
ACCEPT-ENCODING: gzip,deflate
KEEP-ALIVE: 300
[29/May/2010:02:48:19] HTTP Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/CherryPy-3.1.2-py2.5.egg/
cherrypy/_cprequest.py", line 606, in respond
cherrypy.response.body = self.handler()
File "/usr/lib/python2.5/site-packages/CherryPy-3.1.2-py2.5.egg/
cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/lib/python2.5/site-packages/powerline-0.2.4-py2.5.egg/
powerline/web.py", line 62, in default
return handler_func(**kwargs)
File "/usr/lib/python2.5/site-packages/powerline-0.2.4-py2.5.egg/
powerline/web.py", line 99, in wrapper
body.update(result)
File "/usr/lib/python2.5/site-packages/powerline-0.2.4-py2.5.egg/
powerline/manager.py", line 252, in change_login
settings['manager_users'] = username + ':' + password
File "/usr/lib/python2.5/site-packages/powerline-0.2.4-py2.5.egg/
powerline/database.py", line 262, in __setitem__
if key in self:
File "/usr/lib/python2.5/site-packages/powerline-0.2.4-py2.5.egg/
powerline/database.py", line 274, in __contains__
return self.rows(name = key).exist()
File "build/bdist.linux-i686/egg/dbwrap.py", line 120, in exist
return len(self) == 0
TypeError: an integer is required