[web2py] Re: Postgres EXEPTION in web2py

2010-01-14 Thread haftish21
This is to mean, what is called is a database function which has no return value but raises an exception when sth is wrong (don't ask how). So, I want to return the error message as it appears inside the database function, in place of using the try/except option in python. Can I? -- You received

[web2py] Postgres EXEPTION in web2py

2010-01-14 Thread haftish21
In one of my controller actions required to get the exact EXCEPTION raised by postgreSQL function. How could I fetch the RAISE EXCEPTION error using psycopg (or the connection cursor)? -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to th

[web2py:37649] Re: unable to find mod_whitebeam module

2009-12-22 Thread haftish21
Dear Thaudeus, Sure, this is not a web2py issue. But, I'm considering whitebeam in line with web2py to add some functionality which are far beyond web2py. I'm using windows vista os. cheers!!! -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To

[web2py:37632] unable to find mod_whitebeam module

2009-12-21 Thread haftish21
I do have mod_whitebeam in my modules folder and LoadModule whitebeam- module modules/mod_whitebeam.so line in my httpd.conf but I'm getting the following error while I try to re-start apache the specified module could not be found. -- You received this message because you are subscribed to the

[web2py:37607] OpenLayers is not defined

2009-12-21 Thread haftish21
def index(): response.files.append('http://../lib/OpenLayers.js') ... While I try to call functions from OL library (I'm using pydermonkey module): I'm still getting OpenLayers is not defined error. Can't I call objects and functions from response files??? -- You received t

[web2py:37397] pyjamas for javascript in web2py

2009-12-16 Thread haftish21
I saw the example on how to develop an app using both web2py and pyjamas. My question is a similar but a bit different. Pyjamas helped me write some python functions that integrate a javascript library. But, I couldn't trigger those functions right from the controller environment. Help??? -- You

[web2py:36539] /views/default\index.html

2009-12-04 Thread haftish21
I'm using latest version of apache ... Everything is going fine except I can't tell what is creating this error 404? Not Found The requested URL /admin/default/edit/myApp/views/default\index.html was not found on this server -- You received this message because you are subscribed to the Google

[web2py:36414] Re: apache + web2py

2009-12-03 Thread haftish21
Well! There seems a sign of listening it. It was an error in issuing self-signed certificate. But, By clicking on a web2py app's page, a request should be sent to apache to synchronously fetch some values from the db and send it to my web2py app's page. Apache keeps blocking it (because it is htt

[web2py:36410] Re: apache + web2py

2009-12-03 Thread haftish21
Sorry, it's typography mistake here! & SSLCertificateFile "conf/server.crt". But, not listened yet. -- 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,

[web2py:36371] apache + web2py

2009-12-02 Thread haftish21
Listen 8000 NameVirtualHost *:8000 DocumentRoot "C:/web2py/applications" ServerName ( # my ip) Order allow,deny Deny from all Order deny,allow Allow from all

[web2py:36367] Re: js functions from controller

2009-12-02 Thread haftish21
U got it!!! python 2.6.4 did it right, thanks...and I'll try to see what will happen 2 my original question and let u know, thanks a lot! -- 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.

[web2py:36360] web2py as windows service

2009-12-02 Thread haftish21
What is going wrong? C:\web2py>python web2py.py -W install WARNING:root:no file locking default applications appear to be installed already web2py Enterprise Web Framework Created by Massimo Di Pierro, Copyright 2007-2009 Version 1.64.4 (2009-06-24 00:40:36) Database drivers available: SQLite3, Po

[web2py:36343] Re: js functions from controller

2009-12-02 Thread haftish21
the problem seems still there... -- 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.com. For more options,

[web2py:36300] Re: js functions from controller

2009-12-01 Thread haftish21
I saw that admin.tar is a new file that is immediately created on the web2py root folder while I run web2py.py. I delete and run it again, the problem repeats itself... -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send

[web2py:36252] Re: js functions from controller

2009-11-30 Thread haftish21
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 (

[web2py:36250] Re: js functions from controller

2009-11-30 Thread haftish21
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

[web2py:36248] Re: js functions from controller

2009-11-30 Thread haftish21
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

[web2py:36215] Re: js functions from controller

2009-11-30 Thread haftish21
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

[web2py:36196] Re: js functions from controller

2009-11-30 Thread haftish21
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

[web2py:36177] Re: web2py on Apache Tomcat

2009-11-29 Thread haftish21
I want to integrate an application that must run on apache tomcat with a web2py application. My interest was to avoid using two servers for the two applications, it seems now I've two use both servers. -- You received this message because you are subscribed to the Google Groups "web2py-users"

[web2py:36174] Re: js functions from controller

2009-11-29 Thread haftish21
How about importing the js library...??? -- 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.com. For more o

[web2py:36155] js functions from controller

2009-11-28 Thread haftish21
Web2py view is successfully calling an online javascritpt library under

[web2py:36119] web2py on Apache Tomcat

2009-11-28 Thread haftish21
Is Web2py deployable on Apache tomcat, can anyone help?? -- 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

[web2py:35255] Re: new non-SQLField field

2009-11-13 Thread haftish21
I got it, new class was unregistered in the model environment inside the gluon.compileapp folder. Thank you dear md, I'm loving & appreciating web2py's flexibility. On Nov 12, 10:34 pm, mdipierro wrote: > I have no idea. Can you show use the code? > > On Nov 12, 1:

[web2py:35194] new non-SQLField field

2009-11-12 Thread haftish21
mList is my class, to be used the same way as SQLField (to define new field d/t from SQLField). It 100% works on python shell, but on the model environment it raises the following trace... Traceback (most recent call last): File "G:\get2GetHer\itcLessons\oSDI \proj+enkef\fivePythonWF\allWeb2py\w

[web2py:34495] importing css file

2009-11-03 Thread haftish21
I used the following linkage to import my css file created inside static folder. No error, but nothing displays on my page. what goes wrong??? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. T

[web2py:34428] Re: storage object

2009-11-02 Thread haftish21
my image table is already created... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to w

[web2py:34396] storage object

2009-11-02 Thread haftish21
This is a kind of error I'm getting repeatedly. I suspect that my understanding of the Storage(dict) object & its functions is not enough. Can any one help, plz. >>> db.image.drop() Traceback (most recent call last): File "", line 1, in db.image.drop() File "C:\Users\...\web2pygeom\gluo

[web2py:34030] Re: +new class and functions

2009-10-29 Thread haftish21
thanks mdipierro: my interest is to put my codes under one folder and call them from the model on an instance of SQLDB object (just like web2py's create_table). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2

[web2py:33970] +new class and functions

2009-10-28 Thread haftish21
I've my own class & some functions, that need db back-end. I want to embed it in my application by running it right from the model. How? can any1 help me plz. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-us

[web2py:28012] web2py naming

2009-08-05 Thread haftish21
Why is web2py christened web2py? Am I right if I answer this question as follows: This is because it is python implementation of Web-frameworks technology, with the powers of Web 2.0 version of the Web. Regards --~--~-~--~~~---~--~~ You received this message becau

[web2py:25434] db.define_table on postgres

2009-07-01 Thread haftish21
I'm on page 137 of the manual... In[3]: db.define_table('person', SQLField('name')) Out[3]: Traceback (most recent call last): File "", line 1, in File "D:\allWeb2py\web2pySource\gluon\sql.py", line 975, in define_table raise SyntaxError, 'invalid table name: %s' % tablename SyntaxErro

[web2py:25355] Re: psycopg2 on windows vista

2009-06-30 Thread haftish21
I'm on page 137 of the manual... In[3]: db.define_table('person', SQLField('name')) Out[3]: Traceback (most recent call last): File "", line 1, in File "D:\allWeb2py\web2pySource\gluon\sql.py", line 975, in define_table raise SyntaxError, 'invalid table name: %s' % tablename SyntaxErro

[web2py:25271] Re: psycopg2 on windows vista

2009-06-29 Thread haftish21
My dear Fran, really thank u very much. Then can I say it's always better 2 run the source version than the windows one? Or what? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post

[web2py:25225] psycopg2 on windows vista

2009-06-29 Thread haftish21
Any one who successfully managed to get connected to postgres db? I already installed psycopg2, postgres, web2py and python 2.6 on my windows vista os, but still can't get linked to postgres. Did I miss sth? What I get is this: Traceback (most recent call last): File "", line 1, in File "gluo

[web2py:23291] Re: Spatial???

2009-06-04 Thread haftish21
Check:http://www.scribd.com/doc/16085263/web2py-slides-version-163 and especially page 71. Really thank you! This helps about the latest version of web2py. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[web2py:23267] Re: Spatial???

2009-06-04 Thread haftish21
>Maybe this sets us apart from competing frameworks and attracks more geo-hackers It seems fine 2 me. But... My interest now is to define "Spatial Database Consistency of Web2py" not @ 'Controller' level, but @ "Database" level. I've not yet known what web2py is. Give me some time 2 know it.

[web2py:22876] Re: Spatial???

2009-05-29 Thread haftish21
Right - you need to pay USD 10 for it: http://www.lulu.com/content/4968879 >>'ll get as soon as possible, full version is what I need. It's not a fully-qualified domain, won't ever work outside your campus... >>Then let me get another help from u to broaden it, take it out of my campus. >>Ho

[web2py:22791] Re: Spatial???

2009-05-27 Thread haftish21
gluon/validators.py << Again 10Q! I know, what is removed is the full version of the manual which was @: http://www.scribd.com/word/removal/15508739 but the manual @: http://web2py.com/examples/default/docs seems not complete, I'm using it though. U know, I want 2 dig it all!!! I would still

[web2py:22698] Re: Spatial???

2009-05-26 Thread haftish21
I'm not sure if u can access it, take a look @ my first attempt to build Personal Geo-website (a marked class assignmet) http://itcnt07/~tsega19167/module10/index.html On May 27, 12:37 am, haftish21 wrote: > 10Q Massimo and Fran, ur relpies added sth 2 my motivation. 4 ur info,

[web2py:22697] Re: Spatial???

2009-05-26 Thread haftish21
h of this can exist in a T2-style shared appliance, of course - it > wouldn't need to be core. > > F > > > > > On May 26, 11:22 am, Fran wrote: > > > On May 24, 7:01 pm, haftish21 wrote: > > > > I'm commencing my MSc thesis work entitled "

[web2py:22571] Spatial???

2009-05-24 Thread haftish21
I'm commencing my MSc thesis work entitled "Customization of Spatial Database Consistency on Web Frameworks: the case of web2py". I picked web2py cos I saw many interesting features in it while I was trying to scan all python-programmed web frameworks out there. I can say that I'm just very new to