Pacman : returning error 16 from alpm_db_update
Recently, yaourt behave oddly on my homeserver, outputting some truncated errors messages as if they were answers from a regex search. Long story short, I tried to fix the problem but did not yet succeeded, so maybe someone here will help me.
What I tried :
Use pacman instead of yaourt -> gave me a full error message "opening /var/lib/pacman/sync/core/dhcpcd-5.1.3-1/depends failed : No file or directory" . I am not sure the problem is package-related since I uninstalled and reinstalled it.
Moreover when I tried pacman with -Scc and -Syy I had an error message about the core database. Then, with -Syu and --debug option, I had this:
:: Synchronizing packages data...
debug: failed to get lastupdate time for core
debug: using 'core.db.tar.gz' for download progress
debug: HTTP_PROXY: (null)
debug: http_proxy: (null)
debug: FTP_PROXY: (null)
debug: ftp_proxy: (null)
debug: connected to distrib-coffee.ipsl.jussieu.fr successfully
downloading de core.db.tar.gz...
Error: deleting core database failed
debug: returning error 16 from alpm_db_update : removing entry from database failed
Error: updating core failed (removing entry from database failed)
Any idea ? Thanx in advance
Have you already tried a different mirror?
Similar Messages
-
How to return error from subscription function of an event
I am creating a subscription function for an oracle shipped event, oracle.apps.eng.cm.changeObject.submit. The event fires fine, i can do my custom validations in this function. In case the validations fail, I need to return an error message.
As per the guides and metalink documents, the way to do this is by returning 'ERROR' . But even though I return an ERROR, it does not error out. Whether I return SUCCESS or ERROR , the behaviour is the same.
While creating the subscription function, for On Error , I selected, "Stop And Rollback ".
Is it possible to return errors from the subscription functions.
thanks
SatyaYou shouldn't be passing ResultSet objects across the EJB layer.
Instead you should be passing data back and forth.
All of the data access code should be in one place in one class.
That class should open the connection, run the query, process/store the results of the query and then close the connection.
In this case you probably want to return a list of something to your jsp.
So your EJB call should be more like
public List<resultBean> check(String id){
ResultSet rs = Statement.("select * from table1 where id=123");
List resultList = new ArrayList();
while (rs.next()){
Bean myBean = new Bean();
myBean.setProperty1(rs.getString("field1"));
myBean.setProperty2(rs.getString("field2"));
resultList.add(myBean);
return resultList;
} -
Returning Errors from a webservice using XMLBeans
I have a webservice that accepts XML as input and output parameters, and I'm using XMLBeans to handle this. I'm trying to work out how I can return error information from the webservice, so I created an Exception.xsd schema and 'include' it in the output XML Schema, so an exception xml element is valid in the output schema. The problem is, the XMLBean class generated from the output XML schema has no methods that allow me to create an Exception element. Is there some other way of handling the return of exceptions from webservices using XML?
The answer is just throw a SoapFaultException and put the exception.xsd XMLBean in the FaultDetail section of the SoapFaultException.
-
What is the correct process to return errors from an Event Handler
I have a pre-Create and pre-Modify Event Handlers. If the event handler detects an error, I want to throw an exception back to terminate the create user or modify user event. I also want to display a meaningful error message on the OIM UI. In my pre-modify event handler I am throwing the following exception when an error is detected:
throw new EventFailedException(processId, null, "User ID not available", "", "MODIFY", null);
However, the OIM UI is not displaying the message "User ID not available" as I want it to. Instead it is displaying the following error message:
An error occurred. The corresponding error code is IAM-0080062
Does anyone know where that error code is coming from? My event handler is not doing that. Also, does anyone know where I can find any documentation on the proper use of the EventFailedException? What do the parameters mean? How do I get a meaningful error message to display on the OIM UI?
Thank you for any help here.
-DavePlease try to cancel the PO 1st and then Cancel Sales order...
Refer following note id
How to Cancel a Drop Ship Order Line (Doc ID 393688.1)
Thanks -
[SOLVED]"The requested URL returned error: 407" while using pacman
pacman worked fine until now. When I try to upgrade with
pacman -Syu
it returns what is written below even though internet works fine without problems(I'm posting from the same system using firefox)
How can I get pacman working again?
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
error: failed retrieving file 'core.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
error: failed retrieving file 'core.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
error: failed retrieving file 'core.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
error: failed retrieving file 'core.db' from mirror.yongbok.net : The requested URL returned error: 407
error: failed retrieving file 'core.db' from mirror.yongbok.net : The requested URL returned error: 407
error: failed to update core (download library error)
error: failed retrieving file 'extra.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
error: failed retrieving file 'extra.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
error: failed retrieving file 'extra.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
error: failed retrieving file 'extra.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
error: failed retrieving file 'extra.db' from mirror.yongbok.net : The requested URL returned error: 407
error: failed retrieving file 'extra.db' from mirror.yongbok.net : The requested URL returned error: 407
error: failed to update extra (download library error)
error: failed retrieving file 'community.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
error: failed retrieving file 'community.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
error: failed retrieving file 'community.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
error: failed retrieving file 'community.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
error: failed retrieving file 'community.db' from mirror.yongbok.net : The requested URL returned error: 407
error: failed retrieving file 'community.db' from mirror.yongbok.net : The requested URL returned error: 407
error: failed to update community (download library error)
error: failed retrieving file 'archlinuxfr.db' from repo.archlinux.fr : The requested URL returned error: 407
error: failed to update archlinuxfr (download library error)
error: failed to synchronize any databases
error: failed to init transaction (download library error)
Last edited by ebshankar (2012-02-19 08:08:59)hokasch wrote:
What did you update? Are you using a proxy?
You can try pacman -Syy --debug which will show the actual url it tries to access. When posting console output, please use the code tags.
I tried to upgrade the system.
I don't use a proxy. My isp uses authentication from the browser, when the browser is authenticated with the username and password, the whole system will be connected to the internet as long as the authentication page is open.
Here is the output of "pacman -Syy --debug":
debug: parseconfig: options pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: SyncFirst: pacman
debug: config: arch: x86_64
debug: config: SigLevel: Never
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 81: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 85: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: config: new section 'archlinuxfr'
debug: config: finish section 'archlinuxfr'
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: parseconfig: repo pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 81: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: adding new server URL to database 'core': ftp://mirror.cse.iitk.ac.in/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.cse.iitk.ac.in/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/core/os/x86_64
debug: adding new server URL to database 'core': http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/core/os/x86_64
debug: adding new server URL to database 'core': ftp://mirror.yongbok.net/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.yongbok.net/archlinux/core/os/x86_64
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 85: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: adding new server URL to database 'extra': ftp://mirror.cse.iitk.ac.in/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.cse.iitk.ac.in/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/extra/os/x86_64
debug: adding new server URL to database 'extra': ftp://mirror.yongbok.net/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.yongbok.net/archlinux/extra/os/x86_64
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: registering sync database 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: adding new server URL to database 'community': ftp://mirror.cse.iitk.ac.in/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.cse.iitk.ac.in/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/community/os/x86_64
debug: adding new server URL to database 'community': http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/community/os/x86_64
debug: adding new server URL to database 'community': ftp://mirror.yongbok.net/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.yongbok.net/archlinux/community/os/x86_64
debug: config: new section 'archlinuxfr'
debug: config: finish section 'archlinuxfr'
debug: registering sync database 'archlinuxfr'
debug: database path for tree archlinuxfr set to /var/lib/pacman/sync/archlinuxfr.db
debug: adding new server URL to database 'archlinuxfr': http://repo.archlinux.fr/x86_64
debug: config: finished parsing /etc/pacman.conf
:: Synchronizing package databases...
debug: url: ftp://mirror.cse.iitk.ac.in/archlinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'core.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
debug: url: http://mirror.cse.iitk.ac.in/archlinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'core.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
debug: url: ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'core.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
debug: url: http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'core.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
debug: url: ftp://mirror.yongbok.net/archlinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'core.db' from mirror.yongbok.net : The requested URL returned error: 407
debug: url: http://mirror.yongbok.net/archlinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'core.db' from mirror.yongbok.net : The requested URL returned error: 407
debug: failed to sync db: download library error
error: failed to update core (download library error)
debug: url: ftp://mirror.cse.iitk.ac.in/archlinux/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'extra.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
debug: url: http://mirror.cse.iitk.ac.in/archlinux/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'extra.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
debug: url: ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'extra.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
debug: url: http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'extra.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
debug: url: ftp://mirror.yongbok.net/archlinux/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'extra.db' from mirror.yongbok.net : The requested URL returned error: 407
debug: url: http://mirror.yongbok.net/archlinux/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'extra.db' from mirror.yongbok.net : The requested URL returned error: 407
debug: failed to sync db: download library error
error: failed to update extra (download library error)
debug: url: ftp://mirror.cse.iitk.ac.in/archlinux/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'community.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
debug: url: http://mirror.cse.iitk.ac.in/archlinux/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'community.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
debug: url: ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'community.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
debug: url: http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'community.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
debug: url: ftp://mirror.yongbok.net/archlinux/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'community.db' from mirror.yongbok.net : The requested URL returned error: 407
debug: url: http://mirror.yongbok.net/archlinux/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'community.db' from mirror.yongbok.net : The requested URL returned error: 407
debug: failed to sync db: download library error
error: failed to update community (download library error)
debug: url: http://repo.archlinux.fr/x86_64/archlinuxfr.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/archlinuxfr.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'archlinuxfr.db' from repo.archlinux.fr : The requested URL returned error: 407
debug: failed to sync db: download library error
error: failed to update archlinuxfr (download library error)
error: failed to synchronize any databases
error: failed to init transaction (download library error)
debug: unregistering database 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
debug: unregistering database 'archlinuxfr'
Last edited by ebshankar (2012-02-18 14:18:30) -
Pacman -S usb_modeswitch URL returned error: 404
Hi, I have a raspberrypi board with archlinux
I'm trying to install usb_modeswitch with no success
[root@alarmpi ~]# pacman -Ss usb_modeswitch
community/usb_modeswitch 1.2.3-1
Activating switchable USB devices on Linux.
First search for package ok
Than resource not found...
[root@alarmpi ~]# pacman -S usb_modeswitch
resolving dependencies...
looking for inter-conflicts...
Targets (2): tcl-8.5.11-1 usb_modeswitch-1.2.3-1
Total Download Size: 0.04 MiB
Total Installed Size: 6.80 MiB
Proceed with installation? [Y/n] y
:: Retrieving packages from community...
error: failed retrieving file 'usb_modeswitch-1.2.3-1-arm.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404
warning: failed to retrieve some files from community
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.
Any thing wrong?
RegardsAlways use -Suy when installing packages, the current version is 1.2.3-2
Also we do not support archlinux-arm, it is an unofficial port and you should use their forum/irc channel.
Last edited by Mr.Elendig (2012-07-23 17:58:16) -
Returning Error Status back from Form to external program
Question,
I am trying to run a form essentially from the command line. I need to programatically catch any error codes that might have occured in the form by an external program. I can find nothing about returning errors back from the form or how to display it.
Any assistance is appreciated.
Andy Hendrickson
nullHello Andreas,
Ah, sorry, there was so much talk about user decisions that I assumed you were using a standard decision task.
Still, I would be extra careful of changing the way workflow usually works because you have an unknown target audience that are based on the standard.
The standard SAP philosophy is quite simple: cancel/F3 or do nothing and it stays reserved. If you do not want it reserved, you need to perform an action. This is based on a majority of processes: in most cases when you execute a work item you will also be the one who is going to completed it. Replacing it is the lesser used of the two alternatives, therefore it is the only one that requires an action on the part of the user.
Again, this is intended as constructive input. Strange quirks and unusual behaviour tend to add a black mark to software if they do not make things easier to use. In many environments users are not even aware of the reserve/replace business, so there you would be adding an additional layer of complexity.
Personally I would find an exit popup annoying as a regular workflow user - regular decisions can be approved with one click, or I can back out with a single click if I need to make a phone call or look up some info before approving - but with this new-fangled thing I've got an extra button to click and an extra thing to think about. This is especially the case in a payment approval scenario where you may have users in some departments who may approve hundreds of payments each week.
My suggestion would be to leave it like that. By all means put an option into the user decision to put it back or to 'un-reserve' it (and loop round if the user chooses it). That way you are adding value and not clicks.
Cheers,
Mike -
Returning error to Javascript from Webkit plugin
Hi all,
I want to return an error and possibly error string using exception or any other means from a web kit plug-in to Java script. In the success case these functions returns NSString, NSNumber,... etc. Can some one pls. provide a sample code to return error code and/or error string, so that Java script can detect the error condition.
Thanks
AkhileshFound it,
[WebScriptObject throwException: @"There is an error"]; -
Need help in returning error condition from web service
Hi,
I need one help regarding webservice. Currently my web service is returning "true" value when it works fine without any issues but it returns "false" when any any error is encountered. So my question is, can we return error instead of string "false". I dont know how to return exact error from webservice. If you any idea then please mail me.
Below is a small code snippet:
System.out.println("User "+ userFullName + usrKey + " end date has been updated to "+usrEndDate +" in IDM DB");
result = true;
catch (tcAPIException e) {
log.error("Error in finding the user" + e.getMessage());
result = false;
} catch (tcUserNotFoundException e) {
log.error("Error in getting user status" + e.getMessage());
result = false;
} catch (tcStaleDataUpdateException e) {
log.error("Error in updating end date of user" + e.getMessage());
result = false;
}catch (Exception e1) {
e1.printStackTrace();
result =false;
return result;
Here i want to return error instead of false. Can we do that?
Thanks,
Kalpana.instead of storing false store below
use result=e1.getMessage();
Edited by: Nishith Nayan on Feb 23, 2012 8:07 PM -
I can't connect my ipad to PC. iTunes doesn't recognise it. In turn I receive an error that this connection can't be established as a returning fault from ipad. why that happens??
The returning message is: "iTunes could not connect to the iPad because an invalid response was received from the device''
-
Transporting OSS Notes from Dev to QA returns error
Hi,
I have implemented all these notes in Dev:
1448397
1453128
1462423
1465685
1472991
1478699
1486208
1490183
1495277
1512748
1540869
1550964
1558355
1564254
1568563
1575454
I don't get any error during implementation in Dev.
When transport to QA, it returns error like:
Authorization check CP_USER_INCL:
Navigation path 48469D158E5D0117E10000000A421694 does not exist
Authorization check O_INCL_1:
Navigation path 488D143E21166CB2E10000000A421693 does not exist
Authorization check S_ALL_1:
Errors occurred during post-handling ESH_OM_TRANSPORT_IMPORT for SEST L
ESH_OM_TRANSPORT_IMPORT belongs to package S_ESH_ENG_OBJ_MOD_REP
The errors affect the following components:
BC-EIM-ESH (NetWeaver Enterprise Search)
After the transport failed, I couldn't access ESH_COCKPIT anymore.
It will return a dump saying:
System with connection GUID xxx has no connection data.
I tried to delete search connector via SE38 ESH_ADM_INDEX_ALL_SC also return the same error.
Anyone experienced this before?
I have already raised an OSS message to SAP waiting for their reply.
Thanks
JackQuote from the OSS message:
1457940 Transporting software components: Error in after-import
1476894 Transporting software components: Paths are lost
The reason for the error messages was a problem with the sequence
of the handling of the involved entities like templates, authorization
checks etc.
I see no harm in implementing the following additionally
1465481 Transporting software components: Dump in after import
1441080 Termination when importing Enterprise Search models
Regards
Jack -
Upgrade from 10/7/5 returns error 13
I have a 24inch 2007 intel imac.
It's on 10.7.5 and won't upgrade to anything else.
the apps store just returns error (13) and suggest I try again later.
It's also doing lots of strange things since the last upgrade, such as always opening photobooth on start up. Apple support worked on the photobooth issue for hours and couldnt fix it.
I was hoping an upgrade to 10.9 might fix a few things, but I dont seem to be able to. Upgrades to imovie and iphoto also return the same error fromteh apps store.Your iMac is too old for Mavericks 10.9.
OS 10.6.8 (Snow Leopard) is a good and stable OS, and it shouldn't be a stretch for your machine. I would suggest you try that is you are not happy with 10.7 (Lion) -
Package Returning Error ORA-06502: PL/SQL: numeric or value error
Hi,
I create a package to export to spread sheet .xls, The package work for simple query if i pass the query to package.
There is no error in package please create the package and do the following as mentioned below
create or replace
PACKAGE export_pkg_spread_sheet
AS
procedure download_excel(vsql in clob );
PROCEDURE excel_header(p_header in out nocopy clob);
procedure excel_content(p_content in out nocopy clob,
vsql in clob );
procedure excel_footer(p_footer in out nocopy clob);
procedure get_usable_sql (p_sql_in IN clob,
p_sql_out OUT clob);
END export_pkg_spread_sheet;
create or replace
PACKAGE body export_pkg_spread_sheet
AS
PROCEDURE excel_header (p_header IN OUT nocopy CLOB)
AS
BEGIN
p_header := '<html><body>';
END;
procedure download_excel( vsql in clob )
as
p_header clob;
p_footer clob;
p_content clob;
begin
owa_util.mime_header( 'application/octet', FALSE );
htp.p('Content-Disposition: attachment; filename="report.xls"');
owa_util.http_header_close;
excel_header( p_header);
excel_content(p_content,vsql);
excel_footer(p_footer);
dbms_output.put_line(p_header ||p_content|| p_footer);
HTP.PRN( p_header ||p_content|| p_footer);
htmldb_application.g_unrecoverable_error := true;
end;
procedure excel_content(p_content in out nocopy clob,
vsql in clob)
as
p_sql_stmt clob;
cur PLS_INTEGER := DBMS_SQL.OPEN_CURSOR;
cols DBMS_SQL.DESC_TAB;
ncols PLS_INTEGER;
TYPE varColumn IS TABLE OF varchar2(32000);
vtab varColumn;
v_column_count NUMBER DEFAULT 0;
v_status INTEGER;
BEGIN
htp.prn('am here');
/* SELECT region_source into p_sql_stmt
FROM apex_application_page_regions
WHERE region_id = p_region_id AND
page_id = p_page_id AND
application_id = p_app_id; */
get_usable_sql (vsql,p_sql_stmt);
p_content := p_sql_stmt;
-- Parse the query.
DBMS_SQL.PARSE(cur, p_sql_stmt , DBMS_SQL.NATIVE);
-- Retrieve column information
DBMS_SQL.DESCRIBE_COLUMNS (cur, ncols, cols);
-- Display each of the column names
p_content := '<table> <tr>';
FOR colind IN 1 .. ncols
LOOP
p_content := p_content || '<td>' || cols(colind).col_name || '</td>';
END LOOP;
p_content := p_content || '</tr>';
vtab := varColumn(null);
for i in 1..ncols
loop
vtab.extend;
DBMS_SQL.DEFINE_COLUMN (cur, i, vtab(i), 2000);
--dbms_output.put_line(vtab(i));
end loop;
v_status := DBMS_SQL.EXECUTE (cur);
LOOP
p_content := p_content || '<tr>';
EXIT WHEN (DBMS_SQL.FETCH_ROWS (cur) <= 0);
FOR i IN 1 ..ncols
loop
DBMS_SQL.COLUMN_VALUE (cur, i, vtab(i));
-- p_content := p_content || '<td>' || 'xyz' || '</td>';
p_content := p_content || '<td>' || vtab(i) || '</td>';
END LOOP;
p_content := p_content || '</tr>' ;
END LOOP;
p_content := p_content || '<table>' ;
DBMS_SQL.CLOSE_CURSOR (cur);
exception
when others then
p_content := '<td>Exception Error in printing data</td><table>' ;
DBMS_SQL.CLOSE_CURSOR (cur);
end;
procedure excel_footer( p_footer in out nocopy clob)
as
begin
p_footer := '</body></html>';
end;
PROCEDURE get_usable_sql (p_sql_in IN clob, p_sql_out OUT clob)
IS
v_sql clob;
v_names DBMS_SQL.varchar2_table;
v_pos NUMBER;
v_length NUMBER;
v_exit NUMBER;
BEGIN
v_sql := p_sql_in;
v_names := wwv_flow_utilities.get_binds (v_sql);
FOR i IN 1 .. v_names.COUNT
LOOP
<<do_it_again>>
v_pos := INSTR (LOWER (v_sql), LOWER (v_names (i)));
v_length := LENGTH (LOWER (v_names (i)));
v_sql :=
SUBSTR (v_sql, 1, v_pos - 1)
|| v_names (i)
|| SUBSTR (v_sql, v_pos + v_length);
v_sql :=
REPLACE (v_sql,
UPPER (v_names (i)),
'(SELECT v('''
|| LTRIM (v_names (i), ':')
|| ''') FROM DUAL)'
IF INSTR (LOWER (v_sql), LOWER (v_names (i))) > 0
THEN
GOTO do_it_again;
END IF;
END LOOP;
p_sql_out := v_sql;
END;
END export_pkg_spread_sheet;
After creating the package pass the parameter to package like this
begin
export_pkg_spread_sheet.download_excel('select * from emp');
end;
Package will allow to download the spread shreet. If i try to pass the a complex query to package it is returning error as mentioned below
ORA-06502: PL/SQL: numeric or value error
In the above package there is a procedure called procedure excel_content which actuall prints the data in the spread sheet this is where the error is coming from there is a variable called vsql have declared it as clob to hold large string but still i am getting the same error when trying to pass a big string.
Please check the error and let me know.
Thanks
SudhirHi Praveen,
This is the query i am using to pass
Declare
qry clob;
Begin
qry := ' 'SELECT
AR.REGION_CODE,
AR.DISTRICT_CODE,
AR.TERRITORY_CODE,
CASE
WHEN AR.REGION_NAME IS NOT NULL AND AR.DISTRICT_NAME IS NULL AND AR.TERRITORY_NAME IS NULL THEN
AR.REGION_NAME
WHEN AR.REGION_NAME IS NOT NULL AND AR.DISTRICT_NAME IS NOT NULL AND AR.TERRITORY_NAME IS NULL THEN
AR.DISTRICT_NAME
WHEN AR.REGION_NAME IS NOT NULL AND AR.DISTRICT_NAME IS NOT NULL AND AR.TERRITORY_NAME IS NOT NULL THEN
AR.TERRITORY_NAME
END TERR_NAME,
AR.EMPLOYEE_ID,
AR.LAST_NAME,
AR.FIRST_NAME,
AR.GENDER,
AR.DATE_OF_HIRE,
AR.PROJECT_EMPLOYEE_TITLE_ID,
AR.COMPANY_ID,
AR.CUSTOMER_EMAIL,
AR.BUSINESS_EMAIL,
AR.CUSTOMER_VOICEMAIL,
AR.CUSTOMER_VOICEMAIL_EXT,
AR.QUINTILES_VOICEMAIL,
AR.QUINTILES_VOICEMAIL_EXT , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_1(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_ADDRESS_TYPE_1" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_2(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_ADDRESS_TYPE_2" , complete_roster_pkg_report.AR_F_ADDRESS_GET_PHONE(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_Phone" , complete_roster_pkg_report.AR_F_ADDRESS_GET_CITY_TOWN(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_City_Town" , complete_roster_pkg_report.AR_F_ADDRESS_GET_COUNTRY_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_Country_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_STATE_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_State_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_ZIP_POSTAL(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_ZipCode" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_1(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_ADDRESS_TYPE_1" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_2(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_ADDRESS_TYPE_2" , complete_roster_pkg_report.AR_F_ADDRESS_GET_PHONE(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_Phone" , complete_roster_pkg_report.AR_F_ADDRESS_GET_CITY_TOWN(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_City_Town" , complete_roster_pkg_report.AR_F_ADDRESS_GET_COUNTRY_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_Country_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_STATE_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_State_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_ZIP_POSTAL(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_ZipCode" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_1(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_ADDRESS_TYPE_1" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_2(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_ADDRESS_TYPE_2" , complete_roster_pkg_report.AR_F_ADDRESS_GET_PHONE(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_Phone" , complete_roster_pkg_report.AR_F_ADDRESS_GET_CITY_TOWN(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_City_Town" , complete_roster_pkg_report.AR_F_ADDRESS_GET_COUNTRY_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_Country_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_STATE_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_State_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_ZIP_POSTAL(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_ZipCode" FROM AR_V_ROSTER AR
LEFT JOIN AR_V_ADDRESS_HISTORY AAH
ON
(AR.PROJECT_ID = AAH.PROJECT_ID AND
AR.EMPLOYEE_ID = AAH.EMPLOYEE_ID)
WHERE
UPPER(AR.USER_EMPLOYEE_ID) = ''Q766730'' AND
AR.PROJECT_ID = 81 ';
export_pkg_spread_sheet.download_excel(qry);
End;
Praveen you can pass your DB table query to check the error. I am trying to pass as mentioned above.
Please let me know if my question is not clear.
Thanks
Sudhir -
ATZ returning ERROR (N95 8GB)
I'm connecting to my N95 8GB via Bluetooth from a laptop running Ubuntu Linux. I had it working fine, but for the last few days whenever I dial out, it seems that the 'ATZ' command in the chat script is returning 'ERROR' instead of 'OK'.
I just can't see any reason for it. I've disabled/re-enabled Bluetooth on both sides, rebooted the phone, rebooted the laptop, turned any connectivity-related services off/on on the phone, but still no joy.
Does anyone have any suggestions as to why 'ATZ' might return 'ERROR' on an N95?
Thanks.
RossOK, ignore that. Thinking a little clearer this morning and it looks like I had inadvertently broke my /etc/bluetooth/rfcomm.conf file at some point. I had the 'rfcomm0' port bound to Channel 1 (Hands-free Audio Gateway), instead of Channel 4 (Dial-up Networking).
Not sure how/when I broke that, but the fact that it was returning 'OK' to my 'AT' commands had me convinced I was still talking to the modem service!
Sorry for the noise,
Ross -
Function returning error text validation
Hi,
I have a page where i can insert/update user, organisation, responsible.
Organisation can be nullable.
Only one user at a time can be responsible for a organisation.
To check this responsible validation i made a function returning error text validation as follow:
BEGIN
FOR c IN (SELECT usr_spa
FROM kpi_users
WHERE usr_org_id = :p22_usr_org_id
LOOP
IF upper(:p22_usr_spa) = upper('YES') and upper(c.usr_spa) = upper('YES')
THEN
RETURN 'A user is already responsible for this organisation'||'!';
END IF;
END LOOP;
END;
The validation works fine.
But it goes wrong when i want to insert a new user, without assigning him to an organisation.
I get following message:
ORA-01722: invalid number
ERR-1024 Unable to run "function body returning text" validation.
Can someone please help me solve this problem?
ThanksHi,
try:
BEGIN
FOR c IN (SELECT usr_spa
FROM kpi_users
WHERE usr_org_id = nvl(:p22_usr_org_id,-1)
LOOP
IF upper(:p22_usr_spa) = upper('YES') and upper(c.usr_spa) = upper('YES')
THEN
RETURN 'A user is already responsible for this organisation'||'!';
END IF;
END LOOP;
END;This assumes that :p22_usr_org_id could be null and converts this to -1 (pick another default value if this may exist as an id). It is possible that the statement would otherwise be seen as WHERE usr_org_id = null which is invalid.
or you could do:
BEGIN
IF :p22_usr_org_id IS NOT NULL THEN
FOR c IN (SELECT usr_spa
FROM kpi_users
WHERE usr_org_id = :p22_usr_org_id
LOOP
IF upper(:p22_usr_spa) = upper('YES') and upper(c.usr_spa) = upper('YES')
THEN
RETURN 'A user is already responsible for this organisation'||'!';
END IF;
END LOOP;
END IF;
END;As this would stop the validation running if the :p22_usr_org_id is null.
Or, you could just make your validation conditional on p22_usr_org_id not being null?
Andy
Maybe you are looking for
-
Does anybody know why my ipod touch 3rd generations screen does not show anything? The screen is all black constantly. When I try to synchronise my ipod with my iTunes library it comes up with a message saying " iTunes could not back up the ipod beca
-
Hi all Added values in Matrix Footer
hi all, i want to add sum of column value in the footer of the matrix so please give me some hint for that. Thanks in adava. Regards Rajkumar Gupta
-
I just got a new phone, I made a backup from my old one and tried to intsall the new. But it didn't work, is this a system default or is this my phone?
-
Why are two pages yoked when I prepare a newletter? How do I delete one without the other?
-
Display random mysql record after every 8 seconds???
Looking to see if I could get some suggestions on how to achieve the following. I want to display the contents of random mysql records every 8 seconds but I am not sure how to code the every 8 seconds. Any suggestions?