Philip Jenvey wrote:
>> Passing the slashes as %2f do not help: it seems that the stripping
>> occurs after the URL decoding.
>>
>> Does anyone know where this stripping occurs and if it's possible to
>> selectively disable it?
>
> Unfortunately you can't disable it, WSGI servers must decode the
On Apr 29, 2008, at 12:29 PM, Yannick Gingras wrote:
>
> Passing the slashes as %2f do not help: it seems that the stripping
> occurs after the URL decoding.
>
> Does anyone know where this stripping occurs and if it's possible to
> selectively disable it?
Unfortunately you can't disable it, WS
Mike Orr wrote:
> Added to the Routes 2 spec for consideration. (No promises yet.)
> http://wiki.pylonshq.com/display/routes/Routes+2+Spec
>
> Ben might implement it in Routes 1; I don't deal with that. You can
> increase the chances of getting it done by filing a bug report at
> routes.groovie
On Tue, Apr 29, 2008 at 9:44 AM, Ian Bicking <[EMAIL PROTECTED]> wrote:
>
> jerry wrote:
> > Hi Mike,
> >
> > Thanks for the response.
> >
> > I mentioned MultiDict as a convenient term to convey the idea in my
> > question, not that I know or thought it would help with the
> > implementat
On Apr 29, 2008, at 6:55 AM, Saibot wrote:
After upgrading to routes 1.8, everything works as it should!
Thank you!
Also note that the mapper (defined in routing.py) can have its
encoding set should you not be using the 'utf-8' charset that it
defaults to.
map.encoding = 'cp1250'
Will s
On Apr 29, 2008, at 9:18 AM, Andrew Smart wrote:
Digging further...
"," is the German version for "." in US... so it may be connected with
LOCALE...
And yes, it is If LOCALE is set to "Germany" cPickle writes ","
instead
of "." (I tried it out...).
What happened? Since I need the Germa
Hello Pyloneers,
I try to implement a gdata like category search in my app but I have a
hard time embedding an url inside the url and getting it back
unmangled.
Here is how I want to express "search for an item that is also a bar
with type 42 but not a foo number 1":
http://xmpl.com/items/
my DerivedApp/model is a subclass of BaseApp/model , etc etc
i've got helpers working as you suggested too
the issue i was hitting, is that in the BaseApp/helpers i'm trying to
create a function that interacts with DerivedApp/Model
i got around it by just passing in model, this will work for no
actually, i like the notion of options_for_select supporting a none
option
i'd like to see that supported at some time.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, s
Jonathan Vanasco wrote:
> because i won't know the name of appconfig.py
>
> i'm creating a subclassable framework for distribution
>
> DerivedApp/
> DerivedApp/model
>
> BaseApp/
> BaseApp/lib/helpers
>
> I'm trying to get the BaseApp/lib/helpers to access Globals, so that
> it can access obje
Jonathan Vanasco wrote:
> I need to run an import like such:
>
> model = getattr(__import__(g.APPNAME, {}, {}, ['']), 'model')
>
> the problem is that I get a bunch of errors like this:
> TypeError: No object (name: G) has been registered for this thread
>
> because of the import order
>
> can
jerry wrote:
> Hi Mike,
>
> Thanks for the response.
>
> I mentioned MultiDict as a convenient term to convey the idea in my
> question, not that I know or thought it would help with the
> implementation.
>
> As for the demand, I have a form with a list of checkbox input items
> for viewing the
Today I have massive troubles with the crashes. Nearly every 5m.
It's not the same error as Jonathan experiences (object has no
attribute...).
The error is raised from the cPickle class: ValueError: could not convert
string to float
Since I don't have any floats in my classes I would guess thi
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 a
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 ra
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 some
Hi Mike,
Thanks for the response.
I mentioned MultiDict as a convenient term to convey the idea in my
question, not that I know or thought it would help with the
implementation.
As for the demand, I have a form with a list of checkbox input items
for viewing the details of selected one(s). The
On Tue, Apr 29, 2008 at 1:56 AM, Saibot <[EMAIL PROTECTED]> wrote:
>
> 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
>
because i won't know the name of appconfig.py
i'm creating a subclassable framework for distribution
DerivedApp/
DerivedApp/model
BaseApp/
BaseApp/lib/helpers
I'm trying to get the BaseApp/lib/helpers to access Globals, so that
it can access objects in DerivedApp/model (which might have overri
Wichert Akkerman wrote:
> Previously Contact 42 wrote:
>
>> what's wrong with a normal python module.
>>
>
>
> Thread safety.
>
> Wichert
true, but for config stuff that never changes i.e constants, I don't see
a problem.
Huy
--~--~-~--~~~---~--~~
You rec
Previously Contact 42 wrote:
> what's wrong with a normal python module.
Thread safety.
Wichert.
--
Wichert Akkerman <[EMAIL PROTECTED]>It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
--~--~-~--~~~---~--~-
what's wrong with a normal python module.
appconfig.py
APPNAME = 'myapp'
then where ever you want it.
import appconfig
model = getattr(__import__(appconfig.APPNAME, {}, {}, ['']), 'model')
> I need to run an import like such:
>
> model = getattr(__import__(g.APPNAME, {}, {}, ['']), 'model'
I need to run an import like such:
model = getattr(__import__(g.APPNAME, {}, {}, ['']), 'model')
the problem is that I get a bunch of errors like this:
TypeError: No object (name: G) has been registered for this thread
because of the import order
can anyone suggest a good way to handle sta
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)
>
> Can anybody explain me what I am doing wrong?
Wrong encoding. \xdf is from cp125x or similar encoding. Try following:
v.decode('cp1250')
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 tab
25 matches
Mail list logo