bugZShellScripts - Bugs: bug #4104, Error while executing a shell

 
 

bug #4104: Error while executing a shell

Submitted by:  None
Submitted on:  Thu 26 Jun 2003 08:41:08 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Jerome Alet <jalet>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 26 Jun 2003 04:38:56 PM UTC, comment #3:

Fixed in README file.

Jerome Alet <jalet>
Project AdministratorIn charge of this item.
Thu 26 Jun 2003 03:39:06 PM UTC, comment #2:

Never mind.

Just need to add some explanation :
For example, if you want to Add php support :
- name your Shell(PHP) instance 'myphpinst' for example
- in the Script(ZShell), the first line is
#! <path to the shell(PHP) instance>/myphpinst
For example : #! testPHP/ShellPHP

Anonymous
Thu 26 Jun 2003 08:51:12 AM UTC, comment #1:

Please be sure you have created an object of type 'Shell (Unix)' with a name ('bash' is fine) BEFORE createing the script itself.

Also be sure that the script's firts line points to the correct 'Shell (Unix)' object you've just created, if in doubt use the absolute path to your object in the ZODB.

Please report any problem after having tried again.

Jerome Alet <jalet>
Project AdministratorIn charge of this item.
Thu 26 Jun 2003 08:41:08 AM UTC, original submission:

I have this Zope error message when I try to test a shell (python and bash - others shells where not tested) :

Error Type: AttributeError
Error Value: 'None' object has no attribute 'co_varnames'

Here is my bash file :
-----------
#! bash
echo "test"
-----------

Zope version: 2.5
ZscriptShell version: 0.4

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 26 Jun 2003 04:38:56 PM UTCjaletStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)
Thu 26 Jun 2003 08:51:12 AM UTCjaletAssigned toNone=>NA

Back to the top


Powered by Savane 3.1-cleanup1