<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.python.web2py">
    <title>gmane.comp.python.web2py</title>
    <link>http://permalink.gmane.org/gmane.comp.python.web2py</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.web2py/88446"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.web2py/88445"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.web2py/88444"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.web2py/88443"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.web2py/88442"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.web2py/88441"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.web2py/88440"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.web2py/88439"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.web2py/88438"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.web2py/88437"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.web2py/88436"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.web2py/88435"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.web2py/88434"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.web2py/88433"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.web2py/88432"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.web2py/88431"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.web2py/88430"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.web2py/88429"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.web2py/88428"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.web2py/88427"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.web2py/88446">
    <title>Re: Trouble running from source</title>
    <link>http://permalink.gmane.org/gmane.comp.python.web2py/88446</link>
    <description>&lt;pre&gt;Make sure you installed web2py_src.zip (the source). You have to be in the 
web2py folder to execute that command.

On Friday, 25 May 2012 23:20:00 UTC-5, RKS wrote:
&lt;/pre&gt;</description>
    <dc:creator>Massimo Di Pierro</dc:creator>
    <dc:date>2012-05-26T05:12:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.web2py/88445">
    <title>Re: 4th Edition manual RSS example problems</title>
    <link>http://permalink.gmane.org/gmane.comp.python.web2py/88445</link>
    <description>&lt;pre&gt;what's the error?

On Friday, 25 May 2012 21:05:06 UTC-5, Jarrod Wilcox wrote:
&amp;gt;&lt;/pre&gt;</description>
    <dc:creator>Massimo Di Pierro</dc:creator>
    <dc:date>2012-05-26T05:11:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.web2py/88444">
    <title>Re: compute not working on update</title>
    <link>http://permalink.gmane.org/gmane.comp.python.web2py/88444</link>
    <description>&lt;pre&gt;
Here's the DAL code: 
http://code.google.com/p/web2py/source/browse/gluon/dal.py#7228

try:
    new_fields.append((ofield,ofield.compute(Row(fields))))
except KeyError:
    pass

So, it calls the compute function with whatever fields are submitted in the 
update. If the compute function tries to access a field that's not 
included, it will throw a KeyError, which will silently pass.

Anthony
&lt;/pre&gt;</description>
    <dc:creator>Anthony</dc:creator>
    <dc:date>2012-05-26T04:35:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.web2py/88443">
    <title>Trouble running from source</title>
    <link>http://permalink.gmane.org/gmane.comp.python.web2py/88443</link>
    <description>&lt;pre&gt;Docs say run python2.7 web2py.py in the terminal and all I can get is the 
error:

/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: 
can't open file 'web2py.py'

Maybe I put it in the wrong place where it can't find it?
&lt;/pre&gt;</description>
    <dc:creator>RKS</dc:creator>
    <dc:date>2012-05-26T04:20:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.web2py/88442">
    <title>Re: compute not working on update</title>
    <link>http://permalink.gmane.org/gmane.comp.python.web2py/88442</link>
    <description>&lt;pre&gt;
So if the computation needs two fields and only one is updated, it won't 
execute on update. It makes sense when I rethink the logic, but I wouldn't 
have thought of this right away. I recommend mentioning this explicitly in 
the book.

I see this as one of those little things that can cause a lot of 
troubleshooting and then a grumbling facepalm, an hour or two later :)
&lt;/pre&gt;</description>
    <dc:creator>LightDot</dc:creator>
    <dc:date>2012-05-26T03:44:58</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.web2py/88441">
    <title>Re: hot to Run Python 2.5 scripts from python (for automating PSSE)</title>
    <link>http://permalink.gmane.org/gmane.comp.python.web2py/88441</link>
    <description>&lt;pre&gt;I am afraid I was unable capture the stack. 

any clue as to how I can run a python process and keep communicating with 
it during execution of web2py forms. If so I can send and receive the 
commands and data to webpy.

Thank you,
Janath



On Wednesday, May 23, 2012 4:13:23 PM UTC-5, Derek wrote:
&amp;gt;&amp;gt;&amp;gt;&lt;/pre&gt;</description>
    <dc:creator>Janath</dc:creator>
    <dc:date>2012-05-26T03:35:11</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.web2py/88440">
    <title>Re: How to never return html?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.web2py/88440</link>
    <description>&lt;pre&gt;Thanks Simon and Anthony for the quick replies.    This is a controller and 
I'll try the suggestions.



On Friday, May 25, 2012 5:26:49 PM UTC-7, Anthony wrote:
&amp;gt;&lt;/pre&gt;</description>
    <dc:creator>bob</dc:creator>
    <dc:date>2012-05-26T03:29:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.web2py/88439">
    <title>Re: compute not working on update</title>
    <link>http://permalink.gmane.org/gmane.comp.python.web2py/88439</link>
    <description>&lt;pre&gt;
