[pylons-discuss] Re: Anyone going to pycon?

2017-05-21 Thread Dan
:0x880b0bcd938f8871!2sMother's+Bistro+%26+Bar!8m2!3d45.5199668!4d-122.6737291!3m4!1s0x0:0x2f740100df5d7b72!8m2!3d45.5177109!4d-122.6509132 --Dan On Thursday, May 18, 2017 at 12:52:16 PM UTC-4, Tres Seaver wrote: > > On 05/17/2017 10:55 PM, Mike Orr wrote: > > I'll be there. Where is the place to

[pylons-discuss] Anyone going to pycon?

2017-05-16 Thread Dan
Let me know, and I'd like to buy you some sort of drink. --Dan -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscr...@google

Re: [pylons-discuss] Hello world and Starter Pyramid on AWS

2017-03-20 Thread Dan Clark
. You all have definitely helped through this. I have definitely learned quite a bit. Hopefully this gets resolved so that the process to create a pyramid app on AWS is as simple as it is for django or flask. Thanks again, --Dan On Sun, Mar 19, 2017 at 8:04 PM, Steve Piercy <steve.pie

Re: [pylons-discuss] Hello world and Starter Pyramid on AWS

2017-03-19 Thread Dan Clark
to be rebuilt so that it isn't missing those wheels. Then amazon needs to update their images to make this all work. --Dan On Sun, Mar 19, 2017 at 12:20 PM, Dan Clark <wpu.cl...@gmail.com> wrote: > UGH!!! > > I decided to try out one of the other environment

Re: [pylons-discuss] Hello world and Starter Pyramid on AWS

2017-03-19 Thread Dan Clark
ramid". I also tried deploying my own app to it, but I am new to docker, so there's that. Once I get up to speed on docker I might be able get a bit further. --Dan On Sun, Mar 19, 2017 at 10:03 AM, Dan Clark <wpu.cl...@gmail.com> wrote: > This is a bit above my sk

Re: [pylons-discuss] Hello world and Starter Pyramid on AWS

2017-03-19 Thread Dan Clark
suspect that AWS hasn't worked necessary patches into their distro. --Dan On Sun, Mar 19, 2017 at 9:20 AM, Dan Clark <wpu.cl...@gmail.com> wrote: > This makes sense, but it seems like the AWS installation of python3 isn't > playing nice > > [ec2-user@ip-172-31-28-79 dist-packag

Re: [pylons-discuss] Hello world and Starter Pyramid on AWS

2017-03-19 Thread Dan Clark
is means. There isn't a _bundled directory to get the wheel from. It sounds like some sort of custom/old python install that is missing things. In my searches I did find https://bugs.launchpad.net/ubuntu/+source/python3.4/+bug/1290847. It sounds like the issue is with the OS package for 3.4.

Re: [pylons-discuss] Hello world and Starter Pyramid on AWS

2017-03-19 Thread Dan Clark
rt back asap. Thanks --Dan On Sun, Mar 19, 2017 at 2:58 AM, Steve Piercy <steve.piercy@gmail.com> wrote: > On 3/18/17 at 7:37 PM, wpu.cl...@gmail.com (Dan Clark) pronounced: > > > Steve/Bert >> >> Let's see where and which version of Python 3 you really have, the

Re: [pylons-discuss] Hello world and Starter Pyramid on AWS

2017-03-18 Thread Dan Clark
verything away and start from scratch. Anyway, I do appreciate the help. Thanks, --Dan On Fri, Mar 17, 2017 at 6:40 PM, Steve Piercy <steve.piercy@gmail.com> wrote: > On 3/17/17 at 5:53 AM, wpu.cl...@gmail.com (Dan Clark) pronounced: > > Got stuck and then unstuck, but there

Re: [pylons-discuss] Re: Hello world and Starter Pyramid on AWS

2017-03-17 Thread Dan Clark
Thanks for the heads up on activate. I relied on that script quite a bit. --Dan On Thu, Mar 16, 2017 at 12:09 AM, Steve Piercy <steve.piercy@gmail.com> wrote: > When I see things like the following, I smell trouble: > > (venv)[ec2-user@ip-172-31-13-110 ~]$ virtualenv -p pyth

Re: [pylons-discuss] Hello world and Starter Pyramid on AWS

2017-03-17 Thread Dan Clark
gt; > python3 -mvenv deprecation > > Please? > > I am wondering if this an issue with virtualenv using Py2 (32 bit) and Py3 > (64 bit)? I am grasping at straws here, but the whole lib64 thing is > interesting. > > While using the python in the venv, could you also run: > >

Re: [pylons-discuss] Re: Hello world and Starter Pyramid on AWS

2017-03-15 Thread Dan Clark
gave up.To test this out I tried uninstalling zope.interface, and I was now able to import zope.deprecate! SO NOW WHAT?? Anyway, I am going to sleep. I doubt I'll work on this tomorrow morning, but if anyone can tell me how to trick the pip into installing zope.interface into lib/site-packages instead of

Re: [pylons-discuss] Re: Hello world and Starter Pyramid on AWS

2017-03-15 Thread Dan Clark
569638 2017] [:error] [pid 2187] [remote 69.127.251.49:54728] ImportError: No module named 'zope.deprecation' On Wed, Mar 15, 2017 at 3:17 PM, Tres Seaver <tsea...@palladion.com> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 03/15/2017 07:23 AM, Dan Clark wr

