|
From: McDonald, B. <Bru...@ba...> - 2003-09-24 18:57:58
|
Also take a look at the documentation pipeline stage:
modules/core/config/pipeline/documentation/documentation.properties
It uses two different scripts which are loaded from the modules/core/config/scripts directory.
These two scripts do:
1. attrdefault.js: Check for required attributes on the document and if they are not provided, provide a default.
2. servicexml.js: Call the config info on object based on a service name and call the toXml method
regards,
Bruce.
-----Original Message-----
From: David Glick [mailto:dg...@co...]
Sent: Wednesday, September 24, 2003 2:24 PM
To: Qin Ding
Cc: Babeldoc Developer List
Subject: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Hi Qin,
There aren't any examples in the documentation (yet!) about using the
scripting stage, but it's actually very easy to do. Here's an example that I
posted yesterday on the list:
######
# List all attributes on this document
######
get-attributes.stageType=Scripting
get-attributes.nextStage=console-writer
get-attributes.language=javascript
get-attributes.script=\
var keyset = document.getAttributes().keySet();\
var keyiter = keyset.iterator();\
var bufr = new java.lang.StringBuffer();\
bufr.append("<attributes>\\n");\
while(keyiter.hasNext()) {\
var key = keyiter.next();\
var cls = document.get(key);\
bufr.append(key + "=" + cls + "\\n");\
}\
bufr.append("</attributes>\\n");\
document.setBytes(bufr.toString().getBytes());\
document.setMimeType("text/xml");
The "get-attributes.script'" attribute defines a script that is embedded in
the properties file. An alternative would be to use
"get-attributes.scriptFile" in order to point to an external file containing
the script program.
Beyond the basic Babeldoc configuration no other additional configuration is
required to use script files. However, if you reference external classes,
those classes will need to be included in the classpath.
The document is stored in a PipelineDocument object. You can get at the
contents via the toString() method. In order to use your validation
routines, you have a couple of options:
1. Feed the document into the pipeline and convert the document String
(document.toString()) into a Java stream that can be fed to your validation
routine via the TestManager.validate(String docName, java.io.InputStream)
method call. The docName can be retrieved from the document attribute
"file_name": document.get("file_name");
2. Use the TestManager.validate(java.io.File file) method call via:
java.io.File file = new java.io.File(document.get("file_name"));\
TestManager.validate(file);
I'm not sure if you understand how to set up the typical directory structure
and configuration files in order to create a pipeline. If not, let me know
and I'll throw together a template for you to use.
Hope this helps,
David
On Wednesday 24 September 2003 8:26 am, you wrote:
> David: Thank you for your advise. I'll then try the scripting stage. I
> tried to find some document on this particular stage. I did not see
> anything. Do you have any? How do I set this up? I assume there must be a
> someConfig.properties file to define this stage. Where to put this file
> and Would you please walk me through this? After the scanner picks up the
> file and delivers to the scriptStage, what kind of document it actually
> delivers? It is a java.io.File or a java.io.InputStream? Anyway, my
> validation routine has the following signatures:
>
> TestManager.validate(java.io.File file);
> TestManager.validate(String docName, java.io.InputStream);
>
> Regarding e-mailing the report, your mentioned the following:
> a) Call your validation routines via a Scripting stage.
> b) Place the original document into an attribute
> c) Replace the current document with the report to be e-mailed.
> d) Use the SmtpWriter stage to e-mail your report
> e) Move the original document from the attribute in which it is stored back
>
> into the current document
> f) Continue processing
>
> Are all these a to f steps can be achieved by setting up in the
> config.properties? Or we still have to extend the ScriptingStage to
> achieve that goal? How should I start and where do I deploy it?
>
> Qin
>
> ---------------------------------------------------------------------------
>-------------
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose.
> ---------------------------------------------------------------------------
>-------------
>
>
>
>
>
> David Glick
> <dglick To: Qin
> Ding/ASD/CSC@CSC, @cox.net>
> bab...@li... cc:
> 09/23/03 02:30 Subject: Re: [Babeldoc-user]
> Questions. Please Help PM
>
>
>
>
>
>
> Hi Qin,
>
> 1) You should set the environment variable BABELDOC_USER to point at your
> project directory.
>
> 2) While you can certainly subclass the PipelineStage to perform your
> validation, an easier approach may be to use the Scripting stage and just
> call your validation routines inline. Creating a new stage type requires a
>
> bit more familiarity with the Babeldoc environment.
>
> 3) Regarding e-mailing your report, you might do something like the
> following:
>
> a) Call your validation routines via a Scripting stage.
> b) Place the original document into an attribute
> c) Replace the current document with the report to be e-mailed.
> d) Use the SmtpWriter stage to e-mail your report
> e) Move the original document from the attribute in which it is stored back
>
> into the current document
> f) Continue processing
>
> It sounds like you've got a pretty good handle on everything else.
>
>
> Hope this helps,
>
> David
>
> On Tuesday 23 September 2003 11:57 am, Qin Ding wrote:
> > I am trying to use this tool. From what I read, this is an excellent
>
> tool
>
> > for me. I read the user guide and white paper and usage documents and
> > developer guide twice and I am still not sure of how to put this project
> > together.
> >
> > My babeldoc home (BABELDOC_HOME env variable)
> > c:\babeldoc
> > It has lib and bin directory which has all the scripts and jar files from
> > your build/lib and build/bin. In c:\babeldoc\lib, it also has my own jar
> > (longlegs-validation.jar) and apache common-validator.jar
> >
> > My project home
> > c:\myproject\longlegs\
> > In your documents, at one place, it states that I need to set up USER_DIR
> > env variable pointing to this project directory; and at another place in
> > the document, it asks to include this directory in the classpath. Which
>
> way
>
> > should I go?
> >
> > Under the longlegs folder, I have
> > config folder
> > config/scanner sub-folder. In here, I have config.properties for the
> > scanner like this:
> >
> > daddy-longlegs.type=directory
> > daddy-longlegs.period=10000
> > daddy-longlegs.inDirectory=/daddy/longlegs/in
> > daddy-longlegs.doneDirectory=/daddy/longlegs/done
> > daddy-longlegs.pipeline=longlegs
> >
> > pipeline folder. In here, I have config.properties like this:
> >
> > longlegs.type=simple
> > longlegs.configFile=pipeline/simple/longlegs
> >
> > pipeline/simple folder. In here, I have longlegs.properties, and
> > flat2xml-convert.xml like this:
> >
> > entryStage=validate
> > validate.stageType=DataValidation
> > validate.nextStage=convert
> >
> > convert.stageType=FlatToXml
> > convert.nextStage=transform
> > convert.flatToXmlFile=/longlegs/pipeline/simple/flat2xml-convert.xml
> >
> > transform.stageType=XslTransform
> > transform.nextStage=null
> >
> > flat2xml-convert.xml is omitted here. It is the copy of yours.
> >
> > journal
> > journal/simple
> >
> > Also
> > I have created two directories
> > C:\daddy\longlegs\in
> > C:\daddy\longlegs\done
> >
> > I want to drop a flat file (delimited by comma, or tab, or vertical bar)
>
> in
>
> > c:\daddy\longlegs\in folder. The scanner should pass the file to my
> > pipeline stage "DataValidation". I need to write this pipeline stage.
>
> As
>
> > I understand, all I need to do is to subclass the PipelineStage. In that
> > class, I should implement process method to call my validation logics,
> > which I have jar-ed and deployed in c:\babeldoc\lib directory along with
> > apache common-validator.
> >
> > Now, where should I deploy my pipelineStage DataValidation class? In my
> > longlegs/pipeline directory or some new directory I should add to the
> > longlegs/pipeline directory?
> >
> > A validation report (html) is dynamically generated during the validation
> > stage. This report, Not original flat file, needs to be mailed out. How
>
> do
>
> > I add the report from my DataValidate stage to the mail pipelineStage?
> > Also, I believe I can use the FileWriter pipelineStage to write the html
> > report out. So, the key is to introduce the report to the mail and
> > filewriter stage, not the original flat file. How do I do that?
> >
> > If I can successfully put all these together quickly, I'd like to present
> > this tool to my manager for considering to use in our next project. Your
> > help is greatly appreciated. Thanks.
> >
> > Qin
>
> ---------------------------------------------------------------------------
>
> >-------------
> >
> > This is a PRIVATE message. If you are not the intended recipient, please
> > delete without copying and kindly advise us by e-mail of the mistake in
> > delivery. NOTE: Regardless of content, this e-mail shall not operate to
> > bind CSC to any order or other contract unless pursuant to explicit
>
> written
>
> > agreement or government initiative expressly permitting the use of e-mail
> > for such purpose.
>
> ---------------------------------------------------------------------------
>
> >-------------
> >
> >
> >
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Babeldoc-user mailing list
> > Bab...@li...
> > https://lists.sourceforge.net/lists/listinfo/babeldoc-user
--
David Glick
Transmit Consulting, Inc
619-475-4052
dg...@tr...
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Babeldoc-devel mailing list
Bab...@li...
https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
|
|
From: McDonald, B. <Bru...@ba...> - 2003-09-25 19:39:34
|
Qin,
The '\' are the continuation characters for java properties files. These mean that the following line is logically part of this line. This means that all the lines with the '\' are really one big line.
regards,
Bruce.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Thursday, September 25, 2003 3:19 PM
To: David Glick
Cc: Babeldoc Developer List
Subject: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
David: Thank you for the test template, with which I can say I start
understanding how everything connects.
Now, when I ran the test pipeline, I first got the error stating that the
directory test/inventory is not accessable. I changed to c:
\babeltest\test\inventory. The error goes away. So, I guess we need to
give the full path on my NT system.
And then, I move the file test-file.xml into the inventory fold. I got
this error, which I don't know how to fix.
<2003-09-25 13:55:44,501> INFO [main] : Initializing workers:
<2003-09-25 13:55:44,561> INFO [main] : dirscan (directory) configured...
<2003-09-25 13:55:44,561> INFO [main] : Starting workers...
<2003-09-25 13:55:44,561> INFO [main] : dirscan started...
<2003-09-25 13:56:05,081> INFO [Thread-1] : Processing document...
<2003-09-25 13:56:05,241> ERROR [Thread-1] : [AsynchronousFeeder$1.run]
com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage not
found
at
com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unknown
Source)
at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown Source)
at com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown
Source)
at
com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown Source)
at
com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(Unknown
Source)
at com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown
Source)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:536)
I checked the test-pipeline.properties. I found that entryStage=initialize
.
I made the following changes in this file:
email-doc.smtpHost=
email-doc.smtpTo=
email-doc.smtpFrom=
I don't know what's this? What's this "test.properties"?
initialize.script=\
document.put("properties_file",
"/home/dglick/test/babeltest/test.properties");\
document.put("document_id", "D0001WHYNOT");\
document.put("merchant_id", "M0001THISTOO");
Do you have a guideline for writing this test-pipeline.properties file? I
see some line are ended with "\" but not the others. What should go in this
file? I am sure I don't know how to start to write one to call my
validation routine.
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
David Glick
<dglick To: "Qin Ding" <qd...@cs...>
@cox.net> cc: Babeldoc Developer List
<bab...@li...>
09/25/03 11:22 Subject: Re: [Babeldoc-user] Questions. Please Help
AM
Hi Qin,
I've attached a zip file that contains a template that you can begin
working
with. Use it as follows:
1. Extract the contents. Be sure to preserve the directory structure.
2. cd into babeltest
3. Set BABELDOC_USER to point to the config directory. On Unix using ksh
or
bash, you can type: export "BABELDOC_USER=`pwd`/config". I'll leave it as
an exercise for the student for any other platform... :-)
4. Set BABELDOC_HOME to point to your babeldoc installation.
At this point, you're ready to go. This template allows you to either post
a
document directly into babeldoc, or else use a scanner to grab it out of a
directory.
To post directly into babeldoc:
babeldoc process -p test-pipeline -f test-file.xml
To use the scanner, first type the following:
babeldoc scanner
Then, in a separate window, copy the file test-file.xml into the monitored
directory:
cp test-file.xml test/inventory
In 10 seconds or less, the file should be picked up and processed.
A couple of points:
1. I run under Unix. If you use something else, the last stage of the
pipeline (console-writer) will probably fail. You may want to change it to
e-mail yourself, write to a real file, or whatever.
2. Please be sure to cc the Babeldoc list, since this discussion may be of
interest to others, and also there are others on the list much more
knowledgable than I who can also help.
Good luck!
David
On Wednesday 24 September 2003 12:09 pm, Qin Ding wrote:
> David: Thank you again.
>
> 1. Yes, PLEASE send me the template to set up the typical directory
> structure
> and configuration files in order to create a pipeline.
>
> 2. I guess I can call TestManager.validate(java.io.File file) method
using
> java.io.File file = new java.io.File(document.get("file_name"));\
> TestManager.validate(file);
>
> But, where should I put these two line of code?
>
> 3. I guess I need to modify the sample code you sent. Where should it
go
> afterwards? What's the file name should it be that contains the following
> lines?
>
> get-attributes.stageType=Scripting
> get-attributes.nextStage=Email
> get-attributes.language=java
> get-attributes.script=\
> java.io.File file = new java.io.File(document.get("file_name"));\
> var report = TestManager.validate(file);
> document.setBytes(report.toString().getBytes());\
> document.setMimeType("text/xml");
> !!!! How do you switch the report and original document here in order
for
> the next stage to send via email the report and then continue processing
> the original document say convert to xml?
>
> 4. What's format of the this file? Any rules? I see some lines end
with
> \ but some not. I also see some are native java data type; some are just
> var. Why use var instead of StringBuffer?
>
> Once again, as you can see, I am new to this tool. But with your help,
I'm
> sure I can learn quickly. Thank you again.
>
> Qin
>
---------------------------------------------------------------------------
>-------------
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit
written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose.
>
---------------------------------------------------------------------------
>-------------
>
>
>
>
>
> David Glick
> <dglick To: "Qin Ding"
> <qd...@cs...> @cox.net> cc: Babeldoc Developer List
> <bab...@li...> 09/24/03 01:23 Subject:
> Re: [Babeldoc-user] Questions. Please Help PM
>
>
>
>
>
>
> Hi Qin,
>
> There aren't any examples in the documentation (yet!) about using the
> scripting stage, but it's actually very easy to do. Here's an example
that
> I
> posted yesterday on the list:
>
> ######
> # List all attributes on this document
> ######
> get-attributes.stageType=Scripting
> get-attributes.nextStage=console-writer
> get-attributes.language=javascript
> get-attributes.script=\
> var keyset = document.getAttributes().keySet();\
> var keyiter = keyset.iterator();\
> var bufr = new java.lang.StringBuffer();\
> bufr.append("<attributes>\\n");\
> while(keyiter.hasNext()) {\
> var key = keyiter.next();\
> var cls = document.get(key);\
> bufr.append(key + "=" + cls + "\\n");\
> }\
> bufr.append("</attributes>\\n");\
> document.setBytes(bufr.toString().getBytes());\
> document.setMimeType("text/xml");
>
> The "get-attributes.script'" attribute defines a script that is embedded
in
>
> the properties file. An alternative would be to use
> "get-attributes.scriptFile" in order to point to an external file
> containing
> the script program.
>
> Beyond the basic Babeldoc configuration no other additional configuration
> is
> required to use script files. However, if you reference external
classes,
> those classes will need to be included in the classpath.
>
> The document is stored in a PipelineDocument object. You can get at the
> contents via the toString() method. In order to use your validation
> routines, you have a couple of options:
>
> 1. Feed the document into the pipeline and convert the document String
> (document.toString()) into a Java stream that can be fed to your
validation
>
> routine via the TestManager.validate(String docName, java.io.InputStream)
> method call. The docName can e retrieved from the document attribute
> "file_name": document.get("file_name");
>
> 2. Use the TestManager.validate(java.io.File file) method call via:
> java.io.File file = new java.io.File(document.get("file_name"));\
> TestManager.validate(file);
>
> I'm not sure if you understand how to set up the typical directory
> structure
> and configuration files in order to create a pipeline. If not, let me
know
>
> and I'll throw together a template for you to use.
>
>
> Hope this helps,
>
> David
>
> On Wednesday 24 September 2003 8:26 am, you wrote:
> > David: Thank you for your advise. I'll then try the scripting stage.
I
> > tried to find some document on this particular stage. I did not see
> > anything. Do you have any? How do I set this up? I assume there must
be
>
> a
>
> > someConfig.properties file to define this stage. Where to put this
file
> > and Would you please walk me through this? After the scanner picks up
>
> the
>
> > file and delivers to the scriptStage, what kind of document it actually
> > delivers? It is a java.io.File or a java.io.InputStream? Anyway, my
> > validation routine has the following signatures:
> >
> > TestManager.validate(java.io.File file);
> > TestManager.validate(String docName, java.io.InputStream);
> >
> > Regarding e-mailing the report, your mentioned the following:
> > a) Call your validation routines via a Scripting stage.
> > b) Place the original document into an attribute
> > c) Replace the current document with the report to be e-mailed.
> > d) Use the SmtpWriter stage to e-mail your report
> > e) Move the original document from the attribute in which it is stored
>
> back
>
> > into the current document
> > f) Continue processing
> >
> > Are all these a to f steps can be achieved by setting up in the
> > config.properties? Or we still have to extend the ScriptingStage to
> > achieve that goal? How should I start and where do I deploy it?
> >
> > Qin
>
>
---------------------------------------------------------------------------
>
> >-------------
> >
> > This is a PRIVATE message. If you are not the intended recipient,
please
> > delete without copying and kindly advise us by e-mail of the mistake in
> > delivery. NOTE: Regardless of content, this e-mail shall not operate to
> > bind CSC to any order or other contract unless pursuant to explicit
>
> written
>
> > agreement or government initiative expressly permitting the use of
e-mail
> > for such purpose.
>
>
---------------------------------------------------------------------------
>
> >-------------
> >
> >
> >
> >
> >
> > David Glick
> > <dglick To: Qin
> > Ding/ASD/CSC@CSC, @cox.net>
> > bab...@li... cc:
> > 09/23/03 02:30 Subject: Re:
>
> [Babeldoc-user]
>
> > Questions. Please Help PM
> >
> >
> >
> >
> >
> >
> > Hi Qin,
> >
> > 1) You should set the environment variable BABELDOC_USER to point at
your
> > project directory.
> >
> > 2) While you can certainly subclass the PipelineStage to perform your
> > validation, an easier approach may be to use the Scripting stage and
just
> > call your validation routines inline. Creating a new stage type
requires
>
> a
>
> > bit more familiarity with the Babeldoc environment.
> >
> > 3) Regarding e-mailing your report, you might do something like the
> > following:
> >
> > a) Call your validation routines via a Scripting stage.
> > b) Place the original document into an attribute
> > c) Replace the current document with the report to be e-mailed.
> > d) Use the SmtpWriter stage to e-mail your report
> > e) Move the original document from the attribute in which it is stored
>
> back
>
> > into the current document
> > f) Continue processing
> >
> > It sounds like you've got a pretty good handle on everything else.
> >
> >
> > Hope this helps,
> >
> > David
> >
> > On Tuesday 23 September 2003 11:57 am, Qin Ding wrote:
> > > I am trying to use this tool. From what I read, this is an excellent
> >
> > tool
> >
> > > for me. I read the user guide and white paper and usage documents and
> > > developer guide twice and I am still not sure of how to put this
>
> project
>
> > > together.
> > >
> > > My babeldoc home (BABELDOC_HOME env variable)
> > > c:\babeldoc
> > > It has lib and bin directory which has all the scripts and jar files
>
> from
>
> > > your build/lib and build/bin. In c:\babeldoc\lib, it also has my own
>
> jar
>
> > > (longlegs-validation.jar) and apache common-validator.jar
> > >
> > > My project home
> > > c:\myproject\longlegs\
> > > In your documents, at one place, it states that I need to set up
>
> USER_DIR
>
> > > env variable pointing to this project directory; and at another place
>
> in
>
> > > the document, it asks to include this directory in the classpath.
Which
> >
> > way
> >
> > > should I go?
> > >
> > > Under the longlegs folder, I have
> > > config folder
> > > config/scanner sub-folder. In here, I have config.properties for the
> > > scanner like this:
> > >
> > > daddy-longlegs.type=directory
> > > daddy-longlegs.period=10000
> > > daddy-longlegs.inDirectory=/daddy/longlegs/in
> > > daddy-longlegs.doneDirectory=/daddy/longlegs/done
> > > daddy-longlegs.pipeline=longlegs
> > >
> > > pipeline folder. In here, I have config.properties like this:
> > >
> > > longlegs.type=simple
> > > longlegs.configFile=pipeline/simple/longlegs
> > >
> > > pipeline/simple folder. In here, I have longlegs.properties, and
> > > flat2xml-convert.xml like this:
> > >
> > > entryStage=validate
> > > validate.stageType=DataValidation
> > > validate.nextStage=convert
> > >
> > > convert.stageType=FlatToXml
> > > convert.nextStage=transform
> > > convert.flatToXmlFile=/longlegs/pipeline/simple/flat2xml-convert.xml
> > >
> > > transform.stageType=XslTransform
> > > transform.nextStage=null
> > >
> > > flat2xml-convert.xml is omitted here. It is the copy of yours.
> > >
> > > journal
> > > journal/simple
> > >
> > > Also
> > > I have created two directories
> > > C:\daddy\longlegs\in
> > > C:\daddy\longlegs\done
> > >
> > > I want to drop a flat file (delimited by comma, or tab, or vertical
>
> bar)
>
> > in
> >
> > > c:\daddy\longlegs\in folder. The scanner should pass the file to my
> > > pipeline stage "DataValidation". I need to write this pipeline
stage.
> >
> > As
> >
> > > I understand, all I need to do is to subclass the PipelineStage. In
>
> that
>
> > > class, I should implement process method to call my validation
logics,
> > > which I have jar-ed and deployed in c:\babeldoc\lib directory along
>
> with
>
> > > apache common-validator.
> > >
> > > Now, where should I deploy my pipelineStage DataValidation class? In
my
> > > longlegs/pipeline directory or some new directory I should add to the
> > > longlegs/pipeline directory?
> > >
> > > A validation report (html) is dynamically generated during the
>
> validation
>
> > > stage. This report, Not original flat file, needs to be mailed out.
How
> >
> > do
> >
> > > I add the report from my DataValidate stage to the mail
pipelineStage?
> > > Also, I believe I can use the FileWriter pipelineStage to write the
>
> html
>
> > > report out. So, the key is to introduce the report to the mail and
> > > filewriter stage, not the original flat file. How do I do that?
> > >
> > > If I can successfully put all these together quickly, I'd like to
>
> present
>
> > > this tool to my manager for considering to use in our next project.
>
> Your
>
> > > help is greatly appreciated. Thanks.
> > >
> > > Qin
>
>
---------------------------------------------------------------------------
>
> > >-------------
> > >
> > > This is a PRIVATE message. If you are not the intended recipient,
>
> please
>
> > > delete without copying and kindly advise us by e-mail of the mistake
in
> > > delivery. NOTE: Regardless of content, this e-mail shall not operate
to
> > > bind CSC to any order or other contract unless pursuant to explicit
> >
> > written
> >
> > > agreement or government initiative expressly permitting the use of
>
> e-mail
>
> > > for such purpose.
>
>
---------------------------------------------------------------------------
>
> > >-------------
> > >
> > >
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This sf.net email is sponsored by:ThinkGeek
> > > Welcome to geek heaven.
> > > http://thinkgeek.com/sf
> > > _______________________________________________
> > > Babeldoc-user mailing list
> > > Bab...@li...
> > > https://lists.sourceforge.net/lists/listinfo/babeldoc-user
--
David Glick
Transmit Consulting, Inc
619-475-4052
dg...@tr...
<< Attachment Removed : babeltest.zip >>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Babeldoc-devel mailing list
Bab...@li...
https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
|
|
From: McDonald, B. <Bru...@ba...> - 2003-09-26 17:28:02
|
Qin,
Please show me the following:
1. How do you invoke babeldoc (the command line)
2. Please show me the contents of the config/pipeline/config.properties file
regards,
Bruce.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Friday, September 26, 2003 1:10 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruce:
This is the test-pipeline.properties:
entryStage=initialize
initialize.stageType=Scripting
initialize.nextStage=null
initialize.failOnError=true
initialize.language=javascript
initialize.script=\
java.io.File file = new java.io.File(document.get("file_name"));\
TestManager.validate(file);
Here is the error:
<2003-09-26 11:05:11,960> INFO [Thread-1] : Processing document...
<2003-09-26 11:05:11,960> ERROR [Thread-1] : [AsynchronousFeeder$1.run]
com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage not
foun
d
at
com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk
nown Source)
at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
Source)
at
com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou
rce)
at
com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S
ource)
at
com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(
Unknown Source)
at
com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So
urce)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
urce)
at java.lang.Thread.run(Thread.java:536)
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
"McDonald,
Bruce" To: Qin Ding <qd...@cs...>, David Glick
<Bruce.McDonald <dg...@co...>
@bankofamerica.c cc: Babeldoc Developer List
om> <bab...@li...>
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user]
09/26/03 11:39 Questions. Please Help
AM
Huh?!??!
I dont understand the issue here.
Somewhere in your pipeline definition file, place the line:
entryStage=<<some pipeline stage name>>
Where the entryStage is pointing to the first pipeline stage in your
pipeline.
regards,
Bruce.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Friday, September 26, 2003 12:14 PM
To: David Glick
Cc: Babeldoc Developer List
Subject: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
David:
I don't have the Unix-to-Windows converter program; but I retyped the file
into wordpad and saved as text document. However, it is no possitive
effect. It still gives the same error, that is, entryStage not found. I
then copied the first line from src
example/scripting/pipeline/scannerxml.properties. Again, no use. The same
error occured no matter what I did. Seems like the application could not
recognize the "entryStage". By the way, I am using version bin-1.1.9-dev.
Any idea?
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Babeldoc-devel mailing list
Bab...@li...
https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
|
|
From: McDonald, B. <Bru...@ba...> - 2003-09-26 17:29:03
|
Huh?!??! I dont understand the issue here. Somewhere in your pipeline definition file, place the line: entryStage=<<some pipeline stage name>> Where the entryStage is pointing to the first pipeline stage in your pipeline. regards, Bruce. -----Original Message----- From: Qin Ding [mailto:qd...@cs...] Sent: Friday, September 26, 2003 12:14 PM To: David Glick Cc: Babeldoc Developer List Subject: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help David: I don't have the Unix-to-Windows converter program; but I retyped the file into wordpad and saved as text document. However, it is no possitive effect. It still gives the same error, that is, entryStage not found. I then copied the first line from src example/scripting/pipeline/scannerxml.properties. Again, no use. The same error occured no matter what I did. Seems like the application could not recognize the "entryStage". By the way, I am using version bin-1.1.9-dev. Any idea? Qin ---------------------------------------------------------------------------------------- This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. ---------------------------------------------------------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Babeldoc-devel mailing list Bab...@li... https://lists.sourceforge.net/lists/listinfo/babeldoc-devel |
|
From: Qin D. <qd...@cs...> - 2003-09-26 19:11:45
|
Bruce:
I tried your test-pineline.properties. Still it won't run.
I checked my BABELDOC_HOME which points to c:\babeldoc-bin-1.1.9-dev
My BABELDOC_USER points to c:\babeltest\config
Directory layout:
C:\babeltest
\config
\pipeline\config.properties
\scanner\config.properties
\test\test-pipeline.properties
\inventory\processed
Thank you for your help.
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
"McDonald,
Bruce" To: Qin Ding/ASD/CSC@CSC
<Bruce.McDonald cc: Babeldoc Developer List
@bankofamerica.c <bab...@li...>, David Glick
om> <dg...@co...>
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user]
09/26/03 01:05 Questions. Please Help
PM
Preliminary report back:
I have recreated your envirnoment.
Assumptions:
++++++++++++
Current directory: c:\work\qin
BABELDOC_USER=c:\work\qin\config
Problems:
+++++++++
The javascript for the initialize stage looks broken (It looks more like
Java).
Here is my pipeline which works (for me):
entryStage=initialize
initialize.stageType=Scripting
initialize.nextStage=null
initialize.failOnError=true
initialize.language=javascript
initialize.script=\
java.lang.System.out.println(document.get("file_name"));\
Running this pipeline:
++++++++++++++++++++++
0. Ensure that the babeldoc command is in your path and that BABELDOC_HOME
is set correctly.
1. Create a dummy file called: dummy.txt
2. Here is what my run tells me:
C:\work\qin>babeldoc process -p test-pipeline -f dummy.txt
Adding: C:\Program Files\NCR\TeraJDBC\classes\teradata.jar
Adding: C:\Program Files\NCR\TeraJDBC\classes\gui.jar
Adding: C:\Program Files\Altova\xmlspy\XMLSpyInterface.jar
<2003-09-26 14:01:24,934> INFO [main] : PipelineStage name: initialize
dummy.txt
C:\work\qin>
It works fine.
Now - I will set up a scanner to test that... I will report back within
the hour.
regards,
Bruce.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Friday, September 26, 2003 1:50 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruce: Thank you for your help.
I use scanner.
Here is the config/pipeline/config.properties file:
test-pipeline.type=simple
test-pipeline.configFile=test/test-pipeline
Here is the config/scanner/config.properties file:
dirscan.type=directory
dirscan.period=10000
dirscan.inDirectory=c:/babeltest/test/inventory
dirscan.doneDirectory=c:/babeltest/test/inventory/processed
dirscan.pipeline=test-pipeline
Here is the test/test-pipeline.properties file:
entryStage=initialize
initialize.stageType=Scripting
initialize.nextStage=null
initialize.failOnError=true
initialize.language=javascript
initialize.script=\
java.io.File file = new java.io.File(document.get("file_name"));\
TestManager.validate(file);
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
"McDonald,
Bruce" To: Qin
Ding/ASD/CSC@CSC
<Bruce.McDonald cc: Babeldoc Developer
List
@bankofamerica.c
<bab...@li...>, David Glick
om> <dg...@co...>
Subject: RE:
[Babeldoc-devel] Re: [Babeldoc-user]
09/26/03 12:26 Questions. Please Help
PM
Qin,
Please show me the following:
1. How do you invoke babeldoc (the command line)
2. Please show me the contents of the config/pipeline/config.properties
file
regards,
Bruce.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Friday, September 26, 2003 1:10 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruce:
This is the test-pipeline.properties:
entryStage=initialize
initialize.stageType=Scripting
initialize.nextStage=null
initialize.failOnError=true
initialize.language=javascript
initialize.script=\
java.io.File file = new java.io.File(document.get("file_name"));\
TestManager.validate(file);
Here is the error:
<2003-09-26 11:05:11,960> INFO [Thread-1] : Processing document...
<2003-09-26 11:05:11,960> ERROR [Thread-1] : [AsynchronousFeeder$1.run]
com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage not
foun
d
at
com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk
nown Source)
at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
Source)
at
com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou
rce)
at
com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S
ource)
at
com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(
Unknown Source)
at
com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So
urce)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
urce)
at java.lang.Thread.run(Thread.java:536)
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
"McDonald,
Bruce" To: Qin Ding
<qd...@cs...>, David Glick
<Bruce.McDonald <dg...@co...>
@bankofamerica.c cc: Babeldoc Developer
List
om>
<bab...@li...>
Subject: RE:
[Babeldoc-devel] Re: [Babeldoc-user]
09/26/03 11:39 Questions. Please Help
AM
Huh?!??!
I dont understand the issue here.
Somewhere in your pipeline definition file, place the line:
entryStage=<<some pipeline stage name>>
Where the entryStage is pointing to the first pipeline stage in your
pipeline.
regards,
Bruce.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Friday, September 26, 2003 12:14 PM
To: David Glick
Cc: Babeldoc Developer List
Subject: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
David:
I don't have the Unix-to-Windows converter program; but I retyped the file
into wordpad and saved as text document. However, it is no possitive
effect. It still gives the same error, that is, entryStage not found. I
then copied the first line from src
example/scripting/pipeline/scannerxml.properties. Again, no use. The same
error occured no matter what I did. Seems like the application could not
recognize the "entryStage". By the way, I am using version bin-1.1.9-dev.
Any idea?
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Babeldoc-devel mailing list
Bab...@li...
https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
|
|
From: Qin D. <qd...@cs...> - 2003-09-26 19:27:59
|
Bruce:
I unzipped your qin-test.zip. And then I changed the BABELDOC_USER to
point to C:\qin\config. Not change anything else. Re-start babeldoc in
command line: babeldoc scanner which started successfully:
C:\babeldoc-bin-1.1.9-dev\bin>babeldoc scanner
<2003-09-26 14:16:29,374> INFO [main] : Initializing workers:
<2003-09-26 14:16:29,444> INFO [main] : dirscan (directory) configured...
<2003-09-26 14:16:29,444> INFO [main] : Starting workers...
<2003-09-26 14:16:29,444> INFO [main] : dirscan started...
Then I drop the dummy.txt file into the inventory folder. Alas, I still got
the entryStage not found error!!!!
<2003-09-26 14:16:58,937> INFO [Thread-1] : Processing document...
<2003-09-26 14:16:59,107> ERROR [Thread-1] : [AsynchronousFeeder$1.run]
com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage not
foun
d
at
com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk
nown Source)
at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
Source)
at
com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou
rce)
at
com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S
ource)
at
com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(
Unknown Source)
at
com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So
urce)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
urce)
at java.lang.Thread.run(Thread.java:536)
Is there anything that you did but I omitted?
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
"McDonald,
Bruce" To: Qin Ding <qd...@cs...>
<Bruce.McDonald cc: Babeldoc Developer List
@bankofamerica.c <bab...@li...>, David Glick
om> <dg...@co...>
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user]
09/26/03 01:28 Questions. Please Help
PM
Scanner works fine.
I have included a zip of my recreation of your environment.
Please investigate and report back to the list.
Bruce.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Friday, September 26, 2003 1:50 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruce: Thank you for your help.
I use scanner.
Here is the config/pipeline/config.properties file:
test-pipeline.type=simple
test-pipeline.configFile=test/test-pipeline
Here is the config/scanner/config.properties file:
dirscan.type=directory
dirscan.period=10000
dirscan.inDirectory=c:/babeltest/test/inventory
dirscan.doneDirectory=c:/babeltest/test/inventory/processed
dirscan.pipeline=test-pipeline
Here is the test/test-pipeline.properties file:
entryStage=initialize
initialize.stageType=Scripting
initialize.nextStage=null
initialize.failOnError=true
initialize.language=javascript
initialize.script=\
java.io.File file = new java.io.File(document.get("file_name"));\
TestManager.validate(file);
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
"McDonald,
Bruce" To: Qin
Ding/ASD/CSC@CSC
<Bruce.McDonald cc: Babeldoc Developer
List
@bankofamerica.c
<bab...@li...>, David Glick
om> <dg...@co...>
Subject: RE:
[Babeldoc-devel] Re: [Babeldoc-user]
09/26/03 12:26 Questions. Please Help
PM
Qin,
Please show me the following:
1. How do you invoke babeldoc (the command line)
2. Please show me the contents of the config/pipeline/config.properties
file
regards,
Bruce.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Friday, September 26, 2003 1:10 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruce:
This is the test-pipeline.properties:
entryStage=initialize
initialize.stageType=Scripting
initialize.nextStage=null
initialize.failOnError=true
initialize.language=javascript
initialize.script=\
java.io.File file = new java.io.File(document.get("file_name"));\
TestManager.validate(file);
Here is the error:
<2003-09-26 11:05:11,960> INFO [Thread-1] : Processing document...
<2003-09-26 11:05:11,960> ERROR [Thread-1] : [AsynchronousFeeder$1.run]
com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage not
foun
d
at
com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk
nown Source)
at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
Source)
at
com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou
rce)
at
com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S
ource)
at
com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(
Unknown Source)
at
com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So
urce)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
urce)
at java.lang.Thread.run(Thread.java:536)
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
"McDonald,
Bruce" To: Qin Ding
<qd...@cs...>, David Glick
<Bruce.McDonald <dg...@co...>
@bankofamerica.c cc: Babeldoc Developer
List
om>
<bab...@li...>
Subject: RE:
[Babeldoc-devel] Re: [Babeldoc-user]
09/26/03 11:39 Questions. Please Help
AM
Huh?!??!
I dont understand the issue here.
Somewhere in your pipeline definition file, place the line:
entryStage=<<some pipeline stage name>>
Where the entryStage is pointing to the first pipeline stage in your
pipeline.
regards,
Bruce.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Friday, September 26, 2003 12:14 PM
To: David Glick
Cc: Babeldoc Developer List
Subject: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
David:
I don't have the Unix-to-Windows converter program; but I retyped the file
into wordpad and saved as text document. However, it is no possitive
effect. It still gives the same error, that is, entryStage not found. I
then copied the first line from src
example/scripting/pipeline/scannerxml.properties. Again, no use. The same
error occured no matter what I did. Seems like the application could not
recognize the "entryStage". By the way, I am using version bin-1.1.9-dev.
Any idea?
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Babeldoc-devel mailing list
Bab...@li...
https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
<< Attachment Removed : qin-test.zip >>
|
|
From: Qin D. <qd...@cs...> - 2003-09-26 19:31:16
|
Bruce:
I unzipped your qin-test.zip. And then I changed the BABELDOC_USER to
point to C:\qin\config. Not change anything else. Re-start babeldoc in
command line: babeldoc scanner which started successfully:
C:\babeldoc-bin-1.1.9-dev\bin>babeldoc scanner
<2003-09-26 14:16:29,374> INFO [main] : Initializing workers:
<2003-09-26 14:16:29,444> INFO [main] : dirscan (directory) configured...
<2003-09-26 14:16:29,444> INFO [main] : Starting workers...
<2003-09-26 14:16:29,444> INFO [main] : dirscan started...
Then I drop the dummy.txt file into the inventory folder. Alas, I still got
the entryStage not found error!!!!
Is there anything that you did but I omitted?
<2003-09-26 14:16:58,937> INFO [Thread-1] : Processing document...
<2003-09-26 14:16:59,107> ERROR [Thread-1] : [AsynchronousFeeder$1.run]
com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage not
foun
d
at
com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk
nown Source)
at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
Source)
at
com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou
rce)
at
com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S
ource)
at
com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(
Unknown Source)
at
com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So
urce)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
urce)
at java.lang.Thread.run(Thread.java:536)
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
"McDonald,
Bruce" To: Qin Ding <qd...@cs...>
<Bruce.McDonald cc: Babeldoc Developer List
@bankofamerica.c <bab...@li...>, David Glick
om> <dg...@co...>
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user]
09/26/03 01:28 Questions. Please Help
PM
Scanner works fine.
I have included a zip of my recreation of your environment.
Please investigate and report back to the list.
Bruce.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Friday, September 26, 2003 1:50 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruce: Thank you for your help.
I use scanner.
Here is the config/pipeline/config.properties file:
test-pipeline.type=simple
test-pipeline.configFile=test/test-pipeline
Here is the config/scanner/config.properties file:
dirscan.type=directory
dirscan.period=10000
dirscan.inDirectory=c:/babeltest/test/inventory
dirscan.doneDirectory=c:/babeltest/test/inventory/processed
dirscan.pipeline=test-pipeline
Here is the test/test-pipeline.properties file:
entryStage=initialize
initialize.stageType=Scripting
initialize.nextStage=null
initialize.failOnError=true
initialize.language=javascript
initialize.script=\
java.io.File file = new java.io.File(document.get("file_name"));\
TestManager.validate(file);
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
"McDonald,
Bruce" To: Qin
Ding/ASD/CSC@CSC
<Bruce.McDonald cc: Babeldoc Developer
List
@bankofamerica.c
<bab...@li...>, David Glick
om> <dg...@co...>
Subject: RE:
[Babeldoc-devel] Re: [Babeldoc-user]
09/26/03 12:26 Questions. Please Help
PM
Qin,
Please show me the following:
1. How do you invoke babeldoc (the command line)
2. Please show me the contents of the config/pipeline/config.properties
file
regards,
Bruce.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Friday, September 26, 2003 1:10 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruce:
This is the test-pipeline.properties:
entryStage=initialize
initialize.stageType=Scripting
initialize.nextStage=null
initialize.failOnError=true
initialize.language=javascript
initialize.script=\
java.io.File file = new java.io.File(document.get("file_name"));\
TestManager.validate(file);
Here is the error:
<2003-09-26 11:05:11,960> INFO [Thread-1] : Processing document...
<2003-09-26 11:05:11,960> ERROR [Thread-1] : [AsynchronousFeeder$1.run]
com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage not
foun
d
at
com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk
nown Source)
at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
Source)
at
com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou
rce)
at
com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S
ource)
at
com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(
Unknown Source)
at
com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So
urce)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
urce)
at java.lang.Thread.run(Thread.java:536)
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
"McDonald,
Bruce" To: Qin Ding
<qd...@cs...>, David Glick
<Bruce.McDonald <dg...@co...>
@bankofamerica.c cc: Babeldoc Developer
List
om>
<bab...@li...>
Subject: RE:
[Babeldoc-devel] Re: [Babeldoc-user]
09/26/03 11:39 Questions. Please Help
AM
Huh?!??!
I dont understand the issue here.
Somewhere in your pipeline definition file, place the line:
entryStage=<<some pipeline stage name>>
Where the entryStage is pointing to the first pipeline stage in your
pipeline.
regards,
Bruce.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Friday, September 26, 2003 12:14 PM
To: David Glick
Cc: Babeldoc Developer List
Subject: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
David:
I don't have the Unix-to-Windows converter program; but I retyped the file
into wordpad and saved as text document. However, it is no possitive
effect. It still gives the same error, that is, entryStage not found. I
then copied the first line from src
example/scripting/pipeline/scannerxml.properties. Again, no use. The same
error occured no matter what I did. Seems like the application could not
recognize the "entryStage". By the way, I am using version bin-1.1.9-dev.
Any idea?
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Babeldoc-devel mailing list
Bab...@li...
https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
<< Attachment Removed : qin-test.zip >>
|
|
From: David G. <dg...@co...> - 2003-09-26 22:15:30
|
Hi Qin,
Please try testing submitting the file directly from the command line as
follows:
babeldoc process -p test-pipeline -f dummy.txt
and see what error you get.
David
On Friday 26 September 2003 12:28 pm, Qin Ding wrote:
> Bruce:
>
> I unzipped your qin-test.zip. And then I changed the BABELDOC_USER to
> point to C:\qin\config. Not change anything else. Re-start babeldoc in
> command line: babeldoc scanner which started successfully:
>
> C:\babeldoc-bin-1.1.9-dev\bin>babeldoc scanner
> <2003-09-26 14:16:29,374> INFO [main] : Initializing workers:
> <2003-09-26 14:16:29,444> INFO [main] : dirscan (directory) configured...
> <2003-09-26 14:16:29,444> INFO [main] : Starting workers...
> <2003-09-26 14:16:29,444> INFO [main] : dirscan started...
>
> Then I drop the dummy.txt file into the inventory folder. Alas, I still got
> the entryStage not found error!!!!
> Is there anything that you did but I omitted?
>
>
> <2003-09-26 14:16:58,937> INFO [Thread-1] : Processing document...
> <2003-09-26 14:16:59,107> ERROR [Thread-1] : [AsynchronousFeeder$1.run]
> com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage not
> foun
> d
> at
> com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk
> nown Source)
> at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
> Source)
> at
> com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou
> rce)
> at
> com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S
> ource)
> at
> com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(
> Unknown Source)
> at
> com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So
> urce)
> at
> EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
> urce)
> at java.lang.Thread.run(Thread.java:536)
>
>
>
> ---------------------------------------------------------------------------
>-------------
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose.
> ---------------------------------------------------------------------------
>-------------
>
>
>
>
>
> "McDonald,
> Bruce" To: Qin Ding
> <qd...@cs...> <Bruce.McDonald cc: Babeldoc Developer List
> @bankofamerica.c <bab...@li...>, David
> Glick om> <dg...@co...>
> Subject: RE:
> [Babeldoc-devel] Re: [Babeldoc-user] 09/26/03 01:28 Questions.
> Please Help PM
>
>
>
>
>
>
> Scanner works fine.
>
> I have included a zip of my recreation of your environment.
>
> Please investigate and report back to the list.
>
> Bruce.
>
>
> -----Original Message-----
> From: Qin Ding [mailto:qd...@cs...]
> Sent: Friday, September 26, 2003 1:50 PM
> To: McDonald, Bruce
> Cc: Babeldoc Developer List; David Glick
> Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
>
>
>
> Bruce: Thank you for your help.
>
> I use scanner.
> Here is the config/pipeline/config.properties file:
>
> test-pipeline.type=simple
> test-pipeline.configFile=test/test-pipeline
>
> Here is the config/scanner/config.properties file:
>
> dirscan.type=directory
> dirscan.period=10000
> dirscan.inDirectory=c:/babeltest/test/inventory
> dirscan.doneDirectory=c:/babeltest/test/inventory/processed
> dirscan.pipeline=test-pipeline
>
> Here is the test/test-pipeline.properties file:
>
> entryStage=initialize
>
> initialize.stageType=Scripting
> initialize.nextStage=null
> initialize.failOnError=true
> initialize.language=javascript
> initialize.script=\
> java.io.File file = new java.io.File(document.get("file_name"));\
> TestManager.validate(file);
>
> Qin
> ---------------------------------------------------------------------------
>-------------
>
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose.
> ---------------------------------------------------------------------------
>-------------
>
>
>
>
>
>
> "McDonald,
> Bruce" To: Qin
> Ding/ASD/CSC@CSC
> <Bruce.McDonald cc: Babeldoc Developer
> List
> @bankofamerica.c
> <bab...@li...>, David Glick
> om> <dg...@co...>
> Subject: RE:
> [Babeldoc-devel] Re: [Babeldoc-user]
> 09/26/03 12:26 Questions. Please Help
> PM
>
>
>
>
>
>
> Qin,
>
> Please show me the following:
>
> 1. How do you invoke babeldoc (the command line)
> 2. Please show me the contents of the config/pipeline/config.properties
> file
>
> regards,
> Bruce.
>
> -----Original Message-----
> From: Qin Ding [mailto:qd...@cs...]
> Sent: Friday, September 26, 2003 1:10 PM
> To: McDonald, Bruce
> Cc: Babeldoc Developer List; David Glick
> Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
>
>
>
> Bruce:
>
> This is the test-pipeline.properties:
>
> entryStage=initialize
>
> initialize.stageType=Scripting
> initialize.nextStage=null
> initialize.failOnError=true
> initialize.language=javascript
> initialize.script=\
> java.io.File file = new java.io.File(document.get("file_name"));\
> TestManager.validate(file);
>
>
> Here is the error:
>
> <2003-09-26 11:05:11,960> INFO [Thread-1] : Processing document...
> <2003-09-26 11:05:11,960> ERROR [Thread-1] : [AsynchronousFeeder$1.run]
> com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage not
> foun
> d
> at
> com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk
> nown Source)
> at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
> Source)
> at
> com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou
> rce)
> at
> com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S
> ource)
> at
> com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(
> Unknown Source)
> at
> com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So
> urce)
> at
> EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
> urce)
> at java.lang.Thread.run(Thread.java:536)
>
>
> Qin
> ---------------------------------------------------------------------------
>-------------
>
>
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose.
> ---------------------------------------------------------------------------
>-------------
>
>
>
>
>
>
>
> "McDonald,
>
> Bruce" To: Qin Ding
> <qd...@cs...>, David Glick
> <Bruce.McDonald <dg...@co...>
>
> @bankofamerica.c cc: Babeldoc Developer
> List
> om>
> <bab...@li...>
> Subject: RE:
> [Babeldoc-devel] Re: [Babeldoc-user]
> 09/26/03 11:39 Questions. Please Help
>
> AM
>
>
>
>
>
>
>
> Huh?!??!
>
> I dont understand the issue here.
>
> Somewhere in your pipeline definition file, place the line:
>
> entryStage=<<some pipeline stage name>>
>
> Where the entryStage is pointing to the first pipeline stage in your
> pipeline.
>
> regards,
> Bruce.
>
>
> -----Original Message-----
> From: Qin Ding [mailto:qd...@cs...]
> Sent: Friday, September 26, 2003 12:14 PM
> To: David Glick
> Cc: Babeldoc Developer List
> Subject: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
>
>
>
> David:
>
> I don't have the Unix-to-Windows converter program; but I retyped the file
> into wordpad and saved as text document. However, it is no possitive
> effect. It still gives the same error, that is, entryStage not found. I
> then copied the first line from src
> example/scripting/pipeline/scannerxml.properties. Again, no use. The same
> error occured no matter what I did. Seems like the application could not
> recognize the "entryStage". By the way, I am using version bin-1.1.9-dev.
>
> Any idea?
>
> Qin
>
>
> ---------------------------------------------------------------------------
>-------------
>
>
>
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose.
> ---------------------------------------------------------------------------
>-------------
>
>
>
>
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Babeldoc-devel mailing list
> Bab...@li...
> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
>
>
>
>
>
>
>
>
>
>
>
>
> << Attachment Removed : qin-test.zip >>
--
David Glick
Transmit Consulting, Inc
619-475-4052
dg...@tr...
|
|
From: Bruce M. <br...@mc...> - 2003-09-27 01:04:48
|
Email me the ZIP of your directory.
On Friday 26 September 2003 03:28 pm, Qin Ding wrote:
> Bruce:
>
> I unzipped your qin-test.zip. And then I changed the BABELDOC_USER to
> point to C:\qin\config. Not change anything else. Re-start babeldoc in
> command line: babeldoc scanner which started successfully:
>
> C:\babeldoc-bin-1.1.9-dev\bin>babeldoc scanner
> <2003-09-26 14:16:29,374> INFO [main] : Initializing workers:
> <2003-09-26 14:16:29,444> INFO [main] : dirscan (directory) configured...
> <2003-09-26 14:16:29,444> INFO [main] : Starting workers...
> <2003-09-26 14:16:29,444> INFO [main] : dirscan started...
>
> Then I drop the dummy.txt file into the inventory folder. Alas, I still got
> the entryStage not found error!!!!
> Is there anything that you did but I omitted?
>
>
> <2003-09-26 14:16:58,937> INFO [Thread-1] : Processing document...
> <2003-09-26 14:16:59,107> ERROR [Thread-1] : [AsynchronousFeeder$1.run]
> com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage not
> foun
> d
> at
> com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk
> nown Source)
> at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
> Source)
> at
> com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou
> rce)
> at
> com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S
> ource)
> at
> com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(
> Unknown Source)
> at
> com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So
> urce)
> at
> EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
> urce)
> at java.lang.Thread.run(Thread.java:536)
>
>
>
> ---------------------------------------------------------------------------
>-------------
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose.
> ---------------------------------------------------------------------------
>-------------
>
>
>
>
>
> "McDonald,
> Bruce" To: Qin Ding
> <qd...@cs...> <Bruce.McDonald cc: Babeldoc Developer List
> @bankofamerica.c <bab...@li...>, David
> Glick om> <dg...@co...>
> Subject: RE:
> [Babeldoc-devel] Re: [Babeldoc-user] 09/26/03 01:28 Questions.
> Please Help PM
>
>
>
>
>
>
> Scanner works fine.
>
> I have included a zip of my recreation of your environment.
>
> Please investigate and report back to the list.
>
> Bruce.
>
>
> -----Original Message-----
> From: Qin Ding [mailto:qd...@cs...]
> Sent: Friday, September 26, 2003 1:50 PM
> To: McDonald, Bruce
> Cc: Babeldoc Developer List; David Glick
> Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
>
>
>
> Bruce: Thank you for your help.
>
> I use scanner.
> Here is the config/pipeline/config.properties file:
>
> test-pipeline.type=simple
> test-pipeline.configFile=test/test-pipeline
>
> Here is the config/scanner/config.properties file:
>
> dirscan.type=directory
> dirscan.period=10000
> dirscan.inDirectory=c:/babeltest/test/inventory
> dirscan.doneDirectory=c:/babeltest/test/inventory/processed
> dirscan.pipeline=test-pipeline
>
> Here is the test/test-pipeline.properties file:
>
> entryStage=initialize
>
> initialize.stageType=Scripting
> initialize.nextStage=null
> initialize.failOnError=true
> initialize.language=javascript
> initialize.script=\
> java.io.File file = new java.io.File(document.get("file_name"));\
> TestManager.validate(file);
>
> Qin
> ---------------------------------------------------------------------------
>-------------
>
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose.
> ---------------------------------------------------------------------------
>-------------
>
>
>
>
>
>
> "McDonald,
> Bruce" To: Qin
> Ding/ASD/CSC@CSC
> <Bruce.McDonald cc: Babeldoc Developer
> List
> @bankofamerica.c
> <bab...@li...>, David Glick
> om> <dg...@co...>
> Subject: RE:
> [Babeldoc-devel] Re: [Babeldoc-user]
> 09/26/03 12:26 Questions. Please Help
> PM
>
>
>
>
>
>
> Qin,
>
> Please show me the following:
>
> 1. How do you invoke babeldoc (the command line)
> 2. Please show me the contents of the config/pipeline/config.properties
> file
>
> regards,
> Bruce.
>
> -----Original Message-----
> From: Qin Ding [mailto:qd...@cs...]
> Sent: Friday, September 26, 2003 1:10 PM
> To: McDonald, Bruce
> Cc: Babeldoc Developer List; David Glick
> Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
>
>
>
> Bruce:
>
> This is the test-pipeline.properties:
>
> entryStage=initialize
>
> initialize.stageType=Scripting
> initialize.nextStage=null
> initialize.failOnError=true
> initialize.language=javascript
> initialize.script=\
> java.io.File file = new java.io.File(document.get("file_name"));\
> TestManager.validate(file);
>
>
> Here is the error:
>
> <2003-09-26 11:05:11,960> INFO [Thread-1] : Processing document...
> <2003-09-26 11:05:11,960> ERROR [Thread-1] : [AsynchronousFeeder$1.run]
> com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage not
> foun
> d
> at
> com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk
> nown Source)
> at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
> Source)
> at
> com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou
> rce)
> at
> com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S
> ource)
> at
> com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(
> Unknown Source)
> at
> com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So
> urce)
> at
> EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
> urce)
> at java.lang.Thread.run(Thread.java:536)
>
>
> Qin
> ---------------------------------------------------------------------------
>-------------
>
>
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose.
> ---------------------------------------------------------------------------
>-------------
>
>
>
>
>
>
>
> "McDonald,
>
> Bruce" To: Qin Ding
> <qd...@cs...>, David Glick
> <Bruce.McDonald <dg...@co...>
>
> @bankofamerica.c cc: Babeldoc Developer
> List
> om>
> <bab...@li...>
> Subject: RE:
> [Babeldoc-devel] Re: [Babeldoc-user]
> 09/26/03 11:39 Questions. Please Help
>
> AM
>
>
>
>
>
>
>
> Huh?!??!
>
> I dont understand the issue here.
>
> Somewhere in your pipeline definition file, place the line:
>
> entryStage=<<some pipeline stage name>>
>
> Where the entryStage is pointing to the first pipeline stage in your
> pipeline.
>
> regards,
> Bruce.
>
>
> -----Original Message-----
> From: Qin Ding [mailto:qd...@cs...]
> Sent: Friday, September 26, 2003 12:14 PM
> To: David Glick
> Cc: Babeldoc Developer List
> Subject: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
>
>
>
> David:
>
> I don't have the Unix-to-Windows converter program; but I retyped the file
> into wordpad and saved as text document. However, it is no possitive
> effect. It still gives the same error, that is, entryStage not found. I
> then copied the first line from src
> example/scripting/pipeline/scannerxml.properties. Again, no use. The same
> error occured no matter what I did. Seems like the application could not
> recognize the "entryStage". By the way, I am using version bin-1.1.9-dev.
>
> Any idea?
>
> Qin
>
>
> ---------------------------------------------------------------------------
>-------------
>
>
>
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose.
> ---------------------------------------------------------------------------
>-------------
>
>
>
>
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Babeldoc-devel mailing list
> Bab...@li...
> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
>
>
>
>
>
>
>
>
>
>
>
>
> << Attachment Removed : qin-test.zip >>
>
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Babeldoc-devel mailing list
> Bab...@li...
> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
|
|
From: McDonald, B. <Bru...@ba...> - 2003-09-26 20:31:45
Attachments:
qin-test.zip
|
Scanner works fine.
I have included a zip of my recreation of your environment.
Please investigate and report back to the list.
Bruce.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Friday, September 26, 2003 1:50 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruce: Thank you for your help.
I use scanner.
Here is the config/pipeline/config.properties file:
test-pipeline.type=simple
test-pipeline.configFile=test/test-pipeline
Here is the config/scanner/config.properties file:
dirscan.type=directory
dirscan.period=10000
dirscan.inDirectory=c:/babeltest/test/inventory
dirscan.doneDirectory=c:/babeltest/test/inventory/processed
dirscan.pipeline=test-pipeline
Here is the test/test-pipeline.properties file:
entryStage=initialize
initialize.stageType=Scripting
initialize.nextStage=null
initialize.failOnError=true
initialize.language=javascript
initialize.script=\
java.io.File file = new java.io.File(document.get("file_name"));\
TestManager.validate(file);
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
"McDonald,
Bruce" To: Qin Ding/ASD/CSC@CSC
<Bruce.McDonald cc: Babeldoc Developer List
@bankofamerica.c <bab...@li...>, David Glick
om> <dg...@co...>
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user]
09/26/03 12:26 Questions. Please Help
PM
Qin,
Please show me the following:
1. How do you invoke babeldoc (the command line)
2. Please show me the contents of the config/pipeline/config.properties
file
regards,
Bruce.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Friday, September 26, 2003 1:10 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruce:
This is the test-pipeline.properties:
entryStage=initialize
initialize.stageType=Scripting
initialize.nextStage=null
initialize.failOnError=true
initialize.language=javascript
initialize.script=\
java.io.File file = new java.io.File(document.get("file_name"));\
TestManager.validate(file);
Here is the error:
<2003-09-26 11:05:11,960> INFO [Thread-1] : Processing document...
<2003-09-26 11:05:11,960> ERROR [Thread-1] : [AsynchronousFeeder$1.run]
com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage not
foun
d
at
com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk
nown Source)
at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
Source)
at
com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou
rce)
at
com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S
ource)
at
com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(
Unknown Source)
at
com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So
urce)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
urce)
at java.lang.Thread.run(Thread.java:536)
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
"McDonald,
Bruce" To: Qin Ding
<qd...@cs...>, David Glick
<Bruce.McDonald <dg...@co...>
@bankofamerica.c cc: Babeldoc Developer
List
om>
<bab...@li...>
Subject: RE:
[Babeldoc-devel] Re: [Babeldoc-user]
09/26/03 11:39 Questions. Please Help
AM
Huh?!??!
I dont understand the issue here.
Somewhere in your pipeline definition file, place the line:
entryStage=<<some pipeline stage name>>
Where the entryStage is pointing to the first pipeline stage in your
pipeline.
regards,
Bruce.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Friday, September 26, 2003 12:14 PM
To: David Glick
Cc: Babeldoc Developer List
Subject: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
David:
I don't have the Unix-to-Windows converter program; but I retyped the file
into wordpad and saved as text document. However, it is no possitive
effect. It still gives the same error, that is, entryStage not found. I
then copied the first line from src
example/scripting/pipeline/scannerxml.properties. Again, no use. The same
error occured no matter what I did. Seems like the application could not
recognize the "entryStage". By the way, I am using version bin-1.1.9-dev.
Any idea?
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Babeldoc-devel mailing list
Bab...@li...
https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
|
|
From: Qin D. <qd...@cs...> - 2003-09-29 15:28:43
|
Bruce:
This is the test-pipeline.properties:
entryStage=initialize
initialize.stageType=Scripting
initialize.nextStage=null
initialize.failOnError=true
initialize.language=javascript
initialize.script=\
java.io.File file = new java.io.File(document.get("file_name"));\
TestManager.validate(file);
Here is the error:
<2003-09-26 11:05:11,960> INFO [Thread-1] : Processing document...
<2003-09-26 11:05:11,960> ERROR [Thread-1] : [AsynchronousFeeder$1.run]
com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage not
foun
d
at
com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk
nown Source)
at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
Source)
at
com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou
rce)
at
com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S
ource)
at
com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(
Unknown Source)
at
com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So
urce)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
urce)
at java.lang.Thread.run(Thread.java:536)
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
"McDonald,
Bruce" To: Qin Ding <qd...@cs...>, David Glick
<Bruce.McDonald <dg...@co...>
@bankofamerica.c cc: Babeldoc Developer List
om> <bab...@li...>
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user]
09/26/03 11:39 Questions. Please Help
AM
Huh?!??!
I dont understand the issue here.
Somewhere in your pipeline definition file, place the line:
entryStage=<<some pipeline stage name>>
Where the entryStage is pointing to the first pipeline stage in your
pipeline.
regards,
Bruce.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Friday, September 26, 2003 12:14 PM
To: David Glick
Cc: Babeldoc Developer List
Subject: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
David:
I don't have the Unix-to-Windows converter program; but I retyped the file
into wordpad and saved as text document. However, it is no possitive
effect. It still gives the same error, that is, entryStage not found. I
then copied the first line from src
example/scripting/pipeline/scannerxml.properties. Again, no use. The same
error occured no matter what I did. Seems like the application could not
recognize the "entryStage". By the way, I am using version bin-1.1.9-dev.
Any idea?
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Babeldoc-devel mailing list
Bab...@li...
https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
|
|
From: Qin D. <qd...@cs...> - 2003-09-29 15:30:29
|
David: To execute from command line, I got this error:
<2003-09-26 17:35:07,411> ERROR [main] : [PipelineFeeder.execute] Pipeline
Error
com.babeldoc.core.pipeline.PipelineException: Could not access the file:
dummy.txt
at com.babeldoc.core.pipeline.command.PipelineFeeder.process(Unknown
Source)
at com.babeldoc.core.pipeline.command.PipelineFeeder.execute(Unknown
Source)
at com.babeldoc.core.BabeldocCommand.executeCommand(Unknown Source)
at com.babeldoc.core.BabeldocCommand.<init>(Unknown Source)
at com.babeldoc.core.pipeline.command.PipelineFeeder.<init>(Unknown
Source)
at com.babeldoc.core.pipeline.command.PipelineFeeder.main(Unknown
Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.babeldoc.core.Main.handleCommand(Unknown Source)
at com.babeldoc.core.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.babeldoc.init.Main.runBabeldocMain(Unknown Source)
at com.babeldoc.init.Main.main(Unknown Source)
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
David Glick
<dglick To: "Qin Ding" <qd...@cs...>
@cox.net> cc: Babeldoc Developer List
<bab...@li...>
09/26/03 05:18 Subject: Re: [Babeldoc-devel] Re: [Babeldoc-user]
PM Questions. Please Help
Hi Qin,
Please try testing submitting the file directly from the command line as
follows:
babeldoc process -p test-pipeline -f dummy.txt
and see what error you get.
David
On Friday 26 September 2003 12:28 pm, Qin Ding wrote:
> Bruce:
>
> I unzipped your qin-test.zip. And then I changed the BABELDOC_USER to
> point to C:\qin\config. Not change anything else. Re-start babeldoc in
> command line: babeldoc scanner which started successfully:
>
> C:\babeldoc-bin-1.1.9-dev\bin>babeldoc scanner
> <2003-09-26 14:16:29,374> INFO [main] : Initializing workers:
> <2003-09-26 14:16:29,444> INFO [main] : dirscan (directory)
configured...
> <2003-09-26 14:16:29,444> INFO [main] : Starting workers...
> <2003-09-26 14:16:29,444> INFO [main] : dirscan started...
>
> Then I drop the dummy.txt file into the inventory folder. Alas, I still
got
> the entryStage not found error!!!!
> Is there anything that you did but I omitted?
>
>
> <2003-09-26 14:16:58,937> INFO [Thread-1] : Processing document...
> <2003-09-26 14:16:59,107> ERROR [Thread-1] : [AsynchronousFeeder$1.run]
> com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage
not
> foun
> d
> at
> com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk
> nown Source)
> at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
> Source)
> at
> com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou
> rce)
> at
> com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S
> ource)
> at
> com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(
> Unknown Source)
> at
> com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So
> urce)
> at
> EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
> urce)
> at java.lang.Thread.run(Thread.java:536)
>
>
>
>
---------------------------------------------------------------------------
>-------------
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit
written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose.
>
---------------------------------------------------------------------------
>-------------
>
>
>
>
>
> "McDonald,
> Bruce" To: Qin Ding
> <qd...@cs...> <Bruce.McDonald cc: Babeldoc Developer List
> @bankofamerica.c <bab...@li...>, David
> Glick om> <dg...@co...>
> Subject: RE:
> [Babeldoc-devel] Re: [Babeldoc-user] 09/26/03 01:28 Questions.
> Please Help PM
>
>
>
>
>
>
> Scanner works fine.
>
> I have included a zip of my recreation of your environment.
>
> Please investigate and report back to the list.
>
> Bruce.
>
>
> -----Original Message-----
> From: Qin Ding [mailto:qd...@cs...]
> Sent: Friday, September 26, 2003 1:50 PM
> To: McDonald, Bruce
> Cc: Babeldoc Developer List; David Glick
> Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
>
>
>
> Bruce: Thank you for your help.
>
> I use scanner.
> Here is the config/pipeline/config.properties file:
>
> test-pipeline.type=simple
> test-pipeline.configFile=test/test-pipeline
>
> Here is the config/scanner/config.properties file:
>
> dirscan.type=directory
> dirscan.period=10000
> dirscan.inDirectory=c:/babeltest/test/inventory
> dirscan.doneDirectory=c:/babeltest/test/inventory/processed
> dirscan.pipeline=test-pipeline
>
> Here is the test/test-pipeline.properties file:
>
> entryStage=initialize
>
> initialize.stageType=Scripting
> initialize.nextStage=null
> initialize.failOnError=true
> initialize.language=javascript
> initialize.script=\
> java.io.File file = new java.io.File(document.get("file_name"));\
> TestManager.validate(file);
>
> Qin
>
---------------------------------------------------------------------------
>-------------
>
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit
written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose.
>
---------------------------------------------------------------------------
>-------------
>
>
>
>
>
>
> "McDonald,
> Bruce" To: Qin
> Ding/ASD/CSC@CSC
> <Bruce.McDonald cc: Babeldoc
Developer
> List
> @bankofamerica.c
> <bab...@li...>, David Glick
> om> <dg...@co...>
> Subject: RE:
> [Babeldoc-devel] Re: [Babeldoc-user]
> 09/26/03 12:26 Questions. Please Help
> PM
>
>
>
>
>
>
> Qin,
>
> Please show me the following:
>
> 1. How do you invoke babeldoc (the command line)
> 2. Please show me the contents of the config/pipeline/config.properties
> file
>
> regards,
> Bruce.
>
> -----Original Message-----
> From: Qin Ding [mailto:qd...@cs...]
> Sent: Friday, September 26, 2003 1:10 PM
> To: McDonald, Bruce
> Cc: Babeldoc Developer List; David Glick
> Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
>
>
>
> Bruce:
>
> This is the test-pipeline.properties:
>
> entryStage=initialize
>
> initialize.stageType=Scripting
> initialize.nextStage=null
> initialize.failOnError=true
> initialize.language=javascript
> initialize.script=\
> java.io.File file = new java.io.File(document.get("file_name"));\
> TestManager.validate(file);
>
>
> Here is the error:
>
> <2003-09-26 11:05:11,960> INFO [Thread-1] : Processing document...
> <2003-09-26 11:05:11,960> ERROR [Thread-1] : [AsynchronousFeeder$1.run]
> com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage
not
> foun
> d
> at
> com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk
> nown Source)
> at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
> Source)
> at
> com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou
> rce)
> at
> com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S
> ource)
> at
> com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(
> Unknown Source)
> at
> com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So
> urce)
> at
> EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
> urce)
> at java.lang.Thread.run(Thread.java:536)
>
>
> Qin
>
---------------------------------------------------------------------------
>-------------
>
>
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit
written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose.
>
---------------------------------------------------------------------------
>-------------
>
>
>
>
>
>
>
> "McDonald,
>
> Bruce" To: Qin Ding
> <qd...@cs...>, David Glick
> <Bruce.McDonald <dg...@co...>
>
> @bankofamerica.c cc: Babeldoc
Developer
> List
> om>
> <bab...@li...>
> Subject: RE:
> [Babeldoc-devel] Re: [Babeldoc-user]
> 09/26/03 11:39 Questions. Please Help
>
> AM
>
>
>
>
>
>
>
> Huh?!??!
>
> I dont understand the issue here.
>
> Somewhere in your pipeline definition file, place the line:
>
> entryStage=<<some pipeline stage name>>
>
> Where the entryStage is pointing to the first pipeline stage in your
> pipeline.
>
> regards,
> Bruce.
>
>
> -----Original Message-----
> From: Qin Ding [mailto:qd...@cs...]
> Sent: Friday, September 26, 2003 12:14 PM
> To: David Glick
> Cc: Babeldoc Developer List
> Subject: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
>
>
>
> David:
>
> I don't have the Unix-to-Windows converter program; but I retyped the
file
> into wordpad and saved as text document. However, it is no possitive
> effect. It still gives the same error, that is, entryStage not found.
I
> then copied the first line from src
> example/scripting/pipeline/scannerxml.properties. Again, no use. The same
> error occured no matter what I did. Seems like the application could not
> recognize the "entryStage". By the way, I am using version
bin-1.1.9-dev.
>
> Any idea?
>
> Qin
>
>
>
---------------------------------------------------------------------------
>-------------
>
>
>
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit
written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose.
>
---------------------------------------------------------------------------
>-------------
>
>
>
>
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Babeldoc-devel mailing list
> Bab...@li...
> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
>
>
>
>
>
>
>
>
>
>
>
>
> << Attachment Removed : qin-test.zip >>
--
David Glick
Transmit Consulting, Inc
619-475-4052
dg...@tr...
|
|
From: David G. <dg...@co...> - 2003-09-26 23:16:29
|
Hi Qin,
The '-f dummy.txt' portion is to tell Babeldoc where to find the test file.
Did you cd to the directory before you ran the command? If not, you'll need
to change the -f parameter to point to the dummy.txt file.
David
On Friday 26 September 2003 3:36 pm, Qin Ding wrote:
> David: To execute from command line, I got this error:
>
> <2003-09-26 17:35:07,411> ERROR [main] : [PipelineFeeder.execute] Pipeline
> Error
> com.babeldoc.core.pipeline.PipelineException: Could not access the file:
> dummy.txt
> at com.babeldoc.core.pipeline.command.PipelineFeeder.process(Unknown
> Source)
> at com.babeldoc.core.pipeline.command.PipelineFeeder.execute(Unknown
> Source)
> at com.babeldoc.core.BabeldocCommand.executeCommand(Unknown Source)
> at com.babeldoc.core.BabeldocCommand.<init>(Unknown Source)
> at com.babeldoc.core.pipeline.command.PipelineFeeder.<init>(Unknown
> Source)
> at com.babeldoc.core.pipeline.command.PipelineFeeder.main(Unknown
> Source)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> at com.babeldoc.core.Main.handleCommand(Unknown Source)
> at com.babeldoc.core.Main.main(Unknown Source)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> at com.babeldoc.init.Main.runBabeldocMain(Unknown Source)
> at com.babeldoc.init.Main.main(Unknown Source)
>
>
> ---------------------------------------------------------------------------
>-------------
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose.
> ---------------------------------------------------------------------------
>-------------
>
>
>
>
>
> David Glick
> <dglick To: "Qin Ding"
> <qd...@cs...> @cox.net> cc: Babeldoc Developer List
> <bab...@li...> 09/26/03 05:18 Subject:
> Re: [Babeldoc-devel] Re: [Babeldoc-user] PM
> Questions. Please Help
>
>
>
>
>
>
> Hi Qin,
>
> Please try testing submitting the file directly from the command line as
> follows:
>
> babeldoc process -p test-pipeline -f dummy.txt
>
> and see what error you get.
>
>
> David
>
> On Friday 26 September 2003 12:28 pm, Qin Ding wrote:
> > Bruce:
> >
> > I unzipped your qin-test.zip. And then I changed the BABELDOC_USER to
> > point to C:\qin\config. Not change anything else. Re-start babeldoc in
> > command line: babeldoc scanner which started successfully:
> >
> > C:\babeldoc-bin-1.1.9-dev\bin>babeldoc scanner
> > <2003-09-26 14:16:29,374> INFO [main] : Initializing workers:
> > <2003-09-26 14:16:29,444> INFO [main] : dirscan (directory)
>
> configured...
>
> > <2003-09-26 14:16:29,444> INFO [main] : Starting workers...
> > <2003-09-26 14:16:29,444> INFO [main] : dirscan started...
> >
> > Then I drop the dummy.txt file into the inventory folder. Alas, I still
>
> got
>
> > the entryStage not found error!!!!
> > Is there anything that you did but I omitted?
> >
> >
> > <2003-09-26 14:16:58,937> INFO [Thread-1] : Processing document...
> > <2003-09-26 14:16:59,107> ERROR [Thread-1] : [AsynchronousFeeder$1.run]
> > com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage
>
> not
>
> > foun
> > d
> > at
> > com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk
> > nown Source)
> > at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
> > Source)
> > at
> > com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou
> > rce)
> > at
> > com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S
> > ource)
> > at
> > com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(
> > Unknown Source)
> > at
> > com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So
> > urce)
> > at
> > EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
> > urce)
> > at java.lang.Thread.run(Thread.java:536)
>
> ---------------------------------------------------------------------------
>
> >-------------
> >
> > This is a PRIVATE message. If you are not the intended recipient, please
> > delete without copying and kindly advise us by e-mail of the mistake in
> > delivery. NOTE: Regardless of content, this e-mail shall not operate to
> > bind CSC to any order or other contract unless pursuant to explicit
>
> written
>
> > agreement or government initiative expressly permitting the use of e-mail
> > for such purpose.
>
> ---------------------------------------------------------------------------
>
> >-------------
> >
> >
> >
> >
> >
> > "McDonald,
> > Bruce" To: Qin Ding
> > <qd...@cs...> <Bruce.McDonald cc: Babeldoc Developer List
> > @bankofamerica.c <bab...@li...>, David
> > Glick om> <dg...@co...>
> > Subject: RE:
> > [Babeldoc-devel] Re: [Babeldoc-user] 09/26/03 01:28 Questions.
> > Please Help PM
> >
> >
> >
> >
> >
> >
> > Scanner works fine.
> >
> > I have included a zip of my recreation of your environment.
> >
> > Please investigate and report back to the list.
> >
> > Bruce.
> >
> >
> > -----Original Message-----
> > From: Qin Ding [mailto:qd...@cs...]
> > Sent: Friday, September 26, 2003 1:50 PM
> > To: McDonald, Bruce
> > Cc: Babeldoc Developer List; David Glick
> > Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
> >
> >
> >
> > Bruce: Thank you for your help.
> >
> > I use scanner.
> > Here is the config/pipeline/config.properties file:
> >
> > test-pipeline.type=simple
> > test-pipeline.configFile=test/test-pipeline
> >
> > Here is the config/scanner/config.properties file:
> >
> > dirscan.type=directory
> > dirscan.period=10000
> > dirscan.inDirectory=c:/babeltest/test/inventory
> > dirscan.doneDirectory=c:/babeltest/test/inventory/processed
> > dirscan.pipeline=test-pipeline
> >
> > Here is the test/test-pipeline.properties file:
> >
> > entryStage=initialize
> >
> > initialize.stageType=Scripting
> > initialize.nextStage=null
> > initialize.failOnError=true
> > initialize.language=javascript
> > initialize.script=\
> > java.io.File file = new java.io.File(document.get("file_name"));\
> > TestManager.validate(file);
> >
> > Qin
>
> ---------------------------------------------------------------------------
>
> >-------------
> >
> >
> > This is a PRIVATE message. If you are not the intended recipient, please
> > delete without copying and kindly advise us by e-mail of the mistake in
> > delivery. NOTE: Regardless of content, this e-mail shall not operate to
> > bind CSC to any order or other contract unless pursuant to explicit
>
> written
>
> > agreement or government initiative expressly permitting the use of e-mail
> > for such purpose.
>
> ---------------------------------------------------------------------------
>
> >-------------
> >
> >
> >
> >
> >
> >
> > "McDonald,
> > Bruce" To: Qin
> > Ding/ASD/CSC@CSC
> > <Bruce.McDonald cc: Babeldoc
>
> Developer
>
> > List
> > @bankofamerica.c
> > <bab...@li...>, David Glick
> > om> <dg...@co...>
> > Subject: RE:
> > [Babeldoc-devel] Re: [Babeldoc-user]
> > 09/26/03 12:26 Questions. Please Help
> > PM
> >
> >
> >
> >
> >
> >
> > Qin,
> >
> > Please show me the following:
> >
> > 1. How do you invoke babeldoc (the command line)
> > 2. Please show me the contents of the config/pipeline/config.properties
> > file
> >
> > regards,
> > Bruce.
> >
> > -----Original Message-----
> > From: Qin Ding [mailto:qd...@cs...]
> > Sent: Friday, September 26, 2003 1:10 PM
> > To: McDonald, Bruce
> > Cc: Babeldoc Developer List; David Glick
> > Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
> >
> >
> >
> > Bruce:
> >
> > This is the test-pipeline.properties:
> >
> > entryStage=initialize
> >
> > initialize.stageType=Scripting
> > initialize.nextStage=null
> > initialize.failOnError=true
> > initialize.language=javascript
> > initialize.script=\
> > java.io.File file = new java.io.File(document.get("file_name"));\
> > TestManager.validate(file);
> >
> >
> > Here is the error:
> >
> > <2003-09-26 11:05:11,960> INFO [Thread-1] : Processing document...
> > <2003-09-26 11:05:11,960> ERROR [Thread-1] : [AsynchronousFeeder$1.run]
> > com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage
>
> not
>
> > foun
> > d
> > at
> > com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk
> > nown Source)
> > at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
> > Source)
> > at
> > com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou
> > rce)
> > at
> > com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S
> > ource)
> > at
> > com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(
> > Unknown Source)
> > at
> > com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So
> > urce)
> > at
> > EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
> > urce)
> > at java.lang.Thread.run(Thread.java:536)
> >
> >
> > Qin
>
> ---------------------------------------------------------------------------
>
> >-------------
> >
> >
> >
> > This is a PRIVATE message. If you are not the intended recipient, please
> > delete without copying and kindly advise us by e-mail of the mistake in
> > delivery. NOTE: Regardless of content, this e-mail shall not operate to
> > bind CSC to any order or other contract unless pursuant to explicit
>
> written
>
> > agreement or government initiative expressly permitting the use of e-mail
> > for such purpose.
>
> ---------------------------------------------------------------------------
>
> >-------------
> >
> >
> >
> >
> >
> >
> >
> > "McDonald,
> >
> > Bruce" To: Qin Ding
> > <qd...@cs...>, David Glick
> > <Bruce.McDonald <dg...@co...>
> >
> > @bankofamerica.c cc: Babeldoc
>
> Developer
>
> > List
> > om>
> > <bab...@li...>
> > Subject: RE:
> > [Babeldoc-devel] Re: [Babeldoc-user]
> > 09/26/03 11:39 Questions. Please Help
> >
> > AM
> >
> >
> >
> >
> >
> >
> >
> > Huh?!??!
> >
> > I dont understand the issue here.
> >
> > Somewhere in your pipeline definition file, place the line:
> >
> > entryStage=<<some pipeline stage name>>
> >
> > Where the entryStage is pointing to the first pipeline stage in your
> > pipeline.
> >
> > regards,
> > Bruce.
> >
> >
> > -----Original Message-----
> > From: Qin Ding [mailto:qd...@cs...]
> > Sent: Friday, September 26, 2003 12:14 PM
> > To: David Glick
> > Cc: Babeldoc Developer List
> > Subject: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
> >
> >
> >
> > David:
> >
> > I don't have the Unix-to-Windows converter program; but I retyped the
>
> file
>
> > into wordpad and saved as text document. However, it is no possitive
> > effect. It still gives the same error, that is, entryStage not found.
>
> I
>
> > then copied the first line from src
> > example/scripting/pipeline/scannerxml.properties. Again, no use. The same
> > error occured no matter what I did. Seems like the application could not
> > recognize the "entryStage". By the way, I am using version
>
> bin-1.1.9-dev.
>
> > Any idea?
> >
> > Qin
>
> ---------------------------------------------------------------------------
>
> >-------------
> >
> >
> >
> >
> > This is a PRIVATE message. If you are not the intended recipient, please
> > delete without copying and kindly advise us by e-mail of the mistake in
> > delivery. NOTE: Regardless of content, this e-mail shall not operate to
> > bind CSC to any order or other contract unless pursuant to explicit
>
> written
>
> > agreement or government initiative expressly permitting the use of e-mail
> > for such purpose.
>
> ---------------------------------------------------------------------------
>
> >-------------
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Babeldoc-devel mailing list
> > Bab...@li...
> > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > << Attachment Removed : qin-test.zip >>
--
David Glick
Transmit Consulting, Inc
619-475-4052
dg...@tr...
|
|
From: Qin D. <qd...@cs...> - 2003-09-29 15:30:35
|
Bruce: Thank you for your help.
I use scanner.
Here is the config/pipeline/config.properties file:
test-pipeline.type=simple
test-pipeline.configFile=test/test-pipeline
Here is the config/scanner/config.properties file:
dirscan.type=directory
dirscan.period=10000
dirscan.inDirectory=c:/babeltest/test/inventory
dirscan.doneDirectory=c:/babeltest/test/inventory/processed
dirscan.pipeline=test-pipeline
Here is the test/test-pipeline.properties file:
entryStage=initialize
initialize.stageType=Scripting
initialize.nextStage=null
initialize.failOnError=true
initialize.language=javascript
initialize.script=\
java.io.File file = new java.io.File(document.get("file_name"));\
TestManager.validate(file);
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
"McDonald,
Bruce" To: Qin Ding/ASD/CSC@CSC
<Bruce.McDonald cc: Babeldoc Developer List
@bankofamerica.c <bab...@li...>, David Glick
om> <dg...@co...>
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user]
09/26/03 12:26 Questions. Please Help
PM
Qin,
Please show me the following:
1. How do you invoke babeldoc (the command line)
2. Please show me the contents of the config/pipeline/config.properties
file
regards,
Bruce.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Friday, September 26, 2003 1:10 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruce:
This is the test-pipeline.properties:
entryStage=initialize
initialize.stageType=Scripting
initialize.nextStage=null
initialize.failOnError=true
initialize.language=javascript
initialize.script=\
java.io.File file = new java.io.File(document.get("file_name"));\
TestManager.validate(file);
Here is the error:
<2003-09-26 11:05:11,960> INFO [Thread-1] : Processing document...
<2003-09-26 11:05:11,960> ERROR [Thread-1] : [AsynchronousFeeder$1.run]
com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage not
foun
d
at
com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk
nown Source)
at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
Source)
at
com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou
rce)
at
com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S
ource)
at
com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(
Unknown Source)
at
com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So
urce)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
urce)
at java.lang.Thread.run(Thread.java:536)
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
"McDonald,
Bruce" To: Qin Ding
<qd...@cs...>, David Glick
<Bruce.McDonald <dg...@co...>
@bankofamerica.c cc: Babeldoc Developer
List
om>
<bab...@li...>
Subject: RE:
[Babeldoc-devel] Re: [Babeldoc-user]
09/26/03 11:39 Questions. Please Help
AM
Huh?!??!
I dont understand the issue here.
Somewhere in your pipeline definition file, place the line:
entryStage=<<some pipeline stage name>>
Where the entryStage is pointing to the first pipeline stage in your
pipeline.
regards,
Bruce.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Friday, September 26, 2003 12:14 PM
To: David Glick
Cc: Babeldoc Developer List
Subject: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
David:
I don't have the Unix-to-Windows converter program; but I retyped the file
into wordpad and saved as text document. However, it is no possitive
effect. It still gives the same error, that is, entryStage not found. I
then copied the first line from src
example/scripting/pipeline/scannerxml.properties. Again, no use. The same
error occured no matter what I did. Seems like the application could not
recognize the "entryStage". By the way, I am using version bin-1.1.9-dev.
Any idea?
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Babeldoc-devel mailing list
Bab...@li...
https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
|
|
From: McDonald, B. <Bru...@ba...> - 2003-09-29 17:03:18
|
Preliminary report back:
I have recreated your envirnoment.
Assumptions:
++++++++++++
Current directory: c:\work\qin
BABELDOC_USER=c:\work\qin\config
Problems:
+++++++++
The javascript for the initialize stage looks broken (It looks more like Java).
Here is my pipeline which works (for me):
entryStage=initialize
initialize.stageType=Scripting
initialize.nextStage=null
initialize.failOnError=true
initialize.language=javascript
initialize.script=\
java.lang.System.out.println(document.get("file_name"));\
Running this pipeline:
++++++++++++++++++++++
0. Ensure that the babeldoc command is in your path and that BABELDOC_HOME is set correctly.
1. Create a dummy file called: dummy.txt
2. Here is what my run tells me:
C:\work\qin>babeldoc process -p test-pipeline -f dummy.txt
Adding: C:\Program Files\NCR\TeraJDBC\classes\teradata.jar
Adding: C:\Program Files\NCR\TeraJDBC\classes\gui.jar
Adding: C:\Program Files\Altova\xmlspy\XMLSpyInterface.jar
<2003-09-26 14:01:24,934> INFO [main] : PipelineStage name: initialize
dummy.txt
C:\work\qin>
It works fine.
Now - I will set up a scanner to test that... I will report back within the hour.
regards,
Bruce.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Friday, September 26, 2003 1:50 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruce: Thank you for your help.
I use scanner.
Here is the config/pipeline/config.properties file:
test-pipeline.type=simple
test-pipeline.configFile=test/test-pipeline
Here is the config/scanner/config.properties file:
dirscan.type=directory
dirscan.period=10000
dirscan.inDirectory=c:/babeltest/test/inventory
dirscan.doneDirectory=c:/babeltest/test/inventory/processed
dirscan.pipeline=test-pipeline
Here is the test/test-pipeline.properties file:
entryStage=initialize
initialize.stageType=Scripting
initialize.nextStage=null
initialize.failOnError=true
initialize.language=javascript
initialize.script=\
java.io.File file = new java.io.File(document.get("file_name"));\
TestManager.validate(file);
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
"McDonald,
Bruce" To: Qin Ding/ASD/CSC@CSC
<Bruce.McDonald cc: Babeldoc Developer List
@bankofamerica.c <bab...@li...>, David Glick
om> <dg...@co...>
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user]
09/26/03 12:26 Questions. Please Help
PM
Qin,
Please show me the following:
1. How do you invoke babeldoc (the command line)
2. Please show me the contents of the config/pipeline/config.properties
file
regards,
Bruce.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Friday, September 26, 2003 1:10 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruce:
This is the test-pipeline.properties:
entryStage=initialize
initialize.stageType=Scripting
initialize.nextStage=null
initialize.failOnError=true
initialize.language=javascript
initialize.script=\
java.io.File file = new java.io.File(document.get("file_name"));\
TestManager.validate(file);
Here is the error:
<2003-09-26 11:05:11,960> INFO [Thread-1] : Processing document...
<2003-09-26 11:05:11,960> ERROR [Thread-1] : [AsynchronousFeeder$1.run]
com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage not
foun
d
at
com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk
nown Source)
at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
Source)
at
com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou
rce)
at
com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S
ource)
at
com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(
Unknown Source)
at
com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So
urce)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
urce)
at java.lang.Thread.run(Thread.java:536)
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
"McDonald,
Bruce" To: Qin Ding
<qd...@cs...>, David Glick
<Bruce.McDonald <dg...@co...>
@bankofamerica.c cc: Babeldoc Developer
List
om>
<bab...@li...>
Subject: RE:
[Babeldoc-devel] Re: [Babeldoc-user]
09/26/03 11:39 Questions. Please Help
AM
Huh?!??!
I dont understand the issue here.
Somewhere in your pipeline definition file, place the line:
entryStage=<<some pipeline stage name>>
Where the entryStage is pointing to the first pipeline stage in your
pipeline.
regards,
Bruce.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Friday, September 26, 2003 12:14 PM
To: David Glick
Cc: Babeldoc Developer List
Subject: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
David:
I don't have the Unix-to-Windows converter program; but I retyped the file
into wordpad and saved as text document. However, it is no possitive
effect. It still gives the same error, that is, entryStage not found. I
then copied the first line from src
example/scripting/pipeline/scannerxml.properties. Again, no use. The same
error occured no matter what I did. Seems like the application could not
recognize the "entryStage". By the way, I am using version bin-1.1.9-dev.
Any idea?
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Babeldoc-devel mailing list
Bab...@li...
https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
|
|
From: McDonald, B. <Bru...@ba...> - 2003-09-29 19:38:12
|
Download the latest version and try again - I suspect your installation is broken.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Friday, September 26, 2003 1:10 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruce:
This is the test-pipeline.properties:
entryStage=initialize
initialize.stageType=Scripting
initialize.nextStage=null
initialize.failOnError=true
initialize.language=javascript
initialize.script=\
java.io.File file = new java.io.File(document.get("file_name"));\
TestManager.validate(file);
Here is the error:
<2003-09-26 11:05:11,960> INFO [Thread-1] : Processing document...
<2003-09-26 11:05:11,960> ERROR [Thread-1] : [AsynchronousFeeder$1.run]
com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage not
foun
d
at
com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk
nown Source)
at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
Source)
at
com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou
rce)
at
com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S
ource)
at
com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(
Unknown Source)
at
com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So
urce)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
urce)
at java.lang.Thread.run(Thread.java:536)
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
"McDonald,
Bruce" To: Qin Ding <qd...@cs...>, David Glick
<Bruce.McDonald <dg...@co...>
@bankofamerica.c cc: Babeldoc Developer List
om> <bab...@li...>
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user]
09/26/03 11:39 Questions. Please Help
AM
Huh?!??!
I dont understand the issue here.
Somewhere in your pipeline definition file, place the line:
entryStage=<<some pipeline stage name>>
Where the entryStage is pointing to the first pipeline stage in your
pipeline.
regards,
Bruce.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Friday, September 26, 2003 12:14 PM
To: David Glick
Cc: Babeldoc Developer List
Subject: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
David:
I don't have the Unix-to-Windows converter program; but I retyped the file
into wordpad and saved as text document. However, it is no possitive
effect. It still gives the same error, that is, entryStage not found. I
then copied the first line from src
example/scripting/pipeline/scannerxml.properties. Again, no use. The same
error occured no matter what I did. Seems like the application could not
recognize the "entryStage". By the way, I am using version bin-1.1.9-dev.
Any idea?
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Babeldoc-devel mailing list
Bab...@li...
https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Babeldoc-devel mailing list
Bab...@li...
https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
|
|
From: Qin D. <qd...@cs...> - 2003-09-30 15:08:42
|
David and Bruce:
Sorry, I was sick in the past a few days. Now I am well and back. Just a
moment ago, I retested the command line like this:
C:\babeldoc-bin-1.1.9-dev\bin>babeldoc process -p test-pipeline -f c:
\babeltest\
test\dummy.txt >. I got our old error again. So, the manual command line
and scanner run both received the same error: entryStage not found.
<2003-09-30 10:01:05,747> ERROR [main] : [PipelineFeeder.process]
com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage not
found
at
com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unknown
Source)
at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown Source)
at com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown
Source)
at
com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown Source)
at com.babeldoc.core.pipeline.feeder.FeederFactory.process(Unknown
Source)
at com.babeldoc.core.pipeline.command.PipelineFeeder.process(Unknown
Source)
at com.babeldoc.core.pipeline.command.PipelineFeeder.execute(Unknown
Source)
at com.babeldoc.core.BabeldocCommand.executeCommand(Unknown Source)
at com.babeldoc.core.BabeldocCommand.<init>(Unknown Source)
at com.babeldoc.core.pipeline.command.PipelineFeeder.<init>(Unknown
Source)
at com.babeldoc.core.pipeline.command.PipelineFeeder.main(Unknown
Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.babeldoc.core.Main.handleCommand(Unknown Source)
at com.babeldoc.core.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.babeldoc.init.Main.runBabeldocMain(Unknown Source)
at com.babeldoc.init.Main.main(Unknown Source)
Bruce: my directory structure is the same as yours because I am using
yours. So, let me download the babeldoc binary again. I'll then report
back to you. Thanks. Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
David Glick
<dglick To: "Qin Ding" <qd...@cs...>
@cox.net> cc: Babeldoc Developer List
<bab...@li...>
09/26/03 06:19 Subject: Re: [Babeldoc-devel] Re: [Babeldoc-user]
PM Questions. Please Help
Hi Qin,
The '-f dummy.txt' portion is to tell Babeldoc where to find the test file.
Did you cd to the directory before you ran the command? If not, you'll
need
to change the -f parameter to point to the dummy.txt file.
David
On Friday 26 September 2003 3:36 pm, Qin Ding wrote:
> David: To execute from command line, I got this error:
>
> <2003-09-26 17:35:07,411> ERROR [main] : [PipelineFeeder.execute]
Pipeline
> Error
> com.babeldoc.core.pipeline.PipelineException: Could not access the file:
> dummy.txt
> at
com.babeldoc.core.pipeline.command.PipelineFeeder.process(Unknown
> Source)
> at
com.babeldoc.core.pipeline.command.PipelineFeeder.execute(Unknown
> Source)
> at com.babeldoc.core.BabeldocCommand.executeCommand(Unknown Source)
> at com.babeldoc.core.BabeldocCommand.<init>(Unknown Source)
> at com.babeldoc.core.pipeline.command.PipelineFeeder.<init>(Unknown
> Source)
> at com.babeldoc.core.pipeline.command.PipelineFeeder.main(Unknown
> Source)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> at com.babeldoc.core.Main.handleCommand(Unknown Source)
> at com.babeldoc.core.Main.main(Unknown Source)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> at com.babeldoc.init.Main.runBabeldocMain(Unknown Source)
> at com.babeldoc.init.Main.main(Unknown Source)
>
>
>
---------------------------------------------------------------------------
>-------------
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit
written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose.
>
---------------------------------------------------------------------------
>-------------
>
>
>
>
>
> David Glick
> <dglick To: "Qin Ding"
> <qd...@cs...> @cox.net> cc: Babeldoc Developer List
> <bab...@li...> 09/26/03 05:18 Subject:
> Re: [Babeldoc-devel] Re: [Babeldoc-user] PM
> Questions. Please Help
>
>
>
>
>
>
> Hi Qin,
>
> Please try testing submitting the file directly from the command line as
> follows:
>
> babeldoc process -p test-pipeline -f dummy.txt
>
> and see what error you get.
>
>
> David
>
> On Friday 26 September 2003 12:28 pm, Qin Ding wrote:
> > Bruce:
> >
> > I unzipped your qin-test.zip. And then I changed the BABELDOC_USER to
> > point to C:\qin\config. Not change anything else. Re-start babeldoc
in
> > command line: babeldoc scanner which started successfully:
> >
> > C:\babeldoc-bin-1.1.9-dev\bin>babeldoc scanner
> > <2003-09-26 14:16:29,374> INFO [main] : Initializing workers:
> > <2003-09-26 14:16:29,444> INFO [main] : dirscan (directory)
>
> configured...
>
> > <2003-09-26 14:16:29,444> INFO [main] : Starting workers...
> > <2003-09-26 14:16:29,444> INFO [main] : dirscan started...
> >
> > Then I drop the dummy.txt file into the inventory folder. Alas, I still
>
> got
>
> > the entryStage not found error!!!!
> > Is there anything that you did but I omitted?
> >
> >
> > <2003-09-26 14:16:58,937> INFO [Thread-1] : Processing document...
> > <2003-09-26 14:16:59,107> ERROR [Thread-1] :
[AsynchronousFeeder$1.run]
> > com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage
>
> not
>
> > foun
> > d
> > at
> > com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk
> > nown Source)
> > at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
> > Source)
> > at
> > com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou
> > rce)
> > at
> > com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S
> > ource)
> > at
> > com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(
> > Unknown Source)
> > at
> > com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So
> > urce)
> > at
> > EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
> > urce)
> > at java.lang.Thread.run(Thread.java:536)
>
>
---------------------------------------------------------------------------
>
> >-------------
> >
> > This is a PRIVATE message. If you are not the intended recipient,
please
> > delete without copying and kindly advise us by e-mail of the mistake in
> > delivery. NOTE: Regardless of content, this e-mail shall not operate to
> > bind CSC to any order or other contract unless pursuant to explicit
>
> written
>
> > agreement or government initiative expressly permitting the use of
e-mail
> > for such purpose.
>
>
---------------------------------------------------------------------------
>
> >-------------
> >
> >
> >
> >
> >
> > "McDonald,
> > Bruce" To: Qin Ding
> > <qd...@cs...> <Bruce.McDonald cc: Babeldoc Developer
List
> > @bankofamerica.c <bab...@li...>, David
> > Glick om> <dg...@co...>
> > Subject: RE:
> > [Babeldoc-devel] Re: [Babeldoc-user] 09/26/03 01:28
Questions.
> > Please Help PM
> >
> >
> >
> >
> >
> >
> > Scanner works fine.
> >
> > I have included a zip of my recreation of your environment.
> >
> > Please investigate and report back to the list.
> >
> > Bruce.
> >
> >
> > -----Original Message-----
> > From: Qin Ding [mailto:qd...@cs...]
> > Sent: Friday, September 26, 2003 1:50 PM
> > To: McDonald, Bruce
> > Cc: Babeldoc Developer List; David Glick
> > Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please
Help
> >
> >
> >
> > Bruce: Thank you for your help.
> >
> > I use scanner.
> > Here is the config/pipeline/config.properties file:
> >
> > test-pipeline.type=simple
> > test-pipeline.configFile=test/test-pipeline
> >
> > Here is the config/scanner/config.properties file:
> >
> > dirscan.type=directory
> > dirscan.period=10000
> > dirscan.inDirectory=c:/babeltest/test/inventory
> > dirscan.doneDirectory=c:/babeltest/test/inventory/processed
> > dirscan.pipeline=test-pipeline
> >
> > Here is the test/test-pipeline.properties file:
> >
> > entryStage=initialize
> >
> > initialize.stageType=Scripting
> > initialize.nextStage=null
> > initialize.failOnError=true
> > initialize.language=javascript
> > initialize.script=\
> > java.io.File file = new java.io.File(document.get("file_name"));\
> > TestManager.validate(file);
> >
> > Qin
>
>
---------------------------------------------------------------------------
>
> >-------------
> >
> >
> > This is a PRIVATE message. If you are not the intended recipient,
please
> > delete without copying and kindly advise us by e-mail of the mistake in
> > delivery. NOTE: Regardless of content, this e-mail shall not operate to
> > bind CSC to any order or other contract unless pursuant to explicit
>
> written
>
> > agreement or government initiative expressly permitting the use of
e-mail
> > for such purpose.
>
>
---------------------------------------------------------------------------
>
> >-------------
> >
> >
> >
> >
> >
> >
> > "McDonald,
> > Bruce" To: Qin
> > Ding/ASD/CSC@CSC
> > <Bruce.McDonald cc: Babeldoc
>
> Developer
>
> > List
> > @bankofamerica.c
> > <bab...@li...>, David Glick
> > om> <dg...@co...>
> > Subject: RE:
> > [Babeldoc-devel] Re: [Babeldoc-user]
> > 09/26/03 12:26 Questions. Please Help
> > PM
> >
> >
> >
> >
> >
> >
> > Qin,
> >
> > Please show me the following:
> >
> > 1. How do you invoke babeldoc (the command line)
> > 2. Please show me the contents of the
config/pipeline/config.properties
> > file
> >
> > regards,
> > Bruce.
> >
> > -----Original Message-----
> > From: Qin Ding [mailto:qd...@cs...]
> > Sent: Friday, September 26, 2003 1:10 PM
> > To: McDonald, Bruce
> > Cc: Babeldoc Developer List; David Glick
> > Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please
Help
> >
> >
> >
> > Bruce:
> >
> > This is the test-pipeline.properties:
> >
> > entryStage=initialize
> >
> > initialize.stageType=Scripting
> > initialize.nextStage=null
> > initialize.failOnError=true
> > initialize.language=javascript
> > initialize.script=\
> > java.io.File file = new java.io.File(document.get("file_name"));\
> > TestManager.validate(file);
> >
> >
> > Here is the error:
> >
> > <2003-09-26 11:05:11,960> INFO [Thread-1] : Processing document...
> > <2003-09-26 11:05:11,960> ERROR [Thread-1] :
[AsynchronousFeeder$1.run]
> > com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage
>
> not
>
> > foun
> > d
> > at
> > com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk
> > nown Source)
> > at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
> > Source)
> > at
> > com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou
> > rce)
> > at
> > com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S
> > ource)
> > at
> > com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(
> > Unknown Source)
> > at
> > com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So
> > urce)
> > at
> > EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
> > urce)
> > at java.lang.Thread.run(Thread.java:536)
> >
> >
> > Qin
>
>
---------------------------------------------------------------------------
>
> >-------------
> >
> >
> >
> > This is a PRIVATE message. If you are not the intended recipient,
please
> > delete without copying and kindly advise us by e-mail of the mistake in
> > delivery. NOTE: Regardless of content, this e-mail shall not operate to
> > bind CSC to any order or other contract unless pursuant to explicit
>
> written
>
> > agreement or government initiative expressly permitting the use of
e-mail
> > for such purpose.
>
>
---------------------------------------------------------------------------
>
> >-------------
> >
> >
> >
> >
> >
> >
> >
> > "McDonald,
> >
> > Bruce" To: Qin Ding
> > <qd...@cs...>, David Glick
> > <Bruce.McDonald <dg...@co...>
> >
> > @bankofamerica.c cc: Babeldoc
>
> Developer
>
> > List
> > om>
> > <bab...@li...>
> > Subject: RE:
> > [Babeldoc-devel] Re: [Babeldoc-user]
> > 09/26/03 11:39 Questions. Please Help
> >
> > AM
> >
> >
> >
> >
> >
> >
> >
> > Huh?!??!
> >
> > I dont understand the issue here.
> >
> > Somewhere in your pipeline definition file, place the line:
> >
> > entryStage=<<some pipeline stage name>>
> >
> > Where the entryStage is pointing to the first pipeline stage in your
> > pipeline.
> >
> > regards,
> > Bruce.
> >
> >
> > -----Original Message-----
> > From: Qin Ding [mailto:qd...@cs...]
> > Sent: Friday, September 26, 2003 12:14 PM
> > To: David Glick
> > Cc: Babeldoc Developer List
> > Subject: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
> >
> >
> >
> > David:
> >
> > I don't have the Unix-to-Windows converter program; but I retyped the
>
> file
>
> > into wordpad and saved as text document. However, it is no possitive
> > effect. It still gives the same error, that is, entryStage not found.
>
> I
>
> > then copied the first line from src
> > example/scripting/pipeline/scannerxml.properties. Again, no use. The
same
> > error occured no matter what I did. Seems like the application could
not
> > recognize the "entryStage". By the way, I am using version
>
> bin-1.1.9-dev.
>
> > Any idea?
> >
> > Qin
>
>
---------------------------------------------------------------------------
>
> >-------------
> >
> >
> >
> >
> > This is a PRIVATE message. If you are not the intended recipient,
please
> > delete without copying and kindly advise us by e-mail of the mistake in
> > delivery. NOTE: Regardless of content, this e-mail shall not operate to
> > bind CSC to any order or other contract unless pursuant to explicit
>
> written
>
> > agreement or government initiative expressly permitting the use of
e-mail
> > for such purpose.
>
>
---------------------------------------------------------------------------
>
> >-------------
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Babeldoc-devel mailing list
> > Bab...@li...
> > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > << Attachment Removed : qin-test.zip >>
--
David Glick
Transmit Consulting, Inc
619-475-4052
dg...@tr...
|
|
From: Qin D. <qd...@cs...> - 2003-09-30 15:45:58
Attachments:
qin.zip
|
Bruce and David:
I downloaded the latest the version (babeldoc-bin-1.2.0-RC1) and modified
the env BABELDOC_HOME to point to c:\babeldoc-bin-1.2.0-RC1. Started a new
command shell and re-ran the test:
C:\babeldoc-bin-1.2.0-RC1\bin>babeldoc process -p test-pipeline -f c:
\qin\dummy.txt
I got the same error:
<2003-09-30 10:35:19,670> ERROR [main] : [PipelineFeeder.process]
com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage not
found
at
com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unknown
Source)
at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown Source)
at com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown
Source)
at
com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown Source)
at com.babeldoc.core.pipeline.feeder.FeederFactory.process(Unknown
Source)
at com.babeldoc.core.pipeline.command.PipelineFeeder.process(Unknown
Source)
at com.babeldoc.core.pipeline.command.PipelineFeeder.execute(Unknown
Source)
at com.babeldoc.core.BabeldocCommand.executeCommand(Unknown Source)
at com.babeldoc.core.BabeldocCommand.<init>(Unknown Source)
at com.babeldoc.core.pipeline.command.PipelineFeeder.<init>(Unknown
Source)
at com.babeldoc.core.pipeline.command.PipelineFeeder.main(Unknown
Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.babeldoc.core.Main.handleCommand(Unknown Source)
at com.babeldoc.core.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.babeldoc.init.Main.runBabeldocMain(Unknown Source)
at com.babeldoc.init.Main.main(Unknown Source)
Here is the modified setenv.bat file:
set BABELDOC_HOME=c:\babeldoc-bin-1.2.0-RC1
set BABELDOC_USER=c:\qin\config
set JAVA_HOME=D:\j2sdk1.4.1_03
set PATH=%BABELDOC_HOME%\bin;%JAVA_HOME%\bin;%PATH%
Please see the attached the qin.zip file.(See attached file: qin.zip)
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
"McDonald,
Bruce" To: Qin Ding/ASD/CSC@CSC
<Bruce.McDonald cc: Babeldoc Developer List
@bankofamerica.c <bab...@li...>, David Glick
om> <dg...@co...>
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user]
09/29/03 10:31 Questions. Please Help
AM
Download the latest version and try again - I suspect your installation is
broken.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Friday, September 26, 2003 1:10 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruce:
This is the test-pipeline.properties:
entryStage=initialize
initialize.stageType=Scripting
initialize.nextStage=null
initialize.failOnError=true
initialize.language=javascript
initialize.script=\
java.io.File file = new java.io.File(document.get("file_name"));\
TestManager.validate(file);
Here is the error:
<2003-09-26 11:05:11,960> INFO [Thread-1] : Processing document...
<2003-09-26 11:05:11,960> ERROR [Thread-1] : [AsynchronousFeeder$1.run]
com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage not
foun
d
at
com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk
nown Source)
at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
Source)
at
com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou
rce)
at
com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S
ource)
at
com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(
Unknown Source)
at
com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So
urce)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
urce)
at java.lang.Thread.run(Thread.java:536)
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
"McDonald,
Bruce" To: Qin Ding
<qd...@cs...>, David Glick
<Bruce.McDonald <dg...@co...>
@bankofamerica.c cc: Babeldoc Developer
List
om>
<bab...@li...>
Subject: RE:
[Babeldoc-devel] Re: [Babeldoc-user]
09/26/03 11:39 Questions. Please Help
AM
Huh?!??!
I dont understand the issue here.
Somewhere in your pipeline definition file, place the line:
entryStage=<<some pipeline stage name>>
Where the entryStage is pointing to the first pipeline stage in your
pipeline.
regards,
Bruce.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Friday, September 26, 2003 12:14 PM
To: David Glick
Cc: Babeldoc Developer List
Subject: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
David:
I don't have the Unix-to-Windows converter program; but I retyped the file
into wordpad and saved as text document. However, it is no possitive
effect. It still gives the same error, that is, entryStage not found. I
then copied the first line from src
example/scripting/pipeline/scannerxml.properties. Again, no use. The same
error occured no matter what I did. Seems like the application could not
recognize the "entryStage". By the way, I am using version bin-1.1.9-dev.
Any idea?
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Babeldoc-devel mailing list
Bab...@li...
https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Babeldoc-devel mailing list
Bab...@li...
https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
|
|
From: David G. <dg...@co...> - 2003-09-30 19:05:44
|
Hi Qin, Your dump below shows you starting in the c:\babeldoc-bin-1.2.0-RC1\bin directory. For the template that I sent you, you need to start from the c:\qin directory (assuming that's where you installed the zip file I sent). Also, I think you mentioned that you run on Windows NT. You may want to try changing the long pathnames to mangled paths to see if that makes any difference. I haven't run NT in years, but I thought that NT provided two command shells: command.com and cmd.exe. As I recall, cmd.exe allows long path names and command.com prefers mangled names. Just a thought... David On Tuesday 30 September 2003 8:44 am, Qin Ding wrote: > Bruce and David: > > I downloaded the latest the version (babeldoc-bin-1.2.0-RC1) and modified > the env BABELDOC_HOME to point to c:\babeldoc-bin-1.2.0-RC1. Started a new > command shell and re-ran the test: > C:\babeldoc-bin-1.2.0-RC1\bin>babeldoc process -p test-pipeline -f c: > \qin\dummy.txt > > I got the same error: > <2003-09-30 10:35:19,670> ERROR [main] : [PipelineFeeder.process] > com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage not > found > at > com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unknown > Source) > at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown Source) > at com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown > Source) > at > com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown Source) > at com.babeldoc.core.pipeline.feeder.FeederFactory.process(Unknown > Source) > at com.babeldoc.core.pipeline.command.PipelineFeeder.process(Unknown > Source) > at com.babeldoc.core.pipeline.command.PipelineFeeder.execute(Unknown > Source) > at com.babeldoc.core.BabeldocCommand.executeCommand(Unknown Source) > at com.babeldoc.core.BabeldocCommand.<init>(Unknown Source) > at com.babeldoc.core.pipeline.command.PipelineFeeder.<init>(Unknown > Source) > at com.babeldoc.core.pipeline.command.PipelineFeeder.main(Unknown > Source) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 >9) at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp >l.java:25) at java.lang.reflect.Method.invoke(Method.java:324) > at com.babeldoc.core.Main.handleCommand(Unknown Source) > at com.babeldoc.core.Main.main(Unknown Source) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 >9) at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp >l.java:25) at java.lang.reflect.Method.invoke(Method.java:324) > at com.babeldoc.init.Main.runBabeldocMain(Unknown Source) > at com.babeldoc.init.Main.main(Unknown Source) > > > Here is the modified setenv.bat file: > set BABELDOC_HOME=c:\babeldoc-bin-1.2.0-RC1 > set BABELDOC_USER=c:\qin\config > set JAVA_HOME=D:\j2sdk1.4.1_03 > > set PATH=%BABELDOC_HOME%\bin;%JAVA_HOME%\bin;%PATH% > > Please see the attached the qin.zip file.(See attached file: qin.zip) > > This is a PRIVATE message. If you are not the intended recipient, please > delete without copying and kindly advise us by e-mail of the mistake in > delivery. NOTE: Regardless of content, this e-mail shall not operate to > bind CSC to any order or other contract unless pursuant to explicit written > agreement or government initiative expressly permitting the use of e-mail > for such purpose. > --------------------------------------------------------------------------- >------------- > > > > > > "McDonald, > Bruce" To: Qin > Ding/ASD/CSC@CSC <Bruce.McDonald cc: Babeldoc Developer List > @bankofamerica.c <bab...@li...>, David > Glick om> <dg...@co...> > Subject: RE: > [Babeldoc-devel] Re: [Babeldoc-user] 09/29/03 10:31 Questions. > Please Help AM > > > > > > > Download the latest version and try again - I suspect your installation is > broken. > > -----Original Message----- > From: Qin Ding [mailto:qd...@cs...] > Sent: Friday, September 26, 2003 1:10 PM > To: McDonald, Bruce > Cc: Babeldoc Developer List; David Glick > Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help > > > > Bruce: > > This is the test-pipeline.properties: > > entryStage=initialize > > initialize.stageType=Scripting > initialize.nextStage=null > initialize.failOnError=true > initialize.language=javascript > initialize.script=\ > java.io.File file = new java.io.File(document.get("file_name"));\ > TestManager.validate(file); > > > Here is the error: > > <2003-09-26 11:05:11,960> INFO [Thread-1] : Processing document... > <2003-09-26 11:05:11,960> ERROR [Thread-1] : [AsynchronousFeeder$1.run] > com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage not > foun > d > at > com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk > nown Source) > at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown > Source) > at > com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou > rce) > at > com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S > ource) > at > com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess( > Unknown Source) > at > com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So > urce) > at > EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So > urce) > at java.lang.Thread.run(Thread.java:536) > > > Qin > --------------------------------------------------------------------------- >------------- > > > This is a PRIVATE message. If you are not the intended recipient, please > delete without copying and kindly advise us by e-mail of the mistake in > delivery. NOTE: Regardless of content, this e-mail shall not operate to > bind CSC to any order or other contract unless pursuant to explicit written > agreement or government initiative expressly permitting the use of e-mail > for such purpose. > --------------------------------------------------------------------------- >------------- > > > > > > > "McDonald, > > Bruce" To: Qin Ding > <qd...@cs...>, David Glick > <Bruce.McDonald <dg...@co...> > > @bankofamerica.c cc: Babeldoc Developer > List > om> > <bab...@li...> > Subject: RE: > [Babeldoc-devel] Re: [Babeldoc-user] > 09/26/03 11:39 Questions. Please Help > > AM > > > > > > > > Huh?!??! > > I dont understand the issue here. > > Somewhere in your pipeline definition file, place the line: > > entryStage=<<some pipeline stage name>> > > Where the entryStage is pointing to the first pipeline stage in your > pipeline. > > regards, > Bruce. > > > -----Original Message----- > From: Qin Ding [mailto:qd...@cs...] > Sent: Friday, September 26, 2003 12:14 PM > To: David Glick > Cc: Babeldoc Developer List > Subject: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help > > > > David: > > I don't have the Unix-to-Windows converter program; but I retyped the file > into wordpad and saved as text document. However, it is no possitive > effect. It still gives the same error, that is, entryStage not found. I > then copied the first line from src > example/scripting/pipeline/scannerxml.properties. Again, no use. The same > error occured no matter what I did. Seems like the application could not > recognize the "entryStage". By the way, I am using version bin-1.1.9-dev. > > Any idea? > > Qin > > > --------------------------------------------------------------------------- >------------- > > > > This is a PRIVATE message. If you are not the intended recipient, please > delete without copying and kindly advise us by e-mail of the mistake in > delivery. NOTE: Regardless of content, this e-mail shall not operate to > bind CSC to any order or other contract unless pursuant to explicit written > agreement or government initiative expressly permitting the use of e-mail > for such purpose. > --------------------------------------------------------------------------- >------------- > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Babeldoc-devel mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Babeldoc-devel mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel -- David Glick Transmit Consulting, Inc 619-475-4052 dg...@tr... |
|
From: Qin D. <qd...@cs...> - 2003-09-30 19:38:40
|
David:
c:\qin is the template that Bruce gave to me. I actually ran both places to
see if there was any differences. Of course each time when I switch between
these two directories, I first changed the BABELDOC_USER to point to the
one I was running under.
Alas, there is no difference in the results when running cmd and command.
No difference in c:\babeltest or c:\qin. Seems to me that babeldoc can see
the dummy file and can see the test-pipeline, but in the
test-pipeline.properties, somehow it could not recognize the entryStage.
Is there a way I can debug through the code to figure out where it fails.
How can I set it up to do the debugging? Thanks.
qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
David Glick
<dglick To: Qin Ding/ASD/CSC@CSC, "McDonald, Bruce"
@cox.net> <Bru...@ba...>
cc: Babeldoc Developer List
09/30/03 02:09 <bab...@li...>
PM Subject: Re: [Babeldoc-devel] Re: [Babeldoc-user]
Questions. Please Help
Hi Qin,
Your dump below shows you starting in the c:\babeldoc-bin-1.2.0-RC1\bin
directory. For the template that I sent you, you need to start from the
c:\qin directory (assuming that's where you installed the zip file I sent).
Also, I think you mentioned that you run on Windows NT. You may want to
try
changing the long pathnames to mangled paths to see if that makes any
difference. I haven't run NT in years, but I thought that NT provided two
command shells: command.com and cmd.exe. As I recall, cmd.exe allows long
path names and command.com prefers mangled names. Just a thought...
David
On Tuesday 30 September 2003 8:44 am, Qin Ding wrote:
> Bruce and David:
>
> I downloaded the latest the version (babeldoc-bin-1.2.0-RC1) and modified
> the env BABELDOC_HOME to point to c:\babeldoc-bin-1.2.0-RC1. Started a
new
> command shell and re-ran the test:
> C:\babeldoc-bin-1.2.0-RC1\bin>babeldoc process -p test-pipeline -f c:
> \qin\dummy.txt
>
> I got the same error:
> <2003-09-30 10:35:19,670> ERROR [main] : [PipelineFeeder.process]
> com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage
not
> found
> at
> com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unknown
> Source)
> at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
Source)
> at
com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown
> Source)
> at
> com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown
Source)
> at com.babeldoc.core.pipeline.feeder.FeederFactory.process(Unknown
> Source)
> at
com.babeldoc.core.pipeline.command.PipelineFeeder.process(Unknown
> Source)
> at
com.babeldoc.core.pipeline.command.PipelineFeeder.execute(Unknown
> Source)
> at com.babeldoc.core.BabeldocCommand.executeCommand(Unknown Source)
> at com.babeldoc.core.BabeldocCommand.<init>(Unknown Source)
> at com.babeldoc.core.pipeline.command.PipelineFeeder.<init>(Unknown
> Source)
> at com.babeldoc.core.pipeline.command.PipelineFeeder.main(Unknown
> Source)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> at com.babeldoc.core.Main.handleCommand(Unknown Source)
> at com.babeldoc.core.Main.main(Unknown Source)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> at com.babeldoc.init.Main.runBabeldocMain(Unknown Source)
> at com.babeldoc.init.Main.main(Unknown Source)
>
>
> Here is the modified setenv.bat file:
> set BABELDOC_HOME=c:\babeldoc-bin-1.2.0-RC1
> set BABELDOC_USER=c:\qin\config
> set JAVA_HOME=D:\j2sdk1.4.1_03
>
> set PATH=%BABELDOC_HOME%\bin;%JAVA_HOME%\bin;%PATH%
>
> Please see the attached the qin.zip file.(See attached file: qin.zip)
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit
written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose.
>
---------------------------------------------------------------------------
>-------------
>
>
>
>
>
> "McDonald,
> Bruce" To: Qin
> Ding/ASD/CSC@CSC <Bruce.McDonald cc: Babeldoc Developer
List
> @bankofamerica.c <bab...@li...>, David
> Glick om> <dg...@co...>
> Subject: RE:
> [Babeldoc-devel] Re: [Babeldoc-user] 09/29/03 10:31 Questions.
> Please Help AM
>
>
>
>
>
>
> Download the latest version and try again - I suspect your installation
is
> broken.
>
> -----Original Message-----
> From: Qin Ding [mailto:qd...@cs...]
> Sent: Friday, September 26, 2003 1:10 PM
> To: McDonald, Bruce
> Cc: Babeldoc Developer List; David Glick
> Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
>
>
>
> Bruce:
>
> This is the test-pipeline.properties:
>
> entryStage=initialize
>
> initialize.stageType=Scripting
> initialize.nextStage=null
> initialize.failOnError=true
> initialize.language=javascript
> initialize.script=\
> java.io.File file = new java.io.File(document.get("file_name"));\
> TestManager.validate(file);
>
>
> Here is the error:
>
> <2003-09-26 11:05:11,960> INFO [Thread-1] : Processing document...
> <2003-09-26 11:05:11,960> ERROR [Thread-1] : [AsynchronousFeeder$1.run]
> com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage
not
> foun
> d
> at
> com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk
> nown Source)
> at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
> Source)
> at
> com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou
> rce)
> at
> com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S
> ource)
> at
> com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(
> Unknown Source)
> at
> com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So
> urce)
> at
> EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
> urce)
> at java.lang.Thread.run(Thread.java:536)
>
>
> Qin
>
---------------------------------------------------------------------------
>-------------
>
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit
written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose.
>
---------------------------------------------------------------------------
>-------------
>
>
>
>
>
>
> "McDonald,
>
> Bruce" To: Qin Ding
> <qd...@cs...>, David Glick
> <Bruce.McDonald <dg...@co...>
>
> @bankofamerica.c cc: Babeldoc
Developer
> List
> om>
> <bab...@li...>
> Subject: RE:
> [Babeldoc-devel] Re: [Babeldoc-user]
> 09/26/03 11:39 Questions. Please Help
>
> AM
>
>
>
>
>
>
>
> Huh?!??!
>
> I dont understand the issue here.
>
> Somewhere in your pipeline definition file, place the line:
>
> entryStage=<<some pipeline stage name>>
>
> Where the entryStage is pointing to the first pipeline stage in your
> pipeline.
>
> regards,
> Bruce.
>
>
> -----Original Message-----
> From: Qin Ding [mailto:qd...@cs...]
> Sent: Friday, September 26, 2003 12:14 PM
> To: David Glick
> Cc: Babeldoc Developer List
> Subject: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
>
>
>
> David:
>
> I don't have the Unix-to-Windows converter program; but I retyped the
file
> into wordpad and saved as text document. However, it is no possitive
> effect. It still gives the same error, that is, entryStage not found.
I
> then copied the first line from src
> example/scripting/pipeline/scannerxml.properties. Again, no use. The same
> error occured no matter what I did. Seems like the application could not
> recognize the "entryStage". By the way, I am using version
bin-1.1.9-dev.
>
> Any idea?
>
> Qin
>
>
>
---------------------------------------------------------------------------
>-------------
>
>
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit
written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose.
>
---------------------------------------------------------------------------
>-------------
>
>
>
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Babeldoc-devel mailing list
> Bab...@li...
> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
>
>
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Babeldoc-devel mailing list
> Bab...@li...
> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
--
David Glick
Transmit Consulting, Inc
619-475-4052
dg...@tr...
|
|
From: David G. <dg...@co...> - 2003-09-30 19:48:37
|
This is an odd one, that's for sure. The first thing I would suggest trying is the default documentation pipeline. CD to your Babeldoc directory and try this: build\bin\babeldoc process -p documentation -f readme\userguide.xml -a "style=html" It's right out of the quickstart-en.txt file in the Babeldoc directory, so you may want to refer to it if you have any problems. Let us know if you can create the documentation. Thanks, David On Tuesday 30 September 2003 12:37 pm, Qin Ding wrote: > David: > > c:\qin is the template that Bruce gave to me. I actually ran both places to > see if there was any differences. Of course each time when I switch between > these two directories, I first changed the BABELDOC_USER to point to the > one I was running under. > > Alas, there is no difference in the results when running cmd and command. > No difference in c:\babeltest or c:\qin. Seems to me that babeldoc can see > the dummy file and can see the test-pipeline, but in the > test-pipeline.properties, somehow it could not recognize the entryStage. > Is there a way I can debug through the code to figure out where it fails. > How can I set it up to do the debugging? Thanks. > > qin > > > --------------------------------------------------------------------------- >------------- > > This is a PRIVATE message. If you are not the intended recipient, please > delete without copying and kindly advise us by e-mail of the mistake in > delivery. NOTE: Regardless of content, this e-mail shall not operate to > bind CSC to any order or other contract unless pursuant to explicit written > agreement or government initiative expressly permitting the use of e-mail > for such purpose. > --------------------------------------------------------------------------- >------------- > > > > > > David Glick > <dglick To: Qin > Ding/ASD/CSC@CSC, "McDonald, Bruce" @cox.net> > <Bru...@ba...> cc: Babeldoc Developer List > 09/30/03 02:09 <bab...@li...> PM > Subject: Re: [Babeldoc-devel] Re: [Babeldoc-user] Questions. > Please Help > > > > > > Hi Qin, > > Your dump below shows you starting in the c:\babeldoc-bin-1.2.0-RC1\bin > directory. For the template that I sent you, you need to start from the > c:\qin directory (assuming that's where you installed the zip file I sent). > > Also, I think you mentioned that you run on Windows NT. You may want to > try > changing the long pathnames to mangled paths to see if that makes any > difference. I haven't run NT in years, but I thought that NT provided two > command shells: command.com and cmd.exe. As I recall, cmd.exe allows long > > path names and command.com prefers mangled names. Just a thought... > > > David > > On Tuesday 30 September 2003 8:44 am, Qin Ding wrote: > > Bruce and David: > > > > I downloaded the latest the version (babeldoc-bin-1.2.0-RC1) and modified > > the env BABELDOC_HOME to point to c:\babeldoc-bin-1.2.0-RC1. Started a > > new > > > command shell and re-ran the test: > > C:\babeldoc-bin-1.2.0-RC1\bin>babeldoc process -p test-pipeline -f c: > > \qin\dummy.txt > > > > I got the same error: > > <2003-09-30 10:35:19,670> ERROR [main] : [PipelineFeeder.process] > > com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage > > not > > > found > > at > > com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unknown > > Source) > > at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown > > Source) > > > at > > com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown > > > Source) > > at > > com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown > > Source) > > > at com.babeldoc.core.pipeline.feeder.FeederFactory.process(Unknown > > Source) > > at > > com.babeldoc.core.pipeline.command.PipelineFeeder.process(Unknown > > > Source) > > at > > com.babeldoc.core.pipeline.command.PipelineFeeder.execute(Unknown > > > Source) > > at com.babeldoc.core.BabeldocCommand.executeCommand(Unknown Source) > > at com.babeldoc.core.BabeldocCommand.<init>(Unknown Source) > > at com.babeldoc.core.pipeline.command.PipelineFeeder.<init>(Unknown > > Source) > > at com.babeldoc.core.pipeline.command.PipelineFeeder.main(Unknown > > Source) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 > > >9) at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp > > >l.java:25) at java.lang.reflect.Method.invoke(Method.java:324) > > at com.babeldoc.core.Main.handleCommand(Unknown Source) > > at com.babeldoc.core.Main.main(Unknown Source) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 > > >9) at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp > > >l.java:25) at java.lang.reflect.Method.invoke(Method.java:324) > > at com.babeldoc.init.Main.runBabeldocMain(Unknown Source) > > at com.babeldoc.init.Main.main(Unknown Source) > > > > > > Here is the modified setenv.bat file: > > set BABELDOC_HOME=c:\babeldoc-bin-1.2.0-RC1 > > set BABELDOC_USER=c:\qin\config > > set JAVA_HOME=D:\j2sdk1.4.1_03 > > > > set PATH=%BABELDOC_HOME%\bin;%JAVA_HOME%\bin;%PATH% > > > > Please see the attached the qin.zip file.(See attached file: qin.zip) > > > > This is a PRIVATE message. If you are not the intended recipient, please > > delete without copying and kindly advise us by e-mail of the mistake in > > delivery. NOTE: Regardless of content, this e-mail shall not operate to > > bind CSC to any order or other contract unless pursuant to explicit > > written > > > agreement or government initiative expressly permitting the use of e-mail > > for such purpose. > > --------------------------------------------------------------------------- > > >------------- > > > > > > > > > > > > "McDonald, > > Bruce" To: Qin > > Ding/ASD/CSC@CSC <Bruce.McDonald cc: Babeldoc Developer > > List > > > @bankofamerica.c <bab...@li...>, David > > Glick om> <dg...@co...> > > Subject: RE: > > [Babeldoc-devel] Re: [Babeldoc-user] 09/29/03 10:31 Questions. > > Please Help AM > > > > > > > > > > > > > > Download the latest version and try again - I suspect your installation > > is > > > broken. > > > > -----Original Message----- > > From: Qin Ding [mailto:qd...@cs...] > > Sent: Friday, September 26, 2003 1:10 PM > > To: McDonald, Bruce > > Cc: Babeldoc Developer List; David Glick > > Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help > > > > > > > > Bruce: > > > > This is the test-pipeline.properties: > > > > entryStage=initialize > > > > initialize.stageType=Scripting > > initialize.nextStage=null > > initialize.failOnError=true > > initialize.language=javascript > > initialize.script=\ > > java.io.File file = new java.io.File(document.get("file_name"));\ > > TestManager.validate(file); > > > > > > Here is the error: > > > > <2003-09-26 11:05:11,960> INFO [Thread-1] : Processing document... > > <2003-09-26 11:05:11,960> ERROR [Thread-1] : [AsynchronousFeeder$1.run] > > com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage > > not > > > foun > > d > > at > > com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk > > nown Source) > > at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown > > Source) > > at > > com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou > > rce) > > at > > com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S > > ource) > > at > > com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess( > > Unknown Source) > > at > > com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So > > urce) > > at > > EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So > > urce) > > at java.lang.Thread.run(Thread.java:536) > > > > > > Qin > > --------------------------------------------------------------------------- > > >------------- > > > > > > This is a PRIVATE message. If you are not the intended recipient, please > > delete without copying and kindly advise us by e-mail of the mistake in > > delivery. NOTE: Regardless of content, this e-mail shall not operate to > > bind CSC to any order or other contract unless pursuant to explicit > > written > > > agreement or government initiative expressly permitting the use of e-mail > > for such purpose. > > --------------------------------------------------------------------------- > > >------------- > > > > > > > > > > > > > > "McDonald, > > > > Bruce" To: Qin Ding > > <qd...@cs...>, David Glick > > <Bruce.McDonald <dg...@co...> > > > > @bankofamerica.c cc: Babeldoc > > Developer > > > List > > om> > > <bab...@li...> > > Subject: RE: > > [Babeldoc-devel] Re: [Babeldoc-user] > > 09/26/03 11:39 Questions. Please Help > > > > AM > > > > > > > > > > > > > > > > Huh?!??! > > > > I dont understand the issue here. > > > > Somewhere in your pipeline definition file, place the line: > > > > entryStage=<<some pipeline stage name>> > > > > Where the entryStage is pointing to the first pipeline stage in your > > pipeline. > > > > regards, > > Bruce. > > > > > > -----Original Message----- > > From: Qin Ding [mailto:qd...@cs...] > > Sent: Friday, September 26, 2003 12:14 PM > > To: David Glick > > Cc: Babeldoc Developer List > > Subject: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help > > > > > > > > David: > > > > I don't have the Unix-to-Windows converter program; but I retyped the > > file > > > into wordpad and saved as text document. However, it is no possitive > > effect. It still gives the same error, that is, entryStage not found. > > I > > > then copied the first line from src > > example/scripting/pipeline/scannerxml.properties. Again, no use. The same > > error occured no matter what I did. Seems like the application could not > > recognize the "entryStage". By the way, I am using version > > bin-1.1.9-dev. > > > Any idea? > > > > Qin > > --------------------------------------------------------------------------- > > >------------- > > > > > > > > This is a PRIVATE message. If you are not the intended recipient, please > > delete without copying and kindly advise us by e-mail of the mistake in > > delivery. NOTE: Regardless of content, this e-mail shall not operate to > > bind CSC to any order or other contract unless pursuant to explicit > > written > > > agreement or government initiative expressly permitting the use of e-mail > > for such purpose. > > --------------------------------------------------------------------------- > > >------------- > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Babeldoc-devel mailing list > > Bab...@li... > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > > > > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Babeldoc-devel mailing list > > Bab...@li... > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel -- David Glick Transmit Consulting, Inc 619-475-4052 dg...@tr... |
|
From: Qin D. <qd...@cs...> - 2003-09-30 20:03:40
|
David: here is the error I got when I ran the command you requested:
<2003-09-30 15:00:22,762> INFO [main] : PipelineStage name: attrdefault
<2003-09-30 15:00:23,223> INFO [main] : PipelineStage name: callstages
<2003-09-30 15:00:23,233> INFO [main] : PipelineStage name: stagexml
<2003-09-30 15:00:23,803> INFO [main] : PipelineStage name: stagexform
<2003-09-30 15:00:24,895> INFO [main] : PipelineStage name: stagewriter
<2003-09-30 15:00:24,935> INFO [main] : PipelineStage name: callscanners
<2003-09-30 15:00:24,935> INFO [main] : PipelineStage name: scannerxml
<2003-09-30 15:00:25,105> INFO [main] : PipelineStage name:
scannertransform
<2003-09-30 15:00:25,316> INFO [main] : PipelineStage name: scannerwriter
<2003-09-30 15:00:25,336> INFO [main] : PipelineStage name:
callprocessors
<2003-09-30 15:00:25,336> INFO [main] : PipelineStage name: processorxml
<2003-09-30 15:00:25,486> INFO [main] : PipelineStage name:
processortransform
<2003-09-30 15:00:25,566> INFO [main] : PipelineStage name:
processorwriter
<2003-09-30 15:00:25,596> INFO [main] : PipelineStage name: loaduserguide
<2003-09-30 15:00:25,656> INFO [main] : PipelineStage name:
callgenerateug
<2003-09-30 15:00:25,656> INFO [main] : PipelineStage name: basename
<2003-09-30 15:00:25,686> INFO [main] : PipelineStage name: templatize
<2003-09-30 15:00:25,746> INFO [main] : PipelineStage name: choose
<2003-09-30 15:00:25,776> INFO [main] : PipelineStage name: transform
<2003-09-30 15:00:31,134> ERROR [main] :
[DefaultPipelineStageErrorHandler.handlePipelineStageError] PipelineStage
name: transform Error: com.babeldoc.core.pipeline.PipelineException:
[XslTransformPipelineStage.process]
<2003-09-30 15:00:31,144> ERROR [main] :
[DefaultPipelineStageErrorHandler.handlePipelineStageError] PipelineStage
name: callgenerateug Error: com.babeldoc.core.pipeline.PipelineException:
[XslTransformPipelineStage.process]
<2003-09-30 15:00:31,144> ERROR [main] : [PipelineFeeder.process]
com.babeldoc.core.pipeline.PipelineException:
[XslTransformPipelineStage.process]
at
com.babeldoc.core.pipeline.stage.XslTransformPipelineStage.process(Unknown
Source)
at com.babeldoc.core.pipeline.PipelineStage.processStage(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStage(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStageResult(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStageResults(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStage(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStageResult(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStageResults(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStage(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStageResult(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStageResults(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStage(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unknown
Source)
at com.babeldoc.core.pipeline.PipelineStageFactory.process(Unknown
Source)
at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown Source)
at com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown
Source)
at
com.babeldoc.core.pipeline.stage.CallStagePipelineStage.process(Unknown
Source)
at com.babeldoc.core.pipeline.PipelineStage.processStage(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStage(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStageResult(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStageResults(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStage(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStageResult(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStageResults(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStage(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStageResult(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStageResults(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStage(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStageResult(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStageResults(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStage(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStageResult(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStageResults(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStage(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unknown
Source)
at com.babeldoc.core.pipeline.PipelineStageFactory.process(Unknown
Source)
at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown Source)
at com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown
Source)
at
com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown Source)
at com.babeldoc.core.pipeline.feeder.FeederFactory.process(Unknown
Source)
at com.babeldoc.core.pipeline.command.PipelineFeeder.process(Unknown
Source)
at com.babeldoc.core.pipeline.command.PipelineFeeder.execute(Unknown
Source)
at com.babeldoc.core.BabeldocCommand.executeCommand(Unknown Source)
at com.babeldoc.core.BabeldocCommand.<init>(Unknown Source)
at com.babeldoc.core.pipeline.command.PipelineFeeder.<init>(Unknown
Source)
at com.babeldoc.core.pipeline.command.PipelineFeeder.main(Unknown
Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.babeldoc.core.Main.handleCommand(Unknown Source)
at com.babeldoc.core.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.babeldoc.init.Main.runBabeldocMain(Unknown Source)
at com.babeldoc.init.Main.main(Unknown Source)
Caused by: javax.xml.transform.TransformerException:
java.io.FileNotFoundException: C:
\babeldoc-bin-1.2.0-RC1\readme\readme\userguide\processors.xml (The system
cannot find the path specified)
at
org.apache.xalan.transformer.TransformerImpl.fatalError(TransformerImpl.java:744)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:718)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1179)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1157)
at
com.babeldoc.core.pipeline.stage.XslTransformPipelineStage.transformInputStream(Unknown
Source)
at
com.babeldoc.core.pipeline.stage.XslTransformPipelineStage.transformDocument(Unknown
Source)
... 66 more
Caused by: java.io.FileNotFoundException: C:
\babeldoc-bin-1.2.0-RC1\readme\readme\userguide\processors.xml (The system
cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:103)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:69)
at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:156)
at java.net.URL.openStream(URL.java:960)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
Source)
at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown
Source)
at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at
org.apache.xml.dtm.ref.DTMManagerDefault.getDTM(DTMManagerDefault.java:478)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:661)
... 70 more
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
David Glick
<dglick To: Qin Ding/ASD/CSC@CSC
@cox.net> cc: Babeldoc Developer List
<bab...@li...>, "McDonald,
09/30/03 02:52 Bruce" <Bru...@ba...>
PM Subject: Re: [Babeldoc-devel] Re: [Babeldoc-user]
Questions. Please Help
This is an odd one, that's for sure. The first thing I would suggest
trying
is the default documentation pipeline. CD to your Babeldoc directory and
try
this:
build\bin\babeldoc process -p documentation -f readme\userguide.xml -a
"style=html"
It's right out of the quickstart-en.txt file in the Babeldoc directory, so
you
may want to refer to it if you have any problems. Let us know if you can
create the documentation.
Thanks,
David
On Tuesday 30 September 2003 12:37 pm, Qin Ding wrote:
> David:
>
> c:\qin is the template that Bruce gave to me. I actually ran both places
to
> see if there was any differences. Of course each time when I switch
between
> these two directories, I first changed the BABELDOC_USER to point to the
> one I was running under.
>
> Alas, there is no difference in the results when running cmd and command.
> No difference in c:\babeltest or c:\qin. Seems to me that babeldoc can
see
> the dummy file and can see the test-pipeline, but in the
> test-pipeline.properties, somehow it could not recognize the entryStage.
> Is there a way I can debug through the code to figure out where it fails.
> How can I set it up to do the debugging? Thanks.
>
> qin
>
>
>
---------------------------------------------------------------------------
>-------------
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit
written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose.
>
---------------------------------------------------------------------------
>-------------
>
>
>
>
>
> David Glick
> <dglick To: Qin
> Ding/ASD/CSC@CSC, "McDonald, Bruce" @cox.net>
> <Bru...@ba...> cc: Babeldoc Developer List
> 09/30/03 02:09 <bab...@li...> PM
> Subject: Re: [Babeldoc-devel] Re: [Babeldoc-user] Questions.
> Please Help
>
>
>
>
>
> Hi Qin,
>
> Your dump below shows you starting in the c:\babeldoc-bin-1.2.0-RC1\bin
> directory. For the template that I sent you, you need to start from the
> c:\qin directory (assuming that's where you installed the zip file I
sent).
>
> Also, I think you mentioned that you run on Windows NT. You may want to
> try
> changing the long pathnames to mangled paths to see if that makes any
> difference. I haven't run NT in years, but I thought that NT provided
two
> command shells: command.com and cmd.exe. As I recall, cmd.exe allows
long
>
> path names and command.com prefers mangled names. Just a thought...
>
>
> David
>
> On Tuesday 30 September 2003 8:44 am, Qin Ding wrote:
> > Bruce and David:
> >
> > I downloaded the latest the version (babeldoc-bin-1.2.0-RC1) and
modified
> > the env BABELDOC_HOME to point to c:\babeldoc-bin-1.2.0-RC1. Started a
>
> new
>
> > command shell and re-ran the test:
> > C:\babeldoc-bin-1.2.0-RC1\bin>babeldoc process -p test-pipeline -f c:
> > \qin\dummy.txt
> >
> > I got the same error:
> > <2003-09-30 10:35:19,670> ERROR [main] : [PipelineFeeder.process]
> > com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage
>
> not
>
> > found
> > at
> >
com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unknown
> > Source)
> > at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
>
> Source)
>
> > at
>
> com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown
>
> > Source)
> > at
> > com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown
>
> Source)
>
> > at
com.babeldoc.core.pipeline.feeder.FeederFactory.process(Unknown
> > Source)
> > at
>
> com.babeldoc.core.pipeline.command.PipelineFeeder.process(Unknown
>
> > Source)
> > at
>
> com.babeldoc.core.pipeline.command.PipelineFeeder.execute(Unknown
>
> > Source)
> > at com.babeldoc.core.BabeldocCommand.executeCommand(Unknown
Source)
> > at com.babeldoc.core.BabeldocCommand.<init>(Unknown Source)
> > at
com.babeldoc.core.pipeline.command.PipelineFeeder.<init>(Unknown
> > Source)
> > at com.babeldoc.core.pipeline.command.PipelineFeeder.main(Unknown
> > Source)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
>
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>
> >9) at
>
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>
> >l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> > at com.babeldoc.core.Main.handleCommand(Unknown Source)
> > at com.babeldoc.core.Main.main(Unknown Source)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
>
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>
> >9) at
>
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>
> >l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> > at com.babeldoc.init.Main.runBabeldocMain(Unknown Source)
> > at com.babeldoc.init.Main.main(Unknown Source)
> >
> >
> > Here is the modified setenv.bat file:
> > set BABELDOC_HOME=c:\babeldoc-bin-1.2.0-RC1
> > set BABELDOC_USER=c:\qin\config
> > set JAVA_HOME=D:\j2sdk1.4.1_03
> >
> > set PATH=%BABELDOC_HOME%\bin;%JAVA_HOME%\bin;%PATH%
> >
> > Please see the attached the qin.zip file.(See attached file: qin.zip)
> >
> > This is a PRIVATE message. If you are not the intended recipient,
please
> > delete without copying and kindly advise us by e-mail of the mistake in
> > delivery. NOTE: Regardless of content, this e-mail shall not operate to
> > bind CSC to any order or other contract unless pursuant to explicit
>
> written
>
> > agreement or government initiative expressly permitting the use of
e-mail
> > for such purpose.
>
>
---------------------------------------------------------------------------
>
> >-------------
> >
> >
> >
> >
> >
> > "McDonald,
> > Bruce" To: Qin
> > Ding/ASD/CSC@CSC <Bruce.McDonald cc: Babeldoc Developer
>
> List
>
> > @bankofamerica.c <bab...@li...>, David
> > Glick om> <dg...@co...>
> > Subject: RE:
> > [Babeldoc-devel] Re: [Babeldoc-user] 09/29/03 10:31
Questions.
> > Please Help AM
> >
> >
> >
> >
> >
> >
> > Download the latest version and try again - I suspect your installation
>
> is
>
> > broken.
> >
> > -----Original Message-----
> > From: Qin Ding [mailto:qd...@cs...]
> > Sent: Friday, September 26, 2003 1:10 PM
> > To: McDonald, Bruce
> > Cc: Babeldoc Developer List; David Glick
> > Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please
Help
> >
> >
> >
> > Bruce:
> >
> > This is the test-pipeline.properties:
> >
> > entryStage=initialize
> >
> > initialize.stageType=Scripting
> > initialize.nextStage=null
> > initialize.failOnError=true
> > initialize.language=javascript
> > initialize.script=\
> > java.io.File file = new java.io.File(document.get("file_name"));\
> > TestManager.validate(file);
> >
> >
> > Here is the error:
> >
> > <2003-09-26 11:05:11,960> INFO [Thread-1] : Processing document...
> > <2003-09-26 11:05:11,960> ERROR [Thread-1] :
[AsynchronousFeeder$1.run]
> > com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage
>
> not
>
> > foun
> > d
> > at
> > com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk
> > nown Source)
> > at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
> > Source)
> > at
> > com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou
> > rce)
> > at
> > com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S
> > ource)
> > at
> > com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(
> > Unknown Source)
> > at
> > com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So
> > urce)
> > at
> > EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
> > urce)
> > at java.lang.Thread.run(Thread.java:536)
> >
> >
> > Qin
>
>
---------------------------------------------------------------------------
>
> >-------------
> >
> >
> > This is a PRIVATE message. If you are not the intended recipient,
please
> > delete without copying and kindly advise us by e-mail of the mistake in
> > delivery. NOTE: Regardless of content, this e-mail shall not operate to
> > bind CSC to any order or other contract unless pursuant to explicit
>
> written
>
> > agreement or government initiative expressly permitting the use of
e-mail
> > for such purpose.
>
>
---------------------------------------------------------------------------
>
> >-------------
> >
> >
> >
> >
> >
> >
> > "McDonald,
> >
> > Bruce" To: Qin Ding
> > <qd...@cs...>, David Glick
> > <Bruce.McDonald <dg...@co...>
> >
> > @bankofamerica.c cc: Babeldoc
>
> Developer
>
> > List
> > om>
> > <bab...@li...>
> > Subject: RE:
> > [Babeldoc-devel] Re: [Babeldoc-user]
> > 09/26/03 11:39 Questions. Please Help
> >
> > AM
> >
> >
> >
> >
> >
> >
> >
> > Huh?!??!
> >
> > I dont understand the issue here.
> >
> > Somewhere in your pipeline definition file, place the line:
> >
> > entryStage=<<some pipeline stage name>>
> >
> > Where the entryStage is pointing to the first pipeline stage in your
> > pipeline.
> >
> > regards,
> > Bruce.
> >
> >
> > -----Original Message-----
> > From: Qin Ding [mailto:qd...@cs...]
> > Sent: Friday, September 26, 2003 12:14 PM
> > To: David Glick
> > Cc: Babeldoc Developer List
> > Subject: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
> >
> >
> >
> > David:
> >
> > I don't have the Unix-to-Windows converter program; but I retyped the
>
> file
>
> > into wordpad and saved as text document. However, it is no possitive
> > effect. It still gives the same error, that is, entryStage not found.
>
> I
>
> > then copied the first line from src
> > example/scripting/pipeline/scannerxml.properties. Again, no use. The
same
> > error occured no matter what I did. Seems like the application could
not
> > recognize the "entryStage". By the way, I am using version
>
> bin-1.1.9-dev.
>
> > Any idea?
> >
> > Qin
>
>
---------------------------------------------------------------------------
>
> >-------------
> >
> >
> >
> > This is a PRIVATE message. If you are not the intended recipient,
please
> > delete without copying and kindly advise us by e-mail of the mistake in
> > delivery. NOTE: Regardless of content, this e-mail shall not operate to
> > bind CSC to any order or other contract unless pursuant to explicit
>
> written
>
> > agreement or government initiative expressly permitting the use of
e-mail
> > for such purpose.
>
>
---------------------------------------------------------------------------
>
> >-------------
> >
> >
> >
> >
> >
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Babeldoc-devel mailing list
> > Bab...@li...
> > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
> >
> >
> >
> >
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Babeldoc-devel mailing list
> > Bab...@li...
> > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
--
David Glick
Transmit Consulting, Inc
619-475-4052
dg...@tr...
|
|
From: David G. <dg...@co...> - 2003-09-30 20:28:24
|
Hi Qin, If document generation doesn't work, you have SERIOUS problems... :-) A couple of other things to try: 1. Run this: babeldoc process -p test -f test/quickstart/stats.xml. This will run the test pipeline included with Babeldoc. 2. When Babeldoc executes, it prints out the current version. Please verify that it is the version you think it is. 3. Do you have access to another machine that you can try to load Babeldoc onto? Your problems may be related to the configuration of your specific environment. 4. Try moving Babeldoc from c:\babeldoc-bin-1.2.0-RC1 to c:\babeldoc to see if name-mangling is rearing its ugly head. 5. I'm running with Java v1.4.1_01. I see you have v1.4.1_03. Do you have an earlier JVM to test against (I know, I'm grasping here... :-)). 6. Do you have anything set in your default CLASSPATH? If so, try emptying it first. If none of the above works, we'll try something else... David On Tuesday 30 September 2003 1:01 pm, Qin Ding wrote: > David: here is the error I got when I ran the command you requested: > > <2003-09-30 15:00:22,762> INFO [main] : PipelineStage name: attrdefault > <2003-09-30 15:00:23,223> INFO [main] : PipelineStage name: callstages > <2003-09-30 15:00:23,233> INFO [main] : PipelineStage name: stagexml > <2003-09-30 15:00:23,803> INFO [main] : PipelineStage name: stagexform > <2003-09-30 15:00:24,895> INFO [main] : PipelineStage name: stagewriter > <2003-09-30 15:00:24,935> INFO [main] : PipelineStage name: callscanners > <2003-09-30 15:00:24,935> INFO [main] : PipelineStage name: scannerxml > <2003-09-30 15:00:25,105> INFO [main] : PipelineStage name: > scannertransform > <2003-09-30 15:00:25,316> INFO [main] : PipelineStage name: scannerwriter > <2003-09-30 15:00:25,336> INFO [main] : PipelineStage name: > callprocessors > <2003-09-30 15:00:25,336> INFO [main] : PipelineStage name: processorxml > <2003-09-30 15:00:25,486> INFO [main] : PipelineStage name: > processortransform > <2003-09-30 15:00:25,566> INFO [main] : PipelineStage name: > processorwriter > <2003-09-30 15:00:25,596> INFO [main] : PipelineStage name: loaduserguide > <2003-09-30 15:00:25,656> INFO [main] : PipelineStage name: > callgenerateug > <2003-09-30 15:00:25,656> INFO [main] : PipelineStage name: basename > <2003-09-30 15:00:25,686> INFO [main] : PipelineStage name: templatize > <2003-09-30 15:00:25,746> INFO [main] : PipelineStage name: choose > <2003-09-30 15:00:25,776> INFO [main] : PipelineStage name: transform > <2003-09-30 15:00:31,134> ERROR [main] : > [DefaultPipelineStageErrorHandler.handlePipelineStageError] PipelineStage > name: transform Error: com.babeldoc.core.pipeline.PipelineException: > [XslTransformPipelineStage.process] > <2003-09-30 15:00:31,144> ERROR [main] : > [DefaultPipelineStageErrorHandler.handlePipelineStageError] PipelineStage > name: callgenerateug Error: com.babeldoc.core.pipeline.PipelineException: > [XslTransformPipelineStage.process] > <2003-09-30 15:00:31,144> ERROR [main] : [PipelineFeeder.process] > com.babeldoc.core.pipeline.PipelineException: > [XslTransformPipelineStage.process] > at > com.babeldoc.core.pipeline.stage.XslTransformPipelineStage.process(Unknown > Source) > at com.babeldoc.core.pipeline.PipelineStage.processStage(Unknown > Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStage(Unknown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unk >nown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStageResult(Unknown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStageResults(Unknown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStage(Unknown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unk >nown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStageResult(Unknown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStageResults(Unknown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStage(Unknown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unk >nown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStageResult(Unknown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStageResults(Unknown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStage(Unknown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unk >nown Source) > at com.babeldoc.core.pipeline.PipelineStageFactory.process(Unknown > Source) > at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown Source) > at com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown > Source) > at > com.babeldoc.core.pipeline.stage.CallStagePipelineStage.process(Unknown > Source) > at com.babeldoc.core.pipeline.PipelineStage.processStage(Unknown > Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStage(Unknown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unk >nown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStageResult(Unknown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStageResults(Unknown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStage(Unknown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unk >nown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStageResult(Unknown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStageResults(Unknown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStage(Unknown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unk >nown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStageResult(Unknown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStageResults(Unknown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStage(Unknown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unk >nown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStageResult(Unknown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStageResults(Unknown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStage(Unknown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unk >nown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStageResult(Unknown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStageResults(Unknown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStage(Unknown Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unk >nown Source) > at com.babeldoc.core.pipeline.PipelineStageFactory.process(Unknown > Source) > at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown Source) > at com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown > Source) > at > com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown Source) > at com.babeldoc.core.pipeline.feeder.FeederFactory.process(Unknown > Source) > at com.babeldoc.core.pipeline.command.PipelineFeeder.process(Unknown > Source) > at com.babeldoc.core.pipeline.command.PipelineFeeder.execute(Unknown > Source) > at com.babeldoc.core.BabeldocCommand.executeCommand(Unknown Source) > at com.babeldoc.core.BabeldocCommand.<init>(Unknown Source) > at com.babeldoc.core.pipeline.command.PipelineFeeder.<init>(Unknown > Source) > at com.babeldoc.core.pipeline.command.PipelineFeeder.main(Unknown > Source) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 >9) at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp >l.java:25) at java.lang.reflect.Method.invoke(Method.java:324) > at com.babeldoc.core.Main.handleCommand(Unknown Source) > at com.babeldoc.core.Main.main(Unknown Source) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 >9) at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp >l.java:25) at java.lang.reflect.Method.invoke(Method.java:324) > at com.babeldoc.init.Main.runBabeldocMain(Unknown Source) > at com.babeldoc.init.Main.main(Unknown Source) > Caused by: javax.xml.transform.TransformerException: > java.io.FileNotFoundException: C: > \babeldoc-bin-1.2.0-RC1\readme\readme\userguide\processors.xml (The system > cannot find the path specified) > at > org.apache.xalan.transformer.TransformerImpl.fatalError(TransformerImpl.jav >a:744) at > org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java >:718) at > org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java >:1179) at > org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java >:1157) at > com.babeldoc.core.pipeline.stage.XslTransformPipelineStage.transformInputSt >ream(Unknown Source) > at > com.babeldoc.core.pipeline.stage.XslTransformPipelineStage.transformDocumen >t(Unknown Source) > ... 66 more > Caused by: java.io.FileNotFoundException: C: > \babeldoc-bin-1.2.0-RC1\readme\readme\userguide\processors.xml (The system > cannot find the path specified) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.<init>(FileInputStream.java:103) > at java.io.FileInputStream.<init>(FileInputStream.java:66) > at > sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java: >69) at > sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnectio >n.java:156) at java.net.URL.openStream(URL.java:960) > at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown > Source) > at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown > Source) > at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(U >nknown Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispat >cher.dispatch(Unknown Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown > Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > at > org.apache.xml.dtm.ref.DTMManagerDefault.getDTM(DTMManagerDefault.java:478) > at > org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java >:661) ... 70 more > > > --------------------------------------------------------------------------- >------------- > > This is a PRIVATE message. If you are not the intended recipient, please > delete without copying and kindly advise us by e-mail of the mistake in > delivery. NOTE: Regardless of content, this e-mail shall not operate to > bind CSC to any order or other contract unless pursuant to explicit written > agreement or government initiative expressly permitting the use of e-mail > for such purpose. > --------------------------------------------------------------------------- >------------- > > > > > > David Glick > <dglick To: Qin > Ding/ASD/CSC@CSC @cox.net> cc: Babeldoc Developer List > <bab...@li...>, "McDonald, 09/30/03 02:52 > Bruce" <Bru...@ba...> PM Subject: > Re: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help > > > > > > This is an odd one, that's for sure. The first thing I would suggest > trying > is the default documentation pipeline. CD to your Babeldoc directory and > try > this: > > build\bin\babeldoc process -p documentation -f readme\userguide.xml -a > "style=html" > > It's right out of the quickstart-en.txt file in the Babeldoc directory, so > you > may want to refer to it if you have any problems. Let us know if you can > create the documentation. > > > Thanks, > > David > > On Tuesday 30 September 2003 12:37 pm, Qin Ding wrote: > > David: > > > > c:\qin is the template that Bruce gave to me. I actually ran both places > > to > > > see if there was any differences. Of course each time when I switch > > between > > > these two directories, I first changed the BABELDOC_USER to point to the > > one I was running under. > > > > Alas, there is no difference in the results when running cmd and command. > > No difference in c:\babeltest or c:\qin. Seems to me that babeldoc can > > see > > > the dummy file and can see the test-pipeline, but in the > > test-pipeline.properties, somehow it could not recognize the entryStage. > > Is there a way I can debug through the code to figure out where it fails. > > How can I set it up to do the debugging? Thanks. > > > > qin > > --------------------------------------------------------------------------- > > >------------- > > > > This is a PRIVATE message. If you are not the intended recipient, please > > delete without copying and kindly advise us by e-mail of the mistake in > > delivery. NOTE: Regardless of content, this e-mail shall not operate to > > bind CSC to any order or other contract unless pursuant to explicit > > written > > > agreement or government initiative expressly permitting the use of e-mail > > for such purpose. > > --------------------------------------------------------------------------- > > >------------- > > > > > > > > > > > > David Glick > > <dglick To: Qin > > Ding/ASD/CSC@CSC, "McDonald, Bruce" @cox.net> > > <Bru...@ba...> cc: Babeldoc Developer List > > 09/30/03 02:09 <bab...@li...> PM > > > > Subject: Re: [Babeldoc-devel] Re: [Babeldoc-user] Questions. > > Please Help > > > > > > > > > > > > Hi Qin, > > > > Your dump below shows you starting in the c:\babeldoc-bin-1.2.0-RC1\bin > > directory. For the template that I sent you, you need to start from the > > c:\qin directory (assuming that's where you installed the zip file I > > sent). > > > Also, I think you mentioned that you run on Windows NT. You may want to > > try > > changing the long pathnames to mangled paths to see if that makes any > > difference. I haven't run NT in years, but I thought that NT provided > > two > > > command shells: command.com and cmd.exe. As I recall, cmd.exe allows > > long > > > path names and command.com prefers mangled names. Just a thought... > > > > > > David > > > > On Tuesday 30 September 2003 8:44 am, Qin Ding wrote: > > > Bruce and David: > > > > > > I downloaded the latest the version (babeldoc-bin-1.2.0-RC1) and > > modified > > > > the env BABELDOC_HOME to point to c:\babeldoc-bin-1.2.0-RC1. Started a > > > > new > > > > > command shell and re-ran the test: > > > C:\babeldoc-bin-1.2.0-RC1\bin>babeldoc process -p test-pipeline -f c: > > > \qin\dummy.txt > > > > > > I got the same error: > > > <2003-09-30 10:35:19,670> ERROR [main] : [PipelineFeeder.process] > > > com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage > > > > not > > > > > found > > > at > > com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unknown > > > > Source) > > > at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown > > > > Source) > > > > > at > > > > com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown > > > > > Source) > > > at > > > com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown > > > > Source) > > > > > at > > com.babeldoc.core.pipeline.feeder.FeederFactory.process(Unknown > > > > Source) > > > at > > > > com.babeldoc.core.pipeline.command.PipelineFeeder.process(Unknown > > > > > Source) > > > at > > > > com.babeldoc.core.pipeline.command.PipelineFeeder.execute(Unknown > > > > > Source) > > > at com.babeldoc.core.BabeldocCommand.executeCommand(Unknown > > Source) > > > > at com.babeldoc.core.BabeldocCommand.<init>(Unknown Source) > > > at > > com.babeldoc.core.pipeline.command.PipelineFeeder.<init>(Unknown > > > > Source) > > > at com.babeldoc.core.pipeline.command.PipelineFeeder.main(Unknown > > > Source) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 > > > >9) at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp > > > >l.java:25) at java.lang.reflect.Method.invoke(Method.java:324) > > > at com.babeldoc.core.Main.handleCommand(Unknown Source) > > > at com.babeldoc.core.Main.main(Unknown Source) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 > > > >9) at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp > > > >l.java:25) at java.lang.reflect.Method.invoke(Method.java:324) > > > at com.babeldoc.init.Main.runBabeldocMain(Unknown Source) > > > at com.babeldoc.init.Main.main(Unknown Source) > > > > > > > > > Here is the modified setenv.bat file: > > > set BABELDOC_HOME=c:\babeldoc-bin-1.2.0-RC1 > > > set BABELDOC_USER=c:\qin\config > > > set JAVA_HOME=D:\j2sdk1.4.1_03 > > > > > > set PATH=%BABELDOC_HOME%\bin;%JAVA_HOME%\bin;%PATH% > > > > > > Please see the attached the qin.zip file.(See attached file: qin.zip) > > > > > > This is a PRIVATE message. If you are not the intended recipient, > > please > > > > delete without copying and kindly advise us by e-mail of the mistake in > > > delivery. NOTE: Regardless of content, this e-mail shall not operate to > > > bind CSC to any order or other contract unless pursuant to explicit > > > > written > > > > > agreement or government initiative expressly permitting the use of > > e-mail > > > > for such purpose. > > --------------------------------------------------------------------------- > > > >------------- > > > > > > > > > > > > > > > > > > "McDonald, > > > Bruce" To: Qin > > > Ding/ASD/CSC@CSC <Bruce.McDonald cc: Babeldoc Developer > > > > List > > > > > @bankofamerica.c <bab...@li...>, David > > > Glick om> <dg...@co...> > > > Subject: RE: > > > [Babeldoc-devel] Re: [Babeldoc-user] 09/29/03 10:31 > > Questions. > > > > Please Help AM > > > > > > > > > > > > > > > > > > > > > Download the latest version and try again - I suspect your installation > > > > is > > > > > broken. > > > > > > -----Original Message----- > > > From: Qin Ding [mailto:qd...@cs...] > > > Sent: Friday, September 26, 2003 1:10 PM > > > To: McDonald, Bruce > > > Cc: Babeldoc Developer List; David Glick > > > Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please > > Help > > > > Bruce: > > > > > > This is the test-pipeline.properties: > > > > > > entryStage=initialize > > > > > > initialize.stageType=Scripting > > > initialize.nextStage=null > > > initialize.failOnError=true > > > initialize.language=javascript > > > initialize.script=\ > > > java.io.File file = new java.io.File(document.get("file_name"));\ > > > TestManager.validate(file); > > > > > > > > > Here is the error: > > > > > > <2003-09-26 11:05:11,960> INFO [Thread-1] : Processing document... > > > <2003-09-26 11:05:11,960> ERROR [Thread-1] : > > [AsynchronousFeeder$1.run] > > > > com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage > > > > not > > > > > foun > > > d > > > at > > > com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk > > > nown Source) > > > at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown > > > Source) > > > at > > > com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou > > > rce) > > > at > > > com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S > > > ource) > > > at > > > com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess( > > > Unknown Source) > > > at > > > com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So > > > urce) > > > at > > > EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So > > > urce) > > > at java.lang.Thread.run(Thread.java:536) > > > > > > > > > Qin > > --------------------------------------------------------------------------- > > > >------------- > > > > > > > > > This is a PRIVATE message. If you are not the intended recipient, > > please > > > > delete without copying and kindly advise us by e-mail of the mistake in > > > delivery. NOTE: Regardless of content, this e-mail shall not operate to > > > bind CSC to any order or other contract unless pursuant to explicit > > > > written > > > > > agreement or government initiative expressly permitting the use of > > e-mail > > > > for such purpose. > > --------------------------------------------------------------------------- > > > >------------- > > > > > > > > > > > > > > > > > > > > > "McDonald, > > > > > > Bruce" To: Qin Ding > > > <qd...@cs...>, David Glick > > > <Bruce.McDonald <dg...@co...> > > > > > > @bankofamerica.c cc: Babeldoc > > > > Developer > > > > > List > > > om> > > > <bab...@li...> > > > Subject: RE: > > > [Babeldoc-devel] Re: [Babeldoc-user] > > > 09/26/03 11:39 Questions. Please Help > > > > > > AM > > > > > > > > > > > > > > > > > > > > > > > > Huh?!??! > > > > > > I dont understand the issue here. > > > > > > Somewhere in your pipeline definition file, place the line: > > > > > > entryStage=<<some pipeline stage name>> > > > > > > Where the entryStage is pointing to the first pipeline stage in your > > > pipeline. > > > > > > regards, > > > Bruce. > > > > > > > > > -----Original Message----- > > > From: Qin Ding [mailto:qd...@cs...] > > > Sent: Friday, September 26, 2003 12:14 PM > > > To: David Glick > > > Cc: Babeldoc Developer List > > > Subject: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help > > > > > > > > > > > > David: > > > > > > I don't have the Unix-to-Windows converter program; but I retyped the > > > > file > > > > > into wordpad and saved as text document. However, it is no possitive > > > effect. It still gives the same error, that is, entryStage not found. > > > > I > > > > > then copied the first line from src > > > example/scripting/pipeline/scannerxml.properties. Again, no use. The > > same > > > > error occured no matter what I did. Seems like the application could > > not > > > > recognize the "entryStage". By the way, I am using version > > > > bin-1.1.9-dev. > > > > > Any idea? > > > > > > Qin > > --------------------------------------------------------------------------- > > > >------------- > > > > > > > > > > > > This is a PRIVATE message. If you are not the intended recipient, > > please > > > > delete without copying and kindly advise us by e-mail of the mistake in > > > delivery. NOTE: Regardless of content, this e-mail shall not operate to > > > bind CSC to any order or other contract unless pursuant to explicit > > > > written > > > > > agreement or government initiative expressly permitting the use of > > e-mail > > > > for such purpose. > > --------------------------------------------------------------------------- > > > >------------- > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Babeldoc-devel mailing list > > > Bab...@li... > > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Babeldoc-devel mailing list > > > Bab...@li... > > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel -- David Glick 619-475-4052 dg...@co... |
|
From: Qin D. <qd...@cs...> - 2003-09-30 21:16:57
|
David: Please see my comments bellow:
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
David Glick
<dglick To: "Qin Ding" <qd...@cs...>
@cox.net> cc: Babeldoc Developer List
<bab...@li...>, "McDonald,
09/30/03 03:32 Bruce" <Bru...@ba...>
PM Subject: Re: [Babeldoc-devel] Re: [Babeldoc-user]
Questions. Please Help
Hi Qin,
If document generation doesn't work, you have SERIOUS problems... :-)
A couple of other things to try:
1. Run this: babeldoc process -p test -f test/quickstart/stats.xml. This
will
run the test pipeline included with Babeldoc.
Result:
C:\babeldoc-bin-1.2.0-RC1\bin>babeldoc process -p test -f
test/quickstart/stats.
xml
<2003-09-30 15:40:14,191> INFO [main] : PipelineStage name: entry
<2003-09-30 15:40:14,381> INFO [main] : PipelineStage name: transform
<2003-09-30 15:40:15,302> INFO [main] : PipelineStage name: choose
<2003-09-30 15:40:15,342> INFO [main] : PipelineStage name: writer
After I moved bin and lib folder to c:\babeldoc:
C:\babeldoc\bin>babeldoc process -p test -f test/quickstart/stats.xml
<2003-09-30 15:59:57,001> INFO [main] : PipelineStage name: entry
<2003-09-30 15:59:57,152> INFO [main] : PipelineStage name: transform
<2003-09-30 15:59:58,063> INFO [main] : PipelineStage name: choose
<2003-09-30 15:59:58,103> INFO [main] : PipelineStage name: writer
2. When Babeldoc executes, it prints out the current version. Please
verify
that it is the version you think it is.
I did not see the version line. Above is everything I got from the console.
3. Do you have access to another machine that you can try to load Babeldoc
onto? Your problems may be related to the configuration of your specific
environment.
I don't have another one at work. But I can try tonight at home. I have a
XP machine.
4. Try moving Babeldoc from c:\babeldoc-bin-1.2.0-RC1 to c:\babeldoc to see
if
name-mangling is rearing its ugly head.
After I did,
5. I'm running with Java v1.4.1_01. I see you have v1.4.1_03. Do you have
an
earlier JVM to test against (I know, I'm grasping here... :-)).
Sorry, I don't have the old jvm.
6. Do you have anything set in your default CLASSPATH? If so, try emptying
it
first.
classpath env is empty now. babeldoc_home points to c:\babeldoc now. Re-ran
the dummy and got the same error:
C:\babeldoc\bin>babeldoc process -p test-pipeline -f c:\qin\dummy.txt
<2003-09-30 16:07:01,892> ERROR [main] : [PipelineFeeder.process]
com.babeldoc.core.pipeline.PipelineException: PipelineStage: entryStage not
found
at
com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unknown
Source)
at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown Source)
at com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown
Source)
at
com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown Source)
at com.babeldoc.core.pipeline.feeder.FeederFactory.process(Unknown
Source)
at com.babeldoc.core.pipeline.command.PipelineFeeder.process(Unknown
Source)
at com.babeldoc.core.pipeline.command.PipelineFeeder.execute(Unknown
Source)
at com.babeldoc.core.BabeldocCommand.executeCommand(Unknown Source)
at com.babeldoc.core.BabeldocCommand.<init>(Unknown Source)
at com.babeldoc.core.pipeline.command.PipelineFeeder.<init>(Unknown
Source)
at com.babeldoc.core.pipeline.command.PipelineFeeder.main(Unknown
Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.babeldoc.core.Main.handleCommand(Unknown Source)
at com.babeldoc.core.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.babeldoc.init.Main.runBabeldocMain(Unknown Source)
at com.babeldoc.init.Main.main(Unknown Source)
But I can ran the documentation without a problem now:
<2003-09-30 16:10:54,817> INFO [main] : PipelineStage name: attrdefault
<2003-09-30 16:10:55,288> INFO [main] : PipelineStage name: callstages
<2003-09-30 16:10:55,298> INFO [main] : PipelineStage name: stagexml
<2003-09-30 16:10:55,869> INFO [main] : PipelineStage name: stagexform
<2003-09-30 16:10:56,980> INFO [main] : PipelineStage name: stagewriter
<2003-09-30 16:10:57,021> INFO [main] : PipelineStage name: callscanners
<2003-09-30 16:10:57,021> INFO [main] : PipelineStage name: scannerxml
<2003-09-30 16:10:57,191> INFO [main] : PipelineStage name:
scannertransform
<2003-09-30 16:10:57,401> INFO [main] : PipelineStage name: scannerwriter
<2003-09-30 16:10:57,421> INFO [main] : PipelineStage name:
callprocessors
<2003-09-30 16:10:57,431> INFO [main] : PipelineStage name: processorxml
<2003-09-30 16:10:57,571> INFO [main] : PipelineStage name:
processortransform
<2003-09-30 16:10:57,651> INFO [main] : PipelineStage name:
processorwriter
<2003-09-30 16:10:57,671> INFO [main] : PipelineStage name: loaduserguide
<2003-09-30 16:10:57,722> INFO [main] : PipelineStage name:
callgenerateug
<2003-09-30 16:10:57,732> INFO [main] : PipelineStage name: basename
<2003-09-30 16:10:57,752> INFO [main] : PipelineStage name: templatize
<2003-09-30 16:10:57,802> INFO [main] : PipelineStage name: choose
<2003-09-30 16:10:57,832> INFO [main] : PipelineStage name: transform
<2003-09-30 16:11:17,971> INFO [main] : PipelineStage name: writer
<2003-09-30 16:11:18,021> INFO [main] : PipelineStage name: loaddevguide
<2003-09-30 16:11:18,031> INFO [main] : PipelineStage name:
callgeneratedg
<2003-09-30 16:11:18,031> INFO [main] : PipelineStage name: basename
<2003-09-30 16:11:18,051> INFO [main] : PipelineStage name: templatize
<2003-09-30 16:11:18,061> INFO [main] : PipelineStage name: choose
<2003-09-30 16:11:18,071> INFO [main] : PipelineStage name: transform
<2003-09-30 16:11:19,943> INFO [main] : PipelineStage name: writer
If none of the above works, we'll try something else...
David
On Tuesday 30 September 2003 1:01 pm, Qin Ding wrote:
> David: here is the error I got when I ran the command you requested:
>
> <2003-09-30 15:00:22,762> INFO [main] : PipelineStage name: attrdefault
> <2003-09-30 15:00:23,223> INFO [main] : PipelineStage name: callstages
> <2003-09-30 15:00:23,233> INFO [main] : PipelineStage name: stagexml
> <2003-09-30 15:00:23,803> INFO [main] : PipelineStage name: stagexform
> <2003-09-30 15:00:24,895> INFO [main] : PipelineStage name: stagewriter
> <2003-09-30 15:00:24,935> INFO [main] : PipelineStage name:
callscanners
> <2003-09-30 15:00:24,935> INFO [main] : PipelineStage name: scannerxml
> <2003-09-30 15:00:25,105> INFO [main] : PipelineStage name:
> scannertransform
> <2003-09-30 15:00:25,316> INFO [main] : PipelineStage name:
scannerwriter
> <2003-09-30 15:00:25,336> INFO [main] : PipelineStage name:
> callprocessors
> <2003-09-30 15:00:25,336> INFO [main] : PipelineStage name:
processorxml
> <2003-09-30 15:00:25,486> INFO [main] : PipelineStage name:
> processortransform
> <2003-09-30 15:00:25,566> INFO [main] : PipelineStage name:
> processorwriter
> <2003-09-30 15:00:25,596> INFO [main] : PipelineStage name:
loaduserguide
> <2003-09-30 15:00:25,656> INFO [main] : PipelineStage name:
> callgenerateug
> <2003-09-30 15:00:25,656> INFO [main] : PipelineStage name: basename
> <2003-09-30 15:00:25,686> INFO [main] : PipelineStage name: templatize
> <2003-09-30 15:00:25,746> INFO [main] : PipelineStage name: choose
> <2003-09-30 15:00:25,776> INFO [main] : PipelineStage name: transform
> <2003-09-30 15:00:31,134> ERROR [main] :
> [DefaultPipelineStageErrorHandler.handlePipelineStageError] PipelineStage
> name: transform Error: com.babeldoc.core.pipeline.PipelineException:
> [XslTransformPipelineStage.process]
> <2003-09-30 15:00:31,144> ERROR [main] :
> [DefaultPipelineStageErrorHandler.handlePipelineStageError] PipelineStage
> name: callgenerateug Error: com.babeldoc.core.pipeline.PipelineException:
> [XslTransformPipelineStage.process]
> <2003-09-30 15:00:31,144> ERROR [main] : [PipelineFeeder.process]
> com.babeldoc.core.pipeline.PipelineException:
> [XslTransformPipelineStage.process]
> at
>
com.babeldoc.core.pipeline.stage.XslTransformPipelineStage.process(Unknown
> Source)
> at com.babeldoc.core.pipeline.PipelineStage.processStage(Unknown
> Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStage(Unknown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unk
>nown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStageResult(Unknown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStageResults(Unknown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStage(Unknown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unk
>nown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStageResult(Unknown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStageResults(Unknown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStage(Unknown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unk
>nown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStageResult(Unknown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStageResults(Unknown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStage(Unknown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unk
>nown Source)
> at com.babeldoc.core.pipeline.PipelineStageFactory.process(Unknown
> Source)
> at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
Source)
> at
com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown
> Source)
> at
> com.babeldoc.core.pipeline.stage.CallStagePipelineStage.process(Unknown
> Source)
> at com.babeldoc.core.pipeline.PipelineStage.processStage(Unknown
> Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStage(Unknown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unk
>nown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStageResult(Unknown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStageResults(Unknown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStage(Unknown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unk
>nown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStageResult(Unknown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStageResults(Unknown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStage(Unknown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unk
>nown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStageResult(Unknown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStageResults(Unknown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStage(Unknown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unk
>nown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStageResult(Unknown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStageResults(Unknown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStage(Unknown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unk
>nown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStageResult(Unknown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStageResults(Unknown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStage(Unknown Source)
> at
>
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unk
>nown Source)
> at com.babeldoc.core.pipeline.PipelineStageFactory.process(Unknown
> Source)
> at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
Source)
> at
com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown
> Source)
> at
> com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown
Source)
> at com.babeldoc.core.pipeline.feeder.FeederFactory.process(Unknown
> Source)
> at
com.babeldoc.core.pipeline.command.PipelineFeeder.process(Unknown
> Source)
> at
com.babeldoc.core.pipeline.command.PipelineFeeder.execute(Unknown
> Source)
> at com.babeldoc.core.BabeldocCommand.executeCommand(Unknown Source)
> at com.babeldoc.core.BabeldocCommand.<init>(Unknown Source)
> at com.babeldoc.core.pipeline.command.PipelineFeeder.<init>(Unknown
> Source)
> at com.babeldoc.core.pipeline.command.PipelineFeeder.main(Unknown
> Source)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> at com.babeldoc.core.Main.handleCommand(Unknown Source)
> at com.babeldoc.core.Main.main(Unknown Source)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> at com.babeldoc.init.Main.runBabeldocMain(Unknown Source)
> at com.babeldoc.init.Main.main(Unknown Source)
> Caused by: javax.xml.transform.TransformerException:
> java.io.FileNotFoundException: C:
> \babeldoc-bin-1.2.0-RC1\readme\readme\userguide\processors.xml (The
system
> cannot find the path specified)
> at
>
org.apache.xalan.transformer.TransformerImpl.fatalError(TransformerImpl.jav
>a:744) at
>
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java
>:718) at
>
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java
>:1179) at
>
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java
>:1157) at
>
com.babeldoc.core.pipeline.stage.XslTransformPipelineStage.transformInputSt
>ream(Unknown Source)
> at
>
com.babeldoc.core.pipeline.stage.XslTransformPipelineStage.transformDocumen
>t(Unknown Source)
> ... 66 more
> Caused by: java.io.FileNotFoundException: C:
> \babeldoc-bin-1.2.0-RC1\readme\readme\userguide\processors.xml (The
system
> cannot find the path specified)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:103)
> at java.io.FileInputStream.<init>(FileInputStream.java:66)
> at
>
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:
>69) at
>
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnectio
>n.java:156) at java.net.URL.openStream(URL.java:960)
> at
org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
> Source)
> at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown
> Source)
> at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown
> Source)
> at
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(U
>nknown Source)
> at
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispat
>cher.dispatch(Unknown Source)
> at
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
> at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
> at
>
org.apache.xml.dtm.ref.DTMManagerDefault.getDTM(DTMManagerDefault.java:478)
> at
>
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java
>:661) ... 70 more
>
>
>
---------------------------------------------------------------------------
>-------------
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit
written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose.
>
---------------------------------------------------------------------------
>-------------
>
>
>
>
>
> David Glick
> <dglick To: Qin
> Ding/ASD/CSC@CSC @cox.net> cc: Babeldoc Developer
List
> <bab...@li...>, "McDonald, 09/30/03 02:52
> Bruce" <Bru...@ba...> PM
Subject:
> Re: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
>
>
>
>
>
> This is an odd one, that's for sure. The first thing I would suggest
> trying
> is the default documentation pipeline. CD to your Babeldoc directory and
> try
> this:
>
> build\bin\babeldoc process -p documentation -f readme\userguide.xml -a
> "style=html"
>
> It's right out of the quickstart-en.txt file in the Babeldoc directory,
so
> you
> may want to refer to it if you have any problems. Let us know if you can
> create the documentation.
>
>
> Thanks,
>
> David
>
> On Tuesday 30 September 2003 12:37 pm, Qin Ding wrote:
> > David:
> >
> > c:\qin is the template that Bruce gave to me. I actually ran both
places
>
> to
>
> > see if there was any differences. Of course each time when I switch
>
> between
>
> > these two directories, I first changed the BABELDOC_USER to point to
the
> > one I was running under.
> >
> > Alas, there is no difference in the results when running cmd and
command.
> > No difference in c:\babeltest or c:\qin. Seems to me that babeldoc can
>
> see
>
> > the dummy file and can see the test-pipeline, but in the
> > test-pipeline.properties, somehow it could not recognize the
entryStage.
> > Is there a way I can debug through the code to figure out where it
fails.
> > How can I set it up to do the debugging? Thanks.
> >
> > qin
>
>
---------------------------------------------------------------------------
>
> >-------------
> >
> > This is a PRIVATE message. If you are not the intended recipient,
please
> > delete without copying and kindly advise us by e-mail of the mistake in
> > delivery. NOTE: Regardless of content, this e-mail shall not operate to
> > bind CSC to any order or other contract unless pursuant to explicit
>
> written
>
> > agreement or government initiative expressly permitting the use of
e-mail
> > for such purpose.
>
>
---------------------------------------------------------------------------
>
> >-------------
> >
> >
> >
> >
> >
> > David Glick
> > <dglick To: Qin
> > Ding/ASD/CSC@CSC, "McDonald, Bruce" @cox.net>
> > <Bru...@ba...> cc: Babeldoc Developer List
> > 09/30/03 02:09 <bab...@li...> PM
> >
> > Subject: Re: [Babeldoc-devel] Re: [Babeldoc-user]
Questions.
> > Please Help
> >
> >
> >
> >
> >
> > Hi Qin,
> >
> > Your dump below shows you starting in the c:\babeldoc-bin-1.2.0-RC1\bin
> > directory. For the template that I sent you, you need to start from
the
> > c:\qin directory (assuming that's where you installed the zip file I
>
> sent).
>
> > Also, I think you mentioned that you run on Windows NT. You may want
to
> > try
> > changing the long pathnames to mangled paths to see if that makes any
> > difference. I haven't run NT in years, but I thought that NT provided
>
> two
>
> > command shells: command.com and cmd.exe. As I recall, cmd.exe allows
>
> long
>
> > path names and command.com prefers mangled names. Just a thought...
> >
> >
> > David
> >
> > On Tuesday 30 September 2003 8:44 am, Qin Ding wrote:
> > > Bruce and David:
> > >
> > > I downloaded the latest the version (babeldoc-bin-1.2.0-RC1) and
>
> modified
>
> > > the env BABELDOC_HOME to point to c:\babeldoc-bin-1.2.0-RC1. Started
a
> >
> > new
> >
> > > command shell and re-ran the test:
> > > C:\babeldoc-bin-1.2.0-RC1\bin>babeldoc process -p test-pipeline -f c:
> > > \qin\dummy.txt
> > >
> > > I got the same error:
> > > <2003-09-30 10:35:19,670> ERROR [main] : [PipelineFeeder.process]
> > > com.babeldoc.core.pipeline.PipelineException: PipelineStage:
entryStage
> >
> > not
> >
> > > found
> > > at
>
> com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unknown
>
> > > Source)
> > > at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
> >
> > Source)
> >
> > > at
> >
> > com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown
> >
> > > Source)
> > > at
> > > com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown
> >
> > Source)
> >
> > > at
>
> com.babeldoc.core.pipeline.feeder.FeederFactory.process(Unknown
>
> > > Source)
> > > at
> >
> > com.babeldoc.core.pipeline.command.PipelineFeeder.process(Unknown
> >
> > > Source)
> > > at
> >
> > com.babeldoc.core.pipeline.command.PipelineFeeder.execute(Unknown
> >
> > > Source)
> > > at com.babeldoc.core.BabeldocCommand.executeCommand(Unknown
>
> Source)
>
> > > at com.babeldoc.core.BabeldocCommand.<init>(Unknown Source)
> > > at
>
> com.babeldoc.core.pipeline.command.PipelineFeeder.<init>(Unknown
>
> > > Source)
> > > at
com.babeldoc.core.pipeline.command.PipelineFeeder.main(Unknown
> > > Source)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at
>
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>
> > >9) at
>
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>
> > >l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> > > at com.babeldoc.core.Main.handleCommand(Unknown Source)
> > > at com.babeldoc.core.Main.main(Unknown Source)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at
>
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>
> > >9) at
>
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>
> > >l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> > > at com.babeldoc.init.Main.runBabeldocMain(Unknown Source)
> > > at com.babeldoc.init.Main.main(Unknown Source)
> > >
> > >
> > > Here is the modified setenv.bat file:
> > > set BABELDOC_HOME=c:\babeldoc-bin-1.2.0-RC1
> > > set BABELDOC_USER=c:\qin\config
> > > set JAVA_HOME=D:\j2sdk1.4.1_03
> > >
> > > set PATH=%BABELDOC_HOME%\bin;%JAVA_HOME%\bin;%PATH%
> > >
> > > Please see the attached the qin.zip file.(See attached file: qin.zip)
> > >
> > > This is a PRIVATE message. If you are not the intended recipient,
>
> please
>
> > > delete without copying and kindly advise us by e-mail of the mistake
in
> > > delivery. NOTE: Regardless of content, this e-mail shall not operate
to
> > > bind CSC to any order or other contract unless pursuant to explicit
> >
> > written
> >
> > > agreement or government initiative expressly permitting the use of
>
> e-mail
>
> > > for such purpose.
>
>
---------------------------------------------------------------------------
>
> > >-------------
> > >
> > >
> > >
> > >
> > >
> > > "McDonald,
> > > Bruce" To: Qin
> > > Ding/ASD/CSC@CSC <Bruce.McDonald cc: Babeldoc Developer
> >
> > List
> >
> > > @bankofamerica.c <bab...@li...>,
David
> > > Glick om> <dg...@co...>
> > > Subject: RE:
> > > [Babeldoc-devel] Re: [Babeldoc-user] 09/29/03 10:31
>
> Questions.
>
> > > Please Help AM
> > >
> > >
> > >
> > >
> > >
> > >
> > > Download the latest version and try again - I suspect your
installation
> >
> > is
> >
> > > broken.
> > >
> > > -----Original Message-----
> > > From: Qin Ding [mailto:qd...@cs...]
> > > Sent: Friday, September 26, 2003 1:10 PM
> > > To: McDonald, Bruce
> > > Cc: Babeldoc Developer List; David Glick
> > > Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please
>
> Help
>
> > > Bruce:
> > >
> > > This is the test-pipeline.properties:
> > >
> > > entryStage=initialize
> > >
> > > initialize.stageType=Scripting
> > > initialize.nextStage=null
> > > initialize.failOnError=true
> > > initialize.language=javascript
> > > initialize.script=\
> > > java.io.File file = new java.io.File(document.get("file_name"));\
> > > TestManager.validate(file);
> > >
> > >
> > > Here is the error:
> > >
> > > <2003-09-26 11:05:11,960> INFO [Thread-1] : Processing document...
> > > <2003-09-26 11:05:11,960> ERROR [Thread-1] :
>
> [AsynchronousFeeder$1.run]
>
> > > com.babeldoc.core.pipeline.PipelineException: PipelineStage:
entryStage
> >
> > not
> >
> > > foun
> > > d
> > > at
> > > com.babeldoc.core.pipeline.PipelineStageFactory.getEntryStageName(Unk
> > > nown Source)
> > > at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
> > > Source)
> > > at
> > > com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Sou
> > > rce)
> > > at
> > > com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown S
> > > ource)
> > > at
> > > com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(
> > > Unknown Source)
> > > at
> > > com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown So
> > > urce)
> > > at
> > > EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown So
> > > urce)
> > > at java.lang.Thread.run(Thread.java:536)
> > >
> > >
> > > Qin
>
>
---------------------------------------------------------------------------
>
> > >-------------
> > >
> > >
> > > This is a PRIVATE message. If you are not the intended recipient,
>
> please
>
> > > delete without copying and kindly advise us by e-mail of the mistake
in
> > > delivery. NOTE: Regardless of content, this e-mail shall not operate
to
> > > bind CSC to any order or other contract unless pursuant to explicit
> >
> > written
> >
> > > agreement or government initiative expressly permitting the use of
>
> e-mail
>
> > > for such purpose.
>
>
---------------------------------------------------------------------------
>
> > >-------------
> > >
> > >
> > >
> > >
> > >
> > >
> > > "McDonald,
> > >
> > > Bruce" To: Qin Ding
> > > <qd...@cs...>, David Glick
> > > <Bruce.McDonald <dg...@co...>
> > >
> > > @bankofamerica.c cc: Babeldoc
> >
> > Developer
> >
> > > List
> > > om>
> > > <bab...@li...>
> > > Subject: RE:
> > > [Babeldoc-devel] Re: [Babeldoc-user]
> > > 09/26/03 11:39 Questions. Please Help
> > >
> > > AM
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Huh?!??!
> > >
> > > I dont understand the issue here.
> > >
> > > Somewhere in your pipeline definition file, place the line:
> > >
> > > entryStage=<<some pipeline stage name>>
> > >
> > > Where the entryStage is pointing to the first pipeline stage in your
> > > pipeline.
> > >
> > > regards,
> ...
[truncated message content] |
|
From: David G. <dg...@co...> - 2003-09-30 21:30:36
|
Okay, if you can now run the documentation pipeline, either we're getting
somewhere, or else you have a bunch of problems that we need to fix, one at a
time. Let's get rolling...
Is this still your configuration:
--- setenv.bat ---
set BABELDOC_HOME=c:\babeldoc
set BABELDOC_USER=c:\qin\config
set JAVA_HOME=D:\j2sdk1.4.1_03
set PATH=%BABELDOC_HOME%\bin;%JAVA_HOME%\bin;%PATH%
--- test-pipeline.properties ---
entryStage=initialize
initialize.stageType=Scripting
initialize.nextStage=null
initialize.failOnError=true
initialize.language=javascript
initialize.script=\
java.io.File file = new java.io.File(document.get("file_name"));\
TestManager.validate(file);
If so, then please also post c:\qin\config\pipeline\config.properties.
David
On Tuesday 30 September 2003 2:14 pm, Qin Ding wrote:
> > > > set BABELDOC_HOME=c:\babeldoc-bin-1.2.0-RC1
> > > > set BABELDOC_USER=c:\qin\config
> > > > set JAVA_HOME=D:\j2sdk1.4.1_03
> > > >
> > > > set PATH=%BABELDOC_HOME%\bin;%JAVA_HOME%\bin;%PATH%
> > > >
> > > > Please see the attached the qin.zip file.(See attached file: qin.zip)
> > > >
> > > > This is a PRIVATE message. If you are not the intended recipient,
> >
> > please
> >
> > > > delete without copying and kindly advise us by e-mail of the mistake
>
> in
>
> > > > delivery. NOTE: Regardless of content, this e-mail shall not operate
>
> to
>
> > > > bind CSC to any order or other contract unless pursuant to explicit
> > >
> > > written
> > >
> > > > agreement or government initiative expressly permitting the use of
> >
> > e-mail
> >
> > > > for such purpose.
>
> ---------------------------------------------------------------------------
>
> > > >-------------
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > "McDonald,
> > > > Bruce" To: Qin
> > > > Ding/ASD/CSC@CSC <Bruce.McDonald cc: Babeldoc Developer
> > >
> > > List
> > >
> > > > @bankofamerica.c <bab...@li...>,
>
> David
>
> > > > Glick om> <dg...@co...>
> > > > Subject: RE:
> > > > [Babeldoc-devel] Re: [Babeldoc-user] 09/29/03 10:31
> >
> > Questions.
> >
> > > > Please Help AM
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Download the latest version and try again - I suspect your
>
> installation
>
> > > is
> > >
> > > > broken.
> > > >
> > > > -----Original Message-----
> > > > From: Qin Ding [mailto:qd...@cs...]
> > > > Sent: Friday, September 26, 2003 1:10 PM
> > > > To: McDonald, Bruce
> > > > Cc: Babeldoc Developer List; David Glick
> > > > Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please
> >
> > Help
> >
> > > > Bruce:
> > > >
> > > > This is the test-pipeline.properties:
> > > >
> > > > entryStage=initialize
> > > >
> > > > initialize.stageType=Scripting
> > > > initialize.nextStage=null
> > > > initialize.failOnError=true
> > > > initialize.language=javascript
> > > > initialize.script=\
> > > > java.io.File file = new java.io.File(document.get("file_name"));\
> > > > TestManager.validate(file);
--
David Glick
619-475-4052
dg...@co...
|