Re: Paginate module

2008-04-30 Thread Saibot
Sorry guye, false alarm: According to http://pyodbc.sourceforge.net/docs.html#cursor pyodbc does not support rowcount. On 30 Apr., 11:11, Tobias Bender [EMAIL PROTECTED] wrote: Hi Christoph, items = meta.metadata.tables.get(table).select().order_by(column) I'm no SQLAlchemy guru. But

pylons, unicode and german umlauts in urls

2008-04-29 Thread Saibot
Hi, I have already reached a dead end, although I am still at the beginning of my project. Perhaps somebody can help me out of this mess: I am trying to write a tool to browse data in databases. Unfortunately the database I am working with is a ms-sql database which has german umlauts in its

Re: pylons, unicode and german umlauts in urls

2008-04-29 Thread Saibot
Sorry for bothering you with this crap. I have just upgraded to routes 1.8 and everything works fine now. Thank you none the less. On 29 Apr., 08:56, Saibot [EMAIL PROTECTED] wrote: Hi, I have already reached a dead end, although I am still at the beginning of my project. Perhaps somebody

Re: pylons, unicode and german umlauts in urls

2008-04-29 Thread Saibot
After upgrading to routes 1.8, everything works as it should! Thank you! On 29 Apr., 11:26, Dalius Dobravolskas [EMAIL PROTECTED] wrote: Hi, Saibot wrote:   v = quote_plus(str(v)) UnicodeEncodeError: 'ascii' codec can't encode character u'\xdf' in position 6: ordinal not in range(128

Re: Paginate module

2008-04-29 Thread Saibot
Hi, I am using paginate and have some problems with it. Thats my controller code: items = meta.metadata.tables.get(table).select().order_by(column) c.page = paginate.Page(items, sqlalchemy_session=meta.Session, current_page=current_page) return render('/databrowse/table.html') executing this