Error library index could not be retrieved

I am getting the next error when i try build in TFS2013: Indexed source information could not be retrieved from C:Builds2CompanySolutionBinariesAntlr3.Runtime.pdb. Error: Symbol indexes coul...

I am getting the next error when i try build in TFS2013:

Indexed source information could not be retrieved from C:Builds2CompanySolutionBinariesAntlr3.Runtime.pdb. Error: Symbol indexes could not be retrieved.

the files exist in path.

thank you for your help

asked Feb 9, 2015 at 14:28

steve's user avatar

I «fixed» this error by setting the following property to false on my TFS build definition:

Process -> Source And Symbol Server Settings -> Index Sources.

enter image description here

Some additional information about what Index Sources does is available here (emphasis mine)

Use this task in a build or release pipeline to index your source code
and optionally publish symbols to the Package Management symbol server
or a file share.

Indexing source code enables you to use your .pdb symbol files to
debug an app on a machine other than the one you used to build the
app.
For example, you can debug an app built by a build agent from a
dev machine that does not have the source code.

Symbol servers enables your debugger to automatically retrieve the
correct symbol files without knowing product names, build numbers or
package names. To learn more about symbols, read the concept page; to
publish symbols, use this task and see the walkthrough.

Morphed's user avatar

Morphed

3,4522 gold badges29 silver badges55 bronze badges

answered Sep 13, 2017 at 14:10

RB.'s user avatar

RB.RB.

35.8k12 gold badges87 silver badges128 bronze badges

3

Selecting the option to skip index fixed my problem. Follow the example below.

enter image description here

answered Jan 22, 2020 at 18:53

Slaters's user avatar

SlatersSlaters

5835 silver badges9 bronze badges

There is an incompatibility and you will have to delete that pdb.

You should not have a binaries folder. It is bad practice to check binaries into source control. You should replace all your binary references with NuGet Package references. Likley an updated pdb would work. If you use NuGet you will have the latest version of Antlr.

answered Feb 9, 2015 at 19:27

MrHinsh - Martin Hinshelwood's user avatar

7 сен 2021

Здравствуйте. Нужна помощь в решении вопроса. Сегодня наткнулся на ошибку: «cannot retrieve asset payload (HTTP 401) (Materials/Metal/Aluminum Dented/contents.tgz)» при загрузке материалов из библиотеки в Marmoset (и так с каждым материалом, текстурой и тд.). В интернете, по решению данной проблемы ничего не нашёл, надеюсь тут смогут помочь).

24 янв 2022

У меня такая-же проблема . Не знаю как решить!

8 фев 2022

Привет, скорее всего блочит владельцев пираток) Как бы ‘PAYLOAD’ о многом говорит) Не забывайте что программа платная. Но если вы всё же ЙО-ХО-ХО, то просто обновите версию. Свежие ЙО-ХО-ХО без троянов и в изобилии есть на кое-каком сайте с платным премиумом)

4 май 2022

Привет, скорее всего блочит владельцев пираток) Как бы ‘PAYLOAD’ о многом говорит) Не забывайте что программа платная. Но если вы всё же ЙО-ХО-ХО, то просто обновите версию. Свежие ЙО-ХО-ХО без троянов и в изобилии есть на кое-каком сайте с платным премиумом)

прошу, скажите что за сайт, в личных сообщениях.

  • Remove From My Forums
  • Question

  • I am getting the next error when i try build in TFS2013:

    Indexed source information could not be retrieved from C:Builds2CompanySolutionBinariesAntlr3.Runtime.pdb. Error: Symbol indexes could not be retrieved.

    the files exist in path.

    thank you for your help


    steve

    SOLUTION: 

    i remove files pdb of source control, now it is build right 

    thanks 

    • Edited by

      Tuesday, February 10, 2015 2:16 PM

Answers

  • Hi Steve,  

    Thanks for your post.

    You’re using TFS 2013 Update 4? And your TFS Build Server is 2013 Update 4 too? 

    Only this one build definition received this error?  This build definition worked fine before?

    Please try to remove the Solution from that path on your build agent machine, then queue your build definition and check result again.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click
    HERE to participate the survey.

    • Edited by
      John QiaoModerator
      Thursday, February 12, 2015 9:42 AM
    • Marked as answer by
      John QiaoModerator
      Friday, February 13, 2015 1:48 AM

  • Hi John 

    I had files pdb in source control, it is error, I delete these files, after build project is compiled successfully

    thank you John 


    steve

    • Marked as answer by
      John QiaoModerator
      Friday, February 13, 2015 1:48 AM

