Re: use tween to centralize redirection or something else

2013-04-08 Thread Jerry
request.RedisCache = settings['RedisCache'] return render_to_response('templates/signup_hack.genshi', request.c, request) else: try: response = handler(request) finally: return response return signup_hack_tween Jerry

add_route() question

2012-12-11 Thread jerry
. Instead of checking matched_route.name, which can quickly lose sync as the routes structure changes, is there a cleaner way to achieve this? Thanks. Jerry -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email

Re: Minimatic for Pyramid?

2012-06-12 Thread jerry
From a quick skim of the documentation, webassets doesn't seem to be as flexible or versatile as Fanstatic: Resource publishing for Pythonistas [ http://www.fanstatic.org/en/latest/index.html ]. Any thoughts? Jerry On Jun 12, 2:34 pm, John Anderson son...@gmail.com wrote: On Tue, Jun 12, 2012

Re: Need help on caching, background jobs manual ORM cache refresh (Pyramid project)

2012-06-07 Thread jerry
If you like beaker, you might also want to take a look at retools ( http://pypi.python.org/pypi/retools/0.2 ), a newer caching library specifically for Redis from the same author. Jerry On Jun 6, 3:36 am, Learner hello.bku...@gmail.com wrote: Thanks Jason. I will take your suggestion. But your

Re: Mobile version of site with Pyramid

2012-04-17 Thread jerry
Check out a new adaptive CSS/JS Foundation framework ( http://foundation.zurb.com/ ), with that you can have one-template-fit-all and impress your client if they have not seen web page that automatically changes layout according to screen size :) Jerry On Apr 17, 9:38 am, Theron Luhn

Anything similar to Django dogslow in Pyramid?

2012-04-16 Thread jerry
Just learnt the Django dogslow module ( http://pypi.python.org/pypi/dogslow ) from the Instagram architecture presentation. It's a middleware for identifying slow process, is there anything similar in Pyramid? Jerry -- You received this message because you are subscribed to the Google Groups

Re: Using pdb.set_trace() in Chameleon

2012-02-29 Thread jerry
Uber! This should be the final call to translate my 10K Genshi templates to Chameleon. Are there any auto migration tool out there? Jerry On Feb 29, 4:32 pm, Malthe Borch mbo...@gmail.com wrote: Just wanted to note that as of 2.8.0 (just released), you can now embed Python code blocks

How To Prepare For get_current_registry() Manually

2012-02-29 Thread jerry
appreciated. Jerry -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com. To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com. For more options

[Pyramid] Caching Response Object

2012-01-31 Thread jerry
appreciated. Jerry -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com. To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com. For more options

Re: Caching Response Object

2012-01-31 Thread jerry
Thanks Robert. However, the cache needs to, at minimum, differentiate login users from non-login users to serve different content, and only a Pyramid app aware caching engine can do that. Jerry On Jan 31, 9:44 pm, Robert Forkel xrotw...@googlemail.com wrote: hi jerry, if you run your app via

Re: Caching Response Object

2012-01-31 Thread jerry
Thanks Simon. Varnish is definitely worth exploring. I'm also very interested in your second approach, how can you tell if the user has JS enabled by looking at her request? Jerry On Jan 31, 11:45 pm, Simon Yarde simonya...@me.com wrote: I wonder if this solves your issue with Varnish

Pyramid Debug Routematch Not Working

2012-01-05 Thread jerry
#evalerror egg:repoze.tm2#tm myapp As well as on the command line -- $ PYRAMID_DEBUG_ROUTEMATCH=true paster serve --reload prod_test.ini But I still don't get any route debug message on the console. What could be wrong? Thanks. Jerry -- You received this message because you

Pyramid Route Bug?

2012-01-05 Thread jerry
I noticed that Pyramid (1.2.4) url dispatch route does not work with %2F So the below route -- config.add_route('date', '/date/{date}) does not match -- /date/2012%2F1%2F5 Is it a bug? Thanks. Jerry -- You received this message because you are subscribed to the Google Groups pylons

Re: Pyramid Debug Routematch Not Working

2012-01-05 Thread jerry
. Any further pointer? Jerry On Jan 5, 4:33 pm, Michael Merickel mmeri...@gmail.com wrote: You probably do not have the DEBUG level enabled for the pyramid package. Make sure you have something along the lines of the default logging setup in your ini. http://docs.pylonsproject.org/projects

Re: Is there any case where chameleon is more preferred?

2011-12-17 Thread jerry
are more designer friendly than their non-XML counterparts. That's why I'm still with Genshi while waiting for Chameleon to be ready for prime time. Just another perspective. Jerry On Dec 18, 5:34 am, John Rusnak jrusna...@gmail.com wrote: If you have ever tried full-up programming in XML or seen

Re: Events system

2011-12-14 Thread jerry
I would appreciate some confirmation/explanation on the Pyramid event system -- is event/subscribe restricted to Pyramid running on one physical server? Thanks. Jerry On Dec 14, 7:13 am, John Anderson son...@gmail.com wrote: On Tue, Dec 13, 2011 at 5:10 PM, Vlad K. v...@haronmedia.com wrote

Re: Events system

2011-12-14 Thread jerry
MyEvent(object): def __call__(self): do_something(v1, v2, ...) def do_something(*args, **kw): # do stuff e = MyEvent() e() Any enlightenment will be much appreciated. Jerry On Dec 14, 5:25 pm, Chris McDonough chr...@plope.com wrote: On Wed, 2011-12-14 at 01:11 -0800, jerry wrote

Re: Pyramid 1.3a1 released

2011-12-10 Thread jerry
if we could get the assurance that it is in the road map. Thanks again. Jerry On Dec 10, 4:15 am, Chris McDonough chr...@plope.com wrote: Pyramid 1.3a1 has been released.  This is the first major release in the 1.3 series.  Its primary features are: - Python 3.2 compatibility. - A new

[Pyramid] Access Global Variable From Form(Encode)

2011-11-26 Thread jerry
of formencode.FancyValidator that checks username for duplication. But instead of hitting the database, I prefer first checking via a global (Redis) cache variable in the request object. How do I access this variable from my form? Thanks. Jerry -- You received this message because you are subscribed to the Google

Re: pyramid.response.Response(app_iter=?)

2011-11-05 Thread jerry
Hi Gael, Indeed, app_iter does work flawlessly out-of-box with GridOut object. It was some other elementary mistake I made that is triggering the exception, my bad. Jerry On Nov 4, 12:04 am, Gael Pasgrimaud g...@gawel.org wrote: On Thu, Nov 3, 2011 at 4:54 PM, jerry jerryji1...@gmail.com wrote

Re: Celery Configuration with Pyramid

2011-11-05 Thread jerry
Hi John, What's wrong with calling initialize_sql from Celery? I am calling initialize_sql(engine, create_all=False) in my Celery tasks.py and didn't notice any problem. Jerry On Nov 5, 8:05 pm, John Anderson son...@gmail.com wrote: So I've been playing with celery configuration with Pyramid

pyramid.response.Response(app_iter=?)

2011-11-03 Thread jerry
implementation in Pyramid. Thanks in advance. Jerry -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com. To unsubscribe from this group, send email to pylons-discuss+unsubscr

Re: Recommended way to do background processing once the response is sent

2011-10-17 Thread jerry
, just define your task and do anywhere in your view -- DownloadImageTask.delay(image_url) for the task to be picked and handled by a standalone celeryd process. Jerry On Oct 17, 3:14 am, ravi teja raviteja2...@gmail.com wrote: Hi, I would like to do some background processing (like downloading

Pyramid: How to use route_url() without a request?

2011-08-08 Thread jerry
Hi, I was constructing a paster command and couldn't figure out how to get route_url() to work in the absence of a request. Any pointer will be much appreciated! Jerry -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group

Re: how to call a function for evry 10 secs

2011-06-29 Thread jerry
Hi Mike, I'm curious to know where is this main() for Pyramid you were referring to? Thanks. Jerry On Jun 30, 5:30 am, Mike Orr sluggos...@gmail.com wrote: On Wed, Jun 29, 2011 at 10:40 AM, hisan santosh.s...@gmail.com wrote: how to call a function for evry 10 secs in python I assume

Re: Disable SQLAlchemy Transaction

2011-05-13 Thread jerry
() What I'm not so sure is whether (PostgreSQL) savepoint is designed to support millions of iteration before the grand final commit. Jerry On May 13, 2:06 pm, Chris Withers ch...@simplistix.co.uk wrote: Hi Jerry, On 13/05/2011 01:31, jerry wrote: Everything is still wrapped in one big

[Pyramid] Disable SQLAlchemy Transaction

2011-05-12 Thread jerry
couldn't get the DBSession redefined no matter how I fiddle with the paster command source. Is there a way to temporarily turn off transaction in a Pyramid project? Thanks in advance! Jerry -- You received this message because you are subscribed to the Google Groups pylons-discuss group

Re: Disable SQLAlchemy Transaction

2011-05-12 Thread jerry
(implicit) 2011-05-13 08:23:54,122 INFO sqlalchemy.engine.base.Engine.0x...68cc SELECT ... If I have 2 million items it's not going to be a robust design to commit only once in the end after updating 1 million of them. Is there a way to explicitly turn off the transaction (at least for SELECT)? Jerry

Test Data Setup

2011-04-01 Thread jerry
I'm using Pyramid with a bunch of unit/integration tests, how can I ensure common test data is setup _only once_ before a complete test run? Thanks. Jerry -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email

Re: Pyramid and social auth

2011-01-16 Thread jerry
My working codes: Twitter OAuth connect -- http://pylonshq.com/pasties/c549d2be586797da17c7fad5ae875372 Facebook OAuth2 connect -- http://pylonshq.com/pasties/e4b933da7f577c541cc2f2489f825fdd Jerry On Jan 16, 10:16 pm, Adam Klekotka adam.kleko...@gmail.com wrote: Hello, I'm new to Pyramid

[Pyramid] Genshi Template Auto-restart

2011-01-06 Thread jerry
__call__(self, value, system): return self.tmpl.generate(**value).render('html') myapp/__init__.py How can I auto-restart pyramid whenever my template changes? Thanks! Jerry -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post

[Pyramid] add_route/view_config permission issue

2010-12-24 Thread jerry
(route_name='account', renderer='templates/ account.genshi') def account_view(request): /account.py If this is not considered a bug, maybe stating it explicitly in the documentation could save others some time. Thanks. Jerry -- You received this message because you are subscribed to the Google

[Pyramid] User-land Redirection (HTTPFound) Question

2010-12-23 Thread jerry
ways. If I recall correctly, Pylons' redirect_to() simply works out-of-the-box. Thanks. Jerry -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-disc...@googlegroups.com. To unsubscribe from this group

[Pyramid] URL Dispatch Test Confusion

2010-12-22 Thread jerry
') #request.path_info = '/user/42' resp = views.user.user_view(request) /test_user_view.py I'm sure I must be missing something very simple there. Thanks in advance! Jerry -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send

Re: URL Dispatch Test Confusion

2010-12-22 Thread jerry
Thanks Chris. Well, I thought routing will always happen after view functions are decorated with view_config() Allow me to step back one step and ask: How can routing be unit tested? Jerry BTW, your attached a local URI, the public URL should be http://docs.pylonshq.com/pyramid/dev/narr

[Pyramid] How to Unit Test Views Returning HTTPFound?

2010-12-18 Thread jerry
Hi, When a view returns HTTPFound, how should I write unit test that follows the (possible multiple) redirection and asserts the final response? Thanks in advance! Jerry -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group

Pyramid unittest DummyRequest no attribute 'session'

2010-12-09 Thread jerry
Since I'm using pyramid_beaker session, my unittest fails -- ... session = request.session AttributeError: 'DummyRequest' object has no attribute 'session' What best-practice solution would you recommend? Thanks in advance. Jerry -- You received this message because you are subscribed

Re: Pyramid unittest DummyRequest no attribute 'session'

2010-12-09 Thread jerry
Thanks Chris. This /is/ what I am doing -- def DummyRequest(): req = testing.DummyRequest() req.session = {} # dummy beaker session return req But would you consider adding the dummy session to the module? Jerry On Dec 9, 9:41 pm, Chris McDonough chr...@plope.com wrote: You might

Pyramid Genshi Template Renderer Configuration

2010-12-05 Thread jerry
, 'templates'])]) tmpl = loader.load('template.genshi') c = {'foo': 'bar'} return Response(tmpl.generate(**c).render()) in every view function? Thanks. Jerry -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons

Re: The (missing) argument for pyramid

2010-11-15 Thread jerry
Does anyone have the roughest ball-park estimation on when pyramid will be going beta? Thanks. Jerry On Nov 15, 7:19 am, Ben Bangert b...@groovie.org wrote: On Nov 14, 2010, at 1:54 PM, BrianTheLion wrote: I've been away for a while and am trying to come up to speed on some pretty

Re: Pylons marketing, ( new thread from web tech )

2009-08-24 Thread Jerry
is the engineering director, we all are marketing VPs. Jerry On Aug 25, 7:45 am, Ben Bangert b...@groovie.org wrote: On Aug 24, 2009, at 4:13 PM, Iain Duncan wrote: That's cool, but Ben still has to show some interest if you guys   want it to happen. I would put time in, but I better see

Re: Pylons marketing, ( new thread from web tech )

2009-08-20 Thread Jerry
can do it, we sure can as well. Thoughts? Jerry On Jul 20, 5:11 am, Iain Duncan iaindun...@telus.net wrote: Taking Ben's suggestion, I just went ahead created a new thread. Mike Orr said: I have started a Talking Points wiki page to gather the essential points.  Please add anything that's

Re: Javascript in template

2009-03-06 Thread Jerry
modern unobstructive JavaScript libraries such as JQuery, Prototype, etc. Finally, I think you should show more effort by reading up on the HTML basics first. Jerry On Mar 6, 4:34 am, menshikoval...@gmail.com menshikoval...@gmail.com wrote: Hello. How to use JavaScript in template form? I'v

Re: Pylons 0.9.7 released

2009-02-23 Thread Jerry
My most sincere congratulations and tons of thanks to all the Pylons heros! Jerry On Feb 23, 2:46 pm, Ben Bangert b...@groovie.org wrote: Pylons 0.9.7 has been released, I've posted a full write-up on it on   the PylonsHQ site:http://pylonshq.com/articles/archives/2009/2/pylons_097_released

Re: formencode ForEach doesn't obey not_empty=True

2009-01-26 Thread jerry
Hi, Have you tried -- not_tested ForEach(Int(not_empty=True), ...) /not_tested Jerry On Jan 26, 5:33 am, eleith ele...@gmail.com wrote: for my schema, i want to handle delete?id=100 delete?id=100id=101id=102 and throw an error for delete

Re: Can't deploy with FastCGI on Apache2

2009-01-22 Thread jerry
Jerry On Jan 22, 7:20 am, Gustavo Narea m...@gustavonarea.net wrote: Anyone? On Sunday January 18, 2009 23:29:31 Gustavo Narea wrote: Hello, I've tried the tutorial at http://wiki.pylonshq.com/display/pylonscookbook/Production+Deployment... g+Apache, +FastCGI+and+mod_rewrite, but I can't

Re: Is Django more popular than Pylons?

2009-01-18 Thread jerry
Yes. And that's because if the same question is asked in a Django group, you'll probably get far more similar trolls. Jerry On Jan 18, 7:05 pm, walterbyrd walterb...@iname.com wrote: And if so, why? --~--~-~--~~~---~--~~ You received this message because you

Re: Paster controller command not recognized

2009-01-16 Thread jerry
about entry points post Run a request for the described application request Run a request for the described application serveServe the described application setup-appSetup an application, given a config file And your question was? Jerry On Jan 16, 10:22 am, Bryan

Re: How to use Genshi to implement the SimpleSite example of the pylonsbook?

2008-12-24 Thread jerry
()')}/div /body /py:match /html view.html ?xml version=1.0 encoding=utf-8? html xmlns=http://www.w3.org/1999/xhtml; xmlns:py=http:// genshi.edgewall.org/ xmlns:xi=http://www.w3.org/2001/XInclude; xi:include href=index.xml parse=xml / head / body${c.page.content}/body /html -- Jerry On Dec 24

Re: serving up generated images

2008-12-08 Thread jerry
Hi, You should find this thread helpful -- http://groups.google.com/group/pylons-discuss/browse_thread/thread/70fb565a909c72f0/aae0f836d23e62a2?lnk=gstq=dataapp#aae0f836d23e62a2 Jerry On Dec 8, 5:40 am, erowan [EMAIL PROTECTED] wrote: Hello, I have a web app that dynamically generates

Re: Announcement of Pylons Powered Site

2008-11-04 Thread jerry
need to do is stand taller than yesterday, in good times or not [http://venturebeat.com/2008/10/10/the-sequoia-rip-good-times- presentation-get-your-copy-here/]. Jerry On Nov 3, 8:07 pm, [EMAIL PROTECTED] wrote: Jerry, very inspiring. Well done. I am where you were a year and a half ago. Trying

Re: Announcement of Pylons Powered Site

2008-11-04 Thread jerry
One day, I'm going to start my own blog, even if just for correcting all those broken links. Jerry On Nov 4, 2:23 pm, jerry [EMAIL PROTECTED] wrote: Hi Zoogie, First of all, congratulations on making the right decision with Pylons (not saying other choices are wrong... :), whose learning

Re: Announcement of Pylons Powered Site

2008-11-04 Thread jerry
! -- Joel the programmer And if it cannot get running in 10 minutes - scrap it and start over. For seasoned developers like you who have rich experience in other frameworks, I think it's possible. Jerry On Nov 4, 5:56 pm, MilesTogoe [EMAIL PROTECTED] wrote: Garland, Ken R wrote: Hey Jerry, I've

Re: Javascript library

2008-11-04 Thread jerry
Hi Rech, jQuery + markitup [http://markitup.jaysalvat.com/examples/] Jerry On Nov 4, 5:43 pm, Mr.Rech [EMAIL PROTECTED] wrote: Hi all, I'm starting to play with Pylons since I need to develop a web app here at work. I've been reading the Pylons book, a lot of documentation, many threads

Re: unknown database

2008-11-01 Thread jerry
' .^ Isn't there a redundant single quote character there? Jerry On Nov 1, 7:05 pm, [EMAIL PROTECTED] wrote: Hi all, I'm new to pylons and getting the following error while trying to follow the SQLAlchemy tutorial. $ paster setup-app development.ini 17:48:27,604 INFO

Re: Announcement of Pylons Powered Site

2008-10-29 Thread jerry
used PostgreSQL and never even worked to join more than 2 tables before... And the feeling of learning all those is really good, as good as launching a site. :) Jerry On Oct 29, 6:27 pm, Matthew Woolnough [EMAIL PROTECTED] wrote: Wow. That's quite a lot of effort.  I know how it is to work

Pylons under fapws(2)

2008-10-23 Thread jerry
Hi, As my paster server, no matter how its thread and process config values are tweaked, can't even get above 20 [#/s], I've been struggling to run my Pylons app under fapws2. Does any kind soul have a quick Pylons+fapws2 configuration/tutorial to share? Thanks in advance. Jerry

Re: pylons and jquery - restricting POST calls

2008-10-20 Thread jerry
) if request.is_xhr: return render('ajax_fragment_template') return render('full_page_template') Jerry On Oct 15, 10:26 am, przemek.ch [EMAIL PROTECTED] wrote: Hi, I've build two select boxes. Onchange method on the first selectbox I fill with ajax the second one using

Re: Dynamic Template Inclusion in Genshi

2008-10-10 Thread jerry
this recipe on the PylonsHQ? Jerry On Oct 8, 1:29 am, EricHolmberg [EMAIL PROTECTED] wrote: to insert arbitrary literal XML markup fragments. However, I still haven't figured out a way to _process_ the Genshi sub-template string _from inside another Genshi template_, i.e., I want the following

Re: Dynamic Template Inclusion in Genshi

2008-10-07 Thread jerry
='index', id=None))} when dynamically included in another Genshi template. Jerry On Oct 7, 8:03 pm, EricHolmberg [EMAIL PROTECTED] wrote: Forgive me if I misunderstood, but couldn't you either query the DB before the template is run or simply query the DB in the template? Just put

