[web2py] mssql connection

2013-11-10 Thread Ariya Oaum-aram
Dear all,

I have to connect mssql database which is locate on  another server, I use 
pyodbc for and it work well from pyodbc.connect()
But I cant set it work on  DAL()

Thank you very much
Ariya

-- 
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 2.6.1 is OUT - IMPORTANT READ

2013-09-14 Thread Ariya Oaum-aram
Dear Massimo,

In my case, I upgrade from 2.5.1 to 2.6.1 to my web2py.app last night 
(Bangkok). Then I restart rocket server, after input password and start, 
there is a dialog box show this message = dlsym(0x7fff5fc43cc8, 
CCKeyDerivationPBKDF): symbol not found. I do download 2.6.2 but still got 
this message.

And in my production server running on Ubuntu/Apache. Now admin interface 
is error, so how do i re upgrade.

Thank you very much
Ariya


เมื่อ วันศุกร์ที่ 13 กันยายน ค.ศ. 2013, 5 นาฬิกา 27 นาที 37 วินาที UTC+7, 
Massimo Di Pierro เขียนว่า:

 Web2py 2.6.1 is finally OUT. It needs some more testing.

 READ BELOW BEFORE UPGRADING

  Attention all users: For pre 2.6 applications to work with web2py 
 =2.6, you must copy static/js/web2py.js, controllers/appadmin.py, and 
 views/appadmin.html from the welcome app to your own apps (all of them).

  Attention production users: The updated handlers and examples are in 
 handlers/ and examples/. The updated ones will not override the existing 
 ones. To use the new ones it is not sufficient to upgrade web2py, you also 
 need to copy the desired handler/example in the root web2py/ folder.

  Attention MySQL users: The length of string fields changed from 255 
 to 512 bytes. If you have migrations enabled this will trigger a large 
 migration. To prevent it, first set migrate_enabled=False, upgrade, check 
 everything is ok, then add length=255 to your string Fields, then re-enable 
 migrations with migrate_enabled=True if needed.

 - better directory structure: handlers/ extras/ examples/
 - better MongoDb support, thanks Alan
 - better Admin editor interface, thanks Paolo, Roberto (codemirror 3), and 
 Lightdot
 - better layout.html and web2py_bootstrap.css, thanks Paolo
 - refactored web2py.js makes code more readable, thanks Niphlod
 - compute fields can depend on other compute(d) fields
 - more functions in appadmin (/manage/auth), thanks Anthony
 - support for CAST in SQL generation
 - new API jQuery('#component').reload()
 - new API rows.render()
 - new API table.field.referent, table._references
 - new API db(...).validate_and_update(...)
 - new API Wiki(..., force_render=True) renders the page source again 
 instead of using cached
 - Wiki now automatically parses named component arguments 
 @{f:a=1,b='twp',c=variable}
 - auth.get_or_create_user(login=False)
 - auth = Auth(crsf_protection = False) prevents creating sessions in 
 login/register forms.
 - enable multiple renderers in wiki, thanks Alan
 - log messages from Auth are no longer translated (for speed and 
 readability)
 - update jQuery mobile to 1.3.1
 - reduced memory footprint by conditionally loading Tk
 - faster pbkdf2 uses OpenSSL, thanks Michele
 - many speed improvements, thanks Michele
 - better session logic, prevents false positive when detecting session 
 changes.
 - scripts/import_static.py converts a static site to a web2py app 
 (experimental)
 - support for new http error code 451
 - profiler saves dump in dir, thanks Niphlod
 - upgraded pyfpdf, thanks Mariano
 - gluon/contrib/pdfinvoice.py for generating PDF invoices (assumes 
 reportlab)
 - no more double submission of forms (even without crsf protection), 
 thanks Niphlod
 - speedup for define_table, thanks Michele
 - settings.cfg to admin, thanks Paolo
 - many bugs fixed, thanks Niphlod, Michele, Roberto, Jonathan, and many 
 others


-- 
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: Running web2py on Hostgator Shared hosting!

2012-10-23 Thread Ariya Oaum-aram
Dear Golden tiger

Can I setup Web2py on hostgator share host (baby plan). I try to follow the 
step you guide, but it not work.

Thank you very much.



เมื่อ วันจันทร์ที่ 7 กุมภาพันธ์ ค.ศ. 2011, 12 นาฬิกา 7 นาที 43 วินาที 
UTC+7, GoldenTiger เขียนว่า:

 I put Web2Py Demo running fast on Hostgator again at 
 http://hostgator.web2py.es 


 You can try examples http://hostgator.web2py.es/examples 



 On 7 feb, 03:46, GoldenTiger goldenboy...@gmail.com wrote: 
  I haven't any problem with hostgator, I renamed the dispatch.fcgi 
  intentionally 
  
  I also I have a Dreamhost VPS, and a shared plan.  Web2py is working 
  OK using WSGI. 
  
  Why do you want fcgi? 
  
  On 7 feb, 03:31, Franzé Jr franz...@gmail.com wrote: 
  
  
  
  
  
  
  
   I have a similar problem. 
  
   I'm using dreamhost. 
  
   I've used this :http://wiki.dreamhost.com/Web2py 
  
   But: 
  
   The requested URL /dispatch.fcgi/ was not found on this server. 
  
   Additionally, a 404 Not Found error was encountered while trying to 
 use an 
   ErrorDocument to handle the request. 
  
   Some idea ? 
  
   -- 
   Franzé Jr

--