Strange error when using RH11 to convert .dita files to .html
I am trying to use RH11 to convert a bunch of .dita files to .html, but so far have had no success. I have DitaOT installed in my program folders.
I've been opening robohelp, selecting new project -> import -> ditamap file. select the ditamap to use, create a new folder for the project, hit next.
In the replace default XSLT file for conversion field, I put in the dita2html-base.xsl file.
In the DITA Open Toolkit home directory field, I navigate to the location of the DitaOT root folder, select it, and click finish.
When I click, finish, robohelp almost immediately gives me an error message saying "No error occurred", leading me to believe that I filled out all of the required fields correctly, but when I check the output folder I created, it is empty.
Any tips on things to try/ what I should change would be very appreciated (or if i'm trying to force RH to do something that it isn't normally able to do, that would be appreciated as well).
Can anyone show me how to do the translation extraction in this OAF version?
Similar Messages
-
Error when using cast and convert to datetime
I run a stored procedure
usp_ABC
as
begin
delete from #temp1
where #temp1.ResID not in
( select Col1
from TableA
where ( @I_vId = -1 or Doc_Field_ID = @I_vId)
and ColA1 = 2 and FieldValue !=''
and cast ( FieldValue as DATETIME ) = cast (@strvalue_index as DATETIME)
and ResID = #temp1.ResID
and TypesId = @I_vTypeId
end
But return message "Conversion failed when converting date and/or time from character string.'
Format of Column FieldValue is nvarchar(400)
@strvalue_index = '05/05/2013'
So I see in article http://technet.microsoft.com/en-us/library/ms174450.aspx MS say about MS SQL Server and SQL Server Compact.
Then I re-write proc:
delete from #temp1
where #temp1.ResID not in
( select Col1
from TableA
where ( @I_vId = -1 or Doc_Field_ID = @I_vId)
and ColA1 = 2 and FieldValue !=''
and cast ( cast(FieldValue as nvarchar(200)) as DATETIME ) = cast (@strvalue_index as DATETIME)
and ResID = #temp1.ResID
and TypesId = @I_vTypeId
so stored run success.
I don't understand how?
When i run only statement in MS SQL Studio Management, the statement run success.
Thanks all,No bad dates in my data.
Apparently you have. Or, as Johnny Bell pointed out, there is a clash with date formats. Did you try the query with isdate()?
For SQL 2008, you need
CASE WHEN isdate(FieldValue) = 1
THEN CAST (FieldValue AS datetime)
END =
CASE WHEN isdate(@strvalue_index) = 1
THEN CAST (@strvalue_index AS datetime)
END
Erland Sommarskog, SQL Server MVP, [email protected]
I think date formats is OK. So when I re-write stored:
and cast ( FieldValue as DATETIME ) = cast (@strvalue_index as DATETIME)
=>
and cast ( cast(FieldValue as varchar(200)) as DATETIME ) = cast (@strvalue_index as DATETIME)
the stored procedure will run success. I see in http://technet.microsoft.com/en-us/library/ms174450.aspx MS
has an IMPORTANT:
Important
When using CAST or CONVERT for nchar, nvarchar, binary, and varbinary,
SQL Server truncates values to maximum of 30 characters. SQL Server Compact allows 4000 for nchar and nvarchar, and 8000 for binary and varbinary. Due
to this, results generated by querying SQL Server and SQL Server Compact are different. In cases where the size of the data types is specified such as nchar(200), nvarchar(200), binary(400), varbinary(400), the results are consistent across SQL Server and
SQL Server Compact.
I can't explain it in this case -
Validation error when using a cutsomer converter
Hey i'm trying to use a customer converter to convert between an object and a string, i can get it to display but when i submit my form i get the error Validation Error: Value is not valid.
Here is my jsp code
<h:selectManyCheckbox value="#{AddModuleBean.selectedSchemes}" converter="schemeConverter" id="scheme" >
<f:selectItems value="#{AddModuleBean.schemeList}" id="schemeList" />
</h:selectManyCheckbox>Maybe you just did something incredibly wrong. If I copy my "Objects in selectOneMenu" example and make small changes to your needs accordingly (Foo --> Scheme, selectOneMenu --> selectManyCheckbox and Foo selectedItem --> List<Scheme> selectedItems), then it just works flawlessly.
Here it is:
JSF<%@taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<f:view>
<html>
<head><title>Test</title></head>
<body>
<h:form>
<h:selectManyCheckbox value="#{myBean.selectedItems}">
<f:selectItems value="#{myBean.selectItems}" />
<f:converter converterId="schemeConverter" />
</h:selectManyCheckbox>
<h:commandButton value="Submit" action="#{myBean.action}" />
<h:messages />
</h:form>
</body>
</html>
</f:view>MyBeanpackage mypackage;
import java.util.ArrayList;
import java.util.List;
import javax.faces.model.SelectItem;
public class MyBean {
// Init ---------------------------------------------------------------------------------------
private static SchemeDAO schemeDAO = new SchemeDAO();
private List<SelectItem> selectItems;
private List<Scheme> selectedItems;
fillSelectItems();
// Actions ------------------------------------------------------------------------------------
public void action() {
System.out.println("Selected Scheme items: " + selectedItems);
// Getters ------------------------------------------------------------------------------------
public List<SelectItem> getSelectItems() {
return selectItems;
public List<Scheme> getSelectedItems() {
return selectedItems;
// Setters ------------------------------------------------------------------------------------
public void setSelectedItems(List<Scheme> selectedItems) {
this.selectedItems = selectedItems;
// Helpers ------------------------------------------------------------------------------------
private void fillSelectItems() {
selectItems = new ArrayList<SelectItem>();
for (Scheme scheme : schemeDAO.list()) {
selectItems.add(new SelectItem(scheme, scheme.getName()));
}Schemepackage mypackage;
public class Scheme {
// Init ---------------------------------------------------------------------------------------
private String name;
// Constructors -------------------------------------------------------------------------------
public Scheme() {
// Default constructor, keep alive.
public Scheme(String name) {
this.name = name;
// Getters ------------------------------------------------------------------------------------
public String getName() {
return name;
// Setters ------------------------------------------------------------------------------------
public void setName(String name) {
this.name = name;
// Helpers ------------------------------------------------------------------------------------
public String toString() {
// Override Object#toString() so that it returns a human readable String representation.
// It is not required by the Converter or so, it just pleases the reading in the logs.
return "Scheme[" + name + "]";
}SchemeDAOpackage mypackage;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
public class SchemeDAO {
// Init ---------------------------------------------------------------------------------------
private static Map<String, Scheme> schemeMap;
static {
loadSchemeMap(); // Preload the fake database.
// Actions ------------------------------------------------------------------------------------
public Scheme load(String name) {
return schemeMap.get(name);
public List<Scheme> list() {
return new ArrayList<Scheme>(schemeMap.values());
public Map<String, Scheme> map() {
return schemeMap;
// Helpers ------------------------------------------------------------------------------------
private static void loadSchemeMap() {
// This is just a fake database. We're using LinkedHashMap as it maintains the ordering.
schemeMap = new LinkedHashMap<String, Scheme>();
schemeMap.put("schemeName1", new Scheme("schemeName1"));
schemeMap.put("schemeName2", new Scheme("schemeName2"));
schemeMap.put("schemeName3", new Scheme("schemeName3"));
}SchemeConverterpackage mypackage;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;
public class SchemeConverter implements Converter {
// Init ---------------------------------------------------------------------------------------
private static SchemeDAO schemeDAO = new SchemeDAO();
// Actions ------------------------------------------------------------------------------------
public Object getAsObject(FacesContext context, UIComponent component, String value) {
// Convert the unique String representation of Scheme to the actual Scheme object.
return schemeDAO.load(value);
public String getAsString(FacesContext context, UIComponent component, Object value) {
// Convert the Scheme object to its unique String representation.
return ((Scheme) value).getName();
}faces-config.xml<?xml version="1.0" encoding="UTF-8"?>
<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
version="1.2">
<converter>
<converter-id>schemeConverter</converter-id>
<converter-class>mypackage.SchemeConverter</converter-class>
</converter>
<managed-bean>
<managed-bean-name>myBean</managed-bean-name>
<managed-bean-class>mypackage.MyBean</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
</faces-config> -
Strange errors when using user defined function in where clause
Hello,
I am having trouble with a function that, when used in the where clause of a select will cause an error if the first column selected is of type INTEGER. Not sure whether I am doing something wrong or whether this is a bug.
Here is a very simple test case:
create table test(
col1 integer not null,
col2 varchar(20) ascii default ''
insert into test values(1,'2011-03-15 05:00:00')
insert into test values(2,'2011-03-15 07:00:00')
CREATE FUNCTION BTR_TAG RETURNS VARCHAR AS
VAR ret VARCHAR(20);
SET ret='2011-03-15 06:00:00';
RETURN ret;
Select * from test where col2 >= BTR_TAG()
Select col1,col2 from test where col2 >= BTR_TAG()
=> Error in assignment;-3016 POS(1) Invalid numeric constant
Select '',* from test where col2 >= BTR_TAG()
Select col2,col1 from test where col2 >= BTR_TAG()
=> works as it should
MaxDB V 7.7.07.16 running on Windows Server 2003
I can replicated the test case above with Sql Studio and other ODBC based tools.
Thanks in advance,
Silke ArnswaldHello Siva,
sorry, but I don't understand your reply:
This is not right forum to posting this question.
You are from which module or working any 3rd party application.
MaxDB 7.7.07.16 is the community version of MaxDb,
we are not using it for SAP
and no 3rd party software is required to reproduce my problem,
Sql Studio or Database Studio will do.
Regards,
Silke Arnswald -
Error when using API.DataWindow.Utilities.mShellAndWait: File not found
I am trying to run a simple command using API.DataWindow.Utilities.mShellAndWait, however I am experiencing the following error in FDM web. Strangely, I do not see the same error when the command is run from FDM Workbench:
Error: File not found
At Line: ###
The command is as follows:
Dim strCMD
strCMD = "ECHO %DATE% %TIME% >> \\<servername>\<folder1>\<folder2>\File.Log"
API.DataWindow.Utilities.mShellAndWait strCMD, 0
This command works fine when run directly from the command line. I am using a UNC path so thought this would have worked. Can anyone please suggest how I can resolve this? I have also tried the following and this results in a similar error:
Dim strCMD
strCMD = "ECHO %DATE% %TIME% >> \\<servername>\<folder1>\<folder2>\File.Log"
Set WshShell = CreateObject("WScript.Shell")
Set WshShellExec = WshShell.Exec(strCMD)
Error: The system cannot find the file specified.I would expect the issue is due to user access priviledges.
When you run it through Workbench, the shell and wait is using your (logged on user's) credentials.
When it operates through the web stie, it is using the service account credentials.
If the service account does not have permissions, that could explain the 'file not found', though I would expect an access is denied error.
$.02 -
Strange error when using Automatic Row Processing
Hi All,
I have a page with 2 regions
- first is a form for data entry (4 fields - 2 hidden, 1 LOV, 1 text)
--> 3 buttons - Cancel, Create, Create & Create Another
--> Create branches to next page, Create Another branches back to same page
- second is report of items entered into the form (conditional display)
This all seems to be working, except that when I click either of the buttons, I get this:
Action Processed. -- The success message - so data is inserted
Unexpected error, unable to find item name at application or page level.
Error ERR-1002 Unable to find item ID for item " P31_PIECE_CNT)" in application "122".
And the 'OK' link. When I use the link to go back to the page, the data shows up in the report. So I know that the process is working up until it does the insert, but not sure why I get the error.
Corey
Database Version Information
Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
PL/SQL Release 9.2.0.7.0 - Production
CORE 9.2.0.7.0 Production
Product Build: 2.0.0.00.49All that is saying is that no such page/app item called P31_PIECE_CNT exists in the application and some after-submit component on that page is trying to refer to that item name.
-
Strange Error when using UIXIterator
I am using JDeveloper 11.1.2.3.0 and wanted to enabled paging using UIXIterator component from this library org.apache.myfaces.trinidad.component.UIXIterator.
Added reference to Trinidad tags libs and libraries.
The code compiles fine with no errors or warnings.
I am getting deployment error to Weblogic Server.
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: oracle.adfinternal.controller.util.LogUtils
I've tried everything but the error is still there.
I also tried suggestions from this thread:
https://kr.forums.oracle.com/forums/thread.jspa?threadID=2291414
Still did not help.
Please help
Mikhail
Edited by: mike621062 on Jun 5, 2013 7:49 AMAll that is saying is that no such page/app item called P31_PIECE_CNT exists in the application and some after-submit component on that page is trying to refer to that item name.
-
Strange error when using the ParserAdapter class
Hi Gurus:
in my app,
i created a ParserAdapter class
ParserAdapter pa = new ParserAdapter();
Then I set the ContentHandler and ErrorHandler
pa.setContentHandler(ContentHandeler ch);
pa.setErrorHandler(ErroHandler er);
and in my main() I have
String xmlFile = "file:///c:/test.xml"; (this is the URL of the xml file i want to parse)
then I call pa.parse(xmlFile);
and I get the following exception
org.xml.sax.SAXException:
System property "org.xml.sax.parser" not specified
Can someone please tell me what i did wrong? I check my xml and its dtd, they are both fine
Any help would be greatly appreciated, thanksTry setting the property .e.g
System.setProperty("org.xml.sax.parser","<QualifiedpathToYourParser>"); -
CreatePDF keeps erroring when I try to convert TIFF files to PDF
I have tried multiple times to convert a TIFF file into a PDF using the Adobe Reader desktop application as well as the Adobe CreatePDF Desktop Printer. It keeps erroring out in both applications. What did I pay for? And why won't it work? Please help.
Hi,
I apologize for the trouble.
Please tryin web UI at https://createpdf.acrobat.com/signin.html with your Adobe ID and password.
Then select "Convert to PDF" tool from right pane.
Please let me know it this does not work.
Hisami -
I am using Adobe Reader with paid up service through May 2015. When I attempt to convert a file either to PDF or from PDF, I get the error message, "An error occurred while trying to access the service". What do I need to do to get access to the service I have paid for?
Hi DeaconTomColorado,
Please see "Error occurred when trying to access this service" when logging on to Acrobat.com.
Adobe has just released an update to Adobe Reader, so if you're accessing the service via Reader, please let us know whether the update helps resolve the issue.
Best,
Sara -
Hi I have downloaded Acrobat XI Pro and when I try to convert pdf file to word the message says 'error can't sign in'?
IrenedixHi Irenedix,
If you are using Acrobat you can try the suggestions mentioned above.
Are you using the Create PDF service from within Reader to create pdf?
If yes then please check if you are able to login to: https://cloud.acrobat.com/convertpdf with your Adobe ID and able to convert the document to pdf.
If yes then within Reader you can try the following:
Choose Edit > Preferences (Win)
Click 'Online Services' or 'Adobe Online Services' on the left-hand side
Sign out of your Adobe ID and sign back in.
Regards,
Rave -
When I attempt to convert a file, either to PDF or from PDF I receive the error message "An error occurred while trying to access the service" what can I do to resolve? I already applied updates and attempted to fix?
You could always sign into Acrobat.com directly and use the service through the web site if it's a critical need.
-
Strange error when Bootcamp attempts to create partition for Windows
I get a strange error when I tell Bootcamp to create a partition for Windows. I get to the Create a Partition stage. I select 20GB for Windows leaving 91GB (39GB free) for OS X. I then click Partition and it gives me the following error
*The disk cannot be partitioned because some files cannot be moved.*
Back up the disk and use Disk Utility to format it as a single Mac OS Extended (Journaled) volume. Restore your information to the disk and try using Boot Camp Assistant again.
My disk is formatted in Mac OS Extended (Journaled), I have closed all applications (besides Bootcamp Assistant) and I have even restarted and tried again to see if that might help. Nothing. I can't get it to partition. Any thoughts? Can I partition my disk manually through disk utility and then select it in Bootcamp?Hi,
this gets asked at least a thousand times by now.
Have a look at this thread for solution http://discussions.apple.com/thread.jspa?messageID=10540273�
Regards
Stefan -
Help: Error when using LSMW (Recording Object Type)
Dear all,
I encountered an error when using "Batch Input Recording" way in LSMW,which is as follows:
I have recorded the transaction MM01 and the source structure and data mapping.When dealing
with "Specify Files",the error comes out with message
--> "File Name 'Converted Data':Max.45 Characters:Remaining saved".
and the subsequent steps cannot be maintained due to the error.Alex,
The name of file for Converted data is a system generated combination of your Project subproject and object followed by lsmw.conv as Project_Subproject_Object.lsmw.conv
System has set a limit of a maximum of 45 characters. It the file name exceeds 45 characters, the system will throw the error.
Just rename the file such that it is with in the 45 charcter limit....you will be fine
Hope this helps
Vinodh Balakrishnan -
Error when using filter on date column in interactive report
Hi,
I'm getting the following error when using the filter on a date column. None of the criteria in the filter list work. All give me the same error but when I use the filter on a column feature (in the search bar) and use ">" and "<" those work.
Can someone please help me????
" Settledate is in the last 2 years
ORA-30175: invalid type given for an argument ORA-02063: preceding line from MAINDATA "I have a similar problem . I have an interactive report based on resultset stored in a collection; since all the columns of a collection are of string datatype, I convert the columns to appropriate datatypes before its returned to the user; everything works as desired except when I try to filter on a data column , I get a ORA-01858: a non-numeric character was found where a numeric was expected .
I turned on debug mode and am copying the output here , column c009 which is aliased to 'C' is the one that I am trying to apply the filter on
select
ROWID as apxws_row_pk,
"C001",
"C002",
"C003",
"C004",
"C005",
"C006",
"C007",
"C008",
"CHECKOUTTIMESTAMP",
"C010",
"C011",
"TO_NUMBER(C012)",
"TO_NUMBER(C013)",
"TO_NUMBER(C014)",
"C015",
"C016",
"C017",
"TO_NUMBER(C018)",
"C",
count(*) over () as apxws_row_cnt
from (
select * from (
Select c001,c002,c003,c004,c005,c006,c007,c008,to_date(c009,'dd-MON-yy HH24.MI') checkouttimestamp,
cast(to_date(c009,'dd-MON-yy HH24.MI') as timestamp) c,
--TO_TIMESTAMP(c009,'dd-MON-yy HH24.MI') c1 ,
trunc(to_date(c009,'dd-MON-yy HH24.MI')) checkoutdate,
c010,c011,to_number(c012),to_number(c013), to_number(c014),c015,c016,c017,to_number(c018) from apex_collections where collection_name = 'IR_BOOKSALES'
) r
where ("C" between systimestamp - ((1/24) :APXWS_EXPR_1) and systimestamp)*
) r where rownum <= to_number(:APXWS_MAX_ROW_CNT)
order by ROWID
0.04: IR binding: ":APXWS_EXPR_1"="APXWS_EXPR_1" value="1"
0.04: IR binding: ":APXWS_MAX_ROW_CNT"="APXWS_MAX_ROW_CNT" value="2000"
ORA-01858: a non-numeric character was found where a numeric was expected
I have tried to convert c009 to date, timestamp and timestamp with time zone datatypes ; they all return the same error ,but all 3 datatypes work fine with systimestamp when I run them in sqlplus. Any help would be appreciated.
Maybe you are looking for
-
My ipod classic no longer appears in itunes on my mac, but it does appear in finder
I have tried all the steps at this link: http://support.apple.com/kb/TS3540 As well as those suggested by turingtest2 at: https://discussions.apple.com/message/17776595#17776595 (Check your ipod with Diagnostics mode) I had: Retracts: 495 Reallocs: 1
-
My iMac stopped connectin to an HP8500 A910 printer. Can anyone help?
My iMac is running Mac OS X Lion 10.7.5. Two weeks ago, my HP8500 A910 wireless printer stopped working with iMac. To trouble shoot, I tried the following: - checked that my HP printer has a wireless singal - checked my network rounter to ensure th
-
When I click on a bookmarked site, some of them show up on the large screen to the right, but mostonly show up in the much smaller window to the left and are therefor useless. this is even when I've opened a new tab. I never had this problem before,
-
Vendor returns with 161 movement type
Hi Friends, We have gone live recently. I have to return Excisable materials to vendor. I have created return purchase order.How to create excise invoice for this? Regards,
-
Add or edit address book using Desktop Manager
Is there any way that I can add or edit my address book using the Desktop software? I would like to input email addresses and other information into my address book on my blackberry without having to type everything in on the blackberry. I was hoping