Good day to you, gentlemen!

Joined CGTrader a couple of days ago, now facing the very same issue. Which is worrying, since the discussion is over half a year old and the problem is still in it’s original state and quite persistent.

I sincerely believe this is an issue with CGTrader’s servers (or those that are responsible for storing Marmoset previews for the website) and not with browsers we use or any of our local stuff.

Here’s why I believe that: after re-uploading both .HTML and .MVIEW files (that Marmoset Toolbag generates when exporting a Viewer file) to CGTrader, everything loaded perfectly on all browsers on multiple laptops and smartphones, which weren’t connected to each other by any means (asked a friend from another country to help XD). However, as it was previously stated, after a couple of minutes (5, maybe 10), it all goes black everywhere with the same error, which I’m sure we’ve all seen too many times now :) PACKAGE FILE COULD NOT BE RETRIEVED and all that jazz. After a couple of hours the Viewer file randomly succeeded to load on one phone with Samsung’s internal browser (nowhere else) and then went dark again.

Maybe I’m not a 100% accurate with my little experiment, but to me it’s convincing enough that it is CGTrader’s side that’s causing the trouble. No matter the details why it really happens, the sad truth is: *CGTrader’s Marmoset Viewer feature is basically unusable because of it’s inconsistency.*

Pity it’s like that, I was really excited to join CGTrader partly because of the ability to embed Marmoset previews (cause Marmoset Toolbag is awesome for real-time PBR rendering). Since CGTrader’s tech support hasn’t solved the issue yet, I’m guessing it’s either extremely complex or it’s not a priority for them at the moment.

In any case, I guess a semi-reasonable thing to do at the moment would be to render-out videos of turntables in Marmoset and then upload to YouTube or Vimeo and use those as a temporary substitute. It sucks, but it’s something, right? :) If anyone has a better understanding of the situation or a better alternative, please do not hesitate to share your thoughts, I believe all of CGTrader’s PBR folks would be extremely grateful, myself included ;)

Problem: 

I have created a website. Now I want to upload it to Heroku. Also, Heroku should fetch my website from Github. But when I was trying to do it, I got this error: 

Items could not be retrieved, Internal server error.

So in this article, we are going to learn how to fix «Items could not be retrieved, Internal server error — Heroku and Github»  this problem. 

Solution: 

You could upload your website in Heroku using Github. But there is a security issue regarding this method. You can read in detail about it here. So until they solve this issue you have to use Heroku CLI to upload your website. To do this follow these steps: 

heroku login

This will say you to log in to your account. After logging in.  You have to create a remote Heroku repository: 

heroku create -a app-name

To check that a remote named Heroku has been set for your app do this: 

git remote -v

And if you already have a repository on Github, you need to run a new remote by running: 

heroku git:remote -a app-name

Now to deploy your code to Heroku, use the git push command with Heroku: 

git push heroku main

Whenever you want to deploy the latest committed version of your code to Heroku use this command. This command will only affect the code you push to the master or main branches. Heroku remote has no effect on other branches.


Hope this will solve your problem. If you have any more questions you can comment below.

  • Our
  • Forum
  • Developers
  • API Questions

