[web2py:21358] json-rpc

2009-05-07 Thread desfrenes
Hello, I saw the xml-rpc support for web2py via response.xmlrpc() but is there any json-rpc 1.0 support (response.jsonrpc())? I already made a client module, and use it successfully with web services (see here: http://www.desfrenes.com/python-json-rpc), what would it take to add json-rpc 1.0 sup

[web2py:21359] Re: Job web2py developer

2009-05-07 Thread dlypka
Please clarify your email address d...@yahoo.com does not seem to work On May 5, 3:52 pm, dbb wrote: > Hello Eeverybody: > > Need a ( two) developer (s) who can develop an application using > web2py: > > I am trying to develop a specification for a web2py development. The > job is developing a

[web2py:21360] Re: Memcache & SQL Query as key

2009-05-07 Thread NicolasB
Finally, I keep working on it. I will suggest to add a few other modification. Still testing and then posting it. Regards, Nicolas On 6 mai, 18:34, mdipierro wrote: > Can you please email me the modified file? Thanks. > > On May 6, 10:45 am, NicolasB wrote: > > > Hello, > > I am using memcache

[web2py:21361] Re: New cool feature in trunk!

2009-05-07 Thread Kuba Kucharski
web2py Shell Version 1.62 rc1 (2009-05-07 00:50:20) In[1]: db().select(db.call.ALL) Out[1]: In[2]: print db().select(db.call.ALL) Out[2]: call.id,call.caller_id,call.dest_num,call.answered_time,call.hangup_time,call.hangup_cause,call.billsec,call.owner_id After ~2 minutes idle time: I

[web2py:21362] Re: Job web2py developer

2009-05-07 Thread Steve Shepherd
I am interested in your project. I am doing a similar project myself but for flexible learning delivery. My rate is US$44 per hour. I am based in New Zealand so the exchange rate is great for anyone in the USA. I am at a moderate level of web2py knowledge. You will find I have been on this group fo

[web2py:21363] reading other DB

2009-05-07 Thread Sebastian E. Ovide
Hi All accordingly with some recent thread, web2py has some problems acceding tables that differs from the models defined in db.py my app needs to read a DB used by another application (that is not web2py) and create a report based on its data. What would it be the cleanest way to connect to ano

[web2py:21364] cron function in controller problem

2009-05-07 Thread mika
Hello! I'm new to web2py. I have a problem with cron - it seems that it doesn't work. Could you tell me what line exactly should be in file crontab? application is called "my_app", name of controller is "abc" and the name of function is "get". I would like to run function every minute. the line

[web2py:21365] Re: Job web2py developer

2009-05-07 Thread Yarko Tymciurak
I see the email in the original mail was: debebea at yahoo dot com On Thu, May 7, 2009 at 3:39 AM, dlypka wrote: > > Please clarify your email address > d...@yahoo.com does not seem to work > > > On May 5, 3:52 pm, dbb wrote: > > Hello Eeverybody: > > > > Need a ( two) developer (s) who can de

[web2py:21366] Re: Table already exists problem [again]

2009-05-07 Thread mdipierro
that's the problem. On May 7, 12:39 am, Michal Jursa wrote: > Abbsolutely not, SHOW TABLES is MYSQL specific command. Postgres > implements the same funcionality with SELECT * FROM > pg_catalog.pg_tables, Oracle makes the same magic with SELECT TABLE_NAME > FROM USER_TABLES etc etc... > > Michal

[web2py:21367] Re: json-rpc

2009-05-07 Thread mdipierro
Yes http://www.web2py.com/examples/default/tools#services Massimo On May 7, 2:43 am, desfrenes wrote: > Hello, > > I saw the xml-rpc support for web2py via response.xmlrpc() but is > there any json-rpc 1.0 support (response.jsonrpc())? > > I already made a client module, and use it successfull

[web2py:21368] Re: reading other DB

2009-05-07 Thread mdipierro
On May 7, 6:22 am, "Sebastian E. Ovide" wrote: > Hi All > > accordingly with some recent thread, web2py has some problems acceding > tables that differs from the models defined in db.py That is not quite correct. web2py just does not like if you create a table from web2py and then you change the

[web2py:21369] table colnames

2009-05-07 Thread carlo
I know it is a well known theme but it is not fully present in the book and I would like to summerize. I need to access column names to build some custom tables and I do not want the name in the usual way table.colname, just the col name. I can: - use colnames and strip the table name with strin

[web2py:21370] Re: reading other DB

2009-05-07 Thread Yarko Tymciurak
and by migrate Massimo means (correct me if needed) DAL will not generate an "ALTER TABLE" kind of SQL command, will not alter target data structure. If DAL maps correctly to some _part_ of the target table (you only need to define / describe in DAL what you will access) you are ok (as long a

[web2py:21371] Re: table colnames

2009-05-07 Thread mdipierro
Not really. On May 7, 8:38 am, carlo wrote: > I know it is a well known theme but it is not fully present in the > book and I would like to summerize. > > I need to access column names to build some custom tables and I do not > want the name in the usual way table.colname, just the col name. > >

[web2py:21372] Re: New cool feature in trunk!

2009-05-07 Thread Kuba Kucharski
can you reproduce? -- Kuba --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to w

[web2py:21373] Re: Can't get web2py to run as Windows service

2009-05-07 Thread carlo
I think you use the windows web2py distro but to my knowledge you need the win32 extensions which are not packed, as far as I know, in that distro. In my everyday experience I had no problem to get web2py running as a windows server assured that you have a web2py compatible python version (2.3 ?)

[web2py:21374] Re: Can't get web2py to run as Windows service

2009-05-07 Thread Iceberg
I agree with Carlo, that web2py win binary distribution can not start as windows service. The long, painful memory is here. http://groups.google.com/group/web2py/browse_frm/thread/733896d0aec07d3e And I understand that in Weheh's python 2.3 situation, he just can not run web2py from source. So

[web2py:21375] Re: New cool feature in trunk!

2009-05-07 Thread mdipierro
This may have to do with sqlite timeout for locks. Where you (or somebody else) also accessing the app in the regular way? On May 7, 8:46 am, Kuba Kucharski wrote: > can you reproduce? > > -- > Kuba --~--~-~--~~~---~--~~ You received this message because you are s

[web2py:21376] Re: cron function in controller problem

2009-05-07 Thread Iceberg
On May7, 4:48pm, mika wrote: > Hello! > > I'm new to web2py. I have a problem with cron - it seems that it > doesn't work. Could you tell me what line exactly should be in file > crontab? application is called "my_app", name of controller is "abc" > and the name of function is "get". I would like

[web2py:21377] Re: New cool feature in trunk!

2009-05-07 Thread Kuba Kucharski
yes. but it works with standard shell in parallel without this issue.. that's why I thought it is not a problem.. -- Kuba On Thu, May 7, 2009 at 4:16 PM, mdipierro wrote: > > This may have to do with sqlite timeout for locks. Where you (or > somebody else) also accessing the app in the regul

[web2py:21378] Re: new restructured Sphinx doc into devel branch

2009-05-07 Thread mdipierro
I replaced the old doc folder with the new doc folder from your branch. I did not see any other difference. Is that correct? Massimo On May 7, 12:17 am, mdipierro wrote: > Thank you Tim. I will do it tomorrow morning. > > On May 6, 5:57 pm, Tim Michelsen wrote: > > > Hello, > > I have issued a

[web2py:21379] svn help

2009-05-07 Thread mdipierro
I hate svn! massimo-di-pierros-macbook:web2py_svn mdipierro$ svn rm --force doc/ build D doc/build massimo-di-pierros-macbook:web2py_svn mdipierro$ svn commit -m "cleanup" svn: Commit failed (details follow): svn: Directory '/Users/mdipierro/web2py_svn/doc/build' is missing massimo-di-pie

[web2py:21380] Re: json-rpc

2009-05-07 Thread desfrenes
Thank you. calling http://127.0.0.1:8000/app/default/call/xml/rpctest does display an xml response (I added both @service.xml and @service.json), however, hitting http://127.0.0.1:8000/app/default/call/json/ with the client I get a 404 response with "Object does not exist". :-/ On May 7, 3:23 pm

[web2py:21381] Re: new restructured Sphinx doc into devel branch

2009-05-07 Thread Timmie
* I added 3 rules to .bzrignore * the build is placed in the direcory you specified if the make- doc_html.xxx is used. No other differences outsite the doc subdirecory. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

[web2py:21382] Re: new restructured Sphinx doc into devel branch

2009-05-07 Thread Zoom.Quiet
On Thu, May 7, 2009 at 23:10, Timmie wrote: > > * I added 3 rules to .bzrignore > * the build is placed in the direcory you specified if the make- > doc_html.xxx is used. > > No other differences outsite the doc subdirecory. > great! i waiting new include Sphinx API doc branch, so i'll creat Chi

[web2py:21383] Re: json-rpc

2009-05-07 Thread mdipierro
First of all notice these are different @service.json @service.jsonrpc consider @service.json @service.jsonrpc def f(a,b): return a+b def call(): return service() You call the first via http://.../call/json/f?a=3&b=5 i.e. you specify the funciton (f) and parameters (a,b) in the URL. You call

[web2py:21384] Re: Sphinx docs post

2009-05-07 Thread Zoom.Quiet
2009/5/7 Yarko Tymciurak : > On Wed, May 6, 2009 at 11:12 AM, Zoom.Quiet wrote: >> >> On Wed, May 6, 2009 at 21:54, Timmie wrote: >> > >> >> Sayeahoo! >> >> but this proj. is same as that web2py_manual? >> > No. >> > The manual is a book written by a computer scientist to introduce >> > web2py an

[web2py:21385] Re: Sphinx docs post

2009-05-07 Thread Yarko Tymciurak
On Thu, May 7, 2009 at 10:43 AM, Zoom.Quiet wrote: > 2009/5/7 Yarko Tymciurak : > . > > > > > Try: > > $ bzr branch > http://bazaar.launchpad.net/%7Eweb2py/web2py/web2py-sphinx/ > > This worked for me; > > sooo bad,, > i'm very carefuly try again ,flow lp help > as atta. > there is "segmenta

[web2py:21386] Re: Cascading menu

2009-05-07 Thread Iceberg
@Yarko: Sorry that I don't quite get your point about the "onmouseover" and the "The default behavior can be set in the css". Currently what I did is supposed to be a pure css menu, based on the "grc menu" suggested by Massimo here: http://groups.google.com/group/web2py/msg/9a04650f84649641 The

[web2py:21387] Re: new restructured Sphinx doc into devel branch

2009-05-07 Thread mdipierro
I really want must commend Tim and Yarko for their work on Sphinx. This is the best thing that happened to web2py. We still have a long way to go because we need to make all docstrings reST compliant. It would help 1) somebody could post a very short howoto 2) everybody could contribute by pickin

