Commander Error Log
Hi
I have created a task list with a trigger to pick up oracle xml from our file folder. Then I have commands created to convert the xml to a commander script and another to execute the commander script. Within the convert xml scipt I am mapping in the file path for the custom format that I have created. When I start detection I get an error that appends the trigger file location to the custom format file location. Clearly I am setting this up incorrectly. Do these two events need to be separate tasks and not just separte commands? screenshots attached
-
Michael Toupin (mtoupin
★ BarTender Hero ★
The problem is that you're trying to address the Linux shares for /usr/temp directly. Commander (or any Windows application) will not interact with that filesystem without using Samba or something like that to make those folders directly accessible from Windows. Also, what version of BarTender are you using? The XML2TXT application was only available in BarTender 8.0, 9.0, and 9.1, so if you're using a newer version this utility isn't available. 0 -
Legacy Poster
★ BarTender Hero ★
Mike
Thanks - I am on release 10.1 SR1. If not XML2TXT then what is the correct utility for 10.1?
I will look into the what we can use for the folder access.
0 -
Under "C:\Users\%YourUserName%\Documents\BarTender\BarTender Documents\Oracle" you will see some Commander task list and BarTender document examples for integrating with Oracle XMLScript. Commander (in version 10.1) will make use of the "Transform" command type (in particular, the "Oracle WMS and MSCA Print Request to BTXML".
0 -
Legacy Poster
★ BarTender Hero ★
I have changed the task list to the following:
Task List
1 Transform - Oracle WMS and MSCA to Bartender
2. BTXML script - /XML script = %Triger contents%
3. Bartender - points to location of print template
I am not sure if this is correct since I still have the issue originally noted for the file\path. I understand that we may need samba for file sharing, however I need to understand why the error log is merging the Bartender setup location folder with the path of where the xml are being sent to.
Error 3 - Could not find or create the "C:\Users\madore\Documents\BarTender\BarTender Documents\Oracle\/usr/tmp/r12dev6\" folder - The system cannot find the path specified.
In the above the section "C:\Users\madore\Documents\BarTender\BarTender Documents\Oracle\ does not appear in the command setup at all - it is the location of the bartender folders upon installation.
The second appended section "/usr/tmp/r12dev6\" is the location of the xml files to be picked up (hopefully). What would cause this appending behavior?
0 -
Legacy Poster
★ BarTender Hero ★
If anyone can assist with the questions above I would appreciate it.
0 -
Michael Toupin (mtoupin
★ BarTender Hero ★
What's happening there is that Commander believes that you're specifying a location relative to the current file location. So it appends that to the beginning of the data because you're not specifying an actual Windows location. You need to specify a full local or UNC path to make this work, using the Linux path is always going to result in an error. 0 -
Legacy Poster
★ BarTender Hero ★
OK thanks - are there other options for this other than Samba? What do most oracle customers employ for the file sharing? Our network team is not interested in installing this.
0 -
Why don't you use a TCP/IP socket instead? This is also included in the "Oracle XML (Socket)" task for the "OracleXML.tl" task list sample.
0 -
Legacy Poster
★ BarTender Hero ★
Hello
We have made the necessary modifications for the file share and can see files being sent to directory folder and scanning in commander returns a "file found" message when scanning. However the job does not print. I have made a modification to the seeded oracleXML.tl to use the label format I created for this label type. What could be the printing issue? I am connected to the printer and send test prints from the bartender desktop. beloe is the xml generation and the commander script.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE labels SYSTEM "label.dtd">
<labels _FORMAT="QtnMat3L" _QUANTITY="1" _PRINTERNAME="PRT_BOS_Mobile01" _JOBNAME="LBL2009">
<label>
<variable name= "Item">1007</variable>
<variable name= "Locator">A001D</variable>
<variable name= "Number of labels"></variable>
<variable name= "Lot">RM10</variable>
<variable name= "Lot_Status">RCM</variable>
<variable name= "Organization">VMC</variable>
<variable name= "Quantity">1</variable>
<variable name= "Subinventory">ANNEX</variable>
<variable name= "UOM">KG</variable>
</label>
</labels>0 -
Legacy Poster
★ BarTender Hero ★
I can't seem to upload a screenshot.
commander task list has two commands
Transfrom - WMS and MSCA print request into BTXML
Bartender - /AF="D:\QtnMat3L.btw"/PRN="\\vertexprintbos1\Mobile01_printer
0 -
Legacy Poster
★ BarTender Hero ★
current task list - not printing
0 -
There is no need to add an extra BarTender command in your task. Just use "Transform", then "BTXML Script".
Did you get our Oracle samples to work correctly?
As a test, switch Commander to run as an application (do this via the "Administer > Service Setup" dialog in Commander). Start Detection in Commander, and now access the "Detection > Show all Running BarTenders" Option. The underlying BarTender process should be made visible now. Try now to send the XML trigger file and check what happens in BarTender. Does the BarTender document open, does an error message appear?
0
Iniciar sesión para dejar un comentario.
Comentarios
12 comentarios