Giter VIP home page Giter VIP logo

Comments (11)

ulln avatar ulln commented on July 30, 2024 1

Remove this line:

https://developer.mozilla.org/en-US/docs/Archive/Add-ons/Default_Preferences

The actual file, despite having .js extension, is not a JavaScript file. You may not set variables inside of it, nor may do any kind of program flow control (ifs, loops etc.) nor even calculated values (i.e. 3600 * 24 * 5). Doing so will cause Mozilla to stop processing your preferences file without any notification, warning, error, or exception. Think of it more as an .ini file. Comments are perfectly acceptable.

from thunderbirthday.

ingomueller-net avatar ingomueller-net commented on July 30, 2024 1

Thanks @ulln for the pointer! That did the trick :) Thanks everybody else for testing.

I created a new version. Once it has been reviewed, it should be available here.

from thunderbirthday.

ingomueller-net avatar ingomueller-net commented on July 30, 2024

I have created a test version with .getIntPref("verbosity", 0);, but two users told me that that doesn't fix the problem. Can anyone confirm?

from thunderbirthday.

ingomueller-net avatar ingomueller-net commented on July 30, 2024

Also, it seems like the problem also occurs on already-existing calendars.

from thunderbirthday.

ingomueller-net avatar ingomueller-net commented on July 30, 2024

Could somebody who experiences the problem let me know what the configuration value of extensions.thunderbirthday.verbosity is? To do that, do the following:

  1. Open the config editor as described here.
  2. Type extensions.thunderbirthday.verbosity.
  3. Report below what value and what type the entry has (if present).
  4. Try to add it/change it to 0 of type integer and see whether the problem goes away.

from thunderbirthday.

mbrohl avatar mbrohl commented on July 30, 2024

This seems to work for me (I had to remove the existing calendar and create a new one).

from thunderbirthday.

ingomueller-net avatar ingomueller-net commented on July 30, 2024

@mbrohl You set it to 0? What was the value before? Not present I assume?

from thunderbirthday.

mbrohl avatar mbrohl commented on July 30, 2024

Yes, it was not present and I set it to 0.

from thunderbirthday.

ingomueller-net avatar ingomueller-net commented on July 30, 2024

Great, thanks for the confirmation! Meanwhile, another user has confirmed that this method works.

What I don't understand is why .getIntPref("verbosity", 0); does not work. Also, why isn't the value from user.js inserted at installation?

from thunderbirthday.

inklebott avatar inklebott commented on July 30, 2024

I've had the same problem today after Thunderbirthday updated yesterday (Tbird 52.5.0 on Linux Mint 18 Cinnamon)
Adding "extensions.thunderbirthday.verbosity 0" as above has fully restored functionality.
Thank you.

from thunderbirthday.

klemens avatar klemens commented on July 30, 2024

Oops, sorry about that. preferences/install.js still contains "use strict";, although it currently works fine here (the description string is displayed correctly, maybe because it is not retrieved programmatically?).

from thunderbirthday.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.