[Bug 1018315] Re: Compiled for Python/2.7.2+, Runtime using Python/2.7.3.

2013-06-03 Thread Prashant Agarwal
I reached here after spending hours to trace the said reported issue.
Here is my use case where which can help to reproduce the error.

I am making an application which executes the PHP files from my django
application. The PHP files returns the json result set.

The application works fine on my MAC however it fails to work on server which 
is :
Ubuntu 12.04 
Python 2.7.3 (default, Aug  1 2012, 05:14:39) 
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import django
>>> django.VERSION
(1, 5, 1, 'final', 0)

tail -f /var/log/apache2/error.log
[Mon Jun 03 14:14:39 2013] [error] JSONDecodeError: No JSON object could be 
decoded: line 1 column 0 (char 0)
[Mon Jun 03 19:26:30 2013] [notice] caught SIGTERM, shutting down
[Mon Jun 03 19:26:31 2013] [error] python_init: Python version mismatch, 
expected '2.7.2+', found '2.7.3'.
[Mon Jun 03 19:26:31 2013] [error] python_init: Python executable found 
'/usr/bin/python'.
[Mon Jun 03 19:26:31 2013] [error] python_init: Python path being used 
'/usr/lib/python2.7/:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'.
[Mon Jun 03 19:26:31 2013] [notice] mod_python: Creating 8 session mutexes 
based on 150 max processes and 0 max threads.
[Mon Jun 03 19:26:31 2013] [notice] mod_python: using mutex_directory /tmp 
[Mon Jun 03 19:26:31 2013] [warn] mod_wsgi: Compiled for Python/2.7.2+.
[Mon Jun 03 19:26:31 2013] [warn] mod_wsgi: Runtime using Python/2.7.3.
[Mon Jun 03 19:26:31 2013] [notice] Apache/2.2.22 (Ubuntu) 
PHP/5.3.10-1ubuntu3.6 with Suhosin-Patch mod_python/3.3.1 Python/2.7.3 
mod_wsgi/3.3 configured -- resuming normal operations
/bin/sh: 1: Syntax error: redirection unexpected

Due to this, it does not return the json response.

Hope it helps.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mod-wsgi in Ubuntu.
https://bugs.launchpad.net/bugs/1018315

Title:
  Compiled for Python/2.7.2+, Runtime using Python/2.7.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-wsgi/+bug/1018315/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1009351] Re: package squid3 3.1.19-1ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2012-06-06 Thread prashant
-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid3 in Ubuntu.
https://bugs.launchpad.net/bugs/1009351

Title:
  package squid3 3.1.19-1ubuntu3 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1009351/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1009351] [NEW] package squid3 3.1.19-1ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2012-06-06 Thread prashant
Public bug reported:

pgp@petrogas:~$ sudo apt-get install squid
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.2.0-23-generic linux-headers-3.2.0-23
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  squid
0 upgraded, 1 newly installed, 0 to remove and 40 not upgraded.
1 not fully installed or removed.
Need to get 0 B/6,244 B of archives.
After this operation, 128 kB of additional disk space will be used.
Selecting previously unselected package squid.
(Reading database ... 165561 files and directories currently installed.)
Unpacking squid (from .../squid_3.1.19-1ubuntu3_amd64.deb) ...
Setting up squid3 (3.1.19-1ubuntu3) ...
Creating Squid HTTP proxy 3.x spool directory structure
2012/06/06 11:17:35| aclParseAclLine: Invalid ACL type 'clients'
FATAL: Bungled squid.conf line 706: acl special clients src 
"/etc/squid3/special_clients_ips.txt"
Squid Cache (Version 3.1.19): Terminated abnormally.
CPU Usage: 0.008 seconds = 0.004 user + 0.004 sys
Maximum Resident Size: 17440 KB
Page faults with physical i/o: 25
dpkg: error processing squid3 (--configure):
 subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: squid3 3.1.19-1ubuntu3
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu5
AptOrdering:
 squid: Install
 squid3: Configure
 squid: Configure
Architecture: amd64
Date: Wed Jun  6 11:17:35 2012
ErrorMessage: subprocess installed post-installation script returned error exit 
status 1
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 
(20120424.1)
SourcePackage: squid3
Title: package squid3 3.1.19-1ubuntu3 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.squid3.squid.conf: 2012-06-06T10:19:02.003146

** Affects: squid3 (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-package need-duplicate-check precise

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid3 in Ubuntu.
https://bugs.launchpad.net/bugs/1009351

Title:
  package squid3 3.1.19-1ubuntu3 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1009351/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs