[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
I uninstalled simplejson 2.1.1 which I installed earlier by easy_install. web2py 1.79.2 is released and should work fine on Ubuntu 10.04 with os version of simplejson, too. On Jun 8, 8:21 pm, Thadeus Burgess wrote: > The simplejson shipped with web2py and the os version of simplejson > conflicte

[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 mdipierro
I modified the one that ships in web2py in 1.79.1 and they should no longer conflict. Can you confirm? On Jun 8, 8:21 pm, Thadeus Burgess wrote: > The simplejson shipped with web2py and the os version of simplejson > conflicted is a really bad problem. > > I *need* simplejson installed on the sys

Re: [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 Thadeus Burgess
The simplejson shipped with web2py and the os version of simplejson 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

[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
The lastest trunk, revision 689fb804f2 (2010-06-08), fixed the "communication error" on Ubuntu 10.04. Here's what I did: 1. Uninstalled simplejson 2.1.1 in Ubuntu using: "sudo easy_install -m simplejson" 2. Confirmed that "communication error" comes back after uninstall. 3. Cloned web2py trunk

[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 Lisandro Rostagno
Thanks! I tried installing python-setuptools and simplejson, and it worked! (I was having the problem on Ubuntu 9.10, with the development server). I only executed this commands: sudo aptitude install python-setuptools sudo easy_install simplejson And now everything works just fine. Thanks again!

[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 ron_m
Thanks for getting back so quickly. I tried the edits you suggested on a clean Ubuntu 10.04 install with web2py 1.79.1 and adding the three raise ImportError statements works - no more communication error notifications. The file always saved correctly looking at the target file from a different ed

[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 mdipierro
On Jun 7, 11:30 pm, Salvor Hardin wrote: > Thank you! > > Your suggestion fixed the "communication error" on Ubuntu Server 10.04 > when saving files using ajax editor. > > Here are the 3 steps in case you want to cut/paste to FAQ: > > 1. sudo aptitude install python-setuptools > 2. sudo easy_ins

[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
Thank you! Your suggestion fixed the "communication error" on Ubuntu Server 10.04 when saving files using ajax editor. Here are the 3 steps in case you want to cut/paste to FAQ: 1. sudo aptitude install python-setuptools 2. sudo easy_install simplejson 3. sudo /etc/init.d/apache2 restart Speaki

[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 mdipierro
Here is a fix. in gluon/contrib/simplejson/encoder.py def _import_speedups(): try: +raise ImportError from simplejson import _speedups return _speedups.encode_basestring_ascii, _speedups.make_encoder except ImportError: return None, None and in

[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 mdipierro
yes. 2.6 ships with an older version of simplejson than the 2.1.1 that ships with web2py and they seem to conflict. I will look into a solution. On Jun 7, 6:52 pm, ron_m wrote: > I just started using web2py and am on Ubuntu 10.04 386 Desktop. > Browser is Firefox and I get this error. Looking for

[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 ron_m
I just started using web2py and am on Ubuntu 10.04 386 Desktop. Browser is Firefox and I get this error. Looking for the error tickets I found them under the admin user and was making the first mods to the db.py file for a connection string to MySQL. Here is the traceback from the ticket Error t

[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 mdipierro
aha. json problem. We upgraded to the latest simplejson. Yo may have an older version installed in your system that is conflicting with it. user easy_install 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 > Fireb

[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
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 recent call last): File "gluon/restricted.py", line 178, in restricted exec ccode in environment File "/srv/web2py/applications/admin/cont

Re: [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 Lisandro Rostagno
I'll add the fact that the version 1.78.3 works fine in Ubuntu 9.10. 2010/6/7 Salvor Hardin > Good suggestion. I tried this, restarted web2py, and the > "communication error" in "Last Saved On" field still appears when > clicking Save button. > > So far, this is what I know about this problem:

[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
Good suggestion. I tried this, restarted web2py, and the "communication error" in "Last Saved On" field still appears when clicking Save button. So far, this is what I know about this problem: Problem: web2py 1.79.1 on Ubuntu 10.04 (also Ubuntu 9.10 reported by someone else) No problem: web2py

Re: [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 Álvaro Justen
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 user have *all permissions* in the whole web2py directory. To be fast: chown -R www-data /path/to/web2py/ -- Álvaro Jus

[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 mdipierro
correction of course it is calling it since it saves the file. Can you figure out what it returns? On Jun 7, 2:34 pm, mdipierro wrote: > can you add some print statements in the admin/controller/default.py > edit action check whether the > > POSThttp://127.0.0.1:8000/admin/default/edit/ > >

[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 mdipierro
can you add some print statements in the admin/controller/default.py edit action check whether the POST http://127.0.0.1:8000/admin/default/edit/ is calling the action or not? On Jun 7, 2:15 pm, Thadeus Burgess wrote: > *leaves gedit / netbeans world to test said bug* > > It does not work for m

Re: [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 Thadeus Burgess
*leaves gedit / netbeans world to test said bug* It does not work for me either. No tickets are generated however a 500 internal server error is caused when looking at firebug. Ubuntu 10.4, firefox 3.6.3 or Epiphany Quite strange, I can't figure out what is causing the error =/ *goes back to ge

[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
I just tried web2py 1.78.3 on Ubuntu Server 10.04 using Rocket and there is no "communication error" message. This problem appears to be introduced in 1.79.1 for some operating systems. It works fine in Windows, but not in Ubuntu Server 10.04 for me, and Ubuntu 9.10 for Lisandro. On Jun 7, 1:41 

[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
More info: This problem does not occur on web2py 1.79.1 running on Vista. All is well using web2py.exe, and web2py src using both Python 2.5.4 and Python 2.6.5 in Vista (32-bit .MSI installer versions at python.org.) So, the problem happens when web2py is running in Ubuntu Server 10.04 LTS (Apach

[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 Lisandro Rostagno
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 one reported by Salvor Hardin. I'm using Ubuntu 9.10, with the last version of web2py (Version 1.79.

[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
I'm sorry, there are no error tickets generated from this. And I didn't see any errors in javascript consoles in Chrome and Firefox +Firebug. I only got 1 ticket yesterday while setting up apache due to file permission error. Deleted that ticket. No errors today at all. When using Apache 2 wit

[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
I also get the same problem using Rocket, using plain HTTP from Chrome 5.0.375.55 and Firefox 3.6.3. Files get saved, but "Last Saved On" field shows "communication error" in red background color every time "Save" button is clicked. Here's what I tried: * I setup SSH tunnel from my Vista deskto

[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 mdipierro
try the following. 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 tunnel from my Vista desktop's localhost:8080 to > ubuntu.private.l

[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
Here's what I tried: * I setup SSH tunnel from my Vista desktop's localhost:8080 to ubuntu.private.lan:80. * I modified Apache2's to enable access to /admin The new non-HTTPS, ssh-tunneled, remote URL to ubuntu.private.lan is: http://localhost:8080/admin/default/edit/myblog/views/default/

[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
I tried latest stable Firefox and Chrome browsers, both running on Vista. I'll try using SSH tunnel next and access using plain HTTP, to see if problem goes away when not using SSL. On Jun 7, 11:58 am, mdipierro wrote: > Does it work without ssl? Which browser are you using? Have you tried > oth

[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 mdipierro
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 python frameworks > to replace Ruby on Rails on production servers by July 4th weekend.) > > PROBLEM: > >  *