Inserted documents can not be found with 2.4.16

Hi,
I used 2.4.11 on Mac OS 10.5. Everything worked fine except an issue with indexing so that I was recommended to use 2.4.16. The problem is that now with 2.4.16 I can insert documents but can't find anything using the same code as I used with 2.4.11 (I created new container with 2.4.16 and inserted new documents).
Has anyone an idea why?
Best Regards,
hvtranho.

Hi Lauren -
I have another case that is not working and I'm wondering if its from the previous bug. This document was inserted before the patch but I'm testing the doc retrieval after the patch and something weird is up. Below is a fragment where I query and get some document ids from the metadata, then try to retrieve them but the doc ids that were given to me from the query are not retrievable (one is, one is not). Is this probably related to the docName thing? Otherwise, how can th db return a link to a name that doesn't exist? THanks for your help!
from janus.xmldb.xmldblib import *
databaseEnvironmentFolder = "/Users/.../.../rx/"
containerName="rx.dbxml"
docName="rx_1227111984.98_12337"
janusId="08-XXXX"
rootNodeName="rx"
env = getEnvironment(databaseEnvironmentFolder, None)
mgr = getManager(env)
mgr.thisown=0
qc = mgr.createQueryContext()
cont = iOpenContainer(mgr, containerName)
querystr = r'for $o in collection("'+containerName+'")/'+rootNodeName+' order by $o/@dos descending return $o' % janusId
query = mgr.prepare(querystr, qc)
results = query.execute(qc)
docs = []
for result in results:
docs.append( result.asDocument().getName() )
print docs
#'rx_1227111984.98_12337', 'rx_WILSON_None_20080613-1213766046.33_1715'
for doc in docs:
docObject = cont.getDocument(doc)
print docObject
>>>
Traceback (most recent call last):
File "./test.py", line 31, in ?
docObject = cont.getDocument(doc)
File "/Applications/Plone-2.5.2/Python-2.4.4/lib/python2.4/site-packages/dbxml.py", line 528, in getDocument
def getDocument(*args): return dbxml.XmlContainergetDocument(*args)
<type 'instance'>: XmlException 11, Error: Document not found: rx_1227111984.98_12337
Edited by: eleddy on Nov 20, 2008 6:07 PM
Edited by: eleddy on Nov 20, 2008 6:08 PM

