Trouble with parsing
I'm very new at XML parsing, so hopefully I'm just missing something obvious here. I'm using Xerces to parse ECU definitions for a tunining application. For some reason, it seems the parser is skipping over nested nodes. Here's an example of the XML layout:
<rom>
<romid>
<table>
</rom>I'm using a println to print the names of the nodes, and I only get "rom" printed to the console, with none of the child nodes. Here's a piece of my unmarshaller:
public Rom unmarshallRom (Node rootNode) {
Rom rom = new Rom();
Node n;
NodeList nodes = rootNode.getChildNodes();
for (int i=0 ; i<nodes.getLength(); i++) {
n = nodes.item(i);
if (n.getNodeType() == Node.ELEMENT_NODE) {
System.out.println(n.getNodeName());
if (n.getNodeName().equals("romid")) {
rom.setRomID(unmarshallRomID(n));
} else {
// unexpected element in Rom (skip)
} else {
// unexpected node-type in Rom (skip)
return rom;
}My webhost is down or I'd supply the source. Any help would be appreciated.
jared
Use this loop to access child elemnts....
public static void stepThrough(Node start)
SOP(start.getNode() + "=" +start.getValue());
for(Node child=start.getFirstChild();
child != null;
child=child.getNextSibling())
stepThroug(child);
Hope this will help u..........
........yogesh
Similar Messages
-
I am trying to take a string input from the command line and push it to an array then compare the array to another to see if there are any identical values. Here is the code in case it doesn't make sense.
// Parser.java
// PLCProject1
// Created by MilesB.
// Copyright 2007 . All rights reserved.
import java.io.*;
import java.util.*;
import java.lang.*;
public class Parser {
public static void main(String[] args)
//Prompt the user to enter in String.
System.out.println("Please enter in String to be tested");
Scanner MyScan = new Scanner(System.in);
String StringToTest = MyScan.next();
char StringTestArray[] = new char[StringToTest.length()];
int Array[] = {1,2, 3, 4, 5, 6, 7, 8, 9, 0};
for(int j=0; j< StringToTest.length()-1; j++)
System.out.println(StringToTest + " ");
System.out.print(Array[j]);
//open up standard input from CLI
//BufferedReader ReadIn = new BufferedReader (new InputStreamReader(System.in));
//StringToTest = ReadIn;
//Testing the Entered String to see if it contains numeric values.
for(int i=0; i< StringToTest.length()-1; i++)
for(int k=0; k< StringToTest.length()-1; k++)
if (StringTestArray[i] == Array[k])
System.out.println("This String contains numeric values");
break;
else
System.out.println("This Char is good");
System.out.println("This String was good");
}?
-
Oracle XML Parser for PL/SQL - troubles with charset
Hi,
I'm using Oracle XML Parser for PL/SQL and have some troubles with charset of results xmldom.writeToBuffer and xmldom.writeToCLOB procedures.
Some tags in my DOM documents contain text values in RUSSIAN (server nls_charset is CL8ISO8859P5). When I write document in varchar2 variable, buffer content is in UTF8 charset ( convert UTF8->CL8ISO8859P5 -OK).
xmldom.setCharset(doc, 'ISO-8859-5') just after xmldom.newDOMDocument has no effect.
xmldom.setCharset(doc, 'CL8ISO8859P5') has no effect also.
Explicit charset direction in third parameter of
xmldom.writeToBuffer and xmldom.writeToCLOB procedure has no effect.
When I write document in CLOB, and then read part of CLOB in varchar2 buffer - result contain '?' in place of all russian text characters.
What's a problem?
How can I force XML Parser write XML in server charset?
Oracle XML Parser for PL/SQL v 1.0.2I have the same problem. But in my case I am allowed only to use XML Parser for PL/SQL.
Characterset 'WE8ISO8859P1' is used. And the language is latvian.
After parsing a XML document and printing its contents, all latvian characters are replaced by "f".
xmldom.setcharset(doc,'WE8ISO8859P1') has no effect. -
How to Use Interactive Forms in BSP Applications - trouble with demo
Is anyone else out there having trouble with the subject how to guide? https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0e58022-2a39-2a10-69a8-c1a892e2b3f4
I think I have everything built out correctly but I get the following run time error.
Business Server Page (BSP) error
What happened?
Calling the BSP page was terminated due to an error.
SAP Note
The following error text was processed in the system:
An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor declared in a RAISING clause
Exception Class CX_SY_REF_IS_INITIAL
Error Name
Program Z_PROCESS_BOOKING_FORM========CP
Include Z_PROCESS_BOOKING_FORM========CM002
ABAP Class Z_PROCESS_BOOKING_FORM
Method DO_REQUEST
Line 33
Long text An attempt was made to execute a dynamic method callon an initial(NULL-) object reference. The reference must refer to an object.
Following is my code: line 33 reads as strChecked = node->get_value( ).
method DO_REQUEST.
*CALL METHOD SUPER->DO_REQUEST
data: bookingxml type string.
bookingxml = request->get_cdata( ).
data: streamFactory type ref to
if_ixml_stream_factory.
data: iStream type ref to if_ixml_istream.
streamFactory = g_ixml->create_stream_factory( ).
iStream =
streamFactory->create_istream_string(
bookingxml ).
data: document type ref to if_ixml_document.
document = g_ixml->create_document( ).
data: parser type ref to if_ixml_parser.
parser = g_ixml->create_parser( stream_factory =
streamFactory
istream =
iStream
document =
document ).
parser->parse( ).
data: node type ref to if_ixml_node.
data: strChecked type string.
node = document->find_from_name( name = 'RESERVED'
strChecked = node->get_value( ).
data: reserved type BAPISBODAT-RESERVED.
data: checked type i.
move strChecked to checked.
if ( checked = 1 ).
reserved = 'X'.
else.
reserved = ''.
endif.
data: custbook type BAPISBONEW.
node = document->find_from_name( name = 'AIRLINEID'
custbook-airlineid = node->get_value( ).
node = document->find_from_name( name = 'CONNECTID'
custbook-connectid = node->get_value( ).
data: fd type BAPISBONEW-FLIGHTDATE.
data: strFd type string.
node = document->find_from_name( name =
'FLIGHTDATE' ).
strFd = node->get_value( ).
CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
EXPORTING
DATE_EXTERNAL = strFd
* ACCEPT_INITIAL_DATE =
IMPORTING
DATE_INTERNAL = custbook-flightdate
EXCEPTIONS
DATE_EXTERNAL_IS_INVALID = 1
OTHERS = 2
IF SY-SUBRC <> 0.
* Do something
ENDIF.
node = document->find_from_name( name =
'CUSTOMERID' ).
custbook-customerid = node->get_value( ).
node = document->find_from_name( name = 'CLASS' ).
custbook-class = node->get_value( ).
node = document->find_from_name( name = 'AGENCYNUM'
custbook-agencynum = node->get_value( ).
node = document->find_from_name( name = 'PASSNAME'
custbook-passname = node->get_value( ).
data: pb type BAPISBONEW-PASSBIRTH.
data: strPb type string.
node = document->find_from_name( name = 'PASSBIRTH'
strPb = node->get_value( ).
CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
EXPORTING
DATE_EXTERNAL = strPb
* ACCEPT_INITIAL_DATE =
IMPORTING
DATE_INTERNAL = custbook-passbirth
EXCEPTIONS
DATE_EXTERNAL_IS_INVALID = 1
OTHERS = 2
IF SY-SUBRC <> 0.
* Something
ENDIF.
data: bn type BAPISBOKEY-BOOKINGID.
data: return type bapiret2_tab.
data: errmsg type string.
CALL FUNCTION 'BAPI_FLBOOKING_CREATEFROMDATA'
EXPORTING
RESERVE_ONLY = reserved
BOOKING_DATA = custbook
* TEST_RUN = ' '
IMPORTING
* AIRLINEID =
BOOKINGNUMBER = bn
* TICKET_PRICE =
TABLES
* EXTENSION_IN =
RETURN = return.
data: wa type bapiret2.
loop at return into wa.
if wa-type = 'E'.
move wa-message to errmsg.
response->append_cdata( errmsg ).
response->append_cdata( '<BR>' ).
endif.
endloop.
response->append_cdata( 'Flight booked, booking reference number: ').
data: strBn type string.
move bn to strBn.
response->append_cdata( strBn ).
endmethod.
The first page works fine but when I submit my form it fails. I debugged and the request object doesn't look right.
Any ideas would be greatly appreciated.
Regards,
Dan
Message was edited by:
Dan Scheck
Message was edited by:
Dan ScheckHi Surija,
there is an issue with Internet Explorer that causes this problem when you launch the BSP applicaiton using the test menu in SE80. The issue does not occur with Firefox...very strange I know.
Anyway, to get around this you just copy the BSP application URL and open a browser and paste the URL in...so essentially do not use the "Test" in SE80 to launch your application.
Hope this fixes your problem!
Cheers,
Jeff -
Urgent - please help with parsing HTML
Hi,
I'm very new to Java - i'm a biology major, actually, but taking this class for fun. Unfortunately, I'm having quite a bit of trouble with it. I've written a class that downloads a web page, converts it to a string, and then sends the string to another class, called BankRecord.
The web page string looks something like this:
bodylinks101>Prime Mortgage</a><br><span class=bodytext101>(909) 369-1012</span></td><td bgcolor=#e4e4e4 valign=top align=center><span class=bodytext101>4/18/2003</span><br><span class=bodytext101>10:15</td><td bgcolor=#e4e4e4 valign=top align=center><span class=bodytext101>5.875%</span>
So, what I am trying to do is parse the HTML so that it returns, as a string, the appropriate information. For example, in the above HTML, I want "Prime Mortgage (909) 369-1012 4/18/2003" etc.
The above is just one record, with several fields (bank name, phone number, date). The entire web page has quite a few records, for different banks, and I need to extract all of them. I think I've figured out how to find the start and end of the first record, but I don't know how to go about looking for more records. I'm guessing a loop? Also, how do I go about distinguish between the fields in each record (i.e., how to distinguish between phone number and date fields) Here is the code I have so far:
import java.util.*;
public class BankRecord
// Set up variables
private String strContent;
private Integer intPos;
// Constructor
public BankRecord (String strVar)
strContent = strWebPage; // set strContent to incoming string
intPos = 1; // initialize intPos to 1
public getNextRecord()
// uses findBankStart to find next bank record; if found, return true.
private findBankStart(intPos)
// accept an integer indicating a place to start looking for beginning of each
// bank record. If there are no more records, return a -1; otherwise, return
// starting position
// Find beginning of record
int intRecStart = strContent.indexOf("bodylinks101>",intRecStart);
// Find end of record
int intRecEnd = strContent.indexOf("bodylinks101>Apply",intRecEnd);
// Find beginning of first field in record
int FldStart = intRecStart + 13;
// Find end of field in record
int FldEnd = strContent.indexOf("<",intFldStart);
public getField(intFldNum)
// return the field asked for by number as a string.
}PLEASE help as soon as possible...thank you very much.Thuyker,
Here are 2 approaches:
If you have a fixed format, parse via delimiters. For example, if each "record" is as follows:
<span>Name</span><span>Acct No</span><span>balance</span>
each "field" of the record is delimited by <span>...</span> tags. Thus, you could use regular old string functions such as indexOf() to read through the HTML string, and to pick apart the data you need.
Alternatively, get a HTML parser, and let it do the work for you. A SAX-like one that I've used successfully is at http://www.quiotix.com/downloads/html-parser/
--A -
Hello everyone,
I'm having trouble with this SQL expression that works in 8.5, and XI R2 runtime and designer, but I cannot edit the expression. As soon as I open the SQL Expression and click the X-2 check button, the error following
SQL Expression I'm trying to run:
(Select Distinct b1.CandEmploymentType
from ceistaffing a1
inner join ceisubmittal b1 on a1.submittalid = b1.ceisubmittalid
Where a1.Staffingchainid = CEIHRPROJECTEDACTUAL."STAFFINGCHAINID"
and b1.createdate in (Select max(b2.createdate) from ceistaffing a2 inner join ceisubmittal b2 on a2.submittalid = b2.ceisubmittalid where a2.staffingchainid = a1.staffingchainid))
The Errror I Receive After Clicking the X-2 button:
Crystal Reports
Error in compiling SQL Expression :
Failed to retrieve data from the database.
Details: ADO Error Code: 0x
Source: SalesLogix OLE DB Provider
Description: The multi-part identifier "CEIHRPROJECTEDACTUAL.STAFFINGCHAINID" could not be bound.
Native Error: [Database Vendor Code: 181797304 ].
OK
This is the SQL statement passed to the database:
SELECT (Select Distinct b1.CandEmploymentType
from ceistaffing a1
inner join ceisubmittal b1 on a1.submittalid = b1.ceisubmittalid
Where a1.Staffingchainid = CEIHRPROJECTEDACTUAL."STAFFINGCHAINID"
and b1.createdate in (Select max(b2.createdate) from ceistaffing a2 inner join ceisubmittal b2 on a2.submittalid = b2.ceisubmittalid where a2.staffingchainid = a1.staffingchainid))
If I reverse the order of the where clause as follows, I do not get the error
(Select Distinct b1.CandEmploymentType
from ceistaffing a1
inner join ceisubmittal b1 on a1.submittalid = b1.ceisubmittalid
Where CEIHRPROJECTEDACTUAL."STAFFINGCHAINID" = a1.Staffingchainid
and b1.createdate in (Select max(b2.createdate) from ceistaffing a2 inner join ceisubmittal b2 on a2.submittalid = b2.ceisubmittalid where a2.staffingchainid = a1.staffingchainid))
This is the working SQL statement passed to the database.
SELECT (Select Distinct b1.CandEmploymentType
from ceistaffing a1
inner join ceisubmittal b1 on a1.submittalid = b1.ceisubmittalid
Where CEIHRPROJECTEDACTUAL."STAFFINGCHAINID" = a1.Staffingchainid
and b1.createdate in (Select max(b2.createdate) from ceistaffing a2 inner join ceisubmittal b2 on a2.submittalid = b2.ceisubmittalid where a2.staffingchainid = a1.staffingchainid))
FROM "sysdba"."CEIHRPROJECTEDACTUAL" "CEIHRPROJECTEDACTUAL"
I figured I would just reverse the where clause statements, but then I came to this one that I couldn't get to work:
(Select case when tmp.restartcount = 0 then 'F' else 'T' end from
(Select Count(b.restart) as restartcount from ceistaffing a inner join ceihrprojectedactual b on a.staffingchainid = b.staffingchainid
where a.candcontactid = (Select distinct candcontactid from ceistaffing a2 where a2.staffingchainid = CEIHRPROJECTEDACTUAL."STAFFINGCHAINID")
and b.restart = 'T'
and a.createdate = (Select min(a1.createdate) from ceistaffing a1
where a1.createdate > (Select max(a3.createdate)
from ceistaffing a3
where a3.staffingchainid = CEIHRPROJECTEDACTUAL."STAFFINGCHAINID")
and a1.candcontactid = a.candcontactid)) as tmp )
I've burned an entire day trying to find some solution. Are there any patches out there that will fix this?
I'm running Crystal Report XI Release 2 SP2 - Version 11.5.8.826
Thank you, ...RobOkay, to simplify the illustration of the problem Iu2019m facing, Iu2019ve created a bare bones example as described below:
I've created a report that returns all contacts from our "CONTACT" table. On the report, I've created a SQL expression to return a count of all contacts with the similar last name, as shown below:
(Select count(a1.ContactID) from CONTACT a1 where a1.LASTNAME = "CONTACT"."LASTNAME")
When I try to save the SQL expression, I get this error:
Crystal Reports
Error in compiling SQL Expression :
Failed to retrieve data from the database.
Details: ADO Error Code: 0x
Source: SalesLogix OLE DB Provider
Description: The multi-part identifier "CONTACT.LASTNAME" could not be bound.
Native Error: [Database Vendor Code: 205193720 ].
OK
This SQL expression works fine in CRW 8.5, but no luck in XI R2 SP4 - As mentioned above in the thread, this seems to be an issue solely with how XI R2 is parsing the SQL Expression. If I remove the "A1" alias from my expression all is good, but that will not work for some of the more advanced SQL expressions I have that are using joins and sub queries.
What will it take to get this recognized as an issue worthy of a hot fix? I'm at a stand-still here, facing the unfortunate possibility of having to re-architect many of my reports. Please help.
Thank you, ...Rob
Edited by: Rob Bartram on Aug 6, 2008 3:45 PM -
Trouble with booting system after upgrade udev= systemd
Hi everybody,
I have been trouble with my system since last upgrade (udev => systemd)
My issue is something like this: https://bbs.archlinux.org/viewtopic.php?pid=1106157 but advice from this discussion doesn't work.
When system booting, *immediately* (very fast, too fast) display login screen after start parsing hook [udev]
Of course, i can't login - type username and i have redraw screen again on all /dev/tty* - i have no chance to type password.
Many invalid logins suspend init for 5 minutes and allow me see display error due stop redraw screen - libpam.so.0 cannot find.
I suspect that, partitions aren't mount (this fast login screen doesn't have even hostname). I have a 4 discs, with many partitions - mounting
this take a some time (+- 5 secs).
In rescuecd, i can mount all partitions and chroot. In chroot all works fine - /bin/login (i was checked authorization on all users),
paths and pams are ok. Of course i try ,,default rescue trick'': `pacman -Suy linux udev mkinitcpio` and 'mkinitcpio -p linux' on rescuecd
but nothing it's changed after reboot. I checking grub config, and unpack and check initramfs-linux.img - all ok.
In my mkinitcpio.conf ofcourse i have MODULES="ext3" (for my filesystems).
Please help.crab wrote:
This may or may not be related... but I saw this message just now during an upgrade:
(121/168) upgrading mkinitcpio [###################] 100%
==> If your /usr is on a separate partition, you must add the "usr" hook
to /etc/mkinitcpio.conf and regenerate your images before rebooting
And am wondering what the message means by if /usr is on a separate partition - separate partition to what? /boot? / ?
I have my /usr partition in the same partition as / (but /boot is in a different partition)
Logic tells me I'm safe (haven't rebooted yet), as / is "master", and anything else is a separate partition, and I have /usr on the same partition as /.
Do you guys have separate /usr and/or /boot partitions? As stated in first sentence this may not be related, but looks important...
It means separate from /. So yes, you're right, you are "safe" from having to do anything with this message on your system.
And to the other people on this thread: make sure you do have all your packages uniformly updated, including any pam-related AUR or ABS-build packages. libpam and the pam module directory (.../lib/security) were moved from /lib to /usr/lib a little while back, so make sure that anything that cares about where these may be have been updated so they aren't confused by this move.
Last edited by ataraxia (2012-06-03 22:40:22) -
Trouble with Post Migration Scripts
I try to run the volrepair script but am getting errors. I have run the Update NDS option from nssmu but still now luck.
ccs_fs1:~ # /opt/novell/migration/sbin/serveridswap/scripts/repair/volrepair.rb -a admin.ccboe -p darabc -f /var/opt/novell/migration/
Information: Checking NSS status ...
Information: Getting GUID for NSS Pool ADMIN
Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H "ldaps://192.168.0 .6" -x -D "admin.ccboe" "(&(CN=CCS_FS1_ADMIN_POOL)(objectClass=nssfsPool)) " "g uid" -W
Error: Failed to get guid for pool ADMIN
Information: Getting GUID for NSS Pool APPS
Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H "ldaps://192.168.0 .6" -x -D "admin.ccboe" "(&(CN=CCS_FS1_APPS_POOL)(objectClass=nssfsPoo l))" "gu id" -W
Error: Failed to get guid for pool APPS
Information: Getting GUID for NSS Pool SYS
Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H "ldaps://192.168.0 .6" -x -D "admin.ccboe" "(&(CN=CCS_FS1_SYS_POOL)(objectClass=nssfsPool ))" "gui d" -W
Error: Failed to get guid for pool SYS
Information: Getting GUID for Volume APPS
Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H "ldaps://192.168.0 .6" -x -D "admin.ccboe" "(&(CN=CCS_FS1_APPS)(objectClass=Volume))" "guid" -W
Error: Failed to get guid for Volume APPS
Information: Getting GUID for Volume SYS
Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H "ldaps://192.168.0 .6" -x -D "admin.ccboe" "(&(CN=CCS_FS1_SYS)(objectClass=Volume))" "guid" -W
Error: Failed to get guid for Volume SYS
Information: Updated NSS Pool objects successfully
Information: MPVGUID v1.1 - Modify Pool or Volume GUID
List is Empty, there are no Volumes
GUIDModify failed, status -1
Failed to Parse the XML from Buffer
Information: Updated NSS volume objects successfully
Information: MPVGUID v1.1 - Modify Pool or Volume GUID
List is Empty, there are no Volumes
GUIDModify failed, status -1
Failed to Parse the XML from Buffer
Warning: The following NSS Pools does not exist on the source server. Use "nssmu " option "Update NDS" for these Pools to repair.
Warning: ADMIN
Warning: APPS
Warning: SYS
Warning: The following NSS Volumes does not exist on the source server. Use "nss mu" option "Update NDS" for these Volumes to repair.
Warning: APPS
Warning: SYS$(UYou need to have the same set of pools and volumes on the source server and target server (atleast the names should be identical).
The error says the pools or volumes that exists on the target server doesn't match with those on the source server.
Try updating them from nssmu or iManager.
Refer section "9.0 Preparing for Transfer ID -> 9.1. Prerequisites " of http://www.novell.com/documentation/....html#bookinfo
-Ramesh
>>>
From:
dmilam<[email protected]>
To:
novell.support.open-enterprise-server.migration
Date:
05/03/2010 11:06 PM
Subject:
Trouble with Post Migration Scripts
I try to run the volrepair script but am getting errors. I have run the
Update NDS option from nssmu but still now luck.
ccs_fs1:~ #
/opt/novell/migration/sbin/serveridswap/scripts/repair/volrepair.rb -a
admin.ccboe -p darabc -f /var/opt/novell/migration/
Information: Checking NSS status ...
Information: Getting GUID for NSS Pool ADMIN
Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H
"ldaps://192.168.0 .6" -x -D "admin.ccboe"
"(&(CN=CCS_FS1_ADMIN_POOL)(objectClass=nssfsPool)) " "g uid" -W
Error: Failed to get guid for pool ADMIN
Information: Getting GUID for NSS Pool APPS
Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H
"ldaps://192.168.0 ..6" -x -D "admin.ccboe"
"(&(CN=CCS_FS1_APPS_POOL)(objectClass=nssfsPoo l))" "gu id" -W
Error: Failed to get guid for pool APPS
Information: Getting GUID for NSS Pool SYS
Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H
"ldaps://192.168.0 .6" -x -D "admin.ccboe"
"(&(CN=CCS_FS1_SYS_POOL)(objectClass=nssfsPool ))" "gui d" -W
Error: Failed to get guid for pool SYS
Information: Getting GUID for Volume APPS
Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H
"ldaps://192.168.0 .6" -x -D "admin.ccboe"
"(&(CN=CCS_FS1_APPS)(objectClass=Volume))" "guid" -W
Error: Failed to get guid for Volume APPS
Information: Getting GUID for Volume SYS
Information: Executing LC_ALL=en_US;ldapsearch -LLL -s sub -H
"ldaps://192.168.0 .6" -x -D "admin.ccboe"
"(&(CN=CCS_FS1_SYS)(objectClass=Volume))" "guid" -W
Error: Failed to get guid for Volume SYS
Information: Updated NSS Pool objects successfully
Information: MPVGUID v1.1 - Modify Pool or Volume GUID
List is Empty, there are no Volumes
GUIDModify failed, status -1
Failed to Parse the XML from Buffer
Information: Updated NSS volume objects successfully
Information: MPVGUID v1.1 - Modify Pool or Volume GUID
List is Empty, there are no Volumes
GUIDModify failed, status -1
Failed to Parse the XML from Buffer
Warning:The following NSS Pools does not exist on the source server.
Use "nssmu " option "Update NDS" for these Pools to repair.
Warning: ADMIN
Warning: APPS
Warning: SYS
Warning: The following NSS Volumes does not exist on the source server.
Use "nss mu" option "Update NDS" for these Volumes to repair.
Warning: APPS
Warning: SYS
dmilam
dmilam's Profile: http://forums.novell.com/member.php?userid=11991
View this thread: http://forums.novell.com/showthread.php?t=409414 -
As it says above, i have been having a lot f trouble with my ipod classic and the latest itunes update, i was unable to sync songs or anything to it and have tried every conceivable 'fix' i could find. i have run an itunes diagnostic and the results are posted below. a major problem is that when i try and view my ipod through my computer it displays nothing at all on the ipod, no files or anything, this may be the problem but i have no idea how it has happened or how i could resolve it.
This ipod holds huge sentimental value and i am loathe to buy a new one! If anybody can help it is greatly appreciated, than kyou in advanced.
Microsoft Windows 7 x64 Home Premium Edition Service Pack 1 (Build 7601)
ASUSTeK Computer Inc. K50IJ
iTunes 11.1.5.5
QuickTime not available
FairPlay 2.5.16
Apple Application Support 3.0.1
iPod Updater Library 11.1f5
CD Driver 2.2.3.0
CD Driver DLL 2.1.3.1
Apple Mobile Device 7.1.1.3
Apple Mobile Device Driver 1.64.0.0
Bonjour 3.0.0.10 (333.10)
Gracenote SDK 1.9.6.502
Gracenote MusicID 1.9.6.115
Gracenote Submit 1.9.6.143
Gracenote DSP 1.9.6.45
iTunes Serial Number 0038B8600B98D1E0
Current user is not an administrator.
The current local date and time is 2014-03-21 16:52:39.
iTunes is not running in safe mode.
WebKit accelerated compositing is enabled.
HDCP is not supported.
Core Media is supported.
Video Display Information
Intel Corporation, Mobile Intel(R) 4 Series Express Chipset Family
Intel Corporation, Mobile Intel(R) 4 Series Express Chipset Family
**** External Plug-ins Information ****
No external plug-ins installed.
Genius ID: 2fd81a1f13cf3ff25a8b4f0e8e725116
**** Device Connectivity Tests ****
iPodService 11.1.5.5 (x64) is currently running.
iTunesHelper 11.1.5.5 is currently running.
Apple Mobile Device service 3.3.0.0 is currently running.
Universal Serial Bus Controllers:
Intel(R) ICH9 Family USB Universal Host Controller - 2934. Device is working properly.
Intel(R) ICH9 Family USB Universal Host Controller - 2935. Device is working properly.
Intel(R) ICH9 Family USB Universal Host Controller - 2936. Device is working properly.
Intel(R) ICH9 Family USB Universal Host Controller - 2937. Device is working properly.
Intel(R) ICH9 Family USB Universal Host Controller - 2938. Device is working properly.
Intel(R) ICH9 Family USB Universal Host Controller - 2939. Device is working properly.
Intel(R) ICH9 Family USB2 Enhanced Host Controller - 293A. Device is working properly.
Intel(R) ICH9 Family USB2 Enhanced Host Controller - 293C. Device is working properly.
No FireWire (IEEE 1394) Host Controller found.Here is what worked for me:
My usb hub, being usb2, was too fast. I moved the wire to a usb port directory on my pc. That is a usb1 port which is slow enough to run your snyc. -
Trouble with Toshiba built-in webcam: "unable to enumerate USB device"
I am running archlinux on a Toshiba Satellite L70-B-12H laptop, and having troubles with the Webcam. *Once in a while*, everything goes well and I get
# lsusb
Bus 004 Device 002: ID 8087:8000 Intel Corp.
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 004: ID 04f2:b448 Chicony Electronics Co., Ltd
Bus 003 Device 003: ID 8087:07dc Intel Corp.
Bus 003 Device 002: ID 8087:8008 Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
# dmesg
[ 3433.456115] usb 3-1.3: new high-speed USB device number 4 using ehci-pci
[ 3433.781119] media: Linux media interface: v0.10
[ 3433.809842] Linux video capture interface: v2.00
[ 3433.826889] uvcvideo: Found UVC 1.00 device TOSHIBA Web Camera - HD (04f2:b448)
[ 3433.835893] input: TOSHIBA Web Camera - HD as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.0/input/input15
[ 3433.835976] usbcore: registered new interface driver uvcvideo
[ 3433.835977] USB Video Class driver (1.1.1)
Unfortunately, *most of the time* the camera seems invisible to my system, and I get
# lsusb
Bus 004 Device 002: ID 8087:8000 Intel Corp.
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 8087:07dc Intel Corp.
Bus 003 Device 002: ID 8087:8008 Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
(note the missing "04f2:b448 Chicony Electronics Co., Ltd" device), and
# dmesg
[ 480.104252] usb 3-1.3: new full-speed USB device number 4 using ehci-pci
[ 480.171097] usb 3-1.3: device descriptor read/64, error -32
[ 480.341235] usb 3-1.3: device descriptor read/64, error -32
[ 480.511375] usb 3-1.3: new full-speed USB device number 5 using ehci-pci
[ 480.578007] usb 3-1.3: device descriptor read/64, error -32
[ 480.748151] usb 3-1.3: device descriptor read/64, error -32
[ 480.918282] usb 3-1.3: new full-speed USB device number 6 using ehci-pci
[ 481.325196] usb 3-1.3: device not accepting address 6, error -32
[ 481.392091] usb 3-1.3: new full-speed USB device number 7 using ehci-pci
[ 481.798926] usb 3-1.3: device not accepting address 7, error -32
[ 481.799166] hub 3-1:1.0: unable to enumerate USB device on port 3
Searching on the web, most results I found lead to this page, where it is said that the problem is due to badly tuned overcurrent protection, and advocated that unplugging and switching off the computer for a little while gets things back into normal. This does not really work for me; the problem seems to occur more randomly, unfortunately with high probability (my camera is available after less than one boot out of ten).
I tried to ensure that the ehci-hcd module is loaded at boot with the ignore-oc option (with a file in /etc/module-load.d/), to no avail.
I also wrote a script which alternatively removes and reloads the ehci-pci driver until my device is found in lsusb. It is sometimes helpful, but usually not. And even when my device is found that way, it can only be used for a while before disappearing again.
Anyway, such a hack is unacceptable... So, my questions are:
is it indeed related to overcurrent protection ?
is there anything else I can try ?
should I file somewhere an other of the numerous bug reports about "unable to enumerate USB device" already existing ?
If of any importance, I am running linux 3.15.7, because at the time I installed my system, I couldn't get the hybrid graphic card Intel/AMD working under 3.16.
Last edited by $nake (2014-10-18 16:29:06)uname -a
Linux libra 3.9.4-1-ARCH #1 SMP PREEMPT Sat May 25 16:14:55 CEST 2013 x86_64 GNU/Linux
pacman -Qi linux
Name : linux
Version : 3.9.4-1
Description : The linux kernel and modules
Architecture : x86_64
URL : http://www.kernel.org/
Licences : GPL2
Groups : base
Provides : kernel26=3.9.4
Depends On : coreutils linux-firmware kmod mkinitcpio>=0.7
Optional Deps : crda: to set the correct wireless channels of your country
Required By : nvidia
Optional For : None
Conflicts With : kernel26
Replaces : kernel26
Installed Size : 65562.00 KiB
Packager : Tobias Powalowski <[email protected]>
Build Date : Sat 25 May 2013 16:28:17 CEST
Install Date : Sun 02 Jun 2013 15:30:35 CEST
Install Reason : Explicitly installed
Install Script : Yes
Validated By : Signature -
Hi, i am having trouble with my mac mail account, i cannot send or receive any emails because of the server connection problems. Message says it could not be connected to SMTP server. Thanks in advance for your help.
Hello Sue,
I have an iPad 3, iPad Mini and iPhone 5S and they are all sluggish on capitalisation using shift keys. I hope that Apple will solve the problem because it is driving me crazy.
I find using a Microsoft Surface and Windows 8 phone, which I also have, work as well as all the ios devices before the ios 7 upgrade.
It has something to do with the length of time that you need to hold the shift key down. The shift key needs to be held longer than the letter key for the capitalisation to work. For some reason, this is a major change in the way we have learnt to touch type on computers. I am having to relearn how to type!
Michael -
Trouble with OR in where clause
Hello,
I'm having trouble with execution speed. The problem seems to be with using OR in my where clause.
Here's the meat of the function where i_pledge_number is an input parm:
BEGIN
SELECT /*+ INDEX (pp) */ SUM(pp.prim_pledge_amount)
INTO return_amount
FROM
primary_pledge pp
WHERE
-- Get total if multiple allocations
pp.prim_pledge_number IN
(SELECT pc.pledge_number
FROM pledge_codes pc
WHERE pc.pledge_code_type = 'M'
AND pc.pledge_code = 'AC'
AND lpad(pc.pledge_comment,10,'0') = i_pledge_number)
-- Get total if single allocation
OR pp.prim_pledge_number = i_pledge_number;
RETURN return_amount;
END;
If I comment out either half of the OR statement (either the subquery or the pp.prim_pledge_number = i_pledge_number half) the function returns a value in .02 seconds. If I leave the OR in, it takes 2.764 seconds to execute?? Can someone please show me a better way (faster) to do this? I tried using nvl() around the subquery but couldn't get it to compile.
ThanksThese things are difficult to diagnose remotely, but here is something you can try....
SELECT */ SUM(pp.prim_pledge_amount)
INTO return_amount
FROM primary_pledge pp
WHERE pp.prim_pledge_number IN (SELECT pc.pledge_number
FROM pledge_codes pc
WHERE pc.pledge_code_type = 'M'
AND pc.pledge_code = 'AC'
AND lpad(pc.pledge_comment,10,'0') = i_pledge_number
UNION ALL
SELECT i_pledge_number FROM dual)
RETURN return_amount;
END;If that doesn't do anything (and it might well not) there are a large number of different ways we can recast this query. To save us further guessing please give us more details: execution plans, database version number, volumetrics.
Cheers, APC -
A trouble with "LIKE" in a select statement
Hi!
I'm having trouble with "LIKE" in a select statement...
With Access I can make the following and everything works well:
SELECT name, birthday
FROM client
WHERE birthday LIKE '*/02/*';
but if try to do it in my application (it uses Access), it doesn't work - I just can't understand that!!!
In my application the "month" is always the currently month taken from the "System". Look what I'm doing...
String query1 = "SELECT name, birthday " +
"FROM client " +
"WHERE birthday " +
"LIKE '*/" +
pMonth +
"/*' " +
"ORDER BY birthday ASC ";
ResultSet rs = statement1.executeQuery(consulta1);
boolean moreRecords = rs.next();
The variable "moreRecords" is always "false", the query returns nothing although the table "client" has records that attend the query.
Please, anyone can help me?! It's a little bit urgent.
Thanks,
Katia.Hi Katia,
I'll bet the problem lies with the characters you're using to escape the LIKE clause. You're using the ones that Access likes to see, but that's not necessarily what's built into the JDBC-ODBC driver class.
You can find out what the correct escape wildcard characters are from the java.sql.DatabaseMetaData.getSearchStringEscape() method. It'll tell you what to use in the LIKE clause.
I'm not 100% sure about your code. It doesn't use query1 anywhere. I'd do this:
String query = "SELECT name, birthday FROM client WHERE birthday LIKE ? ORDER BY birthday ASC";
PreparedStatement statement = connection.createStatement(query);
String escape = connection.getMetaData().getSearchStringEscape();
String test = escape + '/' + pMonth + '/' + escape;
statement.setString(1, test);
ResultSet rs = statement.executeQuery();
while (rs.hasNext())
// load your data into a data structure to pass back.
rs.close();
statement.close();Let me know if that works. - MOD -
(Trouble printing) Trouble with connection between Macbook Pro and Hp Deskjet 1510.
Trouble with connection between Macbook Pro and Hp Deskjet 1510. (Nothing Prints).
I have a Macbook Pro and am having difficulty printing documents from ‘Pages' from my Hp Deskjet 1510. I have installed the necessary software for the printer and it is connected via USB. Every time I try to print the printer icon comes up as it should, 'printing' and then 'job completed' and then the icon disappears. (Nothing is printed.) I thought it might be something to do with Pages compatibility with the printer but exporting the document to Word or making it a PDF doesn’t change anything. I don’t have Microsoft Word on my computer. The scanner does work and when I printed a ‘Test Page’ that worked too.
Let me know if you know why this is happening.With these settings the network now works flawlessly, however, when i have my ethernet cable plugged in, my internet access via my airport card(on the macbook pro) is no longer available. Hoping you can tell me why this would be with this info i've provided.
Educated guess. The networking devices have priorities as to which are used. The standard order is that Ethernet has a higher priority than Airport.
While your Ethernet is unplugged it is inactive and the Mac ignores it. Once you plug it in, the Mac sees that it is active and switches traffic to that interface.
I actually take advantage of this feature at home, but configuring my Airport and Ethernet with identical fixed IP addresses. Normally I'll use Airport, but if I'm copying a huge file and I want faster performance, I'll just walk my MacBook (previously iBook, previously Powerbook) over to my Ethernet switch and plug in my MacBook. Magically, the Mac detects that the Ethernet is active and continues the file transfer uninterrupted over the faster 100baseT Ethernet connection. When the transfer is finished, or if I really need to move back to the Comfy Chair, I unplug the Ethernet cable, and all activity reverts back to the Airport, all without disrupting any existing networking connections.
You on the other hand have totally different settings for your Ethernet and your Airport, so when you switch to Ethernet, you basically loose your Airport connections.
Something you can try:
System Preferences -> Network
Gear icon on the bottom left, next to the [+] [-] icons.
Select *Set Service Order...*
Now Drag the network interfaces into the perfer priority order you want. In this case put Airport above Ethernet.
NOTE: You may want to create a new Network Location for this, instead of messing with your normal home Location (which is most likely the default Automatic. That way you have your original you can always fall back to. -
Edge Animation having troubles with iOS devices within Muse Site
Hi All! I've been creating a mobile version of my website www.rinkdesigns.com and have it all complete. I created an animation/navigation bar within Adobe Edge Animate and imported it into Muse. It functions AMAZINGLY on my Nexus 4 (Android) in Chrome but on a buddies iPhone 5 Chrome only loads about 3/4 of the animation/nav bar, in Safari the animation does not load at all and half of the page background does not load either. Please check out the preview site here http://rinkdesignsmobile.businesscatalyst.com/phone
Has anyone else been having animation/mobile troubles with iOS devices? Any hints as to how you fixed your errors would be extremely helpful! I also posted this question in the Muse forum and haven't gotten a response...
Thanks,
JohnOr, how about this:
Does anyone know how to have Edge Animate objects that utilize "_top" in an open url trigger make the Muse site that they are a part of open a new window/tab with that action (as opposed to having it open the url in the current page, or using "_blank" in the trigger)?
Maybe you are looking for
-
Photoshop album starter edition 3.2 and kodak camera
I have a kodak m753 digital camera and adobe photoshop album starter edition 3.2 says device not found. how do i get it to recognize the camera without deleting the kodak software. I have windows xp if that helps.
-
Guys this is driving me crazy, i want to switch my icons in the entire tree once i click on a function button, i did this code but it does update the icons , however i get sy-subrc = 0 once I execute method change_node . what im doing wrong ? what
-
Securing LDAP on Meetingplace Express
Hello, I'm looking to harden the security of a MeetingPlace Express (V2.0.1.15). SSL has been implemented successfully resulting in https browsing only. The next step is to integrate with AD for user authentication over a secure link. The Bind reques
-
Sales Order Integration with e-Commerce Solution Venda
To all you gurus out there My client is implementing the e-commerce solution Venda to process Credit Card Sales. In all the posts and information I have read, there is a) integration required between the e-commerce solution Q1 - Is the integration be
-
Hello I've just startede re-importing my old cd's on todays date 12. nov. 2011 and find the files saved om my music share dated 7. nov. 2011, which I find oddly mysterious. I have checked the Date/time settings in windows and they are off course 12.