Dear md,
this looks hopefully the right solution, but I'm getting the ff
AttributeError repeatedly,
>>>'NoneType' object has no attribute 'append'
in f='whatever.js'', can I put the url of the online js library or the
file path by saving it in my directory.
--
You received this message because
thanks that was it
when I try to submit my plugin and I don't choose a category like
"food" I get
"value not in database" for each category
on "Publish a new version"
there is a field called "Number:" it's not clear what this is supposed
to mean I would call it "version number" instead
on uploading
in the cotroller plug
i see
0 Responses Comment RSS Feed
# import code for encoding urls and generating md5 hashes import
urllib, hashlib # Set your variables here email =
"some...@somewhere.com" default = "http://www.somewhere.com/
homsar.jpg" size = 40 # construct the url gravatar_url = "http://
If a user put a bad Url , I have an INVALID REQUEST/CONTROLLER
I want to automaticly redirect that request to a home page or a last
page done.
how can I do it ?
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email t
Hi everyone,
I have seen mention many times on this group of jquery. However, ext
js looks very powerful and there are lots of books on it. What do you
think of ext js. Apparently, it has a connection with gwt. Is it part
of pyjamas?
Thanks
--
You received this message because you are subscribe
You can do:
def index():
response.files.append('http://...')
script=SCRIPT('...js goes here...')
return dict(script=script)
If you get an error in response.files.append(...) you have an old
web2py version. ;-)
On Nov 30, 2:48 am, haftish21 wrote:
> Dear md,
> this looks hopefully t
Read the file routes.example.py
You can do what you need by renaming this file route.py and
customizing routes_onerror.
Massimo
On Nov 30, 3:55 am, emmanu simo wrote:
> If a user put a bad Url , I have an INVALID REQUEST/CONTROLLER
> I want to automaticly redirect that request to a home page o
I am going to a talk on Django and extjs next week. I will report
back.
Massimo
On Nov 30, 6:17 am, davidjensen wrote:
> Hi everyone,
>
> I have seen mention many times on this group of jquery. However, ext
> js looks very powerful and there are lots of books on it. What do you
> think of ext js
where (in with directory) is that file ?
On Mon, Nov 30, 2009 at 3:18 PM, mdipierro wrote:
> Read the file routes.example.py
>
> You can do what you need by renaming this file route.py and
> customizing routes_onerror.
>
> Massimo
>
> On Nov 30, 3:55 am, emmanu simo wrote:
> > If a user put a
IMHO, It's better to use categories because people would generally
visit your blog looking for posts on a topic (JQuery, Web2py,
Photoshop etc), if you had an "Older/Newer posts" link, then thats
fine.
On Nov 29, 10:43 am, Thadeus Burgess wrote:
> What is the benefit or reason for having date-
Hi Guys, I really appreciate your help in the past. I have a another
quick question. Is it possible to use GAE models in model.py and then
use SQLFactory to generate and process the forms that are generated.
Cheers
--
You received this message because you are subscribed to the Google Groups
"w
You can use native GAE models
In this case you can use SQLFORM.factory() but you cannot use SQLFORM
() and you cannot use DAL syntax on GAE models.
On Nov 30, 8:34 am, Victor wrote:
> Hi Guys, I really appreciate your help in the past. I have a another
> quick question. Is it possible to use GAE
*Value not in database errors. -> Should have been fixed in trunk, not sure
of a way around it except for just not using Validators all around.
*Version Number -> good idea.
*Filename is expected to be "web2py.plugin.*.w2p" This is what you get when
you "pack" the plug-in individually.
*Code for
Thank you everybody for taking a look at this and testing it for me!
Hopefully after cleaning up a few things it will launch soon.
List of still to be implemented
*Rating System (tied in with comments)
*Links on plug meta info (author, category, tags)
*Browse by author
Some questions for the com
I was just curious why most blogs have archive then? Is it for S.E.O. ?
If you have a tagging system, would you really need categories?, since tags
are basically a "category cloud" DO you really need both, how do
categories interact with tags?
-Thadeus
On Mon, Nov 30, 2009 at 8:32 AM, V
I discovered this:
http://code.google.com/p/library-management-system-2/
If the author is here and want the project linked on appliances,
please just ask.
Massimo
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send ema
ext js is nice, however their more advanced features cost money? I like
jquery because there is a plug-in for almost everything, and its so easy to
perform plug-in development, I was able to create a couple of jquery plugins
and I have absolutely no javascript experience :)
Though the money factor
I'm not sure this is the right forum for this discussion, any guidance
in appreciated. After upgrading to 1.72.3 I get the following error
in one of my applications: "TypeError: slice indices must be integers
or None or have an __index__ method"
What should I be looking at to fix this. The bug r
Sometime ago I've read some criticism about google groups and someone
proposed to create a forum for web2py.
I've a different idea. We could create a web2py group on reddit and
use it both as a source of news on the web2py world and also as a
forum (do you know ask reddit or Ask HN?).
Imho reddit
True, I got an old version of web2py. The latest version is not
running, I don't know whose problem that is. While I double click
web2py.exe, it pops up & disappears. Have u checked it lately?
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To p
Can you show us a could of lines from the code that cause the error?
What version are you upgrading from?
On Nov 30, 9:53 am, cadrentes wrote:
> I'm not sure this is the right forum for this discussion, any guidance
> in appreciated. After upgrading to 1.72.3 I get the following error
> in one o
ExtJS is not part of Pyjamas or GWT. It is a very advanced and
powerful toolkit but doesn't compare well with jQuery (which is just a
library). They serve different purposes. jQuery is for websites
while ExtJS is for web-applications. There is some overlap, but most
people don't need or want a
>From a technical point of view this would be a great idea. From a
practical point of view it is not because: a) the reddit croud is very
unfriendly to web2py b) reddit threads both "web2py" and me as spam. I
have had problems posting messages on the topic recently. Some of the
moderators are helpf
Never heard of this before.
What os, what are you upgrading from?
Anybody else having this problem?
Can you try running from source?
Massimo
On Nov 30, 10:33 am, haftish21 wrote:
> True, I got an old version of web2py. The latest version is not
> running, I don't know whose problem that is. W
Spam? This is really a bad thing! But I think that the "spam" problem exists
on some group and not
in all reddit system. Groups are moderated by the creator and some people
chosen by the creator itself, so I don't
think that we will have problems if we create our own group web2py group
moderated by
I attempted to get into Dojo, to use their Dijit and Dojox libraries,
however during comparing the two, I can accomplish everything Dojo does with
jQuery and a couple of plug-ins, with documentation about it to boot :)
This is why django does not include a javascript library... everybody has
diffe
Another question..
Is the design functional? I know there is pretty, and then there is
functional, and then there is the balance. Ideas on the design could be
changed to allow for more functionality?
-Thadeus
On Mon, Nov 30, 2009 at 9:27 AM, Thadeus Burgess wrote:
> Thank you everybody for t
mail.send(\'m...@gmail.com\', \'subject\', body)\n File "/var/www/
web2py/gluon/tools.py", line 271, in send\nattachment.attach
(email.MIMEText.MIMEText(text.encode(encoding)))\nUnicodeDecodeError:
\'ascii\' codec can\'t decode byte 0xd0 in position 30: ordinal not in
range(128)\n'
This erro
The reason is because there are non-latin characters in the text body.
Where are you getting your data source? Is it possible to use UTF-8 encoded
characters instead of ASCII?
Are you attempting to pass a different encoding scheme to the Mail object?
Can we get some code that you are using?
-Th
My code is very simple:
def index():
response.flash = "Hello";
form = SQLFORM(db.requests)
if form.accepts(request.vars):
response.flash = 'Thanks. We will contact you soon.'
body = ''
for var in form.vars:
body = body + var + ':\r\n' + str(form.var
Sure,
This is the "cookbook" application lightly modifed to take notes on
case followup. I believe I had it running on 1.67. I think this is
where it is hanging:
def new_sda():
form=SQLFORM(db.sda,fields=
['date','fidname','vetname','status','acctdue_at_513',\
'
You should just be able to do
mail.sent(,encoding='latin1')
or whatever the encoding is. It would be best just to make sure you
pass utf8 strings to web2py.
On Nov 30, 1:09 pm, Alex wrote:
> My code is very simple:
>
> def index():
> response.flash = "Hello";
> form = SQLFORM(db.req
I cannot reproduce the problem. Can you post the complete traceback?
Which version of web2py are you running? which os?
On Nov 30, 1:09 pm, cadrentes wrote:
> Sure,
> This is the "cookbook" application lightly modifed to take notes on
> case followup. I believe I had it running on 1.67. I think
I cannot reproduce the problem. Can you post the complete traceback?
Which web2py version? source or binary? which os?
On Nov 30, 1:09 pm, cadrentes wrote:
> Sure,
> This is the "cookbook" application lightly modifed to take notes on
> case followup. I believe I had it running on 1.67. I think
http://www.web2pyslices.com/main/slices/take_slice/35
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegroups.co
Richard and myself have been working already for a little bit over a
week on a stack overflow "inspired" Q&A website obviously created
using web2py and aimed to web2py issues as well as the python
community, it will *not* be a SO "clone" since I want to take all the
confusing and unnecessary comple
I am using this function
def twitter_post(username,password,message):
import urllib, urllib2, base64, gluon.contrib.simplejson
args= urllib.urlencode([('status',message)])
headers={}
headers['Authorization'] = 'Basic '+base64.b64encode(username
+':'+password)
request = urllib2.R
Cool, your project seem really interesting!
2009/11/30 Julio
> Richard and myself have been working already for a little bit over a
> week on a stack overflow "inspired" Q&A website obviously created
> using web2py and aimed to web2py issues as well as the python
> community, it will *not* be a
They are. If you should us the code we can help more.
On Nov 30, 4:55 pm, murray3 wrote:
> I am using this function
> def twitter_post(username,password,message):
> import urllib, urllib2, base64, gluon.contrib.simplejson
> args= urllib.urlencode([('status',message)])
> headers={}
>
I just noticed that the default verify message is:
self.messages.verify_email = \
'Click on the link http://...verify_email/%(key)s to
verify your email'
Could it be similar to the reset_password message I submitted. They
should probably also be "https"?
thx,
-wes
On Mon,
thank you. This was needed. I will take a look asap. The only issue is
that this new mechanism should be the default if the ath_user table
has the new reset_password_field, esle it should revert to the old
mechanism (in case people have custom tables) for backward
compatibility.
I wonder if this c
looking forward to see this.
On Nov 30, 4:16 pm, Julio wrote:
> Richard and myself have been working already for a little bit over a
> week on a stack overflow "inspired" Q&A website obviously created
> using web2py and aimed to web2py issues as well as the python
> community, it will *not* be a
+1 for the registration_key
But the only problem is the registration_key should change each time the
password is to be changed ?
-Thadeus
On Mon, Nov 30, 2009 at 5:58 PM, mdipierro wrote:
> thank you. This was needed. I will take a look asap. The only issue is
> that this new mechanism shou
I think the options should be:
registration_key=
- '' (login allowed)
- '' (login not allowed, email sent, waiting for verification)
- 'pending' (login blocked, registration needs approval)
- 'blocked' (login blocked, registration disabled)
- 'reset::' (login allowed, email sent, waiting for
passw
Really, I'm no expert, maybe categories are for SEO. However I
believe that tags are more searchable, and you can have as many as you
want. For example, look at engadget, each post has loads of tags. but
fewer categories. I'ld say Categories to allow people look at your
information and tags to add
web2py/routes.example.py
-Thadeus
On Mon, Nov 30, 2009 at 8:26 AM, Simo wrote:
> where (in with directory) is that file ?
>
>
> On Mon, Nov 30, 2009 at 3:18 PM, mdipierro wrote:
>
>> Read the file routes.example.py
>>
>> You can do what you need by renaming this file route.py and
>> custom
I first was using registration_key, but then that needs to change
every time a user requests a password reset, registration_key seems
to only be there for registration (only once). I wasn't sure how to
work with reg_key for password usage too.
your other email makes sense if there is a way to di
When I use the following in my routes.py
routes_onerror = [
('*/*', '/init/default/index'),
]
The process hits 100% cpu and freezes the machine, consumes ram, and spikes
the local network.
Infinite loop in there somewhere?
-Thadeus
On Mon, Nov 30, 2009 at 10:11 PM, Thadeus Burgess wrot
Just a note, I cannot replicate this on my server, there must be something
within my local instance of web2py.
-Thadeus
On Mon, Nov 30, 2009 at 10:22 PM, Thadeus Burgess wrote:
> When I use the following in my routes.py
>
> routes_onerror = [
> ('*/*', '/init/default/index'),
> ]
>
> The
I don't have an /init application :)
Massimo, I sent you a patch that passes the requested_uri along to the error
handling page.
try_redirect_on_error will append the request_uri along to the redirected
url. My idea behind this is that if you have a blog, and a person trys going
to a non-existent
I think the difference is that tags are flat, categories are supposed
to have a hierarchical structure. Usually categories are set by the
administrator, not by users, as in the case of tags.
On Nov 30, 9:52 pm, Victor wrote:
> Really, I'm no expert, maybe categories are for SEO. However I
> beli
Strange, yah! It is the source I'm complaining ab. The old version
runs well by a just click on the web2y.py file? I use ms vista os &
upgrading from 1.64.
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web
Here ya go, hope this helps convince you to migrate from wordpress to web2py
:)
import, pass it an open file to the wordpress exported xml/rss. And get back
a python dictionary with everything you should need :)
Then it is only a matter of inserting the data into your database.
http://static.tha
yah, it's very strange. It's the from the source that I'm complaining
ab. When I double click, it momentarily disappears, when I type
>python web2py.py, I everytime get the ff error:
WindowsError: [Error 13] The process cannot access the file because it
is being used by another process: 'admin.ta
Since dreamhost insists on trying to run .py files instead of just serve
them, here is a working link
http://static.thadeusb.com/wordpress2python.txt
-Thadeus
On Tue, Dec 1, 2009 at 1:36 AM, Thadeus Burgess wrote:
> Here ya go, hope this helps convince you to migrate from wordpress to
> web2
yah, it's very strange. It's the from the source that I'm complaining
ab. When I double click, it momentarily disappears. If it helps, let
me paste the exception I receive everytime I type >python web2py.py
WARNING: root: no file locking
unpacking apps; this may take a few seconds...
Traceback (
56 matches
Mail list logo