this post was submitted on 15 Feb 2025
0 points (50.0% liked)

Perchance - Create a Random Text Generator

570 readers
10 users here now

⚄︎ Perchance

This is a Lemmy Community for perchance.org, a platform for sharing and creating random text generators.

Feel free to ask for help, share your generators, and start friendly discussions at your leisure :)

This community is mainly for discussions between those who are building generators. For discussions about using generators, especially the popular AI ones, the community-led Casual Perchance forum is likely a more appropriate venue.

See this post for the Complete Guide to Posting Here on the Community!

Rules

1. Please follow the Lemmy.World instance rules.

2. Be kind and friendly.

  • Please be kind to others on this community (and also in general), and remember that for many people Perchance is their first experience with coding. We have members for whom English is not their first language, so please be take that into account too :)

3. Be thankful to those who try to help you.

  • If you ask a question and someone has made a effort to help you out, please remember to be thankful! Even if they don't manage to help you solve your problem - remember that they're spending time out of their day to try to help a stranger :)

4. Only post about stuff related to perchance.

  • Please only post about perchance related stuff like generators on it, bugs, and the site.

5. Refrain from requesting Prompts for the AI Tools.

  • We would like to ask to refrain from posting here needing help specifically with prompting/achieving certain results with the AI plugins (text-to-image-plugin and ai-text-plugin) e.g. "What is the good prompt for X?", "How to achieve X with Y generator?"
  • See Perchance AI FAQ for FAQ about the AI tools.
  • You can ask for help with prompting at the 'sister' community Casual Perchance, which is for more casual discussions.
  • We will still be helping/answering questions about the plugins as long as it is related to building generators with them.

6. Search through the Community Before Posting.

  • Please Search through the Community Posts here (and on Reddit) before posting to see if what you will post has similar post/already been posted.

founded 2 years ago
MODERATORS
 

So, I've been away from the AI chat for a while, and decided to look in to pull a few json's for posterity and I hit a roadblock: see image for the error.