Similar Messages

  • I was trying to add an itunes library to my computer, and now my itunes library can not be found. An ipod can be synced with only one iTunes library at a time. How can I find my Itunes library, complete with playlists ?

    I was trying to add an itunes library to my computer, and now my itunes library can not be found. An ipod can be synced with only one iTunes library at a time. How can I find my Itunes library, complete with playlists ?

    I have the same problem too and tried alot of things like time zone , restarting or changing DNS of wifi connection to 8.8.8.8 still nothing happens .. !!
    iPhone 5s, iOS 8.3

  • HT1657 I rented Trouble with the Curve and haven't it yet and I when I went to watch the movie it tells me the file can not be found -  please help

    I rented Trouble with the Curve and haven't it yet and I when I went to watch the movie it tells me the file can not be found -  please help

    Yes, thank you.  My apologies, I was typing one handed and did not add that. 
    Anyway, I have tried deleting the cache, deleting my pics and then re-syncing, etc. and nothing is working This is very frustrating, as I had no problems up until about 2 weeks ago, and now all of a sudden, I have this issue......UGH!

  • HT1711 When I try to play a song on I-Tunes I receive the Message "The Song can not be used because original can not be found" Can anyone out there help me with this?

    When I try to play a song on I-Tunes, I receive the Message "The song can not be used because the original can not be found.  Can anyone out there help me  with this problem?

    The iTunes application saves your iTunes Store purchases--as well as any music, audiobooks, or videos you import--to your computer's hard disk, not the iTunes application itself.
    The error message you note indicates that the purchase in question can’t be located where it is stored in your iTunes Music folder in order to play it, and may have been moved or deleted.
    You will need to help iTunes locate the file. Follow the steps in this article:
    http://support.apple.com/kb/TS1967
    This article may also be helpful:
    http://support.apple.com/kb/TS1408

  • OTM can not open attachment with Word Document(*.docx)

    With more and more use of Word Document(*.docx) (version 2007). OTM (Oracle Test Manager) can create an attachment with it, but can not open attachment with Word Document(*.docx). Is this a problem for anyone else? Any wok around?
    Thanks
    Katherine

    I am using OTM version 9.2 and the Word document (*.docx) attachment can be opened in this.
    For being able to open a docx file, try to attach an word document from the file option in the Requirements, Test or Issue tabs in OTM , once you upload the file, please check if location is " in Database" Else click update DB and upload the document.
    Once the attachment is attached to the Attachment section in the right pane, clicking on the attachment will open the *.docx document.
    This has worked for me.
    Hope this helps.

  • Can not synchronise my ipod with itunes. the required medium can not be found

    Can not synchronise my ipod with itunes. I receive the message the required medium can not be found

    Is it along the lines of the "required disk cannot be found?"  What OS are you using and are you running the latest version of iTunes?  I assume you have tried multiple USB ports as well as tried using a different USB sync cable to rule out a damaged/faulty cable?
    Do you have any other USB devices plugged in while you try to sync your iPod?
    B-rock

  • I can not sync my Iphone 4s with Itunes.  I get a "required file can not be found" error.  I went the apple stroe yesterday and they said a file may be corrupt.  I have uninstalled and re-installed Itunes so it is up to date.  ANy thoughts?

    I can not sync my Iphone 4s with Itunes.  I get a "required file can not be found" error.  I went the apple stroe yesterday and they said a file may be corrupt.  I have uninstalled and re-installed Itunes so it is up to date.  ANy thoughts?

    Anybody?

  • TS1702 My ipod touch will not sync with my itunes because they can not be found! Help!

    Hi,
    I have just updated my itunes to iOS 5.1.1 - sync'd my ipod touch and now found that all my tracks on my ipod touch have been removed from it and am unable to sync / transfer my music from my itunes back onto it. Message boxes come up which states they can not be found. Please help!

    Does the music play in iTunes on the computer?
    Maybe
    iTunes: Finding lost media and downloads
    Maybe here is you updated iTunes on your computer
    No content shows up in iTunes after updating

  • I keep getting a pop up with Original files can not be found. I just updated my iMac to Lion and I have over 10,000 songs I can not access. Help!

    This morning when I went to access my iTunes library I got a message that "Original Files can not be found" and would I like to locate them and others. Of course I clicked "yes" but that did not solve the problem. Why did this happen over night and what is the easiest way for me to retrive 10,000 songs. This is not a good thing!!!

    Hi wcb82,
    If you keep getting these messages, you may need to delete the subscription to that calendar. You may find the following article useful:
    Cal 5.x: Delete a calendar or reminder list
    http://support.apple.com/kb/PH4720
    Regards,
    - Brenden

  • When click on to safari it says server can not be found,but i can connect with browsing history

    Hi When i click on saffari it says server can not be found,but when i click on history the server works fine.can enyone help.
                                                                                    saffron

    Check iPhoto's Advanced preference pane and make sure you're running a Managed library:
    It sounds like the checkbox that should be checked is not.
    OT

  • I can not install the newest version of iTunes because of a file that can not be found. This is what I am seeing:(The feature you are trying to use is on a network resource that is unavailable. C:\......\Application Data\Apple\Apple Software Update\

    I can not install the newest version of iTunes because of a file that can not be found. This is what I am seeing:(The feature you are trying to use is on a network resource that is unavailable. C:\Documents and Settings\Aubrie\Local Settings\Application Data\Apple\Apple Software Update\)

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page).
    http://majorgeeks.com/download.php?det=4459
    Here's a screenshot showing the particular links on the page that you should be clicking:
    After clicking one of the circled links, you should be taken to another page, and after a few seconds you should see a download dialog appear for the msicuu2.exe file. Here's a screenshot of what it looks like for me in Firefox:
    Choose to Save the file. If the dialog box does not appear for you, click the link on the page that says "CLICK HERE IF IT DOES NOT". Here's a screenshot of the page with the relevant link circled:
    When the dialog appears, choose to save the file.
    (2) Go to the Downloads area for your Web browser. Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • The folder "itunes"can not be found or created and is required

    I am getting this error message when I try to open Itunes on my pc. The error message reads:
    The folder "itunes" can not be found or created and is required. The default location for this folder is in "my music" folder.
    I can see it there and I open it and hit agree to contract and this error message come up. I have deleted the program reinstalled the program. Please if you have any suggestions on how to fix this I would appreciate the help.
    Thanks Mkitz

    the best place to start with that one is with the following document:
    iTunes for Windows: "Disk is locked" or "iTunes folder cannot be found" when installing or opening iTunes
    ... but if you run into the complication where "My Music" doesn't appear as an option in TweakUI, perhaps try the alternate procedure from the following Nigel Carpenter post:
    Nigel Carpenter: re: Itunes problem

  • File can not be found

    Hello. I just finished downloading the audiobook:The Spontaneous Fulfillment of Desire: Harnessing the Infinite Power of Coincidence (Unabridged) . I got part 1 and 2 but 3 can not be found on the server. The iTunes library shows a ghosted line with an "!" next to it. I have tried restarting the download through Store" check available downloads. It starts but then stops with the Unfound on Server statement.
    1. How can I get part 3??
    2. If I can't get part 3 will I be charged for the download?
    3. If I am charged, how do I argue that it wasn't a sucessful download?
    Thanks
    E

    i have done that over and over. i tunes still can't find the files. is there some setting that will resolve this? or is there something else that i have to change in my computer settings.
    my new computer is vista the documents on the xternal drive is windows xp.

  • Requested Document Could Not Be Found : Pre-Calculated Web

    I get the error : <b>Requested Document Could Not Be Found</b> when I exucte the web report URL with data_mode=static. I have created variants and scheduled them, all things are correct.
    I searched the Forum before posting this message. I checked the job overview for the package, its executed. In T-code RSRAPS I see the htm pages.
    I could execute the reports yesterday, today I get this error.
    Can anyone tell me, whats going wrong. I have tempalte in role, I have access to it.
    Thanks in advance..
    Raj K.

    spanyal, I think with your help I am getting very close to solving this problem..
    I changed the template properties as below.
    <object>
       <param name="OWNER" value="SAP_BW"/>
       <param name="CMD" value="SET_PROPERTIES"/>
       <param name="TEMPLATE_ID" value="Y_SALES_REP_1"/>
       <param name="DATA_MODE" value="STATIC"/>
       <param name="VARAINT"alue="z_test_sales_rep_varnt_t5"/>
       TEMPLATE PROPERTIES
    </object>
    Please tell me if anything is wrong. This did not help me. I still get the error "Requested Document not found".
    After setting the data_mode, do I have to add anything to the URL.
    Thanks a bunch..
    Raj K.

  • Volume can not be found          WHY THE HECK NOT??

    Hi
    ok I have 26000 photos in iphoto so I have a litte bit of an idea how to do it...
    but why is it doing this now?
    -this is my workflow I insert my card in the reader
    -copy them to my external HD
    iphoto is only a reference library ( have copy unchecked )
    -I go into iphoto/file/import to library/external HD/pictures/then the file with my photos I want to reference
    -preparing to import
    -VOLUME CAN NOT BE FOUND. Insert the disk or connect to the server volume and wait for it to appear on the desktop, then try again.
    WHY WOULD IT DO THIS OUT OF THE BLUE??? HELP
    THANKS

    This sometimes occurs if you’re importing a file into iPhoto and there’s already a file there with the same name. Digital cameras can produce many, many files with the same name over their lifetime, so it’s not uncommon to have several files called IMG_00543.JPG, for instance. Now you want to import one also called this.
    What happens is that iPhoto compares the two files to check for duplicates. However, if iPhoto cannot find the file already in the database for comparison, then you get this message. It suggests that your database is damaged because iPhoto has lost track of this (or these) similarly named files.
    A simple test is to rename the file you are importing - just add a character - IMG_00543a.JPG for instance. If this then imports with no issue then you might consider rebuilding your library:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    Regards
    TD