Dynamic Template Inclusion in Genshi

2008-10-05 Thread jerry
=${h.url_for(controller='...', action='...', id='...')} widget /a /div /div Any pointer will be greatly appreciated. Many thanks in advance! Jerry --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons

Re: how to rename and deploy a pylons app?

2008-09-22 Thread jerry
multiple related lengthy threads in this group. Proxy passing (Nginx) to paster serve is working fine for me. Jerry On Sep 22, 2:52 pm, wellhong [EMAIL PROTECTED] wrote: Hi all, I'm new to pylons and python web development. I've started working on an application on my workstation but: 1. would

Re: Cron jobs

2008-09-01 Thread jerry
I'm using No. 1, which I consider the (preferably only one) obvious way. No. 2 is too monkey-patching to me. No. 3 is not really about auxiliary cron jobs for your application. Jerry On Sep 1, 7:17 am, Pavel Skvazh [EMAIL PROTECTED] wrote: There seam to be different ways to get cron jobs

Re: expiring cookie based session after a preset amt of time

2008-08-25 Thread jerry
= True Jerry On 6 Jul, 23:42, kevin [EMAIL PROTECTED] wrote: hello all, thanks for the great help so far. my first pylons project is going really well. i'm looking for a way to make the session/session cookie expire after a certain amount of time. an example of this behavior would be eBay