Re: [pylons-discuss] Re: Hello world and Starter Pyramid on AWS

2017-03-15 Thread Dan Clark
another morning I can upload the project with 4.2 and get the complete traceback. Thanks, --Dan On Tue, Mar 14, 2017 at 10:41 PM, Tres Seaver <tsea...@palladion.com> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 03/11/2017 07:52 PM, Michael Merickel wrote: &g

Re: [pylons-discuss] Hello world and Starter Pyramid on AWS

2017-03-11 Thread Dan Clark
Certainly, that was my intention. As I get some time I will look into it. I still have work to do on my site as well. Thanks so much for the feedback! All of this has been an exhilarating change of pace for me. --Dan -- On Mar 11, 2017 7:53 PM, "Michael Merickel" <mmeri...@gma

Re: [pylons-discuss] Hello world and Starter Pyramid on AWS

2017-03-11 Thread Dan
and writing! I am very intrigued by all of this. Thanks, --Dan On Saturday, March 11, 2017 at 6:31:58 PM UTC-5, Dan wrote: > > Sure, I just need to figure it out. I am an svn guy, so git is a bit > foreign to me. > > --Dan > > > > On Sat, Mar 11, 2017 at 6:05 PM,

Re: [pylons-discuss] Hello world and Starter Pyramid on AWS

2017-03-11 Thread Dan Clark
Sure, I just need to figure it out. I am an svn guy, so git is a bit foreign to me. --Dan On Sat, Mar 11, 2017 at 6:05 PM, Steve Piercy <steve.piercy@gmail.com> wrote: > Dan, > > Would you consider adding a link to your articles by adding another page > on the Pyramid

[pylons-discuss] Hello world and Starter Pyramid on AWS

2017-03-11 Thread Dan
. Thanks, --Dan -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscr...@googlegroups.com. To post to this group, send email to pylo

[pylons-discuss] Re: Pyramid simpleform date and time format

2013-10-19 Thread Dan
Did you have any luck determining a way to convert the format without adding too much extra code? It seems that the only way you can do this is to not rely on the wrappers that FormRender uses. The reason is because it will just print out the raw date which is -MM-DD and that isn't

Re: Best way for passing variable between callables

2011-12-08 Thread Dan Sommers
) Dan -- 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, visit

Re: Is there an opposite of 'authenticated' in Pyramid?

2011-09-27 Thread Dan Sommers
On Mon, 26 Sep 2011 23:29:07 -0500, Michael Merickel wrote: On Mon, Sep 26, 2011 at 1:36 PM, Benjamin Sims benjamins...@gmail.comwrote: That is, a way to check that a user is not authenticated in order to restrict access to a login form? Restricting access is done via Pyramid's use of

Re: Have to log out twice?

2011-09-06 Thread Dan Sommers
of a handful of good design principles). Thanks, Dan -- 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: Have to log out twice?

2011-09-05 Thread Dan Sommers
, then I'll be glad to file a bug report (not glad because there is a bug, of course, but glad that I can in some way contribute). Thanks, Dan -- 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

Have to log out twice?

2011-09-03 Thread Dan Sommers
seen it with the application running on Linux, Windows, and OpenSolaris. Any ideas? Are we doing anything obviously wrong? Has anyone else seen anything like this? Thanks, Dan -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post

Re: pylons redirect as post request