Maybe you are looking for

  • Back To My Mac not waking remote mac in Mountain Lion iCloud

    Back To My Mac will not connect to a remote mac in Mountain Lion unless that mac is awake. I have the "Wake for network access" button checked. Once I have somebody touch a keyboard to wake up the remote mac I can share screens, and share files, but

  • I can't log into facetime or iMessenger

    I've had my ipod for about two years,my facetime used to work but then it stopped and wouldn't let me log in so I made a new apple id hoping it would work. but it didn't. every time I try to log in it says 'FaceTime Activation-Could not sign in. Plea

  • Help me in my mini project about dc motor control using labview

    hi,    actually the idea is that  using pid controller in labview.. controlling motor.i.e giving a setpoint to pid... n checking whether motor is running accordinly using a sensor.. i.e feedback n/w...  i dnt knw hw to proceed.. can u help me with th

  • Nav. Attribute in the Selection Screen of the Report

    Hi Experts, I'm maintaining a master data (Emp. No) with the nav. attributes (Emp.Name, Address, City, State, Zone) I want to view the detail report based on Zone. This zone I want to bring selection screen. I'm unable to create a selection variable

  • Acrobat Reader PPC 2 and submit by email

    Hi, I searched the forums before posting this question. I created a form with Live cycle Designer which had a submit by email button (with to address set). Running this form on a PDA (Acrobat Reader Pocket PC 2) is fine, however when I try to submit