[web2py:21388] Re: Sphinx docs post

2009-05-07 Thread Zoom.Quiet
2009/5/7 Yarko Tymciurak : > On Thu, May 7, 2009 at 10:43 AM, Zoom.Quiet wrote: >> >> 2009/5/7 Yarko Tymciurak : > > . >> >> > >> > Try: >> > $ bzr branch >> >  http://bazaar.launchpad.net/%7Eweb2py/web2py/web2py-sphinx/ >> > This worked for me; >> >> sooo bad,, >> i'm very carefuly try again

[web2py:21389] Re: Sphinx docs post

2009-05-07 Thread mdipierro
use bzr not svn. I failed to update svn On May 7, 11:19 am, "Zoom.Quiet" wrote: > 2009/5/7 Yarko Tymciurak : > > > > > On Thu, May 7, 2009 at 10:43 AM, Zoom.Quiet wrote: > > >> 2009/5/7 Yarko Tymciurak : > > > . > > >> > Try: > >> > $ bzr branch > >> >  http://bazaar.launchpad.net/%7Eweb2py

[web2py:21390] Re: Cascading menu

2009-05-07 Thread Yarko Tymciurak
On Thu, May 7, 2009 at 11:01 AM, Iceberg wrote: > > @Yarko: > Sorry that I don't quite get your point about the "onmouseover" and > the "The default behavior can be set in the css". Sorry... I see what I was looking at - I was looking at your layout.html, which has: {{for _name,_active,_link i

[web2py:21391] Re: Sphinx docs post

2009-05-07 Thread Zoom.Quiet
On Fri, May 8, 2009 at 00:28, mdipierro wrote: > > use bzr not svn. I failed to update svn > ?! this is big thing! foe China code.google 's SVN is KISS and OK; but the lp is slow and complex... flow :USN-612-2: OpenSSH vulnerability | Ubuntu http://www.ubuntu.com/usn/usn-612-2 found is my pub

[web2py:21392] Re: Cascading menu

2009-05-07 Thread Yarko Tymciurak
On Thu, May 7, 2009 at 11:44 AM, Yarko Tymciurak wrote: > > .. > > > #rtnv {position: absolute; top: 6em; right: 0; width: 8em; margin: 0; > padding: 0; font-family: Arial, sans-serif;} > #rtnv > ul {width: 9em; margin-left: -1px; font-size: 85%;} > #rtnv ul {border: 1px solid silver; border

[web2py:21393] Re: new restructured Sphinx doc into devel branch

2009-05-07 Thread Yarko Tymciurak
I will work on howto tonight - at least these 3 levels (and examples): -- for functions; -- for classes; -- for inline additional docstrings (?) On Thu, May 7, 2009 at 11:06 AM, mdipierro wrote: > > I really want must commend Tim and Yarko for their work on Sphinx. > This is the best thing that

