Good to know!
There seems to have an improved version though :
https://groups.google.com/d/msg/web2py/8YWJU4FCdwg/_tm_TQKr1GQJ
Richard
On Fri, Aug 8, 2014 at 6:25 PM, Cliff Kachinske cjk...@gmail.com wrote:
Richard,
I used the ubuntu install script on a VPS at Digital Ocean. No problem.
Yes Jim, it great if you come up with a ubuntu 14.04 tested script and you
share with us.
Regards
Richard
On Thu, Aug 7, 2014 at 3:07 PM, Jim S j...@qlf.com wrote:
Finally figured out my problem.
It seems to me that everything works fine if I use pip to install
additional python packages.
Ok got it. Yes easy_install is not recommended because you don't have a
clean to uninstall package automatically...
Richard
On Fri, Aug 8, 2014 at 10:15 AM, Jim S j...@qlf.com wrote:
Richard
I didn't make any changes to the script provided by web2py. I just wrote
my own script that
Richard
I didn't make any changes to the script provided by web2py. I just wrote
my own script that installed all of my other dependencies first and then
calls the setup-web2py-nginx-uwsgi-ubuntu.sh script. That script worked
fine for me on 14.04.1. The point I think, is that my problems we
Richard,
I used the ubuntu install script on a VPS at Digital Ocean. No problem.
On Friday, August 8, 2014 9:53:22 AM UTC-4, Richard wrote:
Yes Jim, it great if you come up with a ubuntu 14.04 tested script and you
share with us.
Regards
Richard
On Thu, Aug 7, 2014 at 3:07 PM, Jim S
Finally figured out my problem.
It seems to me that everything works fine if I use pip to install
additional python packages. But if I use easy_install then I get the
python errors. I 'think', but am not sure that the problem lies in some
egg cache files that exist in the logged-in users
Make sure everything in web2py directory is owned by www-data user : sudo
chown -R www-data.www-data web2py/
Richard
On Mon, Aug 4, 2014 at 7:09 PM, Jim Steil ato.st...@gmail.com wrote:
Just logged in and saw that I did install unixodbc before pyodbc. Also,
this all works if I run using the
Hi
I'm getting a page that says - Internal Server Error
whenever I try to access my server. Here is the background.
Installed web2py/nginx/uwsgi via scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
had it running but was having a problem getting pyodbc working.
Rebooted the server
Now, whenever
Missing dependencies...
Is the nginx-uwsgi-ubuntu script updated for 14.04 ??
Richard
On Mon, Aug 4, 2014 at 3:33 PM, Jim S j...@qlf.com wrote:
Hi
I'm getting a page that says - Internal Server Error
whenever I try to access my server. Here is the background.
Installed
I don't know.
Like I said, it worked until I rebooted after installing pyodbc. Well, I
rebooted because it wouldn't import pyodbc. I'm going to wipe the server
and try again 'after' installing pyodbc.
-Jim
On Mon, Aug 4, 2014 at 2:57 PM, Richard Vézina ml.richard.vez...@gmail.com
wrote:
conflic between libs...
Try remove pyodbc...
You can also just try to start uwsgi manually, maybe the startup script is
not setup correctly...
sudo start uwsgi-emperor
Richard
On Mon, Aug 4, 2014 at 3:59 PM, Jim Steil ato.st...@gmail.com wrote:
I don't know.
Like I said, it worked until
Removed pyodbc and restarted uwsgi fixed it.
But, I still need pyodbc in my app. Any ideas?
-Jim
On Mon, Aug 4, 2014 at 3:03 PM, Richard Vézina ml.richard.vez...@gmail.com
wrote:
conflic between libs...
Try remove pyodbc...
You can also just try to start uwsgi manually, maybe the
virtualenv
Why you need it? Maybe you can remove this dependencies and use
only pgcog2??
Richard
On Mon, Aug 4, 2014 at 4:09 PM, Jim Steil ato.st...@gmail.com wrote:
Removed pyodbc and restarted uwsgi fixed it.
But, I still need pyodbc in my app. Any ideas?
-Jim
On Mon, Aug 4, 2014
Accessing data on an AS/400.
On Mon, Aug 4, 2014 at 3:12 PM, Richard Vézina ml.richard.vez...@gmail.com
wrote:
virtualenv
Why you need it? Maybe you can remove this dependencies and use
only pgcog2??
Richard
On Mon, Aug 4, 2014 at 4:09 PM, Jim Steil ato.st...@gmail.com wrote:
Removed
Hmm I see... So you need to identify where the conflic come from... Is
pyodbc installing other packages that cause issue...
Richard
On Mon, Aug 4, 2014 at 4:12 PM, Jim Steil ato.st...@gmail.com wrote:
Accessing data on an AS/400.
On Mon, Aug 4, 2014 at 3:12 PM, Richard Vézina
https://code.google.com/p/pyodbc/wiki/FAQs
Search in page for dependency, seems there is something special to do with
ubutnu requiring unixodbc to be install before pyodbc...
Richard
On Mon, Aug 4, 2014 at 4:18 PM, Richard Vézina ml.richard.vez...@gmail.com
wrote:
Hmm I see... So you need to
Also, the error you were having doesn't look like it coming from uswgi,
because nginx says bad gateway message when uswgi is not working and not
internal error that should coming from web2py...
Richard
On Mon, Aug 4, 2014 at 4:20 PM, Richard Vézina ml.richard.vez...@gmail.com
wrote:
FWIW - it all works fine (with pyodbc installed) if I use the rocket web
server.
I'm going to do a clean install and install all of my dependencies before
uwsgi. I'll let you know how that ends up.
On Mon, Aug 4, 2014 at 3:21 PM, Richard Vézina ml.richard.vez...@gmail.com
wrote:
Also, the
Clean install with all dependencies in place before installing
nginx/uwsgi/web2py yields the same results. It works if I don't have
pyodbc installed.
Any more thoughts on what I could do for debugging?
-Jim
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
Did you copy wsgihandler.py inside web2py root?
Marin
On Mon, Aug 4, 2014 at 11:50 PM, Jim S j...@qlf.com wrote:
Clean install with all dependencies in place before installing
nginx/uwsgi/web2py yields the same results. It works if I don't have
pyodbc installed.
Any more thoughts on what
I did not. I used the script in the web2py/scripts directory.
On Mon, Aug 4, 2014 at 5:07 PM, Marin Pranjić marin.pran...@gmail.com
wrote:
Did you copy wsgihandler.py inside web2py root?
Marin
On Mon, Aug 4, 2014 at 11:50 PM, Jim S j...@qlf.com wrote:
Clean install with all
Is uwsgi running after restart? ps aux | grep uwsgi
On Tue, Aug 5, 2014 at 12:08 AM, Jim Steil ato.st...@gmail.com wrote:
I did not. I used the script in the web2py/scripts directory.
On Mon, Aug 4, 2014 at 5:07 PM, Marin Pranjić marin.pran...@gmail.com
wrote:
Did you copy
appears to be. Also, keep in mind that all of this works with the rocket
server...
administrator@web1-14:/home/www-data/web2py$ ps aux | grep uwsgi
root 788 0.0 0.1 39256 6380 ?Ss 17:15 0:00 uwsgi
--master --die-on-term --emperor /etc/uwsgi --logto /var/log/uwsgi/uwsgi.log
Can you check again if there is wsgihandler.py inside web2py root directory?
Can you make sure sockets are created inside /tmp and www-data owns them?
What does nginx error log say when you try to make a request?
I had a 5-hour fight with uwsgi last week. It's really hard to debug it
because logs
I'll check those files first thing tomorrow, hinge now. There is nothing in
the nginx error log.
Jim
On Aug 4, 2014 5:39 PM, Marin Pranjić marin.pran...@gmail.com wrote:
Can you check again if there is wsgihandler.py inside web2py root
directory?
Can you make sure sockets are created inside
Try install unixodbc before pyodbc as says in the link I posted above...
To me, it looks like uwsgi and nginx and web2py are running but the pyodbc
make web2py failing with internal error...
Richard
On Mon, Aug 4, 2014 at 6:38 PM, Marin Pranjić marin.pran...@gmail.com
wrote:
Can you check
Sorry, missed that not from you.
Will try tomorrow.
Jim
On Aug 4, 2014 6:00 PM, Richard Vézina ml.richard.vez...@gmail.com
wrote:
Try install unixodbc before pyodbc as says in the link I posted above...
To me, it looks like uwsgi and nginx and web2py are running but the pyodbc
make web2py
Ok, couldn't wait, logged in from home. www-data does own the sockets in
/tmp.
wsgihandler.py is in the web2py root directory.
On Mon, Aug 4, 2014 at 5:38 PM, Marin Pranjić marin.pran...@gmail.com
wrote:
Can you check again if there is wsgihandler.py inside web2py root
directory?
Can you
Just logged in and saw that I did install unixodbc before pyodbc. Also,
this all works if I run using the rocket web server instead of nginx/uwsgi.
-Jim
On Mon, Aug 4, 2014 at 5:59 PM, Richard Vézina ml.richard.vez...@gmail.com
wrote:
Try install unixodbc before pyodbc as says in the link I
29 matches
Mail list logo