[web2py] Re: Mongo list type field update

2016-12-31 Thread Alan Etkin
> The modificador_eventos field will be a json with a list format, so im > trying to insert a list in it using this code: > > eventos = json.loads(eventos) > lista = [eventos, eventos, eventos] > respuesta = db(db.tarifas.id == > id).validate_and_update(modificador_eventos=lista).as_dict() > >

Re: [web2py] Re: simple seo plugin

2015-09-03 Thread Alan Etkin
Ooops The web2pyslices site sends the new post notifications, my bad, I was just sending them to some unchecked email folder. 2015-09-03 14:40 GMT-03:00 Alan Etkin <spame...@gmail.com>: > Sorry, probably your first post was not checked. > > We should implement some kind of

Re: [web2py] Re: simple seo plugin

2015-09-03 Thread Alan Etkin
Sorry, probably your first post was not checked. We should implement some kind of post permission request on the user list since the automated mail for admins at the slices app wont work or was disabled El 03/09/2015 12:11, "Anthony" escribió: > Actually, there's a bigger

[web2py] Re: web2pyslicesgate

2015-05-12 Thread Alan Etkin
zvolsky also. On Monday, May 11, 2015 at 10:43:25 AM UTC-7, Derek wrote: Looks okay, needs to be pruned though as I see mirek posted a bunch of nonsense there. Done -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

[web2py] Re: Plugins Error