[web2py:21394] Re: new restructured Sphinx doc into devel branch

2009-05-07 Thread Yarko Tymciurak
I must ammend - I've talked about sphinx, pushed for it, for reST wiki, etc. This checkin is _all_ the efforts of Tim (I just reviewed, looked, commented). Thanks _so much_, Tim! With gratitude, Yarko On Thu, May 7, 2009 at 11:06 AM, mdipierro wrote: > > I really want must commend Tim and Yark

[web2py:21395] send a tweet from web2py

2009-05-07 Thread mdipierro
def twitter_post(username,password,message): import urllib, urlib2, base64, gluon.contrib.simplejson args= urllib.urlencode([('status',message)]) headers={} headers['Authorization'] = 'Basic '+base64.b64encode(username +':'+password) request = urllib2.Request('http://twitter.co

[web2py:21396] Re: Table already exists problem [again]

2009-05-07 Thread TheDude
How is it a problem? We can have the ORM handle specific dbms in a specific way. This isn't a problem, it's merely a translation. The *only* problem, is gathering up all the commands necessary for the different dbms. And I don't see how this could be done with GAE (then again I have *zero* experie

[web2py:21397] Re: new restructured Sphinx doc into devel branch

2009-05-07 Thread Tim Michelsen
> I will work on howto tonight - Just start off here: http://bazaar.launchpad.net/~mdipierro/web2py/devel/annotate/head%3A/doc/source/docs_contrib.rst --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Fram

[web2py:21398] Re: new restructured Sphinx doc into devel branch

2009-05-07 Thread Tim Michelsen
> Thanks _so much_, Tim! I am delighted that you like. Was some "hand"-work on top. But I think better now than later when there will be more docstrings BTW, Each app could have its own doc folder... At least mine has one! --~--~-~--~~~---~--~~ You received

[web2py:21399] Re: Table already exists problem [again]

2009-05-07 Thread mdipierro
I agree. By a problem I mean it just taks a lot of work. GAE does not use .table files and there are no problems as far as I know. Massimo On May 7, 12:59 pm, TheDude wrote: > How is it a problem? We can have the ORM handle specific dbms in a > specific way. This isn't a problem, it's merely a

[web2py:21400] Re: new restructured Sphinx doc into devel branch

2009-05-07 Thread mdipierro
On May 7, 1:54 pm, Tim Michelsen wrote: > > Thanks _so much_, Tim! > > I am delighted that you like. > Was some "hand"-work on top. But I think better now than later when > there will be more docstrings > > BTW, > Each app could have its own doc folder... could you elaborate? > > At least

[web2py:21401] Re: new restructured Sphinx doc into devel branch

2009-05-07 Thread Tim Michelsen
>> BTW, >> Each app could have its own doc folder... > > could you elaborate? 1) create a doc folder in the app folder 2) cd doc 3) $: sphinx-quickstart 4) write some intraductory text 5) include docstrings complying with web2py howto (to be written) 6) create a document that uses autodoc to API

[web2py:21402] cool menu

2009-05-07 Thread mdipierro
http://www.filamentgroup.com/lab/jquery_ipod_style_and_flyout_menus/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubs

[web2py:21403] Re: Coooooool!

2009-05-07 Thread DJ
This interface looks great! Nice work Massimo. Works fine on Firefox but am seeing issues on IE 8. -Seb On May 1, 4:39 am, Ted G wrote: > I'm having a problem using upload fields within forms that are used > within jDiv containers. Testing edit() below by itself provides a form > that I can su

[web2py:21404] Re: json-rpc

