No errors displayed but a blank screen instead

This is the place for queries that don't fit in any of the other categories.

Re: No errors displayed but a blank screen instead

Postby NikosGr » Sat Mar 30, 2013 3:37 pm

Code: Select all
drwxr-xr-x  3 nikos nikos  4096 Jun  5  2012 oursql-0.9.3.1
-jailshell-4.1$ pip install oursql
Downloading/unpacking oursql
  Downloading oursql-0.9.3.1.zip (175Kb): 175Kb downloaded
  Running setup.py egg_info for package oursql
    cython not found, using previously-cython'd .c file.
Installing collected packages: oursql
  Running setup.py install for oursql
    cython not found, using previously-cython'd .c file.
    building 'oursql' extension
    mysql_config --cflags
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.6 -c oursqlx/oursql.c -o build/temp.linux-x86_64-2.6/oursqlx/oursql.o -I/usr/include/mysql -g -fPIC -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1
    unable to execute gcc: Permission denied
    error: command 'gcc' failed with exit status 1
    Complete output from command /usr/bin/python -c "import setuptools;__file__='/home/nikos/public_html/build/oursql/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-8KAB5U-record/install-record.txt:
    cython not found, using previously-cython'd .c file.

running install

running build

running build_ext

building 'oursql' extension

mysql_config --cflags

creating build

creating build/temp.linux-x86_64-2.6

creating build/temp.linux-x86_64-2.6/oursqlx

gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.6 -c oursqlx/oursql.c -o build/temp.linux-x86_64-2.6/oursqlx/oursql.o -I/usr/include/mysql -g -fPIC -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1

unable to execute gcc: Permission denied

error: command 'gcc' failed with exit status 1

----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/home/nikos/public_html/build/oursql/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-8KAB5U-record/install-record.txt failed with error code 1 in /home/nikos/public_html/build/oursql
Storing complete log in /home/nikos/.pip/pip.log
-jailshell-4.1$
NikosGr
 
Posts: 48
Joined: Thu Mar 28, 2013 6:31 pm
Location: Thessaloniki

Re: No errors displayed but a blank screen instead

Postby NikosGr » Sat Mar 30, 2013 3:39 pm

maybe there is a way to install 'oursql' locally for my user as we did with 'pymysql' ?
NikosGr
 
Posts: 48
Joined: Thu Mar 28, 2013 6:31 pm
Location: Thessaloniki

Re: No errors displayed but a blank screen instead

Postby stranac » Sat Mar 30, 2013 3:50 pm

Yes,
Code: Select all
pip install --user oursql
should install it locally or you could install it to a virtualenv, but it's possible that you're simply not allowed to run gcc.
So if the above doesn't work, you should contact the support and have them install it for you.
Friendship is magic!

R.I.P. Tracy M. You will be missed.
User avatar
stranac
 
Posts: 1144
Joined: Thu Feb 07, 2013 3:42 pm

Re: No errors displayed but a blank screen instead

Postby NikosGr » Sat Mar 30, 2013 6:02 pm

Yes you were right, same error even with local install


unable to execute gcc: Permission denied

error: command 'gcc' failed with exit status 1


I have contactes support to isntall it for me. I hope they will not ask for money to install the module....
NikosGr
 
Posts: 48
Joined: Thu Mar 28, 2013 6:31 pm
Location: Thessaloniki

Re: No errors displayed but a blank screen instead

Postby stranac » Sat Mar 30, 2013 7:59 pm

Well, if I understood their message correctly, they only wanted you to pay for a manual install.
So, since this one can be installed with pip, it should be free...
Friendship is magic!

R.I.P. Tracy M. You will be missed.
User avatar
stranac
 
Posts: 1144
Joined: Thu Feb 07, 2013 3:42 pm

Re: No errors displayed but a blank screen instead

Postby NikosGr » Sun Mar 31, 2013 12:31 pm

they denided 3 tiems to install 'pip install oursql' because i dont have rigths to run gcc

aso i justr asked them to install if fro my local user or then to refund me to switch to another webhost.

can i pleasew give you access to my jailed shell account to see what wrong and although i get no errors with MySQLdb i just see a blank page please?

i will give the host:port and user and pass.

Youa re more expreinece then me and the code is ismple and ima sure you'll figure out what might be the problem.

can i sned you the credentials via pm please?
NikosGr
 
Posts: 48
Joined: Thu Mar 28, 2013 6:31 pm
Location: Thessaloniki

Previous

Return to General Coding Help

Who is online

Users browsing this forum: gummygecko, W3C [Linkcheck] and 4 guests