[web2py] Re: Web2py expert needed for start-up

2012-07-20 Thread Ramkrishan Bhatt
Like if you search Ramkrishan bhatt you will get my detail over there or 
location wise if you want to search you can search developer as per your 
nearest location.
I am interested in the project. you can contact me as 
ramkrishanbh...@zero-group.com . 

On Wednesday, 18 July 2012 15:12:48 UTC+5:30, Neil wrote:
>
> How does the experts4solutions website work? For example, if I wanted to 
> see if anyone (anywhere) was interested in a paid hourly contract, would I 
> have to send an individual email to each expert listed? Who does the 
> "contact us" form get sent to? It would be really useful to be able to post 
> project details just once, and see how is interested.
>
> On Tuesday, July 17, 2012 8:56:02 PM UTC+1, howesc wrote:
>>
>> to help with your search consider posting here 
>> http://experts4solutions.com/ if you haven't already.
>>
>> On Monday, July 16, 2012 4:23:41 PM UTC-7, Pepe C wrote:
>>>
>>> Hi, 
>>>
>>> We have a set of applications on web2py and we are looking for an expert 
>>> that can help us to operate and develop them.  This is a long-term role 
>>> taking ~10 hours a week, although we do have a bunch of additional work to 
>>> get done in the next few weeks. 
>>>
>>> Responsibilities include:
>>>
>>>- Development of new web services 
>>>- Web2py administration and deployment 
>>>- Polishing and addressing bugs in the existing code
>>>
>>> Experience with Jquery mobile plugin or mobile layouts would be a big 
>>> plus.
>>>
>>> In your replies please tell us about your portfolio, your availability 
>>> for the next two months and your hourly rate.
>>>
>>> Thanks!
>>>
>>

-- 





[web2py] Re: web2py 2.0.2 is out

2012-08-30 Thread Ramkrishan Bhatt
Congtras all of you . Is CMS is also completed?

On Thursday, 30 August 2012 09:11:34 UTC+5:30, Massimo Di Pierro wrote:
>
> After 5 months. It is done. This is the most waited and the most 
> feature-packed release.
>
> I am sure we'll find some corners that need to be ironed but it is 
> considerably better than 1.99.7. It adds lot of new features and improves 
> many existing ones:
>
> - 57,000 new lines of code and closed 279 issues since 1.99.7.
> - Retrieving data from DB should be faster, in particular 
> select(cacheable=True)
> - Has a new scheduler, a built-in wiki, new language and pluralization 
> system, better markmin with oembed support and better scaffolding app, 
> increased security.
> - Lots of experimental features including GIS support, mongodb support, 
> built-in auth.wiki(), and more.
>
> Should be 100% backward compatible. If you run into any issue let us know 
> ASAP.
>
> I personally want to thank the major contributors to this release (in 
> alphabetic order)
> Alan, Andrew, Anthony, Bruno, Christian, Dave, Dominic, Iceberg, Jonathan, 
> Marc, Mariano, Marin, Martin, Mark, Michael, Michele, Niphlod, Patrick, 
> Vladyslav, 
> They spend many nights testing, coding, debugging at a very fast pace.
>
> Many many people have contributed.
>
> If your contribution has not been properly acknowledged please let us know 
> ASAP. It is probably an oversight.
>
>
> Massimo
>
>
> Detailed changelog
> ===
>
> ## 2.00.2
>
> ### DAL Improvements
>
> - Support for DAL(lazy_tables=True) and db.define_table(on_define=lambda 
> table:), thanks Jonathan
> - db(...).select(cacheable=True) make select 30% faster
> - db(...).select(cache=(cache.ram,3600)) now caches parsed data 100x faster
> - db(...).count(cache=(cache.ram,3600)) now supported
> - MongoDB support in DAL (experimental), thanks Mark Breedveld
> - geodal and spatialite, thanks Denes and Fran (experimental)
> - db.mytable._before_insert, _after_insert, _before_update, _after_update, 
> _before_delete. _after_delete (list of callbacks)
> - db(...).update_naive(...) same as update but ignores 
> table._before_update and table._after_update
> - DAL BIGINT support and DAL(...,bigint_id=True)
> - IS_IN_DB(..., distinct=True)
> - new syntax: db.mytable.insert(myuploadfield=open()), thank you 
> Iceberg
> - db(...).select(db.mytable.myfield.count(distinct=True))
> - db(db.a)._update(name=db(db.b.a==db.a.id).nested_select(db.b.id))
> - db.mytable.myfield.filter_in, filter_out
> - db.mytable._enable_record_versioning(db) adds versioning to this table
> - teradata adapter, thanks Andrew Willimott
> - experimental Sybase Adapter
> - added db.table.field.avg()
> - Support for Google App Engine projections, thanks Christian
> - Field(... 'upload', default=path) now accepts a path to a local file as 
> default value, if user does not upload a file. Relative path looks inside 
> current application folder, thanks Marin
> - executesql(...,fields=,columns=) allows parsing of results in Rows, 
> thanks Anthony
>
> ### Auth improvements
>
> - auth.enable_record_versioning(db)  adds full versioning to all tables
> - @auth.requires_login(otherwise=URL(...))
> - auth supports salt and compatible with third party data, thanks Dave 
> Stoll
> - CRYPT now defaults to pbkdf2(1000,20,sha1)
> - Built-in wiki with menu, tags, search, media, permissions. def index: 
> return auth.wiki()
> - auth.settings.everybody_group_id
> - allow storage of uploads on any PyFileSystem (including amazon)
>
> ### Form improvements
>
> - FORM.confirm('Are you sure?',{'Back':URL(...)})
> - SQLFORM.smartdictform(dict)
> - form.add_button(value,link)
> - SQLFORM.grid(groupby='...')
> - fixed security issue with SQLFORM.grid and SQLFORM.smartgrid
> - more export options in SQLFORM.grid and SQLFORM.smartgrid (html, xml, 
> csv, ...)
>
> ### Admin improvements
>
> - new admin pages: manage_students, bulk_regsiter, and progress reports
> - increased security in admin against CSRF
> - experimental Git integration
> - experimental OpenShift deployment
> - multi-language pluralization engine 
> - ace text web editor in admin
> - Ukrainian translations, thanks Vladyslav Kozlovskyy
> - Romanian translation for welcome, thanks ionel
> - support for mercurial 2.6, thanks Vlad
>
> ### Scheduler Improvements (thanks to niphlod, ykessler, dhx, toomim)
>
> - web2py.py -K myapp -X starts the myapp scheduler alongside the webserver
> - tasks are marked EXPIRED (if stop_time passed)
> - functions with no result don't end up in scheduler_run
> - more options: web2py.py -E -b -L
> - scheduler can now handle 10k tasks with 20 concurrent workers and with 
> no issues
> - new params:
> tasks can be found in the environment (no need to define the tasks 
> parameter)
> max_empty_runs kills the workers automatically if no new tasks are 
> found in queue (nice for "spikes" of processing power)
> discard_results to completely discard the results (if you don't need 
> the output of the ta

[web2py] Re: CMS question

2012-04-22 Thread Ramkrishan Bhatt
3) using fully editable html with no limitation on themes (any existing 
page would be a theme without need for tweaking) yet one would not be able 
to swap a theme on a page without loss of content, any more you can swap 
the theme on a msworld document.  
Option3 is better and most in demand now a days. 

