Koozali.org: home of the SME Server

Web2py in sme server

Offline ocascante

  • *
  • 36
  • +0/-0
Web2py in sme server
« on: September 05, 2012, 08:29:59 PM »
Hi,

Somebody knows how to install web2py framework in sme server?

Thanks.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Web2py in sme server
« Reply #1 on: September 06, 2012, 10:21:27 AM »
No, but it seems hard to do. SME Server comes with python 2.4 which is not a supported version according to the download page:

Quote
The source code version works on all supported platforms, including Linux, but it requires Python 2.5, 2.6, or 2.7. It runs on Windows and most Unix systems, including Linux and BSD.

You can try and update python, but I seriously advice you not to do that as the software installer is using pyhton as well and I not sure if that will continue to work under newer releases. Python and versioning schemes is a bit picky.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Jean-Philippe Pialasse

  • *
  • 2,760
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Web2py in sme server
« Reply #2 on: September 06, 2012, 03:41:42 PM »
you can give a try with installing python 2.6 from source, it will allow you to have both versions, with the SME needed version in the path and the other not.

Then you must check that your webpy allow you to specify a path for python .... otherwise it will fail.

sometimes it work this way.