if os.path.exists(relative_paste):
sys.path.insert(0, os.path.dirname(relative_paste))
from paste.script import command
command.run()
On Fri, Feb 27, 2009 at 1:05 PM, Ignas Mikalajūnas <email address hidden> wrote:
> I would like you to do this:
>
> post the output of
>
> apt-cache policy python-paste
> apt-cache policy python-pastescript
>
> contents of /usr/bin/paster
>
> Oh - and which release of ubuntu is this? Hardy, Intrepid, Jaunty?
>
> Thanks in advance.
>
> --
> Server won't start
> https://bugs.launchpad.net/bugs/334365
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in SchoolTool: New
>
> Bug description:
>
> tried to do a backup of the data on the schooltool machine and followed the
> directions on the site.
> I stopped the server using /etc/init.d/schooltool-2008 stop
> I tried to copy the fs file...no go.
> Tried a reboot and now the server won't start
> I tried running /etc/init.d/schooltool-2008 start and this is what i get
>
> * Starting SchoolTool 2008...
> Traceback (most recent call last):
> File "/usr/bin/paster", line 17, in ?
> from paste.script import command
> ImportError: No module named paste.script
> [fail]
>
It's jaunty alpha 5
*apt-cache policy python-paste* us.archive. ubuntu. com jaunty/universe Packages dpkg/status
python-paste:
Installed: 1.7.1-1
Candidate: 1.7.1-1
Version table:
*** 1.7.1-1 0
500 http://
100 /var/lib/
*apt-cache policy python-pastescript* us.archive. ubuntu. com jaunty/universe Packages dpkg/status
python-pastescript:
Installed: 1.6.3-1
Candidate: 1.6.3-1
Version table:
*** 1.6.3-1 0
500 http://
100 /var/lib/
*cat /usr/bin/paster*
#!/usr/bin/env python
import os
import sys
try:
here = __file__
except NameError:
# Python 2.2
here = sys.argv[0]
relative_paste = os.path.join( path.dirname( os.path. dirname( os.path. abspath( here))) , 'paste')
os.
if os.path. exists( relative_ paste): path.insert( 0, os.path. dirname( relative_ paste))
sys.
from paste.script import command
command.run()
On Fri, Feb 27, 2009 at 1:05 PM, Ignas Mikalajūnas <email address hidden> wrote:
> I would like you to do this: /bugs.launchpad .net/bugs/ 334365 d/schooltool- 2008 stop d/schooltool- 2008 start and this is what i get
>
> post the output of
>
> apt-cache policy python-paste
> apt-cache policy python-pastescript
>
> contents of /usr/bin/paster
>
> Oh - and which release of ubuntu is this? Hardy, Intrepid, Jaunty?
>
> Thanks in advance.
>
> --
> Server won't start
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in SchoolTool: New
>
> Bug description:
>
> tried to do a backup of the data on the schooltool machine and followed the
> directions on the site.
> I stopped the server using /etc/init.
> I tried to copy the fs file...no go.
> Tried a reboot and now the server won't start
> I tried running /etc/init.
>
> * Starting SchoolTool 2008...
> Traceback (most recent call last):
> File "/usr/bin/paster", line 17, in ?
> from paste.script import command
> ImportError: No module named paste.script
> [fail]
>