2009-05-07 Thread desfrenes
ah! I should have read the docs better... Thank you, it works like a charm (and it's pretty fast too !). This is so easy ! Funny to see how web2py seems to have answers to all my needs and seems to implement all the functionalities I have struggled to implement on other platforms... but in a muc

[web2py:21405] selection of local file

2009-05-07 Thread Hans
I'm trying to import some content directly from an excel file which the user selects from its local files. I've taken and modified code from the admin controller for retrieving the path/filename thru a nice file selection window. The problem: I get only the filename of a locked temporary file, no

[web2py:21406] Re: cool menu

2009-05-07 Thread weheh
These are very cool, indeed. On May 7, 3:44 pm, mdipierro wrote: > http://www.filamentgroup.com/lab/jquery_ipod_style_and_flyout_menus/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. T

[web2py:21407] Re: send a tweet from web2py

2009-05-07 Thread weheh
awesome --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@goog

[web2py:21408] Re: json-rpc

2009-05-07 Thread mdipierro
tell everybody. ;-) On May 7, 2:50 pm, desfrenes wrote: > ah! I should have read the docs better... > > Thank you, it works like a charm (and it's pretty fast too !). This is > so easy ! > > Funny to see how web2py seems to have answers to all my needs and > seems to implement all the functional

[web2py:21409] Re: cool menu

2009-05-07 Thread Hans
wow, very cool! how can it (or something similar) be integrated into a web2py app? hans On May 7, 9:44 pm, mdipierro wrote: > http://www.filamentgroup.com/lab/jquery_ipod_style_and_flyout_menus/ --~--~-~--~~~---~--~~ You received this message because you are subs

[web2py:21410] Re: json-rpc

2009-05-07 Thread desfrenes
I sure do: http://www.desfrenes.com/blog/post/python-web2py-et-services-en-json-rpc On May 7, 10:03 pm, mdipierro wrote: > tell everybody. ;-) > > On May 7, 2:50 pm, desfrenes wrote: > > > ah! I should have read the docs better... > > > Thank you, it works like a charm (and it's pretty fast to

[web2py:21411] Re: jquery, python frameworks and pyjamas

2009-05-07 Thread Tim Michelsen
> I am keen to get your opinion on this one: > using pyjamas with other javascript libraries/frameworks > http://groups.google.com/group/pyjamas-dev/browse_thread/thread/639dffd00d6b7c7 I am still curious why programmers of a python framework haven't embraced this more. Is Pyjamas considered imma

[web2py:21412] Re: new restructured Sphinx doc into devel branch

2009-05-07 Thread Yarko Tymciurak
On Thu, May 7, 2009 at 1:52 PM, Tim Michelsen wrote: > > > I will work on howto tonight - > Just start off here: > > http://bazaar.launchpad.net/~mdipierro/web2py/devel/annotate/head%3A/doc/source/docs_contrib.rst

[web2py:21413] Re: new restructured Sphinx doc into devel branch

2009-05-07 Thread Yarko Tymciurak
On Thu, May 7, 2009 at 2:41 PM, Tim Michelsen wrote: > > >> BTW, > >> Each app could have its own doc folder... > > > > could you elaborate? > 1) create a doc folder in the app folder We could make this part of standard template, part of welcome app (first gluon gocstrings!) > 2) cd doc > 3) $

[web2py:21414] Re: jquery, python frameworks and pyjamas

2009-05-07 Thread desfrenes
"Pyjamas provides a python-to-javascript Compiler" well... I tend to stay away from anything that looks like a javascript helper. I you're gonna do some serious web development, you'll have to learn a bit of javascript anyway, or at least one of the major javascript frameworks like jquery. It's n

[web2py:21415] Re: selection of local file

2009-05-07 Thread mdipierro
This should do def excel_read(): result={} if request.vars.filename != None: try: import xlrd path=os.path.join (request.folder,'private','a_dummy_file_name.xls') open(path,'w').write(request.vars.filename.file.read()) book = xlrd.o

[web2py:21416] Re: redirection to next page on submit

2009-05-07 Thread Kuba Kucharski
> www is connectionless;  each request is it's own "program" running (sort of > - it's its own thread). [snip] > > You have a few ways to communicate information between these threads: > > - store in persistent data, and let each thread read it out; [snip] Again, probably lame one.. I know it i

[web2py:21417] Re: redirection to next page on submit

2009-05-07 Thread mdipierro
It really depends on details. If you really need a global variable you can do class ThreadSafe(dict): forever=10**10 def __init__(self): import thread self['lock']=thread.allocate_lock() def __setattr__(self,key,value): self['lock'].acquire() self[

[web2py:21418] Re: weird errors (probably with crud)

2009-05-07 Thread Jurgis
this also happens on 1.58 on Ubuntu 8.04 :/ > http://127.0.0.1:8000/app/default/data/tables > shows empty window :/ > http://127.0.0.1:8000/app/default/data/select/Examples > I get Error > if I not enable > # crud.settings.auth=auth # (optional) enforces > but use in cont

[web2py:21419] Re: todo & help

2009-05-07 Thread Álvaro Justen [Turicas]
On Tue, May 5, 2009 at 12:54 AM, Álvaro Justen [Turicas] wrote: > On Mon, Apr 20, 2009 at 11:31 AM, mdipierro wrote: >> 2) modify the admin/site page so that it shows a sidebar with all >> recent tweets from web2py. This could be a quick mechanism to notify >> users about changes. Or should we g