Yes, I guess to be more clear, it should indicate that on updates, it tries 
to compute the value using the fields being updated. If one of the fields 
required to compute the value is not included in the update, then the 
compute won't be updated. Note, the compute should happen as long as it 
doesn't require any fields that are not being updated. So, this should only 
be a problem if the compute requires multiple fields, and some of them are 
being updated and some are not. To accommodate that case, though, the DAL 
would have to retrieve the existing record from the db in order to get the 
current values of the fields that aren't being updated. Of course, you 
could always do that explicitly in your code and then include those fields 
in the update as well.

Anthony

&lt;/pre&gt;</description>
    <dc:creator>Anthony</dc:creator>
    <dc:date>2012-05-26T02:45:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.web2py/88438">
    <title>Re: compute not working on update</title>
    <link>http://permalink.gmane.org/gmane.comp.python.web2py/88438</link>
    <description>&lt;pre&gt;Thanks yet again Anthony. It makes sense that it only recomputes when the 
relevant fields change. I think it would be valuable to change the book as 
it implies (at least it did to me) that the computed value is computed on 
any update of the record, 

"When a new record is modified, including both insertions and updates, if a 
value for the field is not provided, web2py tries to compute from the other 
field values using the compute function. "

Peter

On Friday, May 25, 2012 6:50:33 PM UTC+1, peter wrote:
&lt;/pre&gt;</description>
    <dc:creator>peter</dc:creator>
    <dc:date>2012-05-26T02:13:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.web2py/88437">
    <title>Re: 4th Edition manual RSS example problems</title>
    <link>http://permalink.gmane.org/gmane.comp.python.web2py/88437</link>
    <description>&lt;pre&gt;I verified that the problem does not occur for IE, Safari and Firefox, but 
does occur with Chrome.
Jarrod

On Friday, May 25, 2012 1:58:20 PM UTC-4, Jarrod Wilcox wrote:


On Friday, May 25, 2012 1:58:20 PM UTC-4, Jarrod Wilcox wrote:
&lt;/pre&gt;</description>
    <dc:creator>Jarrod Wilcox</dc:creator>
    <dc:date>2012-05-26T02:05:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.web2py/88436">
    <title>Re: Stripe javascript and form</title>
    <link>http://permalink.gmane.org/gmane.comp.python.web2py/88436</link>
    <description>&lt;pre&gt;We use in web2py.com/pdfbuy

the API in gluon/contrib/stripe.py are designed to be called from the 
controller, not from the javascript.

On Friday, 25 May 2012 18:07:33 UTC-5, james c. wrote:
&lt;/pre&gt;</description>
    <dc:creator>Massimo Di Pierro</dc:creator>
    <dc:date>2012-05-26T01:42:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.web2py/88435">
    <title>Re: Anyone using BootSwatch with new web2py layout</title>
    <link>http://permalink.gmane.org/gmane.comp.python.web2py/88435</link>
    <description>&lt;pre&gt;We can include this in MENU and eliminate the JS. What do you think?

On Friday, 25 May 2012 15:52:50 UTC-5, Niphlod wrote:
&amp;gt;&lt;/pre&gt;</description>
    <dc:creator>Massimo Di Pierro</dc:creator>
    <dc:date>2012-05-26T01:40:26</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.web2py/88434">
    <title>Re: compute not working on update</title>
    <link>http://permalink.gmane.org/gmane.comp.python.web2py/88434</link>
    <description>&lt;pre&gt;

Well, in this case, you update the "title" field, but the compute depends 
on the "file" field, so there would be nothing to update.

Anthony
&lt;/pre&gt;</description>
    <dc:creator>Anthony</dc:creator>
    <dc:date>2012-05-26T00:34:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.web2py/88433">
    <title>Re: Deploy issue - Apache on Windows - Unable to import driver</title>
    <link>http://permalink.gmane.org/gmane.comp.python.web2py/88433</link>
    <description>&lt;pre&gt;Yep, got burned by this when setting up a new server last month. The 
problem is covered in the pyodbc issue tracker here -  
http://code.google.com/p/pyodbc/issues/detail?id=126 I ended up grabbing a 
build from  http://www.apachelounge.com/download/additional/ and then all 
was good.

On Friday, May 25, 2012 12:08:59 AM UTC-5, Andrew wrote:
&amp;gt;&amp;gt;&amp;gt;&lt;/pre&gt;</description>
    <dc:creator>Brian M</dc:creator>
    <dc:date>2012-05-26T00:32:23</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.web2py/88432">
    <title>Re: compute not working on update</title>
    <link>http://permalink.gmane.org/gmane.comp.python.web2py/88432</link>
    <description>&lt;pre&gt;

