You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by "Graham Leggett (JIRA)" <ge...@gump.apache.org> on 2005/02/18 14:55:54 UTC

[jira] Created: (GUMP-88) ./gump fails with SyntaxError on python v2.4/Solaris8

./gump fails with SyntaxError on python v2.4/Solaris8
-----------------------------------------------------

         Key: GUMP-88
         URL: http://issues.apache.org/jira/browse/GUMP-88
     Project: Gump
        Type: Bug
  Components: Python  
 Environment: Solaris v2.8
Gump trunk
Python v2.4
    Reporter: Graham Leggett


If an attempt is made to check the gump code out of svn onto a solaris8 machine with python v2.4 installed, the following error results:

bash-2.03$ ./gump validate
./gump: function: not found

      Run the DTD validation tools on the metadata.

      Usage:
        ./gump validate

./gump: function: not found
./gump: validate

Adding the python -d flag, results in the following:

bash-2.03$ python -d gump validate
  File "gump", line 25
    function usage
                 ^
SyntaxError: invalid syntax

Checking out the same gump code from svn onto a MacOSX machine and running it against python v2.3 shows that the same gump script works.

It looks like gump in it's current form is not compatible with python v2.4.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


[jira] Updated: (GUMP-88) ./gump fails with SyntaxError on Solaris8