[web2py:21420] Re: todo & help

2009-05-07 Thread mdipierro
Which service do you suggest? On May 7, 5:08 pm, Álvaro Justen [Turicas] wrote: > On Tue, May 5, 2009 at 12:54 AM, Álvaro Justen [Turicas] > > wrote: > > On Mon, Apr 20, 2009 at 11:31 AM, mdipierro wrote: > >> 2) modify the admin/site page so that it shows a sidebar with all > >> recent tweets

[web2py:21421] Re: todo & help

2009-05-07 Thread Álvaro Justen [Turicas]
On Thu, May 7, 2009 at 7:25 PM, mdipierro wrote: > Which service do you suggest? Something like: http://www.web2py.com/rss/releases -- Álvaro Justen Peta5 - Telecomunicações e Software Livre 21 3021-6001 / 9898-0141 http://www.peta5.com.br/ --~--~-~--~~~---~--~

[web2py:21422] Re: todo & help

2009-05-07 Thread mdipierro
Other pros and cons? I think we need to settle this by majority. Massimo On May 7, 5:25 pm, mdipierro wrote: > Which service do you suggest? > > On May 7, 5:08 pm, Álvaro Justen [Turicas] > wrote: > > > On Tue, May 5, 2009 at 12:54 AM, Álvaro Justen [Turicas] > > > wrote: > > > On Mon, Apr 20

[web2py:21423] Re: todo & help

2009-05-07 Thread Álvaro Justen [Turicas]
On Thu, May 7, 2009 at 7:29 PM, mdipierro wrote: > Other pros and cons? I think we need to settle this by majority. Pros and cons are the same when you work with standards and work without them. So, web2py people, what do you think? Francisco Gama prefer RSS, like me. -- Álvaro Justen Peta5

[web2py:21424] Re: cool menu

2009-05-07 Thread dlypka
I tried it. Response seems sluggish and a there was a lot of drawing flash, and that was on IE 8. On IE 6 at work (corporate place) it did not work at all. What web2py already has for Menus is nice. On May 7, 3:44 pm, mdipierro wrote: > http://www.filamentgroup.com/lab/jquery_ipod_style_and_fly

[web2py:21425] Re: javascript drawing on background image

2009-05-07 Thread Baron
hi Horst, I have done something similar using http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm on the client side and PIL on the web2py server. I considered processingjs but most of my clients use IE and it would be a hassle to install the plugin. Hopefully a future IE release comes with ca

[web2py:21426] Re: Stream a blob

2009-05-07 Thread Baron
OK thanks - I'll change to upload then. Richard On May 7, 3:26 pm, mdipierro wrote: > On May 6, 10:05 pm, rbp wrote: > > > hello, > > > I just noticed that web2py has an easy way to stream data - that's > > fantastic! > > Currently I upload and download data without streaming which is really >

[web2py:21427] Re: latest trunk reads web2py tweets

2009-05-07 Thread Baron
On May 7, 3:16 pm, mdipierro wrote: > because we'll be moving to mercurial and off launchpad soon how come? I'm currently deciding on hosting for a project and was leaning towards bitbucket (mercurial). What were the drawbacks of launchpad and the expected advantages of mercurial? Richard --~--

[web2py:21428] Javascript error in KPAX on IE7

2009-05-07 Thread Steve Shepherd
Anyone struck a problem running the CHAT option within a IE 7 browser. This works fine on Foxfire Here is the offending line: area.innerHTML+=''+msg[1]+''+msg[2]+': '+msg[4]+''; I cannot for the life of me see the problem. I added some ; to a couple of lines above which reduced the errors to th

[web2py:21429] Re: How to auth between Ruby and web2py apps?

2009-05-07 Thread Francisco Gama
xml-rpc over ssl? On May 7, 6:21 am, mdipierro wrote: > Let me think about this. > > On May 6, 8:42 pm, weheh wrote: > > > Hi Massimo, > > All I know so far is that the Ruby app is going to use "basic access > > authentication". My app is a black-box slave and will be accessed via > > api call

[web2py:21430] Re: latest trunk reads web2py tweets