On Sunday, 22 April 2012 21:54:50 UTC+5:30, Massimo Di Pierro wrote:
>
> Let's say we want to build a new kick-ass CMS.
>
> My technical side tells me that the best way it to use markup language and 
> separate data from presentation (which allows swapping of themes).
>
> My practical side tells is is better to allow users to edit html.
>
> Everytime I has worked with end-users I had a hard time explaining this 
> concept of separation of data from presentation. They usually want a page 
> tat looks like "that page" but the ability to edit all text and images in 
> it.
>
> Most CMS's (like concrete CMS) solve the problem by a compromise. You can 
> only edit specific parts of  a page (and they must be clearly tag in the 
> HTML). This allows some separation because as long as two themes have the 
> same editable tags, the content it portable between the themes. Yet if they 
> use a wysiwyg the editable blocks are stored as HTML. Moreover creating 
> themes requires some programming skills and make the themes CMS specific. 
> In the case of Concrete5 or Joomla for example, this tagging is done in PHP.
>
> So what is better?
> 1) using a markup language with limited choice of themes (like wikipedia)
> 2) using wysiwyg to edit fixed sections in themes (like joomla and 
> concrete5)
> 3) using fully editable html with no limitation on themes (any existing 
> page would be a theme without need for tweaking) yet one would not be able 
> to swap a theme on a page without loss of content, any more you can swap 
> the theme on a msworld document.
>
>
> Massimo
>


[web2py] Re: how take screen shot of any site through url like using in power by web2py

2012-05-18 Thread Ramkrishan Bhatt
Thanks

On Friday, 18 May 2012 22:23:42 UTC+5:30, Anthony wrote:
>
> You could use a service with an API such as http://www.thumbalizr.com (which 
> offers a free option that includes a watermark on the screenshots) or 
> http://url2png.com (there are other services, some of which are listed 
> here: http://url2png.com/alternatives).
>
> The other option is to run a headless browser on the server and use that 
> to render pages and capture images. Here's a Python library for doing that: 
> https://github.com/AdamN/python-webkit2png/.
>
> Anthony
>
> On Friday, May 18, 2012 7:22:51 AM UTC-4, Ramkrishan Bhatt wrote:
>>
>> we need make facebook fan page like where we need to fetch the site 
>> screen shot through url. how we can do that.
>>
>

[web2py] like face book post and power by web2py

2012-05-23 Thread Ramkrishan Bhatt
We have create a post where people can post url, meesage etc like face book 
where we need to fatch automatically thumnail or screenshot whith some text 
ot titel. we are using web2py please suggest us best way to buid.
Since its already there in power by web2py i am sure Massimo can share code 
for that. or any one please provide solution Asap. 


[web2py] deploy into GAE with python27

2012-05-30 Thread Ramkrishan Bhatt
How to deploy since GAE supported 27. i am getting error too many tables, 
what is that ?

Re: [web2py] Re: Debugging in web2py

2012-02-04 Thread ramkrishan bhatt
I am using eclipse and wing IDE , Debugging is working with web2py. 

Re: [web2py] Re: How to Generate the effective report by using web2py

2012-02-16 Thread Ramkrishan Bhatt
Hello Sanjeet,
   In your code the header and footer column is unmatched . Just care full 
about the Grid Structure as per Column name and data value. A part from 
that in refer
http://www.web2py.com/book/default/chapter/10#Low-level-API-and-other-recipes
 http://www.geraldoreports.org/docs/tutorial-web2py.html
http://code.google.com/p/pyfpdf/  

I


[web2py] Web2py Code University and Officaial Certify Training

2012-02-19 Thread Ramkrishan Bhatt
Hello Web2py lovers,
from past 1 year i am working on web2py in INDIA with zero-group.com, 
and also trained many people who's showed interest in web development. In 
education many of them looking for training approachability for there brite 
career. I liked the way Google started it's own code university through 
which many open source project get it done by student itself.
In this model apart from the open source contributor we can work on the 
many Idea's and Project. I really inspired from the Topcoder.com crowd 
sourcing and project management. Since I am belongs to the country like 
INDIA with very large human resources.
I have thought to implement this task for the building and filtering the 
perfect candidates on web technology. What you says friends. Please discuss 
and share your ideas.


Re: [web2py] Re: Web2py Code University and Officaial Certify Training

2012-02-20 Thread ramkrishan bhatt
The main Idea is the following:-
In India final year of the education as per University syllabus concern ,
student need to have industrial training.
And the sack of the certificate, due to less number of perfect education
they stuck in greedy consultant. Who's giving certificate and takes money
from the student without any proper training.
I learn a lot from Google code University and Topcoder arena. Even my
learning python and java credit goes to them.
Most of the follower just learn process which does'nt match with the proper
process of project life cycle.
So i got the IDEA to build such system like topcoder arena <
www.topcoder.com/tc>. for the student and setup a education and zero
hierarchy project management system using ranking Model.
Google build many project contributed by the student in Google code
university.
Many of the Idea is spreading in the developer but due to lake of proper
training and system they could not able to build.
Since Web2py is open source project and need to expanded further by the
open source contributor.
If we start giving training on web development using web2py ,python ,and
other technology.
We could make following things.
 1. web2py university
 2. Large project contribution
 3. Optimize and Elegant Design
 4. Open project development for the market and client
 5. Job portal database.
 6. Proper documentation ,content writing, and technical writing.

In My company zero-group.com, i have many resume asking for training.But
while interview i have seen many of them not a tall aware of technology in
proper manner.
A part from that i mat with many people with their beautiful Idea to
implement.

Through Web2py interview we can achieve these goal in short time.
Please correct me if i am wrong.

Ramkrishan Bhatt
www.zero-group.com
+917597087495



Thanks and regards
Ramkrishan Bhatt
9972851368



On Tue, Feb 21, 2012 at 2:21 AM, Alan Etkin  wrote:

> > I have thought to implement this task for the building and filtering the
> > perfect candidates on web technology
>
> Would you please clarify that line?. I can't get the central idea of
> the message.


[web2py] Re: get the dynamically value from the list and send the mail by using the cron job