Posted by "Leo Simons (JIRA)" <ge...@gump.apache.org>.
     [ http://issues.apache.org/jira/browse/GUMP-88?page=all ]

Leo Simons updated GUMP-88:
---------------------------

    Version: Gump2-2.3
                 (was: Gump2-2.4)

> ./gump fails with SyntaxError on Solaris8
> -----------------------------------------
>
>          Key: GUMP-88
>          URL: http://issues.apache.org/jira/browse/GUMP-88
>      Project: Gump
>         Type: Bug
>   Components: Python-based Gump
>     Versions: Gump2-2.3
>  Environment: Solaris v2.8
> Gump trunk
> Python v2.4
>     Reporter: Graham Leggett
>      Fix For: Gump2-2.3

>
> If an attempt is made to check the gump code out of svn onto a solaris8 machine with python v2.4 installed, the following error results:
> bash-2.03$ ./gump validate
> ./gump: function: not found
>       Run the DTD validation tools on the metadata.
>       Usage:
>         ./gump validate
> ./gump: function: not found
> ./gump: validate
> Adding the python -d flag, results in the following:
> bash-2.03$ python -d gump validate
>   File "gump", line 25
>     function usage
>                  ^
> SyntaxError: invalid syntax
> Checking out the same gump code from svn onto a MacOSX machine and running it against python v2.3 shows that the same gump script works.
> It looks like gump in it's current form is not compatible with python v2.4.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


[jira] Updated: (GUMP-88) ./gump fails with SyntaxError on Solaris8

Posted by "Stefan Bodewig (JIRA)" <ge...@gump.apache.org>.
     [ http://issues.apache.org/jira/browse/GUMP-88?page=history ]

Stefan Bodewig updated GUMP-88:
-------------------------------

    Summary: ./gump fails with SyntaxError on Solaris8  (was: ./gump fails with SyntaxError on python v2.4/Solaris8)

Later research by Graham showed that the problem is not Python 2.4 but
that the script isn't a portable Bourne Shell script - it seems to
require bash ATM.

I've modified the she-bang line in trunk, but the real solution should
be a proper /bin/sh script.

> ./gump fails with SyntaxError on Solaris8
> -----------------------------------------
>
>          Key: GUMP-88
>          URL: http://issues.apache.org/jira/browse/GUMP-88
>      Project: Gump
>         Type: Bug
>   Components: Python
>  Environment: Solaris v2.8
> Gump trunk
> Python v2.4
>     Reporter: Graham Leggett

>
> If an attempt is made to check the gump code out of svn onto a solaris8 machine with python v2.4 installed, the following error results:
> bash-2.03$ ./gump validate
> ./gump: function: not found
>       Run the DTD validation tools on the metadata.
>       Usage:
>         ./gump validate
> ./gump: function: not found
> ./gump: validate
> Adding the python -d flag, results in the following:
> bash-2.03$ python -d gump validate
>   File "gump", line 25
>     function usage
>                  ^
> SyntaxError: invalid syntax
> Checking out the same gump code from svn onto a MacOSX machine and running it against python v2.3 shows that the same gump script works.
> It looks like gump in it's current form is not compatible with python v2.4.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


[jira] Updated: (GUMP-88) ./gump fails with SyntaxError on Solaris8

Posted by "Leo Simons (JIRA)" <ge...@gump.apache.org>.
     [ http://issues.apache.org/jira/browse/GUMP-88?page=history ]

Leo Simons updated GUMP-88:
---------------------------

    Fix Version: Gump2
                     (was: unspecified)

> ./gump fails with SyntaxError on Solaris8
> -----------------------------------------
>
>          Key: GUMP-88
>          URL: http://issues.apache.org/jira/browse/GUMP-88
>      Project: Gump
>         Type: Bug
>   Components: Python-based Gump
>     Versions: Gump2
>  Environment: Solaris v2.8
> Gump trunk
> Python v2.4
>     Reporter: Graham Leggett
>      Fix For: Gump2

>
> If an attempt is made to check the gump code out of svn onto a solaris8 machine with python v2.4 installed, the following error results:
> bash-2.03$ ./gump validate
> ./gump: function: not found
>       Run the DTD validation tools on the metadata.
>       Usage:
>         ./gump validate
> ./gump: function: not found
> ./gump: validate
> Adding the python -d flag, results in the following:
> bash-2.03$ python -d gump validate
>   File "gump", line 25
>     function usage
>                  ^
> SyntaxError: invalid syntax
> Checking out the same gump code from svn onto a MacOSX machine and running it against python v2.3 shows that the same gump script works.
> It looks like gump in it's current form is not compatible with python v2.4.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


[jira] Updated: (GUMP-88) ./gump fails with SyntaxError on Solaris8

Posted by "Leo Simons (JIRA)" <ge...@gump.apache.org>.
     [ http://issues.apache.org/jira/browse/GUMP-88?page=history ]

Leo Simons updated GUMP-88:
---------------------------

    Version: unspecified

> ./gump fails with SyntaxError on Solaris8
> -----------------------------------------
>
>          Key: GUMP-88
>          URL: http://issues.apache.org/jira/browse/GUMP-88
>      Project: Gump
>         Type: Bug
>   Components: Python-based Gump
>     Versions: unspecified
>  Environment: Solaris v2.8
> Gump trunk
> Python v2.4
>     Reporter: Graham Leggett

>
> If an attempt is made to check the gump code out of svn onto a solaris8 machine with python v2.4 installed, the following error results:
> bash-2.03$ ./gump validate
> ./gump: function: not found
>       Run the DTD validation tools on the metadata.
>       Usage:
>         ./gump validate
> ./gump: function: not found
> ./gump: validate
> Adding the python -d flag, results in the following:
> bash-2.03$ python -d gump validate
>   File "gump", line 25
>     function usage
>                  ^
> SyntaxError: invalid syntax
> Checking out the same gump code from svn onto a MacOSX machine and running it against python v2.3 shows that the same gump script works.
> It looks like gump in it's current form is not compatible with python v2.4.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


[jira] Updated: (GUMP-88) ./gump fails with SyntaxError on Solaris8

Posted by "Leo Simons (JIRA)" <ge...@gump.apache.org>.
     [ http://issues.apache.org/jira/browse/GUMP-88?page=history ]

Leo Simons updated GUMP-88:
---------------------------

    Fix Version: unspecified

> ./gump fails with SyntaxError on Solaris8
> -----------------------------------------
>
>          Key: GUMP-88
>          URL: http://issues.apache.org/jira/browse/GUMP-88
>      Project: Gump
>         Type: Bug
>   Components: Python-based Gump
>     Versions: unspecified
>  Environment: Solaris v2.8
> Gump trunk
> Python v2.4
>     Reporter: Graham Leggett
>      Fix For: unspecified

>
> If an attempt is made to check the gump code out of svn onto a solaris8 machine with python v2.4 installed, the following error results:
> bash-2.03$ ./gump validate
> ./gump: function: not found
>       Run the DTD validation tools on the metadata.
>       Usage:
>         ./gump validate
> ./gump: function: not found
> ./gump: validate
> Adding the python -d flag, results in the following:
> bash-2.03$ python -d gump validate
>   File "gump", line 25
>     function usage
>                  ^
> SyntaxError: invalid syntax
> Checking out the same gump code from svn onto a MacOSX machine and running it against python v2.3 shows that the same gump script works.
> It looks like gump in it's current form is not compatible with python v2.4.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


[jira] Commented: (GUMP-88) ./gump fails with SyntaxError on Solaris8

Posted by "Leo Simons (JIRA)" <ge...@gump.apache.org>.
     [ http://issues.apache.org/jira/browse/GUMP-88?page=comments#action_61592 ]
     
Leo Simons commented on GUMP-88:
--------------------------------

why is it bad to depend on bash?

> ./gump fails with SyntaxError on Solaris8
> -----------------------------------------
>
>          Key: GUMP-88
>          URL: http://issues.apache.org/jira/browse/GUMP-88
>      Project: Gump
>         Type: Bug
>   Components: Python
>  Environment: Solaris v2.8
> Gump trunk
> Python v2.4
>     Reporter: Graham Leggett

>
> If an attempt is made to check the gump code out of svn onto a solaris8 machine with python v2.4 installed, the following error results:
> bash-2.03$ ./gump validate
> ./gump: function: not found
>       Run the DTD validation tools on the metadata.
>       Usage:
>         ./gump validate
> ./gump: function: not found
> ./gump: validate
> Adding the python -d flag, results in the following:
> bash-2.03$ python -d gump validate
>   File "gump", line 25
>     function usage
>                  ^
> SyntaxError: invalid syntax
> Checking out the same gump code from svn onto a MacOSX machine and running it against python v2.3 shows that the same gump script works.
> It looks like gump in it's current form is not compatible with python v2.4.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


[jira] Updated: (GUMP-88) ./gump fails with SyntaxError on Solaris8

Posted by "Leo Simons (JIRA)" <ge...@gump.apache.org>.
     [ http://issues.apache.org/jira/browse/GUMP-88?page=all ]

Leo Simons updated GUMP-88:
---------------------------

    Fix Version: Gump2-2.3
                     (was: Gump2-2.4)

> ./gump fails with SyntaxError on Solaris8
> -----------------------------------------
>
>          Key: GUMP-88
>          URL: http://issues.apache.org/jira/browse/GUMP-88
>      Project: Gump
>         Type: Bug
>   Components: Python-based Gump
>     Versions: Gump2-2.3
>  Environment: Solaris v2.8
> Gump trunk
> Python v2.4
>     Reporter: Graham Leggett
>      Fix For: Gump2-2.3

>
> If an attempt is made to check the gump code out of svn onto a solaris8 machine with python v2.4 installed, the following error results:
> bash-2.03$ ./gump validate
> ./gump: function: not found
>       Run the DTD validation tools on the metadata.
>       Usage:
>         ./gump validate
> ./gump: function: not found
> ./gump: validate
> Adding the python -d flag, results in the following:
> bash-2.03$ python -d gump validate
>   File "gump", line 25
>     function usage
>                  ^
> SyntaxError: invalid syntax
> Checking out the same gump code from svn onto a MacOSX machine and running it against python v2.3 shows that the same gump script works.
> It looks like gump in it's current form is not compatible with python v2.4.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


[jira] Closed: (GUMP-88) ./gump fails with SyntaxError on Solaris8

Posted by "Leo Simons (JIRA)" <ge...@gump.apache.org>.
     [ http://issues.apache.org/jira/browse/GUMP-88?page=all ]
     
Leo Simons closed GUMP-88:
--------------------------

    Resolution: Fixed

> ./gump fails with SyntaxError on Solaris8
> -----------------------------------------
>
>          Key: GUMP-88
>          URL: http://issues.apache.org/jira/browse/GUMP-88
>      Project: Gump
>         Type: Bug
>   Components: Python-based Gump
>     Versions: Gump2
>  Environment: Solaris v2.8
> Gump trunk
> Python v2.4
>     Reporter: Graham Leggett
>      Fix For: Gump2

>
> If an attempt is made to check the gump code out of svn onto a solaris8 machine with python v2.4 installed, the following error results:
> bash-2.03$ ./gump validate
> ./gump: function: not found
>       Run the DTD validation tools on the metadata.
>       Usage:
>         ./gump validate
> ./gump: function: not found
> ./gump: validate
> Adding the python -d flag, results in the following:
> bash-2.03$ python -d gump validate
>   File "gump", line 25
>     function usage
>                  ^
> SyntaxError: invalid syntax
> Checking out the same gump code from svn onto a MacOSX machine and running it against python v2.3 shows that the same gump script works.
> It looks like gump in it's current form is not compatible with python v2.4.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


[jira] Updated: (GUMP-88) ./gump fails with SyntaxError on Solaris8

Posted by "Leo Simons (JIRA)" <ge...@gump.apache.org>.
     [ http://issues.apache.org/jira/browse/GUMP-88?page=history ]

Leo Simons updated GUMP-88:
---------------------------

    Version: Gump2
                 (was: unspecified)

> ./gump fails with SyntaxError on Solaris8
> -----------------------------------------
>
>          Key: GUMP-88
>          URL: http://issues.apache.org/jira/browse/GUMP-88
>      Project: Gump
>         Type: Bug
>   Components: Python-based Gump
>     Versions: Gump2
>  Environment: Solaris v2.8
> Gump trunk
> Python v2.4
>     Reporter: Graham Leggett
>      Fix For: Gump2

>
> If an attempt is made to check the gump code out of svn onto a solaris8 machine with python v2.4 installed, the following error results:
> bash-2.03$ ./gump validate
> ./gump: function: not found
>       Run the DTD validation tools on the metadata.
>       Usage:
>         ./gump validate
> ./gump: function: not found
> ./gump: validate
> Adding the python -d flag, results in the following:
> bash-2.03$ python -d gump validate
>   File "gump", line 25
>     function usage
>                  ^
> SyntaxError: invalid syntax
> Checking out the same gump code from svn onto a MacOSX machine and running it against python v2.3 shows that the same gump script works.
> It looks like gump in it's current form is not compatible with python v2.4.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org