Re: How to update data with sqlalchemy

2008-07-15 Thread jerry
I suggest putting an import pdb; pdb.set_trace() before the execute statement to inspect the type of WHChapter (and see for yourself that it is incorrect :) Jerry On Jul 15, 1:12 pm, JOLINY [EMAIL PROTECTED] wrote: Since i develope my application with pylons ,i have this question. when i want

Re: How to pass (one-time) message to redirect_to page?

2008-07-11 Thread jerry
1. Thanks Mike, awesome! 2. messages stored in sessions mapped to a certain url -- I don't get it. 3. Thanks Jonathan (and silly me for not knowing/being able to come up with such a simple idea). Sincerely, Jerry On Jul 10, 11:11 pm, Jonathan Vanasco [EMAIL PROTECTED] wrote: There are 3 ways

Re: Exposing database Id via URL

2008-07-05 Thread jerry
Thanks Jonthan. However, I wonder how an md5 string can be squeezed into a 10, or even 6-character field with no concern of (future) collision -- or am I mis- understanding your db schema? Sincerely, Jerry On Jul 5, 1:57 pm, Jonathan Vanasco [EMAIL PROTECTED] wrote: On Jul 4, 8:58 pm, jerry

Re: Exposing database Id via URL

2008-07-04 Thread jerry
But how? What encryption/hashing method could be used to transform the numeric IDs to something less obvious? Sincerely, Jerry On Jul 4, 2:01 pm, Jonathan Vanasco [EMAIL PROTECTED] wrote: just some points on 'hiding' ids- - if you're doing a social media site, with numeric ids your