2012-03-09 Thread Ramkrishan Bhatt
Dont use for loop and in select(
> i am able to send the mail through the cron job but when i am going to 
> send the mail by fetching the email id from the database i got confused in 
> the logic :-
>
> i have the followng code :
>
> list = []
> import datetime
> currentdate = datetime.datetime.now()
> for row in db(db.employee.time == currentdate).select():
> list.append(row.empdetail)
> here is my send mail function it is sending only the last id i know the 
> for loop scope is ended that is the reason its happening but i am not be 
> able to get the proper solution to send the mail to the each of the id only 
> once with the all details when the date will be matched in the same table 
> more than one emp details are there so i want to send the mail to the 
> each individual employee at a time.
>
>

[web2py] Re: How to check the extension of file from the controller

2012-03-15 Thread Ramkrishan Bhatt

Hello Sanjeet for file you dont have to identify the file extension, IN 
model itself you can validate the upload field . Please see the web2py 
cheatsheet and form or table validation its very easy to use. 
And still you want to know the file format please see the module function 
import sys.
On Thursday, 15 March 2012 15:48:10 UTC+5:30, Sanjeet Kumar wrote:
>
> I have the upload field in table i want to check the file extension from 
> the controller during the upload i am using :-
>
> SQLFORM.factory(db.emp_detail)
> if form.accepts(request.vars, session):
>  img = form.vars.image
> if file.extension == 'something':
>  update query
>


[web2py] Re: Generate the render the html file in to doc file

2012-03-15 Thread Ramkrishan Bhatt


On Thursday, 15 March 2012 16:45:53 UTC+5:30, Sanjeet Kumar wrote:
>
> How can i render the html file in to the doc file



[web2py] Re: web2py course and certificate program online

2012-03-16 Thread Ramkrishan Bhatt
Hello Massimo,
  we are also providing training session  called Certified Training 
Program  "Allegiant Software Developer“ using web2py and python.
   If anybody also eager to learn web2py please feel free to contact me at 
ramkrishanbh...@zero-group.com or  +917597087495 .

On Friday, 16 March 2012 07:18:20 UTC+5:30, Massimo Di Pierro wrote:
>
> Hello everybody,
>
> I am teaching the online IPD certificate program again in Spring:
>
> http://www.cdm.depaul.edu/ipd/Programs/Pages/WebDevelopmentwithPython.aspx
>
> Students enrolled will be able to view online lectures recorded by me and 
> will work on a project of their choice for 5 weeks. At the end they will 
> get a certificate of completion by the  CDM IPD. No need to say web2py is 
> the framework covered in the lectures.
>
> Massimo
>
>  
>


[web2py] Generic Roll Base Authontication

2011-10-06 Thread ramkrishan bhatt
Hello
   This is Ramkrishan Bhatt .We are implementing the ERP at the Google App
Engine platform.Where we need generic RBAC, like in webex we can give
permission through admin interface.In web2py we can do that when we are
using saprate crud function for each table or in db.py it self we can  give
access control.
But i used webgrid and power table plug in for crud . So is there any option
where we can do access control  from admin it self without changing in
existing system.
also menu has to enable based on rolles and permission like some end user
has permission to edit only not to add. Now in this case in
webgrid automatically add new record should not appear.
I choose the web2py because of the portability with Google cloud and other
servers and also portable with the almost all Database.
Please guide me to learn quick and if it is possible to have
group discussion or demo using Google plus hangout. That would be great .If
you give me permission i will create and send request to all member.
Also i am guide me to improve my quality of the product.

Thanks and regards
Ramkrishan Bhatt
9972851368


[web2py] GAE with database

2011-10-06 Thread ramkrishan bhatt
Hello
Is'nt it good for web2py framwork also. can be use this
http://googlecode.blogspot.com/2011/10/google-cloud-sql-your-database-in-cloud.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+blogspot%2FDcni+%28Google+Code+Blog%29


[web2py] problem with gae deployment

2011-06-01 Thread ramkrishan bhatt
$ cd workspace/Running\ Project/
ramkrishan@ramkrishan-Aspire-5740:~/workspace/Running Project$
/home/ramkrishan/Downloads/Python-2.5.5/./python
google_appengine/dev_appserver.py coporategift/web2py/
Traceback (most recent call last):
  File "google_appengine/dev_appserver.py", line 76, in 
run_file(__file__, globals())
  File "google_appengine/dev_appserver.py", line 72, in run_file
execfile(script_path, globals_)
  File "/home/ramkrishan/workspace/Running
Project/google_appengine/google/appengine/tools/dev_appserver_main.py", line
146, in 
from google.appengine.tools import appcfg
  File "/home/ramkrishan/workspace/Running
Project/google_appengine/google/appengine/tools/appcfg.py", line 69, in

from google.appengine.tools import appengine_rpc
  File "/home/ramkrishan/workspace/Running
Project/google_appengine/google/appengine/tools/appengine_rpc.py", line 27,
in 
import fancy_urllib
  File "/home/ramkrishan/workspace/Running
Project/google_appengine/lib/fancy_urllib/fancy_urllib/__init__.py", line
341, in 
class FancyHTTPSHandler(urllib2.HTTPSHandler):
AttributeError: 'module' object has no attribute 'HTTPSHandler'



please tell me the solution ... i am using ubuntu 10.10


[web2py] Advice on structuring my app

2017-01-17 Thread Ramkrishan Bhatt
each organization to become a group, then what I use groups for right now will 
be permissions, this is probably the best route. 

This Idea will work now about data access also we need maintain Controller 
function which will filter out the data based on organization before serving to 
user.

We can also put filter function on model so before serving data we can validate 
appropriate data for the user.

Let me know if you better solution , I may need in near future.

One more thing we can do that is use sapratly manage role based access control 
rest based applications where we can maintain each user as single identity and 
common role for multiple user. 

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] analysis Keywords from web pages text[Urgent]

2013-12-06 Thread Ramkrishan Bhatt
Hello,
   I need to build a keyword generator from the any search output. For 
example if i am searching car in any search engine, based on car i am 
getting lots of result now in this page i need to find out whatever 
keywords can be made from the words.

I need to return most possible word as keywords after analyzing a HTML 
page. I  am using  now BeautifulSoup , *Please also suggest me if we can 
implement http://scrapy.org/  for this task.*

def myfunc():
form=FORM('Key Word Finder',
  INPUT(_name='URL', requires=IS_NOT_EMPTY()),
  INPUT(_type='submit'))
if form.accepts(request,session):
response.flash = 'form accepted'
new_url=request.vars.URL
usock = urllib2.urlopen(new_url)
data = usock.read()
usock.close()
soup = BeautifulSoup(data)
findKeywords=soup.get_text()
key_words=Counter()
key_words.update(findKeywords.split())
return dict( form=form , grid = key_words.most_common())
elif form.errors:
response.flash = 'form has errors'
else:
response.flash = 'please fill the form'
return dict(form=form)  

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: web2py Jobs and meetups

2013-12-18 Thread Ramkrishan Bhatt
Do we have any Job portal  ? 

On Wednesday, 18 December 2013 01:36:48 UTC+5:30, Massimo Di Pierro wrote:
>
> I am interested in knowing who are the web2py developers in Illinois and 
> in California (possibly around San Francisco) for possible meet ups.
>
> If you live near Chicago or near San Francisco, please email me.
>
> If you do not leave in one of these places but you would be interested in 
> moving to the US for a web2py job, also let me know.
>
> Massimo
>
>

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: Future of web2py

2015-12-01 Thread Ramkrishan Bhatt
HI Márcio Almeida,
*  As per my opinion i can say Yes as per below points:-*
*1. Great Support from developer groups:-* I felt never stuck in Web2py 
as i always got my solution quickly, even Massimo him self will reply 
surly. 
  Many times i felt shy to ask small question but that also got 
solution by Massimo and other developer quickly. Trust me its very 
important to have
  such support, i have never seen in my career better than this 
framework support.

2. *Web2py is scalable openspurce project:- *I myself many times 
modified web2py modules as per need. Its very easy and flexible to scale 
the project 
 as per your need. I am just not confident enough if we can use 
web2py for big data analytic too. As long i am used Big data, i am using 
through Python code which
 means we can easily integrated with web2py. Many other aspects are 
there which we include through Python module as well. You can manage your 
Virtual 
 environment for the project.

3.* Ractive JS for client side development:- Massimo * him self wrote 
lot of Ractive JS for ease of use. That would be better if you are clear 
with *Application architecture* 
as per your need. But i am sure most of the core need would be 
support web2py framework. 

you can reach me for more detail any time by email 
ramkrishan.bh...@gmail.com .

 
On Tuesday, 1 December 2015 08:16:48 UTC+5:30, Márcio Almeida wrote:
>
> Hi guys, I develop systems with web2py for some time but nothing too big.
> I love the web2py but I am worried about the future.
> I am beginning to develop a large system for an miltinacional corporation.
> Web2py will continue to be maintained for a long time?
> Maintaining compatibility?
> There will be improvements and developments to keep up with new web 
> technologies?
> Can we do something to be recognized as a framework for corporations and 
> not just for startups (I publish it in my work, I believe, I think I'm 
> right or not?)?
> Someone from the group of developers could write your considerations?
> I appreciate it.
>
> Thank you.
>

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: RuntimeError when deploying to GAE (desperately need help)

2015-12-08 Thread Ramkrishan Bhatt
You need to select complete web2py folder. Also you need to remove Admin 
app from applications. There is one routes.py where you can configure your 
default application to be called. 