2009-05-07 Thread mdipierro
It is a slug. On May 7, 7:24 pm, Baron wrote: > On May 7, 3:16 pm, mdipierro wrote: > > > because we'll be moving to mercurial and off launchpad soon > > how come? > I'm currently deciding on hosting for a project and was leaning > towards bitbucket (mercurial). What were the drawbacks of launc

[web2py:21431] Re: todo & help

2009-05-07 Thread Diego Manenti Martins
On Thu, May 7, 2009 at 7:36 PM, Álvaro Justen [Turicas] wrote: > > On Thu, May 7, 2009 at 7:29 PM, mdipierro wrote: >> Other pros and cons? I think we need to settle this by majority. > > Pros and cons are the same when you work with standards and work without them. +1 I prefer rss. -- dieg

[web2py:21432] Re: How to auth between Ruby and web2py apps?

2009-05-07 Thread mdipierro
If ruby uses basic access authentication create a ruby action that can only accessed by authenticate users and returns 404 otherwise. Then in web2py you can do def is_authenticated_by_rails(username,password,url): import urllib, urlib2, base64 headers={} headers['Authorization'] = 'B

[web2py:21433] Re: cool menu

2009-05-07 Thread Yarko Tymciurak
I like particularly the bread-crumb based menu Thanks for pointing this out.. On Thu, May 7, 2009 at 6:28 PM, dlypka wrote: > > I tried it. > Response seems sluggish and a there was a lot of drawing flash, and > that was on IE 8. > On IE 6 at work (corporate place) it did not work at all. >

[web2py:21434] Re: latest trunk reads web2py tweets

2009-05-07 Thread Yarko Tymciurak
On Thu, May 7, 2009 at 7:24 PM, Baron wrote: > > On May 7, 3:16 pm, mdipierro wrote: > > because we'll be moving to mercurial and off launchpad soon > > how come? > I'm currently deciding on hosting for a project and was leaning > towards bitbucket (mercurial). What were the drawbacks of launchp

[web2py:21435] Re: todo & help

2009-05-07 Thread Yarko Tymciurak
RSS is OK for those that use RSS readers (or ATOM); Tweet as a posting mechanism has these (considerable) advantages IMO: - Short messages (SMS length, historically); - Available for mobile delivery (therefore) - Many people from Python community (e.g. PyCon) follow things on Tweete

[web2py:21436] File Upload option in HelpDesk google app engine

2009-05-07 Thread Lincoln_Consulting
Hello Can you add a file upload option in google app engine helpdesk app? thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroup

[web2py:21437] Re: todo & help

2009-05-07 Thread Álvaro Justen [Turicas]
On Fri, May 8, 2009 at 12:02 AM, Yarko Tymciurak wrote: > RSS is OK for those that use RSS readers (or ATOM); > > Tweet as a posting mechanism has these (considerable) advantages IMO: > > Short messages (SMS length, historically); > Available for mobile delivery (therefore) > Many people from Pyt

[web2py:21438] Re: gzip apps by default

2009-05-07 Thread Álvaro Justen [Turicas]
On Mon, Apr 27, 2009 at 7:23 PM, mdipierro wrote: > Sorry I misunderstood. > Please send me a patch. If possible move the code to "install", > "uninstall" and "pack" and "pack compiled" from admin to a new file > gluon/admin.py Hi Massimo, did you receive my last patch [today]? -- Álvaro Just

[web2py:21439] Auth API - Registration_Key

2009-05-07 Thread Yannick
Hello Mate, I'm currently integrate the Auth Api on my application and i have a question... I do understand that the "Registration_key" is useful for functionality like "Verify_email, " BUT I don't understand the purpose of having "registration_key" in the sql Select query of the login ??? Like wh

[web2py:21440] Re: todo & help

2009-05-07 Thread Yarko Tymciurak
On Thu, May 7, 2009 at 10:08 PM, Álvaro Justen [Turicas] < alvarojus...@gmail.com> wrote: > > > Ok, but what we want to view in admin interface? News about another > release, another feature or 'short news' that tells us that whitehouse > adopted web2py? I prefer the first one. So an RSS feed re

[web2py:21441] Re: todo & help

2009-05-07 Thread Yarko Tymciurak
Alvaro - Just to be clear - I am not arguing with you; I am just thinking out loud. I think an admin interface is not place for _any_ kind of news feeds BUT... if Massimo wants to send out his own tweeter/web2py account and use it for brief news, and he is who generates these "tweets", it is

[web2py:21442] Kudos

2009-05-07 Thread JohnMc
Kudos to Tim/Yarko/Massimo on the Rest docs. Just a quick glance, this is really nice. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@google