2015-05-12 Thread Alan Etkin
El martes, 12 de mayo de 2015, 14:07:54 (UTC-3), xmarx escribió: hi! when i click from design page ( http://127.0.0.1:8000/admin/default/design/examples) download plugins from repository button, i get an error like this: With what version? Maybe the admin app can't get the list of

[web2py] Re: web2pyslices down

2015-05-10 Thread Alan Etkin
Web2pysplices.com is on sale Cool! And what about web2pyslices.com, is it on sale also? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You

[web2py] About Leonel's threaded comment example

2015-05-10 Thread Alan Etkin
Ron's question about the app posted at https://groups.google.com/d/msg/web2py/sbgzu1zUAqY/8h1P7-6boSgJ by Leonel Do you know if its possible to implement this app without using any javascript and nested structure but just applying pymongo freature? Does pymongo provide client-side features?

[web2py] web2pyslicesgate

2015-05-10 Thread Alan Etkin
I forgot I was the web2pyslices app admin :P To all users complaining about their articles not being shown on the site, please, don't sue me. BTW: there seem to be some issue about the web2pyslices.com domain, since the one that is working is web2pyslices.pythonanywhere.com -- Resources: -

[web2py] Mongodb api reference

2015-05-09 Thread Alan Etkin
I'm bringing to the list some new user's questions It will b nice to document all the DAL syntax n equivalent pymongo api. Not sure what he meant, but documenting the pymongo api makes little sense (it is already documented by the authors). IMO we should instead document the way of accessing

[web2py] Re: Mongodb api reference

2015-05-09 Thread Alan Etkin
Question: is there an equivalent db().select(db.blog.author) in pymongo api? For example if I use the above implementation in pymongo: db1.blog.author (wouldn’t work). But I can get specific author db1.blog.find({‘author’:’Ron’}) That is also equivalent to: db(db.blog.author ==

[web2py] Re: web2py-mongodb-engine

2015-05-07 Thread Alan Etkin
I did not check the django app code but if you want to handle embedded json objects you should use table definitions with a json field. Something like db.define_table(mytable, Field(embeddedobject, json) # db is a mongodb connection (DAL instance) -- Resources: - http://web2py.com -

Re: [web2py] deploment on an obsolete Debian 5 server

2015-05-07 Thread Alan Etkin
@Michelle Looks like the backports does not include python 2.7 (at least with the sources I searched so far). @Simone we don't support python 2.5 from some time.. it's possible that I can't import is a result of tried and failed rather than didn't find it. When was python 2.5

[web2py] deploment on an obsolete Debian 5 server

2015-05-06 Thread Alan Etkin
I was testing the last stable source code installation of the framework on a debian lenny don't know what else 5.0 server, but if you start it using the built-in web server on a terminal it throws a funny error message stating it can't find pydal Has anyone tried to deploy web2py on that kind

Re: [web2py] deploment on an obsolete Debian 5 server

2015-05-06 Thread Alan Etkin
Alan, if you need to update the interpreter you can look at backports: http://backports.debian.org/ Great! I'll check it asap Thanks all for the help -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

Re: [web2py] Re: deploment on an obsolete Debian 5 server

2015-05-06 Thread Alan Etkin
Did you download the source file from the web2py site or github? If github there is this issue to take into account due to pydal being a submodule. I tried the zipped package from www.web2py.com, I'm quite sure it ships pydal also -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: Convert MongoDB / dict into a DAL Row

2014-11-15 Thread Alan Etkin
Row.__str__ is called which in turn calls Row.as_dict, well Row.as_dict does not know how to serialize ObjectId so it just ignores it. I don't recall exactly (perhaps I should check the source), but I think the mongodb adapter doesn't support dealing with pure objectid objects for

[web2py] Re: pymongo is installed but I get this error: no driver available ('pymongo',)

2014-05-21 Thread Alan Etkin
Does the sys.path looks right to you? It does if the pymongo driver is installed at one of the folders listed. As you have described in late posts, you seem to have an issue with directory permissions. I belive that running web2py with root permissions can solve it. -- Resources: -

[web2py] Re: pymongo is installed but I get this error: no driver available ('pymongo',)

2014-05-20 Thread Alan Etkin
2) sudo pip which put all the unzipped pymongo files in the /usr/local/lib/python2.7/dist-packages/ folder with root:staff ownership and everyone r privileges. Odd, this should make the driver available for web2py. For debugging, perhaps you can check that the driver folder is

[web2py] Re: json error when trying mongo slice

2014-02-06 Thread Alan Etkin
this kind of entry: { u'counter':3, u'now':'2014:05-02 13:00:00' ) the web2py manual shows this kind of entry: { 'counter':3, 'now':'2014:05-02 13:00:00' ) Currently the json validator accepts only legal json, meaning you have to enclose strings in double quotes (altough it automatically

[web2py] Re: sqlite --- postgresql

2014-02-06 Thread Alan Etkin
Hello, Do you consider it's safe to work with web2py on localhost machine and use sqlite3 database as storage (which greatly simplifies setup) and then deploy application on the production server by using e.g. PostgreSQL database? There are some difficulties when you need to migrate

[web2py] Re: sqlite --- postgresql

2014-02-06 Thread Alan Etkin
This is even better. No rush here, but just curious if there is any ETA for it? ETA: uncertain. It is not a trivial change. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Upload file to copy.com

2014-02-06 Thread Alan Etkin
Hi everyone, Is there a way for a web2py app, instead of uploading a file to the server local file system, to upload a file to a www.copy.com account? You can handle dropbox data from web2py apps instead

Re: [web2py] Re: Email and PGP

2014-02-02 Thread Alan Etkin
I thought about that, but I don't think there's an actual www-data:www-data user on my Linux server by virtue of installing web2py, is there?? How would I login? Some script installations of web2py create the user. You need to know first what user is configured to run web2py in the

Re: [web2py] Re: Email and PGP

2014-02-02 Thread Alan Etkin
I tried sudo -u www-data gpg --gen-key, but I got permission denied to access /home/richard/. I'd try to login as www-data but I don't know the password. I don't think there is a password set for www-data. How about this? sudo -i -u www-data gpg --gen-key That fixed the permission issue

Re: [web2py] Re: Email and PGP

2014-02-01 Thread Alan Etkin
Well, given the state of disarray that this matter is in, I'd best cut my losses and abandon PGP email altogether. I can't wait forever for this matter to be resolved/fixed. I have tested the recipe in development and it works. I had to create the recipient public key which is not

Re: [web2py] Re: Email and PGP

2014-02-01 Thread Alan Etkin
Something I don't understand... If I'm sending to myself (my_h...@gmail.com javascript:), isn't my public key the same as the recipient key? It's already in the key-ring. Do I have to import the public key again using 'gpg'? No. In fact, I tried an auto-send and as you said, there is

[web2py] Re: Export issues

2014-01-31 Thread Alan Etkin
Hi all, I downloaded web2py from trunk on Jan 29th and I found some issues with export. Did you have a consistent output on earlier versions? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Export issues

2014-01-31 Thread Alan Etkin
No, same behavior with web2py 2.5.1-stable Then I think it should be fixed in trunk. Can you file an issue? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report

[web2py] Re: AppEngine NDB Ancestor Query

2014-01-31 Thread Alan Etkin
I've been trying to find a way to use *ancestor queries https://developers.google.com/appengine/docs/python/ndb/queries#ancestor*using web2py's db without luck. I guess the use of ancestors is currently not implemented, is that correct? Are there any patches? Isn't that a GAE specific

Re: [web2py] Re: Email and PGP

2014-01-31 Thread Alan Etkin
...the for loop is never entered. In other words, c.op_keylist_all(sender, 1) is empty, so c.signers_add(sigkey) is never executed. Does that help? Not much, but at least we now know that pyme (the python wrapper for the pgp library) cannot find any sub-key for sender, where it should.

[web2py] Re: Email and PGP

2014-01-30 Thread Alan Etkin
Okay, looks like nobody can help me. I guess not that many people use PGP email from web2py. Probably because it's so gnarly. Apparently, you get that error message because one of this reasons: - A search for the signing key returned a void set - The key was found but the can_sign property

[web2py] Re: Email and PGP

2014-01-30 Thread Alan Etkin
- The key was found but the can_sign property is set to False but I can't find how to set it... :( You mean the o.s. command to enable signing? (wathever it is)? What if one forces the test to True at tools.py (so the key entry is added)? The problem about pyme is the lack of

[web2py] Re: move from sqlite to postgres using cpdb.py failed

2014-01-30 Thread Alan Etkin
I have been trying to move from sqlite to postgres without any success. cpdb is not the one size fits-all solution for every problem when copying data between databases. Currently, there is an issue about reading table definitions which, unless I'm mistaken, makes almost impossible to

Re: [web2py] Re: Wiki.auth 401 error

2014-01-29 Thread Alan Etkin
Any chance for steps on how to do that ? (For us that are new o web2py) - Start the rocket built-in server (see the manual for instructions for windows) - Open the admin app and authenticate - Go to the app base address at http://localhost:8000/app name and register web2py should now have

[web2py] Re: Selects as_trees

2014-01-29 Thread Alan Etkin
I am looking for a way to expand all referenced fields and have read about the as_trees() method for selecting rows. I do not quite understand the parent field requirement, but say we have the following tables/relationships, was looking for a nested dict output which could be JSONified

[web2py] Re: move from sqlite to postgres using cpdb.py failed

2014-01-27 Thread Alan Etkin
I have check sql.tmp - it contains only 'END'. After adding the print line I have got following message, with no tables([]): Have you run the app connecting to sqlite once? You must do it so web2py automatically creates the table files. cpdb reads those files from the database folder to

[web2py] Re: Cassandra and web2py

2014-01-27 Thread Alan Etkin
The DAL does not have a Cassandra adapter, so you'll have to use an external Python driver (e.g., https://github.com/datastax/python-driver). Or code your own adapter (and perhaps share it)

[web2py] Re: move from sqlite to postgres using cpdb.py failed

2014-01-26 Thread Alan Etkin
try: import pyreadline as readline except ImportError: import readline It seems this win problem should be posted at http://code.google.com/p/web2py/issues 2)I have created brand new db in postgres. 3)I have tried to copy data from 1 db to another by following cmd:

[web2py] Re: web2py slices plugins: thumbnail images

2014-01-25 Thread Alan Etkin
Too bad that many of the growing collection of plugins don't have a thumbnail image :( Agree. Maybe the book note can improve the feature's user feedback. BTW: the current layout is not too pretty. Any help about coding a better view is welcome. -- Resources: - http://web2py.com -

[web2py] Re: Adding a second page to pypdf Template

2014-01-24 Thread Alan Etkin
Whenever i try to add a second page like this: I get this error: type 'exceptions.RuntimeError'(FPDF error: Unsupported image type: ) Can you post the traceback if any? Try adding a blank cell before the second add_page call. -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: Variables from url

2014-01-24 Thread Alan Etkin
Hi, I have a question: For example, somebody opens this page: .../profile/1 Now, in the def profile(): there shall be a variable: a=1 Or, when this page gets opened: .../profile/12345 I wish this variable: a=12345 This is discussed in detail in the web2py book:

[web2py] Re: simplejson and datetime

2014-01-24 Thread Alan Etkin
What I am interested in doing, is have it turned back into a datetime object when 'decoding' - and THAT is not supported even in the web2py flavor - and I haven't found a single simple solution for it on the web for the standard simplejson either. It seems the only way of decoding iso

[web2py] Re: Web2py License

2014-01-23 Thread Alan Etkin
We are in an opensource shy team that is very concerned about licensing. I see that the Web2py license is LGPL3, but does Web2py carry any other license implications such as GPL, GPL2 in it's parts? Given that there is contributed code included with the default package, and they have

[web2py] Re: pygraphviz library not found

2014-01-22 Thread Alan Etkin
When navigating to the Edit - Graph Model on any web2py app, I get the error pygraphviz library not found. Can you import the library from an interactive session? Maybe you have a path issue, i.e., you are using the built-in python interpreter of a compiled web2py installation without

[web2py] Re: custom one-to-many left-join python object and json object

2014-01-18 Thread Alan Etkin
Hey, I have a simple one-to-many relation, between questions and answers. Each question may have 0 or more answers, so any *db.answer.question* refers to a certain *db.question.id http://db.question.id*. Now, in order to create a code for efficiently displaying the questions and their

[web2py] Re: How to use a bootstrap button group as radio buttons in a custom form

2014-01-13 Thread Alan Etkin
Thanks Alan - I'm still trying to get the intended result: Bootstrap buttons that function like radio buttons. I studied fields being brought in as normal radios Have you tried setting name=opt for this input instead (leaving the options with their original attributes)? input

[web2py] Re: How to use a bootstrap button group as radio buttons in a custom form

2014-01-12 Thread Alan Etkin
hoping someone can point me in the right direction, as the post title says I want to use a btn-group Try using name=opt for the input element. However, it would be better to use a custom widget. http://www.web2py.com/books/default/chapter/29/07/forms-and-validators#Widgets -- Resources:

[web2py] Re: How to add users to a table row by request

2014-01-12 Thread Alan Etkin
There is a built-in feature for RBAC (Auth). Check the book http://www.web2py.com/books/default/chapter/29/09/access-control#Access-Control -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Get label of field

2014-01-12 Thread Alan Etkin
My doubt is, how i get the labels of specific field, or a group of fields, or all fields? table, field = col.split(.) db[table][field].label field label -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: GAE: insert using key_name

2014-01-12 Thread Alan Etkin
I gues my question is, can users safely rely on _something methods? The change revert is due this concern about api reliability, so adapters behave as specified in http://www.web2py.com/books/default/chapter/29/06/the-database-abstraction-layer?search=_insert#Raw-SQL What is w2p's policy

[web2py] Re: request.uri_language

2014-01-12 Thread Alan Etkin
Is it possible that nobody knows how this request.uri.language works ? Shouldn't this app: dict( be this way instead? test: dict( -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: request.uri_language

2014-01-12 Thread Alan Etkin
I've got this server error: 200 Error My bad, unless you have specified the name or it is available in that scope, using app, test or whatever would raise a NameError. Perhaps it can be solved using a string (test) for the dictionary key. routers = { test: dict(

[web2py] Re: Wiki.auth 401 error

2014-01-11 Thread Alan Etkin
Pretty much give up on this, the wiki looked very promising when i first tried it, seems to be dead now, Still unable to reproduce the issue with Version 2.8.2-stable+timestamp.2014.01.09.11.46.01 in development. Mind that you must have permission to create wikis. Check that there is a

[web2py] Re: GAE: insert using key_name

2014-01-11 Thread Alan Etkin
Sorry for the confussion.. But it works fine. I will definitally use this. (I posted something stupid and removed the stupid post but left some traces. ;-)) Well there are good reasons not to add the feature, at least with the current name:

[web2py] Re: !! NEW ADMIN !!

2014-01-10 Thread Alan Etkin
El lunes, 6 de enero de 2014 18:19:54 UTC-3, samuel bonill escribió: Admin Plus(A-Plus) is a web2py plugin that provides an easy-to-use interface for managing your data Wait, isn't this a similar project than this another? https://groups.google.com/d/msg/web2py/9ajKQChEmHQ/lNzHUqTKaa8J --

[web2py] Re: DAL auth_user usage problem

2014-01-10 Thread Alan Etkin
AttributeError: 'Table' object has no attribute '('username', '')' There's an now closed issue that is possibly related to this http://code.google.com/p/web2py/issues/detail?id=1849 On what version did you try it? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation)

[web2py] Re: !! NEW ADMIN !!

2014-01-10 Thread Alan Etkin
You can clone the repo git clone https://github.com/pyner/admin_plus.git Or use this https://github.com/pyner/admin_plus/blob/master/web2py.plugin.admin_plus.w2p?raw=true -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

[web2py] Re: Learning Management System survey

2014-01-09 Thread Alan Etkin
Any news on progress? Check Pyodel http://code.google.com/p/pyodel There's a working prototype available and an online demo at http://pyodel.appspot.com -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Hi there Web2ppy noob here

2014-01-09 Thread Alan Etkin
form = SQLFORM.factory( Field('meter_num',requires=IS_IN_DB(db,db.meter)), Field('meter_type',requires=IS_IN_DB(db,db.meter)), Field('dept_id',requires=IS_IN_DB(db,db.dept.id,'%(dept_id)s')) You have missed the closing parenthesis for the .factory method. -- Resources: -

[web2py] Re: GAE: insert using key_name

2014-01-09 Thread Alan Etkin
How about adding support in dal.py for the following: # processes the field input and add defaults, computes, etc. (does not make actual insertion). values = db._insert(spam=alot, ...) {spam: alot, ...} I made a pr about supporting _insert for processing values without applying

[web2py] Re: GAE: insert using key_name

2014-01-09 Thread Alan Etkin
Works great! On Thursday, January 9, 2014 7:21:45 PM UTC+1, Quint wrote: Excellent! I already included it to try it out but how do i use it? Your message is confusing, does it work or it does not? It worked for my environment (recent release of gae sdk and development server)

[web2py] Re: GAE: insert using key_name

2014-01-09 Thread Alan Etkin
But it works fine. I will definitally use this. Ok. If you can, it would be useful if you could share your tests about supported features for records lacking id values and any issue you find with setters and getters using key names. Note that the Rows class supports defining objects using

[web2py] Re: GAE: insert using key_name

2014-01-08 Thread Alan Etkin
I would like to be able to do this using web2py. I could also choose to use the GAE API directly to do this but then a could not make use thing like calculated Fields etc in my web2py tables. One issue about forcing key names is that there's no guarantee that the new key will provide a

[web2py] Re: GAE: defaults on _tableobj

2014-01-08 Thread Alan Etkin
(For instance when I want to supply a key_name when I put() an entity so I can have better performance to get() that entity from db. Or when I want to use put_multi()) put_multi is supported by DAL trough the bulk_insert method. How better is performance when using named keys? Do you have

[web2py] Re: GAE: insert using key_name

2014-01-08 Thread Alan Etkin
But does that mean you should not allow it to be inserted that way? Nothing restricts users from operating (using web2py api) on rows inserted with GAE api There's no restriction on the use of the datastore, since it is not a service reserved for web2py apps, although I belive storing

[web2py] Re: GAE: insert using key_name

2014-01-08 Thread Alan Etkin
Compatible with what? With any web2py feature expecting entity keys (web2py records) with integer ids. But you would know that you don't need those functionalities if you would decide to use a key_name I think this is usually called a corner case. I would't add the feature for the

[web2py] Re: GAE: defaults on _tableobj

2014-01-08 Thread Alan Etkin
by using it's _tableobj I meant.. and then use GAE api About using appengine property default values, the patch sets defaults for entity creation but I think that this would bypass the DAL interface, which uses it's own logic for setting default values. This could lead to web2py apps

[web2py] Re: GAE: defaults on _tableobj

2014-01-08 Thread Alan Etkin
About using appengine property default values, the patch sets defaults for entity creation but I think that this would bypass the DAL interface, I did not take in account that the patch just copies defaults, my bad. So I don't think the feature affects any previous implementation or leads

[web2py] Re: GAE: insert using key_name

2014-01-08 Thread Alan Etkin
How about adding support in dal.py for the following: # processes the field input and add defaults, computes, etc. (does not make actual insertion). values = db._insert(spam=alot, ...) {spam: alot, ...} So one can use the output for storing named keys (with app specific logic or maybe plugin

[web2py] Re: Multiple Uploads using jQuery-File-Upload: Javascript/CSS Conflict?

2014-01-08 Thread Alan Etkin
I'm trying to use jQuery-File-Uploadhttp://blueimp.github.io/jQuery-File-Upload/to implement multiple file uploads. I'm using this tutorialhttp://in10min.blogspot.com/2013/04/web2py-implement-multiple-files-upload.html as well as this sample app

[web2py] Re: Wiki.auth 401 error

2014-01-08 Thread Alan Etkin
Jim and Alan, I have the exact same problem, and exact same error. my setup is simple: using the latest web2py_win (as of December 2013) and followed the book web2py_manual_5th. The instructions in section 3.5 will guide you to use the built in wiki, and if you follow these

Re: [web2py] Re: !! NEW ADMIN !!

2014-01-07 Thread Alan Etkin
You can Contribute in many ways: Consider posting this to the plugins list in web2pyslices, adding a link to the installer (.w2p file) so it can be installed directly from admin. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

[web2py] Re: intercept closing session

2014-01-07 Thread Alan Etkin
El martes, 7 de enero de 2014 14:40:38 UTC-3, Giuseppe D'Amico escribió: Hi, I am new with web2py, is there a way to intercept the closing of a session? You mean you want to catch a user logout from the scaffolding app? You could modify the user action at controllers.py so it checks wether

Re: [web2py] Re: Unable to send email on server in web2py.....

2014-01-06 Thread Alan Etkin
El lunes, 6 de enero de 2014 12:26:48 UTC-3, Akash Agrawall escribió: Still same error. it's too urgent for me It appears gmail is using some sort of smtp service lock for your application account:

[web2py] Re: cpdb from sqlite to postgresql

2014-01-06 Thread Alan Etkin
The result is an error message: EXCEPTION: could not make a copy of the database Failure to connect, tried 5 times: Traceback (most recent call last): File gluon/dal.py, line 7766, in __init__ self._adapter = ADAPTERS[self._dbname](**kwargs) File gluon/dal.py, line 2756, in

[web2py] Re: Unable to send email on server in web2py.....

2014-01-05 Thread Alan Etkin
Sorry for late reply man. I checked the same no luck in that... !! :( Please post the output of mail.result and mail.error after the call to .send() -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Unable to send email on server in web2py.....

2014-01-04 Thread Alan Etkin
Hie folks.. I know this question is already been asked but I didn't get any help from those answers. please hava look at this I am unable to send email in server(to be specific webfaction.com) ... but it's running fine on local host Have you checked this thread?

[web2py] Re: OT: movuca internal error on comment

2014-01-03 Thread Alan Etkin
that's what I get trying to add a comment to a post of mine. Manuele, can you please try to add the comment now? Sorry but I didn't find a contact form on web2pyslices site. We should add at least a link to this list for posting issues. -- Resources: - http://web2py.com -

Re: [web2py] Re: OT: movuca internal error on comment

2014-01-03 Thread Alan Etkin
anyway I found that in spite of the error I got yesterday the comment has been already posted. Ok, this is because the comment is commited before the buggy notification feature starts :P. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: Using Modules Class - AttributeError: 'Engine' object has no attribute 'form'

2014-01-01 Thread Alan Etkin
I'm testing using Classes within my Modules to handle a lot of the heavy lifting. I can't figure out what i'm doing wrong here. I need an adult. def __init__(self): self.request = current.request def form(self): Your Engine class has a form function defined within the

[web2py] Re: limit the application for client user

2014-01-01 Thread Alan Etkin
hi, is it possible to limit the application for client user? something identical with trial version for client user, so the user can try the application, test and use it for several time (1 month for example) or base on table record (limit to 10/100 record per table). if possible what

[web2py] Re: Can somebody help me to integrate Web2Py on Hostagtor?

2013-12-31 Thread Alan Etkin
I'm having my first steps on web2py and python and would really benefit from a dummy tutorial... Check this posts http://www.web2pyslices.com/slice/show/1567/running-web2py-on-hostgator-shared-host https://groups.google.com/d/msg/web2py/HvKqgkatK1E/0mFjGUYPjLYJ However, deployment recipes

[web2py] web2pyslices old notifications

2013-12-31 Thread Alan Etkin
If you have an account at web2pyslices, you'll probably start receiving old notifications from the site about comments, articles, etc. This is due to a bug in the model recently discovered which was preventing the automated notification service to send those mails. -- Resources: -

[web2py] Re: Calendar widget in a custom form?

2013-12-30 Thread Alan Etkin
After adding some input validation I've realized that the calendar widget is not popping up. Is there anything I need to add to the controller or elsewhere? I suspect there's no widget option for the INPUT objects, unless it was added and was not updated in examples:

[web2py] Re: I don't want 'Login Successful' or 'Success' popping up on the screen in my app.

2013-12-30 Thread Alan Etkin
How do I keep session.flash and response.flash from doing their things when I don't want to? Specifically I don't want the messages popping up after a user logs in or when they make a new entry to the DB. For processing forms, you can disable the message_something option in .process()

[web2py] Re: unpickling stack underflow

2013-12-30 Thread Alan Etkin
HELP PLEASE! Could you post the relevant part of code that throws the error? What version of web2py are you running? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list

[web2py] Re: Firefox 26.0 and redirect after login

2013-12-30 Thread Alan Etkin
I tested these functions in Safari, in Safari everything works as before. Does anyone have an idea what changed in Firefox and how to solve this issue? Does it actually redirect (does it open the new location)? You can check the response output with the firefox console (Ctrl+Shift+K) --

[web2py] Re: MongoDb

2013-12-30 Thread Alan Etkin
I have an app running on MySQL , I want to use mongoDB instead. I want to help on migration from mysql to mongoDB. Thanks, Beware that mongodb adapter is in an experimental stage of development, so you should know what you are doing before migrating. I suppose there are lots of howtos

Re: [web2py] Re: MongoDb

2013-12-30 Thread Alan Etkin
Thanks for the answer. Luckily there are no joins, but I need to see what web2py features of DAL won't work. To my knowledge, you cannot use the scheduler or Auth.accessible_query, everything else not requiring join queries should work. -- Resources: - http://web2py.com -

[web2py] Re: web2py on heroku getting InternalError: current transaction is aborted... Ticket

2013-12-28 Thread Alan Etkin
2013-12-28T05:17:30.576667+00:00 app[web.1]: ProgrammingError: relation web2py_filesystem does not exist 2013-12-28T05:17:30.576667+00:00 app[web.1]: LINE 1: SELECT path FROM web2py_filesystem WHERE path='applications/... 2013-12-28T05:17:30.576667+00:00 app[web.1]: Check this

[web2py] Re: error class 'gluon.contrib.pypyodbc.ProgrammingError' ('', 'SQL_INVALID_HANDLE') when DAL is mssq

2013-12-26 Thread Alan Etkin
This error is produced when the controller files execute a query string, example db(db.usr).select() or db(db.usr).count(). It does not always occur but frequently occur! Have you checked app/databases/sql.log? Maybe you can post the last commands stored for debugging. -- Resources: -

[web2py] Re: building model at run-time?

2013-12-25 Thread Alan Etkin
... On the other end, if you have 20-30 tables is pretty easy to learn the syntax and define tables with migrate=False that will avoid creating those tables (because they exist already in your backend) and use those definitions in DAL. And for automatically build the model from the

[web2py] Re: error class 'gluon.contrib.pypyodbc.ProgrammingError' ('', 'SQL_INVALID_HANDLE') when DAL is mssq

2013-12-25 Thread Alan Etkin
In web2py, if I use db = DAL('mssql://...), the error class 'gluon.contrib.pypyodbc.ProgrammingError' ('', '*SQL_INVALID_HANDLE*') frequently occurs. Can you please be more specific? What is the source code in you application producing the error? -- Resources: -

[web2py] Re: Problem w/ cpdb.py script

2013-12-23 Thread Alan Etkin
Note that, when I tried to use the script to copy to a MySQL DB on pythonanywhere, I got a 150 error, that it couldn't create an auth table, and this may be related to foreign keys as well. Note that there is another issue about cpdb (actually about the DAL class constructor and the

[web2py] Re: Wiki.auth 401 error

2013-12-23 Thread Alan Etkin
Hi Alan, it's 2.8.2 I think we need to see the source; I tried to reproduce it, but couldn't. My system environment: 2.8.2-stable+timestamp.2013.12.20.15.08.47 (Running on Rocket 1.2.6, Python 2.7.3) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: Wiki.auth 401 error

2013-12-22 Thread Alan Etkin
This used to work, activate the built in wiki, then register, log in and I got the wiki available. Now when I try to make a new wiki I get 401 even though it lets me log on. With what version? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: Wordpress model file

2013-12-21 Thread Alan Etkin
I have several projects in my work, that require handling wordpress. As I hate doing stuff in PHP, and DAL is my prefered tool for a lot of my work, I've created a model file of wordpress. I hope you'll find it useful, and I'd love to hear your feedback It must be because I've never

[web2py] Re: error using auth.wiki('slug') on service pages

2013-12-19 Thread Alan Etkin
El jueves, 19 de diciembre de 2013 07:54:34 UTC-3, Janko Strusa escribió: Ok, I have reported the issue. force_render is being ignored in actions that involve service pages. If you want to combine them with document content, a workaround is having the wiki create the tables in the model or

[web2py] Admin app support in app engine

2013-12-19 Thread Alan Etkin
A subset of the admin app features was enabled in trunk for Google App Engine apps. New deployments using the app.yaml example file should support the following (using GAE SDK 1.8.8 and Python 2.7/WSGI): - Error ticket storage and browser (with datastore connections) - Web shell - File viewer

[web2py] Re: error using auth.wiki('slug') on service pages

2013-12-18 Thread Alan Etkin
I've tried {{=auth.wiki(slug=test, force_render=True)[content]}}. I get error ticket. Would you please file an issue at web2py.googlecode.com? If possible, post as much info as possible, including the relevant source code used in the model, controller and view. -- Resources: -

  1   2   3   4   5   6   7   8   9   10   >