X
Tap here to go to the mobile version of the site.

Support Forum

Import bookmarks from json - scripts error

Posted

New profile. Import bookmarks from json - scripts error. Why? From HTML - icons YES, import NO errors, tags NO( From JSON - icons NO(, import with errors, tags YES May be fix\repair\check places.sqlite, how? [img]http://i.imgur.com/jCrGYKp.jpg/img [img]http://i.imgur.com/5f8opcf.jpg/img [img]http://i.imgur.com/vnIpPZw.jpg/img

New profile. Import bookmarks from json - scripts error. Why? From HTML - icons YES, import NO errors, tags NO( From JSON - icons NO(, import with errors, tags YES May be fix\repair\check places.sqlite, how? [img]http://i.imgur.com/jCrGYKp.jpg[/img] [img]http://i.imgur.com/5f8opcf.jpg[/img] [img]http://i.imgur.com/vnIpPZw.jpg[/img]

Chosen solution

Thank You cor-el ! In about:config, dom.max_chrome_script_run_time i set 1000 and now no scripts warnings then i restore bookmarks from JSON file

Read this answer in context 0

Additional System Details

Installed Plug-ins

  • Shockwave Flash 13.0 r0
  • Next Generation Java Plug-in 10.55.2 for Mozilla browsers
  • Battlelog Game Launcher (2.3.2)
  • Adobe PDF Plug-In For Firefox and Netscape 11.0.06
  • 2.3.0
  • 0.70.4

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0

More Information

the-edmeister
  • Top 25 Contributor
  • Moderator
5419 solutions 40422 answers

Restore the JSON backup files. Import is for HTML files.

Restore the JSON backup files. Import is for HTML files.

Question owner

HTML bookmarks have no tags. Or what you mean?

HTML bookmarks have no tags. Or what you mean?
the-edmeister
  • Top 25 Contributor
  • Moderator
5419 solutions 40422 answers

Helpful Reply

If you want Tags - JSON backup file, use Restore - not Import.

If you want Tags - JSON backup file, use '''Restore''' - not Import.

Question owner

Yes. If I am restore bookmarks from JSON i have scripts error messages. I need icons, tags and no errors:) Can i test, check, fix JSON file?

Yes. If I am restore bookmarks from JSON i have scripts error messages. I need icons, tags and no errors:) Can i test, check, fix JSON file?

Question owner

Strangely?! Look at screen. http://imgur.com/t6Y8SHD

Strangely?! Look at screen. http://imgur.com/t6Y8SHD
cor-el
  • Top 10 Contributor
  • Moderator
17679 solutions 159899 answers

What is the file size of the JSON file that you try to restore and how many bookmarks are in the file (xxxx in bookmarks-####-##-##_xxxx.json)?

What is the file size of the JSON file that you try to restore and how many bookmarks are in the file (xxxx in bookmarks-####-##-##_xxxx.json)?

Question owner

Json file 5 Mb, 12000 bookmarks

Json file 5 Mb, 12000 bookmarks
cor-el
  • Top 10 Contributor
  • Moderator
17679 solutions 159899 answers

Helpful Reply

Restoring a JSON backup with 12000 bookmarks can be quite a challenge.

Maybe try this is a second profile and disable the timeout to see if it finishes.

If it works then you can copy the places.sqlite file to the current profile folder.

Restoring a JSON backup with 12000 bookmarks can be quite a challenge. Maybe try this is a second profile and disable the timeout to see if it finishes. *http://kb.mozillazine.org/dom.max_chrome_script_run_time If it works then you can copy the places.sqlite file to the current profile folder. *http://kb.mozillazine.org/Profile_Manager *https://support.mozilla.org/kb/Managing+profiles

Chosen Solution

Thank You cor-el ! In about:config, dom.max_chrome_script_run_time i set 1000 and now no scripts warnings then i restore bookmarks from JSON file

Thank You '''cor-el''' ! In about:config, '''dom.max_chrome_script_run_time''' i set 1000 and now no scripts warnings then i restore bookmarks from JSON file

Modified by 12sunflowers

cor-el
  • Top 10 Contributor
  • Moderator
17679 solutions 159899 answers

You're welcome.

Be cautious with leaving that setting at that high value as it can block Firefox 1000 seconds (i.e. over 15 minutes), so only change it when you really need it.

You're welcome. Be cautious with leaving that setting at that high value as it can block Firefox 1000 seconds (i.e. over 15 minutes), so only change it when you really need it.

Question owner

Thank You for help man! I understand, value in options in seconds.

Thank You for help man! I understand, value in options in seconds.

Modified by 12sunflowers