On Tuesday, 8 December 2015 13:55:22 UTC+5:30, Brad Cardello wrote:
>
> Alright, so I changed the name from web2py-class to web2py, and I moved 
> app.yaml and gaehandler.py to the same level as applications and gluon/ but 
> Google App Engine Launcher refuses to run it, saying that it could not find 
> app.yaml in the specific application I want it to run. I'm selecting my 
> actual app (i.e.: web2py/applications/myappname), should I just be 
> selecting web2py or web2py/applications? Thank you again for the assistance.
>
> On Mon, Dec 7, 2015 at 9:00 PM, Massimo Di Pierro  > wrote:
>
>> The easiest setup is if you have web2py/ and web2py/applications/ under 
>> it. It really does not matter if it is called web2py or not but it matters 
>> that web2py.py and gaehandler.py and gluon/ are at the same level as 
>> applications.
>>
>> You can put your applications in a different folder but this requires 
>> changing default parameters in examples/options_std.py. I would  not 
>> recommend that to a new user.
>>
>> Massimo
>>
>>
>>
>> On Monday, 7 December 2015 19:38:15 UTC-6, Brad Cardello wrote:
>>>
>>> Ah, thank you for the advice on removing main.py. And my folder 
>>> structure is similar to that, with one change. I don't quite remember if 
>>> this is something I did manually per my instructor's advice, but instead of 
>>> web2py/, my folder is called web2py-class. I do have a folder called web2py 
>>> located elsewhere on my computer, though. Should I move my application from 
>>> web2py-class/applications/ to web2py/applications? Thank you so much.
>>>
>>> On Monday, December 7, 2015 at 6:57:31 AM UTC-8, Massimo Di Pierro wrote:

 You should not need that main.py in web2py. web2py does not uses 
 webapp2. You only need app.py and gaehandler.py They look correct. The 
 error is from this lines in gaehandler:


 if not os.path.isdir('applications'):
 raise RuntimeError('Running from the wrong folder')


 Do you have the correct folder structure?

 web2py/
app.yaml
gaehandler.py
web2py.py
applications/...
gluon/...
[etc etc]


 On Monday, 7 December 2015 06:40:49 UTC-6, Brad Cardello wrote:
>
> Hey everyone, I'm still fairly new to web2py, and completely new to 
> deploying my website (developed using PyCharm, if that matters). So, 
> here's 
> the error I'm getting in the logs whenever I try to access my website:
>
> Traceback (most recent call last):
>>
>>   File "C:\Program Files 
>> (x86)\Google\google_appengine\google\appengine\runtime\wsgi.py", line 
>> 240, 
>> in Handle
>>
>> handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
>>
>>   File "C:\Program Files 
>> (x86)\Google\google_appengine\google\appengine\runtime\wsgi.py", line 
>> 299, 
>> in _LoadHandler
>>
>> handler, path, err = LoadObject(self._handler)
>>
>>   File "C:\Program Files 
>> (x86)\Google\google_appengine\google\appengine\runtime\wsgi.py", line 
>> 85, 
>> in LoadObject
>>
>> obj = __import__(path[0])
>>
>>   File "C:\Users\Brad Cardello\Desktop\Computer 
>> Science\CMPS-183\web2py-class\applications\WebUcscTutor\gaehandler.py", 
>> line 40, in 
>>
>> raise RuntimeError('Running from the wrong folder')
>>
>> RuntimeError: Running from the wrong folder
>>
>> INFO 2015-12-07 01:10:16,092 module.py:787] default: "GET / 
>> HTTP/1.1" 500 -
>
>
>
> I'm really not sure why this is happening, as it gives me this error 
> no matter where gaehandler.py is located in my file system. At the 
> moment, 
> per multiple people's instructions, my app.yaml, gaehandler.py, and 
> main.py 
> are all in the root directory for my project 
> (/web2py-class/applications/WebUcscTutor). I've tried moving it to 
> web2py-class/applications, and web2py-class, but nothing seems to change 
> this error.
>
> Here's my *app.yaml*
>
> #  For Google App Engine deployment, copy this file to app.yaml
> #  and edit as required
> #  See http://code.google.com/appengine/docs/python/config/appconfig.html
> #  and http://web2py.com/book/default/chapter/11?search=app.yaml
>
> application: ucsc-tutor-website
> version: 1
> api_version: 1
>
> # use these lines for Python 2.7
> # upload app with: appcfg.py update web2py (where 'web2py' is web2py's 
> root directory)
> #
> runtime: python27
> threadsafe: true# true for WSGI & concurrent requests (Python 2.7 
> only)
>
> default_expiration: "1m"   # for static files
>
> handlers:
>
> # Warn

[web2py] Adding item in Google Drive installed apps collection

2015-12-24 Thread Ramkrishan Bhatt
Hi Every One, 
 I need help in Google Drive API:-
 http://stackoverflow.com/q/34457604/2390012?stw=2

I have an app in Google market place which is tool to make multiple 
customized application for consumer by him self.

My question is, can we add item in installed app list by coding ? For 
example: one admin user installed my app called *MyBiz*, Now through *MyBiz* he 
has created apps like *MyApp1* ,*MyApp2*. Now i have to add both app in 
Installed app list like in below pic.

Adding Item in installed apps list 

Can anyone tell me the solution asap ?

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Adding item in Google Drive installed apps collection

2015-12-24 Thread Ramkrishan Bhatt
Not Exatly but application developed in web2py appengine need to put in 
Marketplace. Since many user use google apps so i asked, forgive me if i did 
something wrong.

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: web2py 2.14.1 is OUT

2016-03-25 Thread Ramkrishan Bhatt
Hi Massimo, 

Yeah its awesome change set i can see, specially for GAE support. very 
Thanks to Simone (niphlod), Richard, and Leonel for contribution. Very 
congrats to all :) .
Now i am not using web2py much but always kept eyes on update in groups 
post and github logs. 

Congrats once again to all web2py developer :)

Thanks and regards
Ramkrishan Bhatt

On Thursday, 24 March 2016 23:06:54 UTC+5:30, Massimo Di Pierro wrote:
>
> http://web2py.com/
>
> First of all many many thanks to Simone (niphlod), Richard, and Leonel. 
> Most of the work is theirs.
>
> It is important that you upgrade because we fixed some serious security 
> bugs that may leak your admin password (if you use rocket and expose the 
> old example app).
>
> We fixed many many bug and in particular everything should work fine on 
> GAE now, including Datastore and Cloud SQL.
>
> CHANGELOG
>
> - fixed two major security issues that caused the examples app to leak 
> information
>
> - new Auth(…,host_names=[…]) to prevent host header injection
>
> - improved scheduler
>
> - pep8 enhancements
>
> - many bug fixes
>
> - restored GAE support that was broken in 2.13.*
>
> - improved fabfile for deployment
>
> - refactored examples with stupid.css
>
> - new JWT implementation (experimental)
>
> - new gluon.contrib.redis_scheduler
>
> - myconf.get
>
> - LDAP groups (experimental)
>
> - .flash -> .w2p_flash
>
> - Updated feedparser.py 5.2.1
>
> - Updated jQuery 1.12.2
>
> - welcome app now checks for version number
>
> - Redis improvements.
>
>
> BEFORE:
>
> from gluon.contrib.redis_cache import RedisCache
>
> cache.redis = RedisCache('localhost:6379',db=None, debug=True)
>
>
> NOW:
>
> from gluon.contrib.redis_utils import RConn
>
> from gluon.contrib.redis_cache import RedisCache
>
> rconn = RConn()
>
> # or RConn(host='localhost', port=6379,
>
> # db=0, password=None, socket_timeout=None,
>
> # socket_connect_timeout=None, .)
>
> # exactly as a redis.StrictRedis instance
>
> cache.redis = RedisCache(redis_conn=rconn, debug=True)
>
> BEFORE:
>
> from gluon.contrib.redis_session import RedisSession
>
> sessiondb = RedisSession('localhost:6379',db=0, session_expiry=False)
>
> session.connect(request, response, db = sessiondb)
>
>
> NOW:
>
> from gluon.contrib.redis_utils import RConn
>
> from gluon.contrib.redis_session import RedisSession
>
> rconn = RConn()
>
> sessiondb = RedisSession(redis_conn=rconn, session_expiry=False)
>
> session.connect(request, response, db = sessiondb)
>

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Suggestion for web2py hosting