There are legitimate uses, so I'd say leave it, or at least maybe just 
rename it so the functionality is still available (e.g., update_row).

Anthony 
&lt;/pre&gt;</description>
    <dc:creator>Anthony</dc:creator>
    <dc:date>2012-05-26T00:31:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.web2py/88431">
    <title>Re: How to never return html?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.web2py/88431</link>
    <description>&lt;pre&gt;Is "api" a controller or function? Either way, you can prevent html 
requests by (a) making sure there is no .html view file associated with the 
particular function and (b) making sure you don't enable the generic.html 
view for that controller/function. For example, somewhere in the controller 
or function:

response.generic_patterns = ['xml', 'json']

Also, are you hoping to default to an xml response without having to add 
the .xml extension to the urls? In that case, somewhere in the controller 
or function, you could do:

if request.extension not in ['xml', 'json']:
    response.view = '%s/%s.xml' % (request.controller, request.function)
    request.extension = 'xml' # only needed if you have enabled generic.xml

Anthony

On Friday, May 25, 2012 6:55:17 PM UTC-4, bob wrote:
&lt;/pre&gt;</description>
    <dc:creator>Anthony</dc:creator>
    <dc:date>2012-05-26T00:26:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.web2py/88430">
    <title>Re: anybody ever try to do modal registration using only web2py and recaptcha?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.web2py/88430</link>
    <description>&lt;pre&gt;https://groups.google.com/forum/?fromgroups#!topic/web2py/v44Pv3aTwBg
&lt;/pre&gt;</description>
    <dc:creator>weheh</dc:creator>
    <dc:date>2012-05-25T23:57:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.web2py/88429">
    <title>anybody ever try to do modal registration using only web2py and recaptcha?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.web2py/88429</link>
    <description>&lt;pre&gt;I'm trying to do modal registration with a custom form, recaptcha, and an 
ajax follow-through after processing. Recaptcha may have sunk this 
approach. Can you suggest a secure alternative that works better with 
jQuery? Or perhaps give your account of how to do modal registration in 
web2py?&lt;/pre&gt;</description>
    <dc:creator>weheh</dc:creator>
    <dc:date>2012-05-25T23:56:52</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.web2py/88428">
    <title>Re: recaptcha in LOAD</title>
    <link>http://permalink.gmane.org/gmane.comp.python.web2py/88428</link>
    <description>&lt;pre&gt;For completeness, please refer to:

https://groups.google.com/forum/?fromgroups#!searchin/web2py/recaptcha$20load$20ajax/web2py/9retDkkyGxU/p6j_F3U8X3YJ

https://groups.google.com/forum/?fromgroups#!searchin/web2py/recaptcha$20load$20ajax/web2py/eeMT2Bb-KYA/7G6WZ-XeIygJ

This is an old issue and I'm late to the game, but with my modular approach 
I'm seeing that pbreit has already explored this 
javascripted-initial-authentication territory and declared it inhospitable.

Basically, if I'm to understand, you can't use Recaptcha with LOAD(..., 
ajax=True). Am I right?
&lt;/pre&gt;</description>
    <dc:creator>weheh</dc:creator>
    <dc:date>2012-05-25T23:50:52</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.web2py/88427">
    <title>Re: Who are logged in?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.web2py/88427</link>
    <description>&lt;pre&gt;Let's say that the action /default/loggedin.load/user/&amp;lt;id&amp;gt; updates the 
app's logged in list and returns an html list with their names.

Then you could use this in the layout.html view:

{{=LOAD(c="default", "f="loggedin.load", args=["user", auth.user_id], 
timeout=60000, times="infinity")}}

That should update the logged in users for both client and server with 60 
seconds intervals.

LOAD options are documented here&amp;lt;http://www.web2py.com/examples/static/epydoc/web2py.gluon.compileapp-module.html&amp;gt;
.

El viernes, 25 de mayo de 2012 05:49:03 UTC-3, IVINH escribió:
&lt;/pre&gt;</description>
    <dc:creator>Alan Etkin</dc:creator>
    <dc:date>2012-05-25T23:38:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.web2py/88426">
    <title>Re: How to never return html?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.web2py/88426</link>
    <description>&lt;pre&gt;http://web2py.com/books/default/chapter/29/10?search=.json#HTML,-XML,-and-JSON
 

On Friday, 25 May 2012 23:55:17 UTC+1, bob wrote:
&lt;/pre&gt;</description>
    <dc:creator>simon</dc:creator>
    <dc:date>2012-05-25T23:38:08</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.python.web2py">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.python.web2py</link>
  </textinput>
</rdf:RDF>