Anyways, following the instructions, I encountered:

        "Sync encountered an error - see about:sync-log for the log file."
      );
    }
    Svc.Obs.notify("weave:service:reset-file-log");
  },

  /**
   * Handle HTTP response results or exceptions and set the appropriate
   * Status.* bits.
   *
   * This method also looks for "side-channel" warnings.
   */
  checkServerError(resp) {
    // In this case we were passed a resolved value of Resource#_doRequest.
    switch (resp.status) {
      case 400:
        if (resp == RESPONSE_OVER_QUOTA) {
          lazy.Status.sync = OVER_QUOTA;
        }
        break;

      case 401:
        this.service.logout();
        this._log.info("Got 401 response; resetting clusterURL.");
        this.service.clusterURL = null;

        let delay = 0;
        if (Svc.PrefBranch.getBoolPref("lastSyncReassigned", false)) {
          // We got a 401 in the middle of the previous sync, and we just got
          // another. Login must have succeeded in order for us to get here, so
          // the password should be correct.
          // This is likely to be an intermittent server issue, so back off and
          // give it time to recover.
          this._log.warn("Last sync also failed for 401. Delaying next sync.");
          delay = MINIMUM_BACKOFF_INTERVAL;
        } else {
          this._log.debug("New mid-sync 401 failure. Making a note.");
          Svc.PrefBranch.setBoolPref("lastSyncReassigned", true);
        }
        this._log.info("Attempting to schedule another sync.");
        this.service.scheduler.scheduleNextSync(delay, { why: "reschedule" });
        break;

      case 500:
      case 502:
      case 503:
      case 504:
        lazy.Status.enforceBackoff = true;
        if (resp.status == 503 && resp.headers["retry-after"]) {
          let retryAfter = resp.headers["retry-after"];
          this._log.debug("Got Retry-After: " + retryAfter);
          if (this.service.isLoggedIn) {
            lazy.Status.sync = SERVER_MAINTENANCE;
          } else {
            lazy.Status.login = SERVER_MAINTENANCE;
          }
          Svc.Obs.notify(
            "weave:service:backoff:interval",
            parseInt(retryAfter, 10)
          );
        }
        break;
    }

    // In this other case we were passed a rejection value.
    switch (resp.result) {
      case Cr.NS_ERROR_UNKNOWN_HOST:
      case Cr.NS_ERROR_CONNECTION_REFUSED:
      case Cr.NS_ERROR_NET_TIMEOUT:
      case Cr.NS_ERROR_NET_RESET:
      case Cr.NS_ERROR_NET_INTERRUPT:
      case Cr.NS_ERROR_PROXY_CONNECTION_REFUSED:
        // The constant says it's about login, but in fact it just
        // indicates general network error.
        if (this.service.isLoggedIn) {
          lazy.Status.sync = LOGIN_FAILED_NETWORK_ERROR;
        } else {
          lazy.Status.login = LOGIN_FAILED_NETWORK_ERROR;
        }
        break;
    }
  },
};`

The sync-log:

1738999734204	FirefoxAccounts	TRACE	starting fetch of json user data
1738999734254	FirefoxAccounts	TRACE	initializing of new storage manager done
1738999734254	FirefoxAccounts	ERROR	FxA rejecting with error NO_ACCOUNT, details: undefined
1738999734254	FirefoxAccounts	ERROR	Could not update attached clients list : Error: NO_ACCOUNT(resource://gre/modules/FxAccounts.sys.mjs:1655:18) JS Stack trace: _error@FxAccounts.sys.mjs:1655:18
withSessionToken@FxAccounts.sys.mjs:869:18
1738999734272	Sync.Status	INFO	Resetting Status.
1738999734272	Sync.Status	DEBUG	Status.service: undefined => success.status_ok
1738999734272	Sync.SyncScheduler	TRACE	Setting SyncScheduler policy values to defaults.
1738999734272	Sync.SyncScheduler	DEBUG	Clearing sync triggers and the global score.
1738999734272	Sync.Service	INFO	Loading Weave 1.137.0
1738999734273	Sync.Engine.Clients	DEBUG	Engine constructed
1738999734273	Sync.Engine.Clients	DEBUG	Resetting clients last sync time
1738999734275	Sync.Engine.Addons	DEBUG	Engine constructed
1738999734307	Sync.Engine.Addons	DEBUG	SyncEngine initialized: addons
1738999734320	Sync.Engine.Passwords	DEBUG	Engine constructed
1738999734332	Sync.Engine.Passwords	DEBUG	SyncEngine initialized: passwords
1738999734332	Sync.Engine.Prefs	DEBUG	Engine constructed
1738999734340	FirefoxAccounts	DEBUG	FxAccountsWebChannel registered: account_updates with origin https://accounts.firefox.com/
1738999734341	Sync.Engine.Prefs	DEBUG	SyncEngine initialized: prefs
1738999734342	Sync.Engine.Bookmarks	DEBUG	Engine constructed
1738999734364	Sync.Engine.Bookmarks	DEBUG	SyncEngine initialized: bookmarks
1738999734365	Sync.Engine.Forms	DEBUG	Engine constructed
1738999734394	Sync.Engine.Forms	DEBUG	SyncEngine initialized: forms
1738999734395	Sync.Engine.History	DEBUG	Engine constructed
1738999734410	Sync.Engine.History	DEBUG	SyncEngine initialized: history
1738999734412	Sync.Engine.Tabs	DEBUG	Engine constructed
1738999734422	Sync.Engine.Tabs	DEBUG	SyncEngine initialized: tabs
1738999734425	Sync.Engine.Tabs	INFO	Got a bridged engine!
1738999734425	Sync.Engine.Addresses	DEBUG	Engine constructed
1738999734426	Sync.Engine.Addresses	DEBUG	SyncEngine initialized: addresses
1738999734426	Sync.Engine.CreditCards	DEBUG	Engine constructed
1738999734435	Sync.Engine.CreditCards	DEBUG	SyncEngine initialized: creditcards
1738999734436	Sync.Engine.Extension-Storage	DEBUG	Engine constructed
1738999734445	Sync.Engine.Extension-Storage	DEBUG	SyncEngine initialized: extension-storage
1738999734545	Sync.Engine.Extension-Storage	INFO	Got a bridged engine!
1738999734545	Sync.Service	INFO	Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:135.0) Gecko/20100101 Firefox/135.0
1738999734546	Sync.AddonsReconciler	INFO	Registering as Add-on Manager listener.
1738999734546	Sync.AddonsReconciler	DEBUG	Adding change listener.
1738999734546	Sync.Engine.History.Tracker	INFO	Adding Places observer.
1738999734550	Sync.Service	DEBUG	User-Agent: Firefox/135.0 (Windows NT 10.0; Win64; x64) FxSync/1.137.0.20250130195129.desktop
1738999734551	Sync.Service	INFO	Starting sync at 2025-02-08 02:28:54 in browser session xO9CqEIV0Op-
1738999734551	Sync.Service	DEBUG	In sync: should login.
1738999734551	Sync.Service	INFO	User logged in successfully - verifying login.
1738999734551	Sync.SyncAuthManager	DEBUG	unlockAndVerifyAuthState has no FxA user
1738999734551	Sync.Status	DEBUG	Status.login: success.login => error.login.reason.no_username
1738999734551	Sync.Status	DEBUG	Status.service: success.status_ok => service.client_not_configured
1738999734551	Sync.Service	DEBUG	Fetching unlocked auth state returned error.login.reason.no_username
1738999734551	Sync.ErrorHandler	ERROR	Sync encountered a login error
1738999734551	Sync.SyncScheduler	DEBUG	Clearing sync triggers and the global score.
1738999734551	Sync.SyncScheduler	DEBUG	Clearing sync triggers and the global score.
1738999734551	Sync.Service	DEBUG	Exception calling WrappedLock: Error: Login failed: error.login.reason.no_username(resource://services-sync/service.sys.mjs:1041:15) JS Stack trace: onNotify@service.sys.mjs:1041:15
1738999734551	Sync.Service	DEBUG	Not syncing: login returned false

So, it says login returned false, and I followed that up by making sure my firefox account sync was set up properly. after turning sync on and off a few times, I tried again, and continued getting the same error.

I mean, if I'm being honest, I don't care all too much. I barely use it any longer, but... it would suck to lose it entirely on my pc, since I hate typing on my phone, and all my character jsons are in my cache for that page.

you are viewing a single comment's thread
view the rest of the comments
[–] VioneT@lemmy.world 1 points 1 week ago