[web2py] Re: Use web2py to run trac anywhere (portable trac)

2011-02-10 Thread Salvor Hardin
On Feb 9, 1:26 pm, pbreit wrote: > Try PortablePython:http://www.portablepython.com/ portablepython project looked dead, which is why I turned to web2py. web2py was suggested on stackoverflow.com as an alternative to portablepython, py2exe, etc. FWIW, I decided to run redmine instead of trac be

[web2py] Use web2py to run trac anywhere (portable trac)

2011-02-09 Thread Salvor Hardin
Has anyone tried running trac using web2py? Someone suggested using we2py as a "portable" python, so I'm wondering if web2py can help me run trac from USB drive, etc.

[web2py] Re: Unpredictable sqlite3.dll version being loaded by web2py.exe

2010-06-15 Thread Salvor Hardin
On Jun 15, 10:31 pm, Yarko Tymciurak wrote: > On Jun 15, 10:26 pm, Salvor Hardin wrote: > > > I got an unexpected result. > > > C:\Python25\python.exe loads C:\Python25\Dlls\sqlite3.dll when I issue > > "import sqlite3" > > > And, C:\web2py\we

[web2py] Re: Unpredictable sqlite3.dll version being loaded by web2py.exe

2010-06-15 Thread Salvor Hardin
On Jun 15, 9:12 pm, Yarko Tymciurak wrote: > On Jun 15, 6:29 pm, Salvor Hardin wrote: > > > It would be great if web2py.exe loads sqlite3.dll from the same > > directory as web2py.exe. > > > Unfortunately, web2py loads C:\Windows\System32\sqlite3.dll which is > &g

[web2py] Unpredictable sqlite3.dll version being loaded by web2py.exe

2010-06-15 Thread Salvor Hardin
It would be great if web2py.exe loads sqlite3.dll from the same directory as web2py.exe. Unfortunately, web2py loads C:\Windows\System32\sqlite3.dll which is the most unpredictable version of sqlite3.dll on Windows. I didn't realize this until I tried replacing C:\web2py\sqlite3.dll with an encry

[web2py] Re: Hardening web2py on Linux and Windows servers

2010-06-11 Thread Salvor Hardin
Thadeus > > > On Thu, Jun 10, 2010 at 2:01 PM, mdipierro wrote: > > > None of these should be a problem. Mind that you will not be able to > > > edit/install/uninstall apps using the web interface. > > > > On Jun 10, 1:45 pm, Salvor Hardin wrote: > > >>

[web2py] Hardening web2py on Linux and Windows servers

2010-06-10 Thread Salvor Hardin
We selected web2py over django and pylons to replace RoR. Luckily, that project doesn't require paranoid security (hence our ability to use RoR in the past.) But we're evaluating web2py to replace a Win32 GUI intranet app, and preventing hacks on the server side, is pretty high on the priority fo

[web2py] Re: Separating models into their own files

2010-06-09 Thread Salvor Hardin
I'm new to python and web2py, so this might sound crazy but...here goes. Noob idea #1 Why not provide an optional "exec_models.cfg" file? If it doesn't exist, execute *.py files in alphabetical order found in the models folder. This will maintain backward compatibility and give web2py more flexi

[web2py] Re: web2pyslices update

