[web2py] Re: ARTICLE: The good and bad about web2py

2010-08-02 Thread Ahmed Soliman
Ok, I would like to elaborate more on the points I've mentioned. 1- Web2py does not support unit testing out of the box and if you want to hack everything to get unit testing well integrated you can but this still doesn't mean the framework support unit testing, and by that I mean the ability to t

[web2py:28091] LDAP Authentication notes

2009-08-06 Thread Ahmed Soliman
check binding to the LDAP instead. 2. We should add method to hook on change profile and change password to update the LDAP as well. What do you think? Ahmed Soliman Software Engineer B-Virtual Team. Thebe Technology. Egypt - Belgium 16 Nehro St. Heliopolis. Cairo Egypt. http://www.b-virtual.org

[web2py:28426] Why import is not that easy?

2009-08-12 Thread Ahmed Soliman
em is that in model/ I cannot import other modules from the same package *model* is there a nicer way to organize my stuff in a way that's more intuitive? Best Regards, Ahmed Soliman Software Engineer B-Virtual Team. Thebe Technology. Egypt - Belgium 16 Nehro St. Heliopolis. Cairo Egypt. ht

[web2py:28451] Re: Why import is not that easy?

2009-08-12 Thread Ahmed Soliman
On Aug 12, 5:14 pm, DenesL wrote: > To avoid restarting web2py after making changes use: > > exec('from applications.%s.modules.yourmodule import X' > %request.application) > reload(X) # remove for production > > Denes. This doesn't work, did you try that? the reason is that X is probably a clas

[web2py:28455] Re: Why import is not that easy?

2009-08-12 Thread Ahmed Soliman
us problem because I'll end up writing everything in the wrong place. Ahmed On Aug 12, 9:22 pm, Ahmed Soliman wrote: > On Aug 12, 5:14 pm, DenesL wrote: > > > To avoid restarting web2py after making changes use: > > > exec('from applications.%s.modules.yourmodule i

[web2py:28800] Does 'versioning' Work?

2009-08-17 Thread Ahmed Soliman
, > line 6, in commit > > uio = ui.ui(debug=True,verbose=True) > TypeError: __init__() got an unexpected keyword argument 'debug' > > Ahmed Soliman Software Engineer B-Virtual Team. Thebe Technology. Egypt - Belgium 16 Nehro St. Heliopolis. Cairo Egypt. http://www.

[web2py:28973] Problems with mac.

2009-08-19 Thread Ahmed Soliman
interface, it shows an error ticket and when i try to access the ticket to see the details I get a new ticket and I cannot see anything useful in the webserver log and I tried -v -D 5 to the web2py.py but nothing useful. How can I get things to work on python2.6 as I'm using 2.6 features in

[web2py:29029] Re: Problems with mac.

2009-08-20 Thread Ahmed Soliman
this solves only part of the problem, what if I want to use python 2.6?? how can I see the actual error happening? Massimo? On Aug 20, 3:22 pm, Fran wrote: > On Aug 20, 7:08 am, Ahmed Soliman wrote: > > > so I downloaded the source, the source worked using python2.5 on my leopar

[web2py:29037] Re: Problems with mac.

2009-08-20 Thread Ahmed Soliman
most visibility of what goes on (I > use WingIDE;  other's user Eclipse, winpdb, etc. - search the forums for > threads about debugging tools). > > Does this help answer your question? > > Regards, > - Yarko > > On Thu, Aug 20, 2009 at 12:19 PM, Ahmed Soliman wrote:

[web2py:29085] Re: web2py 1.66.1 (win) zipimport.ZipImportError

2009-08-21 Thread Ahmed Soliman
same problem here on mac. source version works. On Aug 21, 2:13 pm, "omar.webs...@gmail.com" wrote: > I have the same problem here :(. > > On 21 aug, 09:34, mdipierro wrote: > > > > > works for me. are you sure it is not a download problem? > > > On Aug 19, 12:55 am, Jonathan Lundell wrote: >

[web2py:29651] Bug in alternate authentication

2009-08-30 Thread Ahmed Soliman
dy in the cache, but if they are in the cache already things work fine and you can't see the bug, so it's confusing what it should 'actually' do. Thanks Ahmed Soliman Software Engineer B-Virtual Team. Thebe Technology. Egypt - Belgium 16 Nehro St. Heliopolis. Cairo Egypt.

[web2py:29784] Re: Bug in alternate authentication

2009-09-01 Thread Ahmed Soliman
* A word of caution to anyone testing LDAP on ubuntu 9.04, apparently > there is something wrong with trying to connect to a secure LDAP server.  I > could only get non-SSL connections to work.  Secure connections worked fine > with RedHat. > > > > On Sun, Aug 30, 2009 at 4:00 P

[web2py:29785] Re: autocomplete

2009-09-01 Thread Ahmed Soliman
Yes, I like that very much For me, I use Eclipse + PyDev Extensions which is not that nice with web2py because it cannot recognize global objects that you use from model of course and the automatic imports keeps importing stuff that you don't really need, plus highlighting most of the code as (re

[web2py:29818] Re: Bug in alternate authentication

2009-09-01 Thread Ahmed Soliman
tion in a way that > best fits your organization. > > On Sep 1, 7:07 am, Ahmed Soliman wrote: > > > > > The *Correct* method of having a selected group of users authorized to > > access your system is to use LDAP groups and that's something I intend > > to

[web2py:30221] Re: Bug in alternate authentication

2009-09-06 Thread Ahmed Soliman
r LDAP > authorization. The search cannot be performed without special > non-annonymous binding. > > 2009/8/30 Ahmed Soliman : > > > > > Hello Everybody, > > I've seen a *possible* bug if I got things right in the authentication code, > > let me tell you abou

[web2py:33332] adding ID and CLASS attributes

2009-10-21 Thread Ahmed Soliman
, my_form = FORM('Hello World') my_form._id = "5" # this doesn't work can you show me how to set id/class of any html helper object after creating it? Best Regards, Ahmed Soliman Software Engineer http://www.ahmedsoliman.com GPG ID: 0xAEEE5042 Plant a tree, save the

[web2py:34920] Re: testing a SQLFORM with doctest

2009-11-08 Thread Ahmed Soliman
Yes, I would like to hear the answer of that too, what if I want to prepare a SQLFORM variables to be passed during doctest, how can possible this happen as we don't know the key that is generated during form creation? On Oct 28, 10:44 am, Hamadaaway wrote: > Supposing I've a method like : > >

[web2py:37651] Re: nginx + web2py T3 application

2009-12-22 Thread Ahmed Soliman
Do you know how to configure nginx to expose the admin interface through https? On Dec 22, 10:35 am, shuval wrote: > http://istt-nsk.ru csstemplate in freecsstemplates.org spontaneous. I > managed site T3 application. Database is Fiebird ( I changed in > controllers/default.py and modules/t2.py f