Press Ctrl / CMD + C to copy this to your clipboard.

Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • James Jackson-South

     2015-12-22 16:09:14,444 [P3076/D3/T119] WARN  Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache - Could not retrieve media 1217 from Examine index, reverting to looking up media via legacy library.GetMedia method
     2015-12-22 16:09:15,038 [P3076/D3/T119] WARN  Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache - Could not retrieve media 1217 from Examine index, reverting to looking up media via legacy library.GetMedia method
     2015-12-22 16:09:15,366 [P3076/D3/T119] WARN  Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache - Could not retrieve media 1217 from Examine index, reverting to looking up media via legacy library.GetMedia method
     2015-12-22 16:09:17,642 [P3076/D3/T11] WARN  Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache - Could not retrieve media 1262 from Examine index, reverting to looking up media via legacy library.GetMedia method
     2015-12-22 16:09:17,658 [P3076/D3/T11] WARN  Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache - Could not retrieve media 1687 from Examine index, reverting to looking up media via legacy library.GetMedia method
     2015-12-22 16:09:17,674 [P3076/D3/T11] WARN  Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache - Could not retrieve media 1684 from Examine index, reverting to looking up media via legacy library.GetMedia method
     2015-12-22 16:09:17,700 [P3076/D3/T11] WARN  Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache - Could not retrieve media 1683 from Examine index, reverting to looking up media via legacy library.GetMedia method
     2015-12-22 16:09:17,700 [P3076/D3/T11] WARN  Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache - Could not retrieve media 1685 from Examine index, reverting to looking up media via legacy library.GetMedia method
    

    Ad infinitum…

    We’re getting this message constantly in our log files.

    It’s a single, non-scaled webapp on Azure. We are using the UmbracoFileSystemProviders.Azure plugin to store/retrieve media in blob storage but that is simply an IFileSystemProvider implementation which shouldn’t affect Examine. The Image doctype has also been altered to use the ImageCropper rather than FileUpload though that should cause any issues either.

    Any ideas?.. It’s driving me bonkers.

  • Morten Bock

    Is there by any chance any errors when indexing media? I’ve had weird issues with examine when I had a custom property with the same name as a built in one. For example ‘id’.

    You could try and download the examine index and open it with Luke, and see what kind of data is in there. Then you can determine if it’s the read or the write that fails.

  • James Jackson-South

    Cheers, I’ll do that.

    There’s no errors thrown on node gathering though and We’re only adding to a custom, non-duplicated field. It’s very odd!

  • Sunnefa

    22 posts

    41 karma points

    Jan 28, 2016 @ 16:09

    Sunnefa

    Are there any answers to this? This is happening on a live site and causes the log to become several hundred megabytes.

  • Bruce

    4 posts

    24 karma points

    Feb 05, 2016 @ 15:05

    Bruce

    I see a similar issue on a recently upgraded site (from 7.2.1 -> 7.3.5). Not hosted on Azure. It reports:

    Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache — Could not retrieve media 0 from Examine index, reverting to looking up media via legacy library.GetMedia method

    And it gets logged about 40 times per minute — resulting in really long log files.

    Is there an option to stop «WARN» items getting logged?

  • James Jackson-South

  • David van de Vliet

    I have just updated to umbraco v7.3.7 and can confirm that for my instance the log file no longer displays these warnings.
    This is true for both azure and local development.

    Note that the error can still show up if you have a media item in the recycle bin and open it in the recycle bin. It can also shows up in the log if it is referenced by another item that is still published.

  • James Jackson-South

    That’s great news thanks for the update!

  • James Jackson-South

    Hmmm… I think we were too quick to close this. I’m still getting the very same error on a v7.4.1 build.

  • Chris Ashton

    Hi James,

    Just to report I’m also seeing the same error on an install I upgraded from 7.2.8 to 7.4.1, at a frequency of several a minute.

    Cheers,
    Chris

  • Dave Long

    Hi All

    Has anyone found a solution to this problem? I have recently deployed a 7.4.1 instance and am getting this error in the logs multiple times per second. I’m also not seeing any images on the site as the called to Umbraco.Media(id); in my razor is what’s triggering these errors.

    The site is on a 2 server web farm, with a shared file storage (IIS accessing via UNC paths) — permissions are all correct and the External Examine and Member logs are all working as expected.

    Any help greatly appreciated.

    Thanks,
    Dave

  • Jonas

    123 posts

    206 karma points

    Apr 07, 2016 @ 12:22

    Jonas

    Same here , logs filling up quickly.

    Umbraco version 7.3.8 assembly: 1.0.5891.22674

  • Dave Long

    Hi Jonas

    I discovered that in my case the content api was returning a null value for these properties, which was caused by something going wrong during our data transfer process to the live servers (still not sure what exactly). So we ended up just manually resetting these.

    We changed our code to check the property value (value of id) was > 0 before called Umbraco.Media(id) which has reduced the log errors massively.

    Dave

  • Alain

    That happens because somewhere the code is accessing media nodes that don’t exist in the Examine index.

    The code below will fix this problem by indexing all media nodes that don’t exist in the Examine index.

    @inherits UmbracoTemplatePage
    @{
        // Retrieve all media nodes 
        var xmlMediaNodes = new List<IMedia>();
        foreach (var mediaNode in ApplicationContext.Current.Services.MediaService.GetRootMedia())
        {
            xmlMediaNodes.AddRange(ApplicationContext.Current.Services.MediaService.GetDescendants(mediaNode.Id));
        }
    
        //Retrieve all media nodes from lucene index (InternalSearcher)
        var searcher = ExamineManager.Instance.SearchProviderCollection["InternalSearcher"];
        var searchCriteria = searcher.CreateSearchCriteria(Examine.SearchCriteria.BooleanOperation.And);
        var query = searchCriteria.RawQuery("+__IndexType:media");
        var luceneMediaNodes = searcher.Search(query).ToList();
    
        // Index media nodes that exist in the xml cache but not in the lucene index
        var nodesReindexed = 0;
        foreach (var mediaNode in xmlMediaNodes)
        {
            if (!luceneMediaNodes.Any(x => x.Id == mediaNode.Id))
            {
                ExamineManager.Instance.ReIndexNode(ApplicationContext.Current.Services.PackagingService.Export(ApplicationContext.Current.Services.MediaService.GetById(mediaNode.Id), false), UmbracoExamine.IndexTypes.Media);
                nodesReindexed++;
                // As more nodes are indexed, more time is given to lucene to re-index
                System.Threading.Thread.Sleep((int)Math.Truncate(Math.Log(nodesReindexed) * 50));
            }
        }
    }
    

    You will still get a warning when you try to access a media with Id 0. This has been fixed in Umbraco 7.4.2 (http://issues.umbraco.org/issue/U4-7823)

    If someone is wondering where this warning is coming from, take a look at: https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Web/PublishedCache/XmlPublishedCache/PublishedMediaCache.cs [line 224]

    Hope that helps.

  • Chris Houston

    Hi All,

    We are still getting this error message on a 7.4.3 installation.

    It’s becoming a major issue for our client, it can easily be replicated by them deleting a node that is referenced in a multi-node picker.

    As soon as the Examine index tried to re-build we get a flood of these errors and it seems to slow the index building significantly which is not good when they have 25k nodes.

    Did anyone create an Umbraco Issue for this?

    Cheers,

    Chris

  • Chris Ashton

    Hi Chris – I’ve not created an issue for this, and still haven’t managed to find a resolution.

    Chris

  • Stephen

    See new issue http://issues.umbraco.org/issue/U4-8856

    Can flood the log if eg a site contains many media pickers and the picked medias have been deleted => will write 1 line per media = bad.

    Stephan

  • Steve Temple

    Hi Stephan,

    I see the issue with the logging has been fixed but we have a problem when it falls back to the db lookup instead of examine if you are fetching a folder they have no children but if you get it from the examine index it does have children.

    So the fallback method isn’t a replacement for the examine version.
    We allow users to pick a folder rather than individual images and it’s become quite an issue for us.

    This happens on our sites a lot our logs are full of these message and makes me concerned that the examine index becomes corrupted/invalid very frequently

    Steve

$begingroup$

I have a total RNAseq dataset that I aligned using STAR producing BAM files (sorted by coordinates). I am now trying to get counts for the lncRNA sequences using htseq-count, with the command:

htseq-count -m intersection-nonempty -f bam -i gene_id -r pos -s reverse ./OVCA429_Aligned.sortedByCoord.out.bam ./GRCh38_latest_genomic.gtf > ./OVCA429.counts.txt

This is the output:

[E::idx_find_and_load] Could not retrieve index file for './OVCA429_587680_1_1.rnaseq.fastqAligned.sortedByCoord.out.bam'
100000 GFF lines processed.
200000 GFF lines processed.
300000 GFF lines processed.
400000 GFF lines processed.
...(truncated output here)...
3775001 GFF lines processed.
[E::idx_find_and_load] Could not retrieve index file for './OVCA429_587680_1_1.rnaseq.fastqAligned.sortedByCoord.out.bam'
100000 alignment records processed.
200000 alignment records processed.
300000 alignment records processed.
...(truncated output here)...

Output text file:
__no_feature    20368875
__ambiguous 0
__too_low_aQual 0
__not_aligned   0
__alignment_not_unique  2634439

I’ve read through the htseq-count literature but it never asks to include an index file, therefore i’m not sure how to deal with this problem. Any help/ suggestions would be welcome! Thank you, in advance.

Kamil S Jaron's user avatar

asked Sep 10, 2020 at 19:37

anjali_yen's user avatar

$endgroup$

$begingroup$

The problem seems to be missing index files of the bam files (therefore the error message that the index file is missing). You should be able to generate those with samtools, e.g.

samtools index ./OVCA429_587680_1_1.rnaseq.fastqAligned.sortedByCoord.out.bam

answered Sep 10, 2020 at 20:09

Kamil S Jaron's user avatar

Kamil S JaronKamil S Jaron

5,4371 gold badge22 silver badges57 bronze badges

$endgroup$

4

Понравилась статья? Поделить с друзьями:
  • Error libmfx not found
  • Error libevent2 development libraries are not installed properly in required location
  • Error li006 duplicate definitions for
  • Error li005 no definition for systeminit
  • Error li005 no definition for iar