2015-01-29 Thread Ramkrishan Bhatt
After coming to lot of option like open stack, open shift ,Pythonanywhere 
Massimo would you please some of the hosting services for development and 
production.

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: How to deploy Web2py on the NEW Openshift directory layout for Python web apps?

2015-02-06 Thread Ramkrishan Bhatt
HI Everyone,
  I used web2py admin for openshift application deployment. I got success 
but still in url openshift welcome page is redirecting.
I have configure setup.py also. but i am getting problem to routs my apps 
in openshift.
Why only applications folder is getting include in wsgi folder.
tress is like this
wsgi-
web2py-
  applications-
   admin
   welcome
   myapp

Can anyone help me out where i am lacking. I remember in Google app engine 
we usually routs our apps. Please give me solutions as soon as possible. 

Thanks 
Ramkrishan Bhatt

On Thursday, 17 April 2014 12:07:01 UTC+5:30, Tiana A. Ralijaona wrote:
>
> It's been for some times that I'm used to deploy my web2py apps to 
> openshift PaaS and it has worked very well until openshift decide to change 
> their default directory layout for python based web apps. In the old 
> deployment process, we have just to clone the git repo here :
>
> https://github.com/prelegalwonder/openshift_web2py
>
>
> push our code to openshift and it's done.
>
> But now, it seems that this old way of deployment doesn't work anymore 
> because the default directory layout and the wsgi file used to connect the 
> server and the web2py app have changed. I've already tried to tweak a 
> little bit this wsgi file and the directory layout but I've got no result. 
> Maybe, I'm missing something.
>
> So can anyone help me to deploy web2py app to openshift? I hope too that 
> this thread will become a kind of guide for deploying web2py to openshift.
>
> The directory where the python files (for the web app) should go contains 
> by default two files :
> -setup.py
>
> from setuptools import setup
>
> setup(name='YourAppName',
>   version='1.0',
>   description='OpenShift App',
>   author='Your Name',
>   author_email='exa...@example.com ',
>   url='http://www.python.org/sigs/distutils-sig/',
> #  install_requires=['Django>=1.3'],
>  )
>
> -wsgi.py
>
> #!/usr/bin/python
> import os
>
> virtenv = os.environ['OPENSHIFT_PYTHON_DIR'] + '/virtenv/'
> virtualenv = os.path.join(virtenv, 'bin/activate_this.py')
> try:
> execfile(virtualenv, dict(__file__=virtualenv))
> except IOError:
> pass
> #
> # IMPORTANT: Put any additional includes below this line.  If placed above 
> this
> # line, it's possible required libraries won't be in your searchable path
> #
>
> def application(environ, start_response):
>
> ctype = 'text/plain'
> if environ['PATH_INFO'] == '/health':
> response_body = "1"
> elif environ['PATH_INFO'] == '/env':
> response_body = ['%s: %s' % (key, value)
> for key, value in sorted(environ.items())]
> response_body = '\n'.join(response_body)
> else:
> ctype = 'text/html'
> response_body = '''
> 
> 
>   
>   
>   Welcome to OpenShift
> 

[web2py] web2py deployment on open shift by admin

2015-02-07 Thread Ramkrishan Bhatt
HI Everyone,
  I used web2py admin for openshift application deployment. I got success but 
still in url openshift welcome page is redirecting.
I have configure setup.py also. but i am getting problem to routs my apps in 
openshift.
Why only applications folder is getting include in wsgi folder.
tress is like this
wsgi-
web2py-
  applications-
   admin
   welcome
   myapp

Can anyone help me out where i am lacking. I remember in Google app engine we 
usually routs our apps. Please give me solutions as soon as possible. 

Thanks 

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] IMPORTANT - WEB2PY CONSULTING

2015-02-16 Thread Ramkrishan Bhatt
Massimo site is enough or we need to pass some test to get include officially. 
Or any legal formality we need to do to become official web2py cunsultant.
I also request if you can classified with domain/industry/solutions expert.

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] IMPORTANT - WEB2PY CONSULTING

2015-02-16 Thread Ramkrishan Bhatt
Massimo site is enough or we need to pass some test to get include officially. 
Or any legal formality we need to do to become official web2py cunsultant.
I also request if you can classified with domain/industry/solutions expert.

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] show_if is not working with SQLFORM.factory multitable

2015-02-27 Thread Ramkrishan Bhatt
HI Every one ,
  Why show_if validation does't work with SQLFORM.factory(). Here is the 
one example , please provide the solution.

Model

db.define_table('client',
 Field('name'))
db.define_table('address',
Field('client',db.client,writable=False,readable=False),
Field('street'),Field('city'))

db.define_table('purchase',
Field('have_coupon','string',requires=IS_IN_SET(('Corporate','Individual'))),
Field('coupon_code'))


Controller

def register():

db.purchase.coupon_code.show_if = (db.purchase.have_coupon==True)

form=SQLFORM.factory(db.client,db.address,db.purchase)

if form.accepts(request.vars):
id = db.client.insert(**db.client._filter_fields(form.vars))
form.vars.client=id
id = db.address.insert(**db.address._filter_fields(form.vars))
response.flash='Thanks for filling the form'
return dict(form=form)

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: show_if is not working with SQLFORM.factory multitable

2015-02-28 Thread Ramkrishan Bhatt
Sorry syntax mistack it was show_if=='Individual'

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: show_if is not working with SQLFORM.factory multitable

2015-02-28 Thread Ramkrishan Bhatt
 db.purchase.coupon_code.show_if = (db.purchase.have_coupon=='Individual')

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: show_if is not working with SQLFORM.factory multitable

2015-02-28 Thread Ramkrishan Bhatt
Its working fine with SQLFORM() but its not working with SQLFORM.factory() 

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: show_if is not working with SQLFORM.factory multitable

2015-03-01 Thread Ramkrishan Bhatt
Ya why don't you try your self with SQLFORM and SQLFORM.factory with multiple 
tables. Than use show_if than you will get it what I want.

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] ImportError: No module named duplicity.tarfile

2015-03-01 Thread Ramkrishan Bhatt
HIi Everyone,
After deploying in the server i got this 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 Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: show_if is not working with SQLFORM.factory multitable

2015-03-03 Thread Ramkrishan Bhatt
Thanks Man,
  Working fine with me.

On Monday, 2 March 2015 03:25:22 UTC+5:30, Leonel Câmara wrote:
>
> Turns out you're right, here's a possible workaround:
>
> def register():
> db.purchase.coupon_code.show_if = (db.purchase.have_coupon == 
> 'Individual')
>
> form=SQLFORM.factory(db.client,db.address,db.purchase)
> form.element(_id='no_table_coupon_code')['_data-show-trigger'] = 
> 'no_table_have_coupon'
> if form.accepts(request.vars):
> id = db.client.insert(**db.client._filter_fields(form.vars))
> form.vars.client=id
> id = db.address.insert(**db.address._filter_fields(form.vars))
> response.flash='Thanks for filling the form'
> return dict(form=form)
>
>

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: ImportError: No module named duplicity.tarfile

2015-03-03 Thread Ramkrishan Bhatt
Thanks man all problem got solved. One last question is bugging me in 
SQLFORM.factory can we create dynamic form for one to many relation. Like 
person can have multiple address. So how can we achieve with composit form with 
SQLFORM.factory with multiple tables.
Please send me example too.

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] SQLFORM.factory adding dynamic form

2015-03-04 Thread Ramkrishan Bhatt
Hi Everyone, 
SQLFORM.factory can we create dynamic form for one to many relation. Like 
person can have multiple address. So how can we achieve with composit form with 
SQLFORM.factory with multiple tables. 
Please send me example too.
Like I can add many address form than bulk record insertion.

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: SQLFORM.factory adding dynamic form

2015-03-05 Thread Ramkrishan Bhatt
 table already defined: address


Anyway i guess you are not understanding requirement :-
SQLFORM.factory(table1,table2,table3)

if form.process().accepted:

  do something.


Now we want like we can add extra add table2 form in dynamically.

like in view


composit form of 

table1

table2 (option for add more form from table2)

table3 (option for add more form from table3)

submit for bulk insert # That i know using dict{}

but how to generate dynamic form from our table. 


On Thursday, 5 March 2015 10:49:34 UTC+5:30, 黄祥 wrote:
>
> perhaps you can create an address table and use list:reference in 
> sqlform.factory
> e.g. (not tested)
> db.define_table('address', Field('address') )
>
> def form_from_factory():
> form = SQLFORM.factory(
> Field('address', *'list:reference', requires = IS_IN_DB(db, 
> db.address.id ,  '%(address)s')* ) )
> if form.process().accepted:
> response.flash = 'form accepted'
> session.address = form.vars.address
> elif form.errors:
> response.flash = 'form has errors'
> return dict(form = form)
>
> best regards,
> stifan
>

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: SQLFORM.factory adding dynamic form

2015-03-06 Thread Ramkrishan Bhatt
No Solution for one to many composite form ?

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Bunch/Batch/Bulk insert Re-use db.define_table field definition in SQLFORM.factory() ?

2015-03-09 Thread Ramkrishan Bhatt
Hi All,
  My question is about expanding form on dynamically for example. 
we have two tables. company and address 
now did SQLFORM.factory(db.company,db.address)

Now requirement is says that where company can have multiple address so i 
need a button for add more address. On click we need to append form. 

Can anybody provide the specific solutions. 

On Monday, 17 February 2014 20:43:00 UTC+5:30, Richard wrote:
>
> That an option... The other option is to wrap IS_IN_DB() into 
> IS_EMPTY_OR()... But it is not garanti that the concerning field will be 
> filled...
>
> Richard
>
>
> On Sat, Feb 15, 2014 at 3:48 PM, ksotiris  > wrote:
>
>> Hello web2py-users,  I am new to web2py framework. I have a question 
>> about the followings: 
>>  
>>
>>> @Steve it exactly what I have in mind, except in my case the form has to 
>>> be generic for many differents tables, but if you only one table to bunch 
>>> insert, that way it works fine...
>>>
>>> Notice, if you create more inputs then the number your users will need 
>>> (not 3 records for instance) you get in trouble if you have not null 
>>> requires or IS_IN_DB or other validators)... So I use an other form to 
>>> catch the number of input the user is needing and I pass it buy the URL as 
>>> a vars something like that :
>>>
>>> URL(c='controller', f='bunch_func', vars=dict(nb_inputs=3))
>>>
>>> Then I use it in range function :
>>>
>>> for i in range(0, int(request.vars.nb_inputs))
>>>
>>
>> Is there another more easy way to do this ?
>>
>> For example why not to have an option before validate the posted data to 
>> delete emtpy row - fields of the form and post only row - fields with no 
>> empty values ???
>> I have already try a lot of things but nothing is working. 
>> The batch input form is usefull and i think must be an easy way for this.
>> The above is working but is not so practical for the end user of the 
>> batch input form.
>>
>>
>>  -- 
>> 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 received this message because you are subscribed to the Google Groups 
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to web2py+un...@googlegroups.com .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] project hire

2015-03-15 Thread Ramkrishan Bhatt
Massimo is thinking about web2py cunsultants. What exactly you want.

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: SQLFORM.factory adding dynamic form

2015-03-24 Thread Ramkrishan Bhatt
I am looking from templating genrated form through SQLFORM.factory is possible 
that we can clone of address table Multiple time like one person can have 
multiple address using add address button. Than submit all together with bulk 
insert.

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: selected values in widget SQLFORM.widgets.multiple.widget and SQLFORM.widgets.checkboxes.widget

2015-04-02 Thread Ramkrishan Bhatt
Ya its must working with type='list:string'

On Friday, 3 April 2015 01:55:49 UTC+5:30, Teemu wrote:
>
> Hi,
>
> I do not know if this is bug or not but I am not able to get multiselect 
> widgets to work properly. I have this kind of lines in my table definition:
>
> Field('methodsA', type='string', 
> requires=IS_IN_SET(['method1','method2','method3'], multiple=True, 
> zero='<-- choose -->'), widget=SQLFORM.widgets.multiple.widget)
> Field('methodsB, type='string', 
> requires=IS_IN_SET(['method1','method2','method3'], multiple=True, 
> zero='<-- choose -->'), widget=SQLFORM.widgets.checkboxes.widget)
>
> These correctly translate into select and multiple checkbox widgets both 
> in my app and admin interface. They also correctly stores my multiple 
> selections into the database (in form |method1|method2| etc.). However if I 
> try to modify records later on the edit form does not show previously 
> selected and stored selections. In form view it looks like previous 
> selections were empty set! And if I submit the form without selecting 
> proper list items again the form will store empty set into the database.
>
> I made numerous google searched and found suggestion how this should be 
> fixed: http://git.net/web2py/msg108396.html. The suggestion applies only 
> to SQLFORM.widgets.multiple.widget and this small change hasn't been 
> integrated into web2py source tree yet. Does this small change break 
> something? This small change seems to fix selection issues in form view. Do 
> I use gluon.sqlhtml.MultipleOptionsWidget incorrectly or is this real bug? 
> If I am using this widget inappropriately could someone show me how this 
> widget should be used. I am also curious to know how 
> SQLFORM.widgets.checkboxes.widget should be fixed to make it work correctly.
>
> I am using web2py version: 2.9.12-stable+timestamp.2015.03.19.06.51.11 on 
> linux.
>
> Teemu
>
>
>

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: route.py I added the route.py and edit it , but it didn't work

2015-04-02 Thread Ramkrishan Bhatt
its routes.py just rename it and restart the application.

On Friday, 3 April 2015 04:09:54 UTC+5:30, Tom Stratton wrote:
>
> Did you remember to restart web2py?
>
> See: 
> http://www.ridgesolutions.ie/index.php/2013/02/20/web2py-make-your-app-the-default-web-application/
>
> And there is also a "reload routes" button in the admin interface.
>
> Hope that helps.
>
> On Thursday, April 2, 2015 at 1:25:43 PM UTC-7, 朱伟 wrote:
>>
>> I wrote it like this.
>> routers = dict(
>>
>> # base router
>> BASE=dict(
>> default_application='Home',
>> ),
>> )
>>
>> did I miss something?
>>
>> Thanks
>> Wei
>>
>

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: From prototype to a real application. Need professional programming help

2015-04-02 Thread Ramkrishan Bhatt
Hi Richard,
   Me and Mr. Massimo work together for project development using Web2py. I 
have gone through the site and we both willing to contribute in the 
project. Before going ahead, could you please provide some documentation or 
we can discuss over internet conferencing.
For development its really most important to understand exact requirement 
and analysis.

*Feel free to reach me using +919845999698  *
*or skype: ramkrishanbhatt*
*or gmail: ramkrishan.bh...@gmail.com* 

waiting for your response...

Thanks and regards
Ramkrishan Bhatt 


On Friday, 3 April 2015 01:55:49 UTC+5:30, Richard van der Zee wrote:
>
> I've just started a new business in the northern part of the Netherlands (
> www.skarp.nl).
> Someone build mij idea into a web2py application, as a proof of concept. 
> Now it needs to become a real, multi tenant, secure application with an 
> user friendly interface. 
> Are there professional web2py developers available? 
>

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] SQLFORM displaying fields that are readable/writeable = false

2015-04-13 Thread Ramkrishan Bhatt
Readable=False for hiding fields.

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] SQLFORM displaying fields that are readable/writeable = false

2015-04-13 Thread Ramkrishan Bhatt
Writable and readable both make False than try. check writable in your code.

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Need support for web2py application with over 1 million users.

2015-04-19 Thread Ramkrishan Bhatt
GAE is better for scale application but developer should know indexing and 
optimized DAL Table. I guess you may facing problem while playing DAL objects 
in function. 

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: question about components

2015-04-19 Thread Ramkrishan Bhatt
I am agree with Massimo you must try angular or reactive to make SPA. It will 
surly solve your problem.

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: question about components

2015-04-20 Thread Ramkrishan Bhatt
Sorry my typo by auto spell correction . I meant ractive.js and Angular.js.

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: does every controller function require a view?

2015-06-23 Thread Ramkrishan Bhatt
Many times I wrote function for modular approach which return the value for me. 
Its up to you if the return value you want to display user than view is needed 
otherwise no.

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Writing module for Google apps integration

2015-06-23 Thread Ramkrishan Bhatt
Hi ,
I am thinking to expand web2py for more flexible to Google apps integration 
with the help of Google api like calander , drive, contact etc. Will have to 
configure in Google api explorer. Can any one suggest me or ready to contribute 
with me to writing module which generate the template for Google integration. 
Its really needed lot of java script.

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Google Application Engine return Hello world

2015-07-01 Thread Ramkrishan Bhatt
Yes even i experienced same with latest google cloud sdk and web2py one day 
before some docker problem was there, but it got resolve now , i guess 
there some change in configuration. Please correct me for same. Also need 
to update the web2py document as GAE modified the UI and services. 

On Wednesday, 1 July 2015 12:07:20 UTC+5:30, kawate wrote:
>
> Yes I did and test is done on local host
>
> On Wednesday, July 1, 2015 at 2:29:50 AM UTC+9, Sébastien wrote:
>>
>> Did you copy "gaehandler.py" in the root folder?
>>
>> I would first debug the app in the local Google SDK before deploying it.
>>
>> On Tuesday, 30 June 2015 14:29:56 UTC+2, kawate wrote:
>>>
>>> To reproduce this problem, download the source version of web2py on Mac, 
>>> update application id on the app.example.yaml (change the file name to 
>>> app.yaml)and deploy thru web2py admin or google application launcher.
>>> Request .appspot.com will return Hello world!.
>>>  
>>>
>>>
>>> On Monday, June 29, 2015 at 4:08:19 PM UTC+9, kawate wrote:

 Deploying test application ends well but only returns 'Hello world!' 
 from server(local host and google). I expect well known welcome page.
 I tried deployment both thru web2py.py and gae launcher, results are 
 same.
 I did not change any but on app.yaml application ID as attached.
 Thank you in advance.



-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Google Application Engine return Hello world

2015-07-01 Thread Ramkrishan Bhatt
Correction , I was using old Google Cloud sdk 1.9.21 thats was having bug 
refer 
this<http://stackoverflow.com/questions/28879485/unable-to-start-appengine-application-after-updating-it-via-google-cloud-sdk>
Now its working fine with me i 
deployed http://peaceful-app-98605.appspot.com/ you can go through it. 
Please check gaehandler.py in root folder and routs.py with app.yaml file.

On Wednesday, 1 July 2015 17:00:13 UTC+5:30, Ramkrishan Bhatt wrote:
>
> Yes even i experienced same with latest google cloud sdk and web2py one 
> day before some docker problem was there, but it got resolve now , i guess 
> there some change in configuration. Please correct me for same. Also need 
> to update the web2py document as GAE modified the UI and services. 
>
> On Wednesday, 1 July 2015 12:07:20 UTC+5:30, kawate wrote:
>>
>> Yes I did and test is done on local host
>>
>> On Wednesday, July 1, 2015 at 2:29:50 AM UTC+9, Sébastien wrote:
>>>
>>> Did you copy "gaehandler.py" in the root folder?
>>>
>>> I would first debug the app in the local Google SDK before deploying it.
>>>
>>> On Tuesday, 30 June 2015 14:29:56 UTC+2, kawate wrote:
>>>>
>>>> To reproduce this problem, download the source version of web2py on 
>>>> Mac, update application id on the app.example.yaml (change the file name 
>>>> to 
>>>> app.yaml)and deploy thru web2py admin or google application launcher.
>>>> Request .appspot.com will return Hello world!.
>>>>  
>>>>
>>>>
>>>> On Monday, June 29, 2015 at 4:08:19 PM UTC+9, kawate wrote:
>>>>>
>>>>> Deploying test application ends well but only returns 'Hello world!' 
>>>>> from server(local host and google). I expect well known welcome page.
>>>>> I tried deployment both thru web2py.py and gae launcher, results are 
>>>>> same.
>>>>> I did not change any but on app.yaml application ID as attached.
>>>>> Thank you in advance.
>>>>>
>>>>>

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Another online store based in web2py+ractive+stripe

2015-07-14 Thread Ramkrishan Bhatt
Its faar better and improved version of previous estore. I have gone 
through i would love to do some operation over it :)

On Tuesday, 14 July 2015 22:14:29 UTC+5:30, Massimo Di Pierro wrote:
>
> I made another simple online store: https://github.com/mdipierro/estore3
>
> Can you help me test, suggest improvement, add features?
>
> Taxes and shipping logic are missing.
>
> All the code is in models/db.py, controllers/default.py, and 
> views/default/index.html so it is very simple and easy to improve.
>

-- 
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 received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: web2py wins an InfoWorld 2012 Technology of the Year Award

2012-01-10 Thread RAMKRISHAN BHATT BACK IN ACTION in bangalore
Congrats to all web2pyers . Its really motivate and feeling apriciated by 
the world. Thanks to massimo and all contributors for giving such great and 
flexible framwork.

[web2py] Re: table, grid, smartgrid, getting better

2011-09-25 Thread RAMKRISHAN BHATT BACK IN ACTION in bangalore
That would better if add Ajax Globel serch in that. I impressed with
the power table plug in search .

On Sep 24, 10:48 pm, Ivica Kralj  wrote:
> Hi,
>
> I'm quite impressed with the features in this release (also it didn't break
> anything :) )
>
> Just a question for Martin or Bruno, or anybody who knows the answer
> regarding smartrgid/grid and Jquery UI themes application. I've spent few
> hours searching through this group and couldn't find  the answer.
>
> Are Jquery UI themes supported by default in grid/smartgrid (I know there
> was talk about this but no sure if it's implemented) and if not how to
> activate it? I've seen there is a patch, but again not sure if it was
> applied to latest release.
>
> I tried few variation, and I'm running out ideas (last option is to check
> the code, but posting this question here might be faster and beneficial to
> other users)
>
>     grid=SQLFORM.smartgrid(db.person,jqueryui=True) ##wrong, do not use###
>
> For example in this demo Jquery UI css is used.
>
> http://labs.blouweb.com/web2pygrid/default/index?jqueryui=true
>
>   While in my app using smartgrid html looks like this
>
>  
> Thanks
> I
>
> On 24 August 2011 11:13, Bruno Rocha  wrote:> JqueryUI 
> Applied! (Any Theme fromhttp://jqueryui.com/themeroller)
>
> > Take a look in attached screenshots (a patch is comming to Massimo's mail)


[web2py] Re: GAE with database

2011-10-07 Thread RAMKRISHAN BHATT BACK IN ACTION in bangalore
Ohh great do we have any sample application with us. I guess here i
can get the ERP solution with GAE.

On Oct 7, 5:40 am, Massimo Di Pierro 
wrote:
> Yes. Web2py supports this already.
>
> On Oct 7, 12:53 am, ramkrishan bhatt 
> wrote:
>
>
>
>
>
>
>
> > Hello
> > Is'nt it good for web2py framwork also. can be use 
> > thishttp://googlecode.blogspot.com/2011/10/google-cloud-sql-your-database...


[web2py] Re: Google Cloud SQL

2011-10-07 Thread RAMKRISHAN BHATT BACK IN ACTION in bangalore
Even I am also exited for that, You have already told me regarding GAE
+SQL(tested) but i could not understand. Day before yesterday i got
this information and i found my solution for ERP. Also along with that
Hangout API also i found good that also i want to use in my system.
 Massimo shell we have demo on hangout or skype and discuss on
webinar.

On Oct 6, 6:34 pm, Massimo Di Pierro 
wrote:
> I guess this finally relieves me from the non-disclosure agreement ;-)
>
> web2py has already been running on GAE+SQL since March:
>
>      http://web2py-tests.appspot.com/mysql/tests
>
> All web2py apps can now run GAE. Just use a connection string like:
>
>     DAL('google:sql://gmailcom:web2pytests/guestbook')
>
> including:
> - migrations
> - all types of web2py queries (or, joins, like, etc.)
> - transactions
>
> By the week-end I will post a more detailed howto.
> If you have used web2py to build your apps, this is the moment it pays
> off.
>
> Massimo
>
> On Oct 6, 6:29 pm, pbreit  wrote:
>
>
>
>
>
>
>
> >http://googlecode.blogspot.com/2011/10/google-cloud-sql-your-database...


[web2py] Re: access control(RBAC)

2011-11-08 Thread RAMKRISHAN BHATT BACK IN ACTION in bangalore
Use RBAC after referring book . Web2py having very good Roll 
based authentication and access control . Can you please define your 
problem in more precise manner .

[web2py] Re: GAE + Web2py

2011-11-29 Thread RAMKRISHAN BHATT BACK IN ACTION in bangalore
Thank you very much for your suggestion its working with us. Our team is 
able to develop such system now over web2py. Thanks to web2py ,because of 
that i am interdependent from application related resources like server 
,cloud,databases. 

[web2py] RBAC and chat system

2011-04-02 Thread RAMKRISHAN BHATT BACK IN ACTION in bangalore
HI
i am new in web2py. i developing  student management system where
these are the major functionality.
1. admin only can register for other admin people and student
group.
 2. only login url will be there by default.
 3. after login if admin than registration url suppose to there
for register other user with permission.
 4 after login one chat home must be there for every body.


please guide me to develop this system and also it must be portable
with GAE.

Thanks



[web2py] Re: problem with gae deployment

2011-07-03 Thread RAMKRISHAN BHATT BACK IN ACTION in bangalore
actually i install 2.5 but still is not working after i install ubuntu
11.4 all problem is coming anyway thanks ..i'll try again.

On Jun 1, 5:38 am, José Luis Redrejo Rodríguez 
wrote:
> 2011/6/1 ramkrishan bhatt :
>
>
>
>
>
>
>
>
>
> > $ cd workspace/Running\ Project/
> > ramkrishan@ramkrishan-Aspire-5740:~/workspace/Running Project$
> > /home/ramkrishan/Downloads/Python-2.5.5/./python
> > google_appengine/dev_appserver.py coporategift/web2py/
> > Traceback (most recent call last):
> >   File "google_appengine/dev_appserver.py", line 76, in 
> >     run_file(__file__, globals())
> >   File "google_appengine/dev_appserver.py", line 72, in run_file
> >     execfile(script_path, globals_)
> >   File "/home/ramkrishan/workspace/Running
> > Project/google_appengine/google/appengine/tools/dev_appserver_main.py", line
> > 146, in 
> >     from google.appengine.tools import appcfg
> >   File "/home/ramkrishan/workspace/Running
> > Project/google_appengine/google/appengine/tools/appcfg.py", line 69, in
> > 
> >     from google.appengine.tools import appengine_rpc
> >   File "/home/ramkrishan/workspace/Running
> > Project/google_appengine/google/appengine/tools/appengine_rpc.py", line 27,
> > in 
> >     import fancy_urllib
> >   File "/home/ramkrishan/workspace/Running
> > Project/google_appengine/lib/fancy_urllib/fancy_urllib/__init__.py", line
> > 341, in 
> >     class FancyHTTPSHandler(urllib2.HTTPSHandler):
> > AttributeError: 'module' object has no attribute 'HTTPSHandler'
>
> > please tell me the solution ... i am using ubuntu 10.10
>
> Have you tried Googling a little bit?
> Copying and paste your error message Google will give you the reason
> of your error (wrong python version) and solution (install python2.5)
> in the first result.
>
> Regards


[web2py] Re: problem with gae deployment

2011-07-03 Thread RAMKRISHAN BHATT BACK IN ACTION in bangalore
in ubuntu 10.x is working but in ubuntu 11.4 its giving some error. ok
i'll check it out once again.

On Jun 1, 8:10 am, dhmorgan  wrote:
> check to see whether the command you indicated:
>
>     $ /home/ramkrishan/Downloads/Python-2.5.5/./python
>
> is running 2.6 or 2.5.5
>
> not sure what the effect of the "/./" would be on your installation;
> the error is indicative of Python 2.6, which may be what is getting
> run;
>
> with Ubuntu 10.x, you may wish to get the 'Dead Snakes' branch of
> Python 2.5.5 from Launchpad; once installed, you can run it from
> anywhere with 'python2.5'
>
> On Jun 1, 7:14 am, ramkrishan bhatt 
> wrote:
>
>
>
>
>
>
>
> > $ cd workspace/Running\ Project/
> > ramkrishan@ramkrishan-Aspire-5740:~/workspace/Running Project$
> > /home/ramkrishan/Downloads/Python-2.5.5/./python
> > google_appengine/dev_appserver.py coporategift/web2py/
> > Traceback (most recent call last):
> >   File "google_appengine/dev_appserver.py", line 76, in 
> >     run_file(__file__, globals())
> >   File "google_appengine/dev_appserver.py", line 72, in run_file
> >     execfile(script_path, globals_)
> >   File "/home/ramkrishan/workspace/Running
> > Project/google_appengine/google/appengine/tools/dev_appserver_main.py", line
> > 146, in 
> >     from google.appengine.tools import appcfg
> >   File "/home/ramkrishan/workspace/Running
> > Project/google_appengine/google/appengine/tools/appcfg.py", line 69, in
> > 
> >     from google.appengine.tools import appengine_rpc
> >   File "/home/ramkrishan/workspace/Running
> > Project/google_appengine/google/appengine/tools/appengine_rpc.py", line 27,
> > in 
> >     import fancy_urllib
> >   File "/home/ramkrishan/workspace/Running
> > Project/google_appengine/lib/fancy_urllib/fancy_urllib/__init__.py", line
> > 341, in 
> >     class FancyHTTPSHandler(urllib2.HTTPSHandler):
> > AttributeError: 'module' object has no attribute 'HTTPSHandler'
>
> > please tell me the solution ... i am using ubuntu 10.10