Closed man4ish closed 8 years ago
This error basically indicates a problem when generate-names.pl was run. You can try to re-run generate-names.pl on your data directory. In some cases, running "generate-names.pl --hashBits 16" can fix it too.
I ran with following command but still same error.
sudo perl bin/generate-names.pl --hashBits 16 WARNING: No feature names found for indexing, only reference sequence names will be indexed.
This is new setup where i have just reference sequence only but still i am gettting same error popup window.
@man4ish I would recommend not using sudo. You should fix your permissions on your data directory "chown -R manish:manish data" or similar, and then run these commands without sudo. You can also see in your http error log if the files are being given permission denied.
Is there anything that i need to change?
Just grasping at things: 1 - what are the permissions for the name-store in JBrowse (vs the other served documents)? . . unlikely to be the error, but an easy fix if so 2 - are you seeing any errors reported in your apache log or the console?
Following is permisson for names store.
I just checked in console.
[](not well-formed jbrowse.conf:1:2 no element found tracks.conf:1:1 Use of getAttributeNode() is deprecated. Use getAttribute() instead. dojo.js:171:494 Object { message: "Unable to load http://localhost/jbr…", stack: ".cache["dojo/errors/create"]/</</d@…", response: Object, status: 404, responseText: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD…", xhr: XMLHttpRequest } dojo.js:360:282
Object { message: "Unable to load http://localhost/jbr…", stack: ".cache["dojo/errors/create"]/</</d@…", response: Object, status: 404, responseText: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD…", xhr: XMLHttpRequest })
Pls help me in fixing in this issue as i am stuck in my project.
If you want, you can just remove this from trackList.json
"names" : { "url" : "names/", "type" : "Hash" },
And the error will go away
The search functionality won't be enabled, but there are not any features being indexed apparently, so in that case it does not change anything
This solves the problem but not sure later hash-name is needed or not?
It won't cause any problems really without it enabled.
If you want to enable searching, you can re-run generate-names.pl, and hopefully have better luck. Feel free to re-open the issue when then happens!
Hi,
I am getting pop up window erroe message when i start the browser.
Error reading from name store.
Following is tranks.conf file.
{ "tracks" : [ { "chunkSize" : 20000, "storeClass" : "JBrowse/Store/Sequence/StaticChunked", "urlTemplate" : "seq/{refseq_dirpath}/{refseq}-", "type" : "SequenceTrack", "label" : "DNA", "category" : "Reference sequence", "key" : "Reference sequence" }, { "style" : { "className" : "feature" }, "key" : "GeneId", "storeClass" : "JBrowse/Store/SeqFeature/NCList", "trackType" : null, "urlTemplate" : "tracks/GeneId/{refseq}/trackData.json", "compress" : 0, "type" : "FeatureTrack", "label" : "GeneId" }, { "style" : { "className" : "feature" }, "key" : "RefGene", "storeClass" : "JBrowse/Store/SeqFeature/NCList", "trackType" : null, "urlTemplate" : "tracks/RefGene/{refseq}/trackData.json", "compress" : 0, "type" : "FeatureTrack", "label" : "RefGene" }, { "style" : { "className" : "feature" }, "key" : "DGV", "storeClass" : "JBrowse/Store/SeqFeature/NCList", "trackType" : null, "urlTemplate" : "tracks/DGV/{refseq}/trackData.json", "compress" : 0, "type" : "FeatureTrack", "label" : "DGV" }, { "style" : { "className" : "feature" }, "key" : "snp138", "storeClass" : "JBrowse/Store/SeqFeature/NCList", "trackType" : null, "urlTemplate" : "tracks/snp138/{refseq}/trackData.json", "compress" : 0, "type" : "FeatureTrack", "label" : "snp138" }, ], "names" : { "url" : "names/", "type" : "Hash" }, "formatVersion" : 1 }
How can i fix such issue?