2011-06-10 Thread Dan Sommers
, Dan -- Dan Sommers A death spiral goes clock- http://www.tombstonezero.net/dan/ wise north of the equator. Atoms are not things. -- Werner Heisenberg -- Dilbert's PHB -- You received this message because you are subscribed to the Google

Re: Porting a Pylons app to Akhet

2011-03-14 Thread Dan Jacob
Personally I don't see the point of screencasts. Sample code/tutorials are much more instructive and easier to refer back to. Yet Another 5- minute Blog App is not going to convince people one way or the other. Plus, Akhet's looking great and we shouldn't be doing anything to distract Mike from

Re: Best Practice for Settings in the Model?

2011-03-03 Thread dan
Quoting Mike Orr sluggos...@gmail.com: On Wed, Mar 2, 2011 at 4:11 PM, Dan Sommers d...@tombstonezero.net wrote: I'm having a difficult time coming up with an approach to configuration settings that belong to the Model.  Or perhaps I don't quite have my head around something else. Anyway

Best Practice for Settings in the Model?

2011-03-02 Thread Dan Sommers
that's called from the end of main. Is there a best practice for these things? Or should I give up on a clean, complete separation between the view and the model for these types of settings? Or is there something else I'm missing? Thanks, Dan -- You received this message because you are subscribed

Re: ANN: pyramid_simpleform

2011-01-21 Thread Dan Jacob
Regarding JSON support, it should be easy enough: perhaps a to_json() method on the form that returns the current state as a dict, something like: { success : false, errors : {'name' : 'Your name is missing'}, data : {'email' : '...'} } On Jan 17, 10:19 am, Mike Burrows

Getting around the SSL handshake error when viewing a local development paster instance with Chrome

2011-01-10 Thread Dan
Here is a hopefully helpful tidbit for anyone else who might have run across this issue and just dealt with it. If you are getting SSL handshake errors when viewing (via https://localhost:5000 with Google chrome) a local development instance that is using SSL and paster there is a way to stop

Re: session_expires doesn't work when set in controller

2009-11-11 Thread Dan
I just set the cookie in response.set_cookie, that worked fine thanks. Just wondering why setting expiry on beaker sessions doesn't work. On Nov 10, 7:39 pm, Jonathan Vanasco jonat...@findmeon.com wrote: yeah. here's the relevant file:

session_expires doesn't work when set in controller

2009-11-10 Thread Dan
Hi, I'm having trouble setting session_expires in the login controller, via a remember me option in the login form. I first tried this: if remember_me: session.cookie_expires = timedelta(days=90) else: session.cookie_expires = True session.save() However, when testing by logging in and

Re: session_expires doesn't work when set in controller

2009-11-10 Thread Dan
So you use response.set_cookie(foo, expires=some_date) ? On Nov 10, 4:05 pm, Jonathan Vanasco jonat...@findmeon.com wrote: FWIW, i don't use the beaker session to handle auto-login stuff. My apps have 3 cookies: beaker session    session[] data user_id    this way other apps on the

Re: Using Django Forms with Pylons (and a successor to @validate?)

2009-10-05 Thread Dan
I think the field enclosures part of WTForms handles ForEach (Not very familiar with FormEncode, so perhaps not): http://wtforms.simplecodes.com/docs/fields.html#field-enclosures On Oct 4, 8:36 pm, Mike Orr sluggos...@gmail.com wrote: On Sun, Oct 4, 2009 at 12:02 PM, Kevin J. Smith

Re: Using Django Forms with Pylons (and a successor to @validate?)

2009-10-03 Thread Dan
, 5:23 am, Mike Orr sluggos...@gmail.com wrote: On Fri, Oct 2, 2009 at 4:05 PM, Dan danjac...@gmail.com wrote: WTForms does this already:http://wtforms.simplecodes.com/ It uses the same pattern as Django forms, and might be a bit further developed. That looks pretty elegant. It would

Re: Using Django Forms with Pylons (and a successor to @validate?)

2009-10-02 Thread Dan
WTForms does this already: http://wtforms.simplecodes.com/ It uses the same pattern as Django forms, and might be a bit further developed. On Oct 2, 10:17 pm, Mike Orr sluggos...@gmail.com wrote: On Fri, Oct 2, 2009 at 1:28 PM, Matt Feifarek matt.feifa...@gmail.com wrote: On Fri, Oct 2, 2009

Paster shell broken

2009-09-06 Thread Dan
This occurred with a fresh project on latest checkout of Pylons (5b3367b3aac1 (trunk)), Windows Vista, Python 2.5: C:\users\xxx\myproject paster shell development.ini Traceback (most recent call last): File C:\Python25\Scripts\paster-script.py, line 8, in module

Re: WebHelpers plans

2008-01-09 Thread Dan Scott
Pylons for a new component it would be nice to have some built-in integration with Dojo that we could take advantage of. Of course, if wishes were horses, we'd have a whole lot of pet food. Or something like that. -- Dan Scott Laurentian University

Trouble with Routes

2007-08-24 Thread Dan Korostelev
that? It drives me crazy :) Thanks for help! -- WBR, Dan Korostelev --~--~-~--~~~---~--~~ 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

Re: Trouble with Routes

2007-08-24 Thread Dan Korostelev
here... -- WBR, Dan Korostelev --~--~-~--~~~---~--~~ 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

Re: App wide template filters using Mako

2007-07-16 Thread Dan Korostelev
the template filters into one file seems simpler as I don't keep 50 copies of the same filter in 50 templates. Is what I'm after even possible with Mako? Maybe there is another solution that I haven't come up with. Cheers, Scott -- WBR, Dan Korostelev

Re: using the fckeditor with Pylons

2007-06-18 Thread Dan
FYI I'm using http://www.openwebware.com/products/openwysiwyg/ It seems to be a lot less complicated than the fckeditor.net implementation... it may help? Example: html head !--- This is the source for the editor -- script src=/openwysiwyg/wysiwyg.js type=text/javascript/script /head

Re: Eclipse and Pylons

2007-06-04 Thread Dan Korostelev
its components are in the system.PYTHONPATH but the autocompletion for the pylons specific stuff does not work Thanks -- WBR, Dan Korostelev --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss

Re: Pylons Logo Design

2007-06-01 Thread Dan
This is all highly opinionated, but here are some of my suggestions. I think you should consider changing domain names. I don't think the name Pylons is bad, just combined with the domain pylonshq.com it just doesn't stick. I'd suggest using pylonsframework.org for the following reasons:

Re: Pylons Logo Design

2007-06-01 Thread Dan
Ben Bangert wrote: On Jun 1, 2007, at 7:21 AM, Dan wrote: I think you should consider changing domain names. I don't think the name Pylons is bad, just combined with the domain pylonshq.com it just doesn't stick. I'd suggest using pylonsframework.org for the following

Re: where to put application init code?

2007-05-17 Thread Dan
I don't consider myself a Pylons guru :-) , but I put my db init inside of websetup.py and call it with paster. Hope it helps. Example below: command-prompt# paster setup-app development.ini #websetup.py def setup_config(command, filename, section, vars): """ Place any commands to setup

Re: Iteration in Mako templates

2007-05-16 Thread Dan
You do have syntax error at: tdc.links[item]}/td should be: td${c.links[item]}/td I believe this is what you want... assuming that c.links is being declared in your controller! #controller def some_action(self): c.links = [link1,link2,link3] return render_response('/some_template.mak')

Re: Iteration in Mako templates

2007-05-16 Thread Dan
You do have syntax error at: tdc.links[item]}/td should be: td${c.links[item]}/td I believe this is what you want... assuming that c.links is being declared in your controller! #controller def some_action(self): c.links = [link1,link2,link3] return render_response('/some_template.mak')

Re: Iteration in Mako templates

2007-05-16 Thread Dan
The choice between CSS 'tables' and HTML 'tables' is purely a matter of opinion. Just to point out a totally different point-of-view, please see: http://www.decloak.com/Dev/CSSTables/CSS_Tables_01.aspx Alexandre CONRAD wrote: voltron wrote: nevermind table % for item

Re: Iteration in Mako templates

2007-05-16 Thread Dan
Lol. The other article was just as fanatical, using cartoon images to persuade the reader into thinking CSS was the best thing since 'sliced bread'. To be fair, I'd say they are both nuts. Michael Bayer wrote: On May 16, 2007, at 12:34 PM, Dan wrote: The choice between CSS 'tables

Have JavaScript function run after render_response is complete?

2007-05-14 Thread Dan
I am using a prototype Ajax.updater which calls a function in my controller. This successfully updates my div based on the mako template I call in render_response. Once this action is complete, I'd like to run another Javascript function... basically some script.aculo.us effects on the

Re: Have JavaScript function run after render_response is complete?

2007-05-14 Thread Dan
, Fox) page.visual_effect :highlight, 'list', :duration = 3 page.replace_html 'header', 'RJS Template Test Complete!' Dan wrote: I am using a prototype Ajax.updater which calls a function in my controller. This successfully updates my div based on the mako template I call

Re: close open tags in mako like genshi's HTML?

2007-05-06 Thread Dan Korostelev
, Dan Korostelev --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED

Re: Formencode and Checkbox/Radio Groups

2007-05-02 Thread Dan
', value=Submit)} ${c.form.end()} Graham Stratton wrote: Hi Dan, I've been struggling a bit with FormEncode too. Here's some controller code that almost works for me. To make it work, I had to change line 106 of pylons/decorators/__init__.py tp response.content = [htmlfill.render(form_content

Re: Formencode and Checkbox/Radio Groups

2007-05-02 Thread Dan
', value=Submit)} ${c.form.end()} Graham Stratton wrote: Hi Dan, I've been struggling a bit with FormEncode too. Here's some controller code that almost works for me. To make it work, I had to change line 106 of pylons/decorators/__init__.py tp response.content = [htmlfill.render(form_content

Re: AJAX how to replace DOM object's value from controller

2007-04-28 Thread Dan
rm % h.observe_form("your_form_with_select", url="" update="txtfld", with='value') % and from controller: new_val = request.params.get('val') return Response(h.text_field("res", value=new_val)) On Apr 27, 6:15 am, Dan [EMAIL PROTECTED] wrote: Would s

Re: Pylons Evaluation -Questions

2007-04-28 Thread Dan
Cliff Wells wrote: On Sat, 2007-04-28 at 08:07 -0400, Dan wrote: IMHO. I never implemented memcache, but the distributed memory concept is *not* by itself scalable architecture. The key is session data. Typically (as in default Pylons setup) session data is tied to physical

link_to_remote is producing html that is not as expected

2007-04-25 Thread Dan
I am having trouble with the link_to_remote webhelper. I am using Mako as my templating language. I am clicking on a link within a page that has a div id='search'/div. The link looks like this: ${h.link_to_remote("Search", dict(update="search", url=""> loading="Element.show('loading')",

Re: Hold my hand, please

2007-04-20 Thread Dan Korostelev
a time...) I feel like they are similar animals from reading Learning Python or whatever book I have so I think I shouldn't have too much a problem. Am I wrong? So, any takers? Think of it as the groundwork for your new docs :D TIA! -- WBR, Dan Korostelev

Re: Pylon with Apache

2007-04-20 Thread Dan Korostelev
(again, hopefully). You're not writing a database adminstration piece, you're writing a data administration piece aimed at a layer above databases. Hm, well if you are about that. AdminPylon is a data/content administration tool, really.Need to make a proper description. -- WBR, Dan

Re: Automatic database administration tool

2007-04-18 Thread Dan Korostelev
, but sometimes you have to improve/ refactor it, isn't it? Dan, once you have a complete model - how are you going to enhance this model? Well that is not my target. Web application developers define their models. Thanks to SQLAlchemy and Elixir it is very easy. And AdminPylon is just a controller

Re: Automatic database administration tool

2007-04-18 Thread Dan Korostelev
more a CMS thing. -- WBR, Dan Korostelev --~--~-~--~~~---~--~~ 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

Re: Automatic database administration tool

2007-04-17 Thread Dan Korostelev
or AdminPylons (Welcome to AdminPylon [skipped] AdminPylons is an)? -+-- With best regards, Vitaliy. -- WBR, Dan Korostelev --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post

Re: Automatic database administration tool

2007-04-17 Thread Dan Korostelev
On 4/17/07, bjpirt [EMAIL PROTECTED] wrote: On Apr 17, 9:53 am, Dan Korostelev [EMAIL PROTECTED] wrote: Well what if the primary key is defined by user on object creation? I guess we should have an option on making it visible/invisible. I guess we can make the primary_key invisible

Re: can't get authkit working in 0.9.5

2007-04-16 Thread Dan
I highly recommend this tutorial ... http://pylonshq.com/project/pylonshq/wiki/PylonsWithAuthKitDatabase Max Ischenko wrote: Hello, I am trying to setup authkit (0.3pre5) in my Pylons project (0.9.5) but for some reason it doesn't work. When I raise 401/403 errors they are displayed as