New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't import data #388
Comments
I would try resetting the extension (same page you can load data from). Also, could you share your config file? |
Hi @IILokiII, as metruzanca says, a copy of the config files you have tried to import will help us with this issue. Please share it and we'll take a look. |
Hello! I have the same problem. {"nightTab":true,"version":"7.3.0","state":{"layout":{"area":{"header":{"width":100,"justify":"center"},"bookmark":{"width":100,"justify":"center"}},"alignment":"center-center","order":"header-bookmark","direction":"vertical","size":100,"width":80,"padding":40,"gutter":20,"breakpoint":"xl","scrollbar":"auto","title":"","favicon":"","overscroll":false},"header":{"item":{"justify":"left"},"greeting":{"show":false,"type":"good","custom":"","name":"","size":100,"newLine":false},"transitional":{"show":false,"type":"time-and-date","size":100,"newLine":false},"clock":{"hour":{"show":true,"display":"number"},"minute":{"show":true,"display":"number"},"second":{"show":false,"display":"number"},"separator":{"show":true,"text":""},"meridiem":{"show":false},"hour24":{"show":true},"size":100,"newLine":false},"date":{"day":{"show":false,"display":"word","weekStart":"monday","length":"long"},"date":{"show":true,"display":"number","ordinal":true},"month":{"show":true,"display":"word","length":"short","ordinal":true},"year":{"show":false,"display":"number"},"separator":{"show":true,"text":""},"format":"date-month","size":100,"newLine":false},"search":{"show":true,"width":{"by":"auto","size":30},"engine":{"selected":"google","custom":{"name":"","url":"","queryName":""}},"text":{"justify":"center"},"size":100,"newLine":false,"newTab":false,"string":"github"},"order":["clock","date","search","toolbar"],"edit":false},"bookmark":{"size":100,"url":{"show":true},"line":{"show":true},"shadow":{"show":true},"hoverScale":{"show":true},"orientation":"bottom","style":"block","newTab":false,"edit":false,"add":false,"show":true,"item":{}},"group":{"area":{"justify":"left"},"order":"header-body","name":{"size":100},"toolbar":{"size":100},"edit":false,"add":false},"toolbar":{"location":"header","position":"bottom-right","size":100,"accent":{"show":true},"add":{"show":true},"edit":{"show":true},"newLine":false},"theme":{"color":{"range":{"primary":{"h":223,"s":32}},"contrast":{"start":20,"end":47},"shades":14},"accent":{"hsl":{"h":0,"s":0,"l":87},"rgb":{"r":222,"g":222,"b":222},"random":{"active":false,"style":"any"},"cycle":{"active":false,"speed":300,"step":10}},"font":{"display":{"name":"Fira Code","weight":100,"style":"normal"},"ui":{"name":"Fira Code","weight":400,"style":"normal"}},"background":{"type":"image","color":{"hsl":{"h":221,"s":47,"l":17},"rgb":{"r":23,"g":36,"b":64}},"gradient":{"angle":160,"start":{"hsl":{"h":206,"s":16,"l":40},"rgb":{"r":86,"g":104,"b":118}},"end":{"hsl":{"h":219,"s":28,"l":12},"rgb":{"r":22,"g":28,"b":39}}},"image":{"url":"https://github.com/zombieFox/nightTabAssets/blob/main/images/1628356492462.jpeg?raw=true","blur":0,"grayscale":0,"scale":100,"accent":0,"opacity":5,"vignette":{"opacity":50,"start":90,"end":70}},"video":{"url":"","blur":0,"grayscale":0,"scale":100,"accent":0,"opacity":100,"vignette":{"opacity":0,"start":90,"end":70}}},"opacity":{"general":0},"layout":{"color":{"by":"custom","blur":0,"opacity":30,"hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0}},"divider":{"size":0}},"header":{"color":{"by":"theme","opacity":10,"hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0}},"search":{"opacity":0}},"bookmark":{"color":{"by":"theme","opacity":10,"hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0}},"item":{"border":0,"opacity":0}},"group":{"toolbar":{"opacity":0}},"toolbar":{"opacity":0},"style":"dark","radius":50,"shadow":50,"shade":{"opacity":5,"blur":0},"custom":{"all":[{"name":"Palenight","color":{"range":{"primary":{"h":223,"s":32,"l":22}},"contrast":{"start":20,"end":47}},"accent":{"hsl":{"h":0,"s":0,"l":87},"rgb":{"r":222,"g":222,"b":222}},"font":{"display":{"name":"Fira Code","weight":100,"style":"normal"},"ui":{"name":"Fira Code","weight":400,"style":"normal"}},"background":{"type":"image","color":{"hsl":{"h":221,"s":47,"l":17},"rgb":{"r":23,"g":36,"b":64}},"gradient":{"angle":160,"start":{"hsl":{"h":206,"s":16,"l":40},"rgb":{"r":86,"g":104,"b":118}},"end":{"hsl":{"h":219,"s":28,"l":12},"rgb":{"r":22,"g":28,"b":39}}},"image":{"url":"https://github.com/zombieFox/nightTabAssets/blob/main/images/1628356492462.jpeg?raw=true","blur":0,"grayscale":0,"scale":100,"accent":0,"opacity":5,"vignette":{"opacity":50,"start":90,"end":70}},"video":{"url":"","blur":0,"grayscale":0,"scale":100,"accent":0,"opacity":100,"vignette":{"opacity":0,"start":90,"end":70}}},"radius":50,"shadow":50,"style":"dark","shade":{"opacity":5,"blur":0},"opacity":{"general":0},"layout":{"color":{"by":"custom","blur":0,"opacity":30,"hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0}},"divider":{"size":0}},"header":{"color":{"by":"theme","opacity":10,"hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0}},"search":{"opacity":0}},"bookmark":{"color":{"by":"theme","opacity":10,"hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0}},"item":{"border":0,"opacity":0}},"group":{"toolbar":{"opacity":0}},"toolbar":{"opacity":0}}],"edit":false}},"search":false,"modal":false,"menu":true},"bookmark":[{"name":{"text":"Cool stuff","show":true},"collapse":false,"toolbar":{"openAll":{"show":true},"collapse":{"show":true}},"items":[{"url":"https://www.vk.com/im","display":{"alignment":"center-center","direction":"vertical","order":"visual-name","rotate":0,"translate":{"x":0,"y":0},"gutter":25,"name":{"show":true,"text":"VK","size":7},"visual":{"show":true,"type":"icon","size":25,"letter":{"text":""},"icon":{"name":"vk","prefix":"fab","label":"VK"},"image":{"url":""},"shadow":{"size":0}}},"accent":{"by":"theme","hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0}},"color":{"by":"theme","hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0},"opacity":0},"background":{"show":false,"type":"image","opacity":100,"image":{"url":""},"video":{"url":""}},"border":0,"shape":{"wide":false,"tall":false},"timestamp":1641496403288},{"url":"https://translate.google.com/","display":{"alignment":"center-center","direction":"vertical","order":"visual-name","rotate":0,"translate":{"x":0,"y":0},"gutter":25,"name":{"show":true,"text":"Google Translate","size":7},"visual":{"show":true,"type":"icon","size":25,"letter":{"text":""},"icon":{"name":"language","prefix":"fas","label":"Language"},"image":{"url":""},"shadow":{"size":0}}},"accent":{"by":"theme","hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0}},"color":{"by":"theme","hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0},"opacity":0},"background":{"show":false,"type":"image","opacity":100,"image":{"url":""},"video":{"url":""}},"border":0,"shape":{"wide":false,"tall":false},"timestamp":1641801611304},{"url":"https://youtube.com/","display":{"alignment":"center-center","direction":"vertical","order":"visual-name","rotate":0,"translate":{"x":0,"y":0},"gutter":25,"name":{"show":true,"text":"Youtube","size":7},"visual":{"show":true,"type":"icon","size":25,"letter":{"text":"Youtube"},"icon":{"name":"youtube","prefix":"fab","label":"YouTube"},"image":{"url":""},"shadow":{"size":0}}},"accent":{"by":"theme","hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0}},"color":{"by":"theme","hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0},"opacity":0},"background":{"show":false,"type":"image","opacity":100,"image":{"url":""},"video":{"url":""}},"border":0,"shape":{"wide":false,"tall":false},"timestamp":1642009433690}]},{"name":{"text":"Dev sites","show":true},"collapse":false,"toolbar":{"openAll":{"show":true},"collapse":{"show":true}},"items":[{"url":"https://devdocs.io/","display":{"alignment":"center-center","direction":"vertical","order":"visual-name","rotate":0,"translate":{"x":0,"y":0},"gutter":25,"name":{"show":true,"text":"Devdocs","size":7},"visual":{"show":true,"type":"icon","size":25,"letter":{"text":"DEV"},"icon":{"name":"code","prefix":"fas","label":"Code"},"image":{"url":""},"shadow":{"size":0}}},"accent":{"by":"theme","hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0}},"color":{"by":"theme","hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0},"opacity":0},"background":{"show":false,"type":"image","opacity":100,"image":{"url":""},"video":{"url":""}},"border":0,"shape":{"wide":false,"tall":false},"timestamp":1626298034209},{"url":"https://github.com/","display":{"alignment":"center-center","direction":"vertical","order":"visual-name","rotate":0,"translate":{"x":0,"y":0},"gutter":25,"name":{"show":true,"text":"Github","size":7},"visual":{"show":true,"type":"icon","size":25,"letter":{"text":"GIT"},"icon":{"name":"github","prefix":"fab","label":"GitHub"},"image":{"url":""},"shadow":{"size":0}}},"accent":{"by":"theme","hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0}},"color":{"by":"theme","hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0},"opacity":0},"background":{"show":false,"type":"image","opacity":100,"image":{"url":""},"video":{"url":""}},"border":0,"shape":{"wide":false,"tall":false},"timestamp":1626298038470}]}]} |
I've tried what you said @metruzanca but no dice. Here's the config file
But it happens with any config file, even if I edit the default one, clear and try to re-import it won't work. |
I've had a quick look with these config files. All is working as expected in Chrome. In Firefox there does seem to be a new issue when importing via the "Import from clipboard" feature. I suspect this is due to Firefox changing something in a recent update. Importing via the "Import from file" feature is still working. I suggest this method be used when importing until I can work out what has changed with Firefox and get a fix out. |
Import from file is not working either, the sidebar simply closes after selecting the file and nothing changes. But like I said the weird thing on my case is that, even when using the same firefox version and same config file, it works on linux but not on windows. |
Same problem here :/ From Chrome to Firefox, both from clipboard and from file don't work. |
Hello there. I had the same problem where the integrated restore function doesnt work via clipboard nor JSON. However, after tons of testing I think I found the fix. Heres what I did:
I'd like to note that this didn't work the first time due to it recognizing nightTab as an array rather than an object; however, this only occured once and I'm not sure what I did to workaround it. I hope this helps, if you have questions please ask me! |
Can confirm @aidenszolosi solution worked, I just copied the contents of the json generated from the backup and pasted it on the extension storage data and it worked without issues. |
@IILokiII Glad to be of help! :) Not the most convenient but it gets the job done. A workaround for a bug rather than a fix unfortunately.
|
I am still facing the same issue with nightTab 7.3.0 on Firefox 110.0. Can reproduce the same issue if I just try to "Backup > Copy to Clipboard" then "Restore > Import from Clipboard" on a freshly installed copy of nightTab. Importing from a file on the other hand does not trigger the error but does nothing (it just closes the Settings menu without changing anything). EDIT: if you don't have a working copy of nightTab running (like I have), it seems that copying the content of the backup JSON file to the |
Thank u |
Happy to help, my friend. |
Windows 10 LTSC
Firefox 104.02
I've just freshly reintsalled windows and I'm trying to import my previous data but when I import the file nothing happens, the settings sidebar simply closes.
If I try to copy my data to my clipboard and import it like that it says
"Not the right kind of data. Make sure the clipboard holds data from nightTab or a nightTab backup JSON file."
I've also tried using other people's json files and they also don't work. I also dual boot linux mint and when I installed the extension on firefox I was able to import the data just fine
The text was updated successfully, but these errors were encountered: