|
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...
|