[web2py:21443] Re: Can't get web2py to run as Windows service

2009-05-07 Thread weheh
I tried changing the port number to 8080. Still no go. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from thi

[web2py:21444] Re: File Upload option in HelpDesk google app engine

2009-05-07 Thread mdipierro
I did not make it. Any volunteer to become a mantainer? Massimo On May 7, 9:30 pm, Lincoln_Consulting wrote: > Hello > > Can you add a file upload option in google app engine helpdesk app? > > thanks --~--~-~--~~~---~--~~ You received this message because you are

[web2py:21445] Re: gzip apps by default

2009-05-07 Thread mdipierro
yes On May 7, 10:09 pm, Álvaro Justen [Turicas] wrote: > On Mon, Apr 27, 2009 at 7:23 PM, mdipierro wrote: > > Sorry I misunderstood. > > Please send me a patch. If possible move the code to "install", > > "uninstall" and "pack" and "pack compiled" from admin to a new file > > gluon/admin.py >

[web2py:21446] Re: Auth API - Registration_Key

2009-05-07 Thread mdipierro
the policy I have in mind is if registration_key=='' : user can login if registration_key=='blocked' : user account is blocked if registration_key=='pending' : user account requires approval if registration_key== : user account requires email verification Massimo On May 7, 10:12 pm, Yannick wr

[web2py:21447] Re: todo & help

2009-05-07 Thread mdipierro
I do not have string feeling about this but, if we swicth to RSS I do not want to maintain my own feed. What service should I use? Massimo On May 7, 10:31 pm, Yarko Tymciurak wrote: > Alvaro - > > Just to be clear - I am not arguing with you; I am just thinking out loud. > > I think an admin in

[web2py:21449] Re: Kudos

2009-05-07 Thread Steve Shepherd
Where are the REST docs andc what are they? Steve Shepherd Mob:+64 (0) 27 4338154 Email: sargs...@gmail.com Analyst On Fri, May 8, 2009 at 4:09 PM, mdipierro wrote: > > Tim did all the work. Thanks Tim. > > On May 7, 10:45 pm, JohnMc wrote: > > Kudos to Tim/Yarko/Mas

[web2py:21450] Re: Auth API - Registration_Key

2009-05-07 Thread Steve Shepherd
So its more like a Registration Status? On Fri, May 8, 2009 at 4:06 PM, mdipierro wrote: > > the policy I have in mind is > > if registration_key=='' : user can login > if registration_key=='blocked' : user account is blocked > if registration_key=='pending' : user account requires approval > i

[web2py:21448] Re: Kudos

2009-05-07 Thread mdipierro
Tim did all the work. Thanks Tim. On May 7, 10:45 pm, JohnMc wrote: > Kudos to Tim/Yarko/Massimo on the Rest docs. Just a quick glance, this > is really nice. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py

[web2py:21452] ¿More bugs?

2009-05-07 Thread Oscar
Hi Massimo, I was doing test using the latest SVN and stable release, both worked so so, when I try to create a language file from admin interface it says that can not be created. When I start web2py with pthon 2.5.1 I'm getting the following warning: WARNING:root:unable to import dbhash I don'

[web2py:21453] Mapping databse

2009-05-07 Thread visuallinux
Hello All, I am new in we2py, my question is the folliwing: How i can mapping or working with an data base Postgres existing? I hope look your comments. Best regards, Fernando --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

[web2py:21454] Re: Mapping databse

2009-05-07 Thread Álvaro Justen [Turicas]
On Fri, May 8, 2009 at 1:32 AM, visuallinux wrote: > Hello All, > > I am new in we2py, my question is the folliwing: > > How i can mapping or working with an data base Postgres existing? > > I hope look your comments. Hi Fernando, today web2py does not retrieve information from database tables a

[web2py:21455] Re: ¿More bugs?

2009-05-07 Thread mdipierro
On May 7, 11:32 pm, Oscar wrote: > Hi Massimo, > > I was doing test using the latest SVN and stable release, both worked > so so, when I try to create a language file from admin interface it > says that can not be created. When I start web2py with pthon 2.5.1 I'm > getting the following warning

[web2py:21456] Re: todo & help

2009-05-07 Thread Ted G
With the RSS Examples and 90 second Blog example in FAQ, latest Twitter examples and GAE hosting (or existing web2py server), it would seem that all the pieces are there to put together a basic free hosted web2py blog with the ability to post entries (title + summary) to twitter and provide an RSS