Re: How to pass image?

2008-06-03 Thread jerry
, self.start_response) Jerry On Jun 3, 5:05 pm, deezee [EMAIL PROTECTED] wrote: Hello everybody! I'm pretty new in Pylons world - today i downloaded and installed software. So, some stupid question: How to send (simplest way) image from PIL to template (browser) without saving file? I'm playing around

Re: How to pass image?

2008-06-03 Thread jerry
from paste.fileapp import DataApp Jerry On Jun 3, 8:38 pm, jerry [EMAIL PROTECTED] wrote: class ImageController(BaseController): def view(self): image_content = binary data of your (generated) image / app = DataApp(image_content, content_type='image/jpeg

Re: Controller name

2008-05-28 Thread jerry
controller found on c object, returning empty string '' Jerry On May 28, 11:30 am, Mike Orr [EMAIL PROTECTED] wrote: On Wed, May 28, 2008 at 3:50 AM, Christoph Haas [EMAIL PROTECTED] wrote: Hi, Antonia... first of all: please don't hijack threads. Start a new thread if you want to post to this list

Paste unquote/unquote_plus Question

2008-05-14 Thread jerry
to encode url while Paste uses unquote to decode url. So 1 + 1 gets encoded to 1+%2b+1 and it gets decoded to 1+++1. Is there any particular reason Paste doesn't use unquote_plus? Thanks! --Michi Jerry --~--~-~--~~~---~--~~ You received this message because you

Routes (1.8) quote_plus issue?

2008-05-13 Thread jerry
)), ./Routes-1.8-py2.5.egg/routes/util.py: urllib.quote_plus(unicode(val).encode(encoding Could that be a (known) Routes bug? Many thanks in advance! Jerry --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss

Re: url_for() constrcut URL with MultiDict parameters?

2008-04-29 Thread jerry
will have to inherit the information of the existing parameters q=1q=2, hence the demand. However, it really doesn't seem to be an appealing design and I think I'm probably better off sticking with the more RESTful URL like details/1;2 Cheers, Jerry On Apr 29, 12:38 am, Mike Orr [EMAIL PROTECTED

url_for() constrcut URL with MultiDict parameters?

2008-04-28 Thread jerry
Hi, Is there a way to construct URLs like /controller/action/id? q=1q=2 with url_for()? Thanks in advance! Jerry --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send

Missing nose version on the cheeseshop breaks pylons

2007-08-03 Thread Jerry Seutter
have the file in case you need it. Thanks, Jerry Seutter --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from