2010-06-09 Thread Salvor Hardin
FWIW, I've had 600+ days of uptime running Debian + Apache + qmail at www.linode.com. It was rebooted recently to switch from uml to xen. I have two nodes there, one Debian (sarge) in Texas and one Ubuntu 10.04 in New Jersey. Linode's web-based interface is amazing (I love being able to resize my

[web2py] Re: "Last Saved On" field displays "communication error" using HTTPS on Apache2, OpenSSL 0.98k, mod_wsgi, python 2.6.5

2010-06-08 Thread Salvor Hardin
son > conflicted is a really bad problem. > > I *need* simplejson installed on the system so that other python > programs can use it. However, I can't use web2py then! > > Very annoying situation. > > -- > Thadeus > > > > On Tue, Jun 8, 2010 at 12:17 PM, Salvor Ha

[web2py] Best CSS framework for web2py

2010-06-08 Thread Salvor Hardin
I'm looking for a great CSS framework to use with web2py. Someone in this group mentioned using Blueprint for typography and ez- css for layout. I'd like to hear recommendations from web2py users. Which is your favorite? If you are unfamiliar with CSS frameworks, check out: * http://www.w3ave

[web2py] Re: "Last Saved On" field displays "communication error" using HTTPS on Apache2, OpenSSL 0.98k, mod_wsgi, python 2.6.5

2010-06-08 Thread Salvor Hardin
problems on Windows (even with Python 2.6.5 and web2py 1.79.1 src code version.) On Jun 7, 11:38 pm, mdipierro wrote: > On Jun 7, 11:30 pm, Salvor Hardin wrote: > > > Thank you! > > > Your suggestion fixed the "communication error" on Ubuntu Server 10.04 > > w

[web2py] Nightly build not updated since 2010-06-05

2010-06-08 Thread Salvor Hardin
The contents of the nightly zip file are dated 2010-06-05. Couple of suggestions: * date/time of snapshot displayed at http://web2py.com/examples/default/download * date/time inside unit test log I'll install mercurial and try the latest trunk today. I'm very excited about web2py. The web2py

[web2py] Re: "Last Saved On" field displays "communication error" using HTTPS on Apache2, OpenSSL 0.98k, mod_wsgi, python 2.6.5

2010-06-07 Thread Salvor Hardin
all to upgrade simplejson > > On Jun 7, 9:21 pm, Salvor Hardin wrote: > > > > > I'm sorry, I looked in the wrong directory and made a mistake with > > Firebug. > > > I found this in admin/errors/ and hope you find it useful: > > > Traceback (most r

[web2py] Re: "Last Saved On" field displays "communication error" using HTTPS on Apache2, OpenSSL 0.98k, mod_wsgi, python 2.6.5

2010-06-07 Thread Salvor Hardin
ncoder.py", line 290, in iterencode self.skipkeys, self.allow_nan, key_memo, self.use_decimal) TypeError: make_encoder() takes at most 9 arguments (11 given) On Jun 7, 1:04 pm, mdipierro wrote: > try the following. delete all your tickets app/errors/* > reproduce the problem and see if yo

[web2py] Re: "Last Saved On" field displays "communication error" using HTTPS on Apache2, OpenSSL 0.98k, mod_wsgi, python 2.6.5

2010-06-07 Thread Salvor Hardin
confirmed same problem on Ubuntu using 1.79.1. On Jun 7, 5:07 pm, Álvaro Justen wrote: > On Mon, Jun 7, 2010 at 15:10, Salvor Hardin wrote: > >  * I ran using: > >   sudo -u www-data python web2py -p > > You are running web2py with user www-data. Please check if this use

[web2py] Re: "Last Saved On" field displays "communication error" using HTTPS on Apache2, OpenSSL 0.98k, mod_wsgi, python 2.6.5

2010-06-07 Thread Salvor Hardin
un 7, 1:41 pm, Lisandro Rostagno wrote: > Hi. > First, sorry about my english, I'm from Argentina. I'm a user from the > group of spanish users. I've written in that group, but I did't get > any answer. > > My problem is "exactly" the same that the

[web2py] Re: "Last Saved On" field displays "communication error" using HTTPS on Apache2, OpenSSL 0.98k, mod_wsgi, python 2.6.5

2010-06-07 Thread Salvor Hardin
ollowing. delete all your tickets app/errors/* > reproduce the problem and see if you find a new ticket file. If so, > please email it to me. > > On Jun 7, 12:43 pm, Salvor Hardin wrote: > > > > > Here's what I tried: > > >  * I setup SSH

[web2py] Re: "Last Saved On" field displays "communication error" using HTTPS on Apache2, OpenSSL 0.98k, mod_wsgi, python 2.6.5

2010-06-07 Thread Salvor Hardin
r), so I hope we can find a solution using Apache 2.2.14. > > > On Jun 7, 11:58 am, mdipierro wrote: > > > > Does it work without ssl? Which browser are you using? Have you tried > > > other browsers? > > > > Massimo > > > > On Jun 7, 11:4

[web2py] Re: "Last Saved On" field displays "communication error" using HTTPS on Apache2, OpenSSL 0.98k, mod_wsgi, python 2.6.5

2010-06-07 Thread Salvor Hardin
/default/index.html On Jun 7, 11:58 am, mdipierro wrote: > Does it work without ssl? Which browser are you using? Have you tried > other browsers? > > Massimo > > On Jun 7, 11:47 am, Salvor Hardin wrote: > > > > > I'm new to web2py and python (currently evaluating py

[web2py] Re: "Last Saved On" field displays "communication error" using HTTPS on Apache2, OpenSSL 0.98k, mod_wsgi, python 2.6.5

2010-06-07 Thread Salvor Hardin
this problem. Rocket won't be approved for production servers here (this summer), so I hope we can find a solution using Apache 2.2.14. On Jun 7, 11:58 am, mdipierro wrote: > Does it work without ssl? Which browser are you using? Have you tried > other browsers? > > Massimo &g

[web2py] Re: "Last Saved On" field displays "communication error" using HTTPS on Apache2, OpenSSL 0.98k, mod_wsgi, python 2.6.5

2010-06-07 Thread Salvor Hardin
ou tried > other browsers? > > Massimo > > On Jun 7, 11:47 am, Salvor Hardin wrote: > > > > > I'm new to web2py and python (currently evaluating python frameworks > > to replace Ruby on Rails on production servers by July 4th weekend.) > > > PROBLEM: &

[web2py] "Last Saved On" field displays "communication error" using HTTPS on Apache2, OpenSSL 0.98k, mod_wsgi, python 2.6.5

2010-06-07 Thread Salvor Hardin
I'm new to web2py and python (currently evaluating python frameworks to replace Ruby on Rails on production servers by July 4th weekend.) PROBLEM: * Saving a file using the admin interface displays a red "communication error" in the "Last Saved On" field. However, when I click Reload in the bro