For hours today, yesterday, and intermittently since I’ve been on here (a month or so) lemmy stops loading using jerboa, liftoff, and a web browser.

The site isn’t listed on any down detector I know of, and each app gives different errors but ultimately just won’t load.

It’s often enough that recently when I consider jumping on here I just don’t because there will probably be an issue. Ranging from not loading, JSON errors, or just blank screens and my comments not working…

What’s going on? Is there a status page for these places?

  • Nakedmole@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Welp, I don´t know how to do this. What I get when I download the latest release does not really get me anywhere because there are just some .py and a .ini file in it. How do I turn that into something I can actually execute?

    • lemming934@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      First, edit the .ini file with your lemmy servers, usernames and passwords.

      Then make sure you have python interpreter with requests installed. You can check this with python3 -m pip show requests. if it says something like package not found, you should look into how to install python requests on your operatation system. If you downloaded it from python.org, python3 -m pip install --user requests should work.

      Then you can do python3 lemmy-migrate.py -c config.ini. Let me know if you run into any problems!

      • Nakedmole@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 year ago

        Thank you, helpful person!

        I edited the .ini file and installed python 3.11.4 without problems.

        When I type py in powershell it replies Python 3.11.4 (tags/v3.11.4:d2340ef, Jun 7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)] on win32, so it was obviously installed successfully.

        However, when I copypasta the commands you posted I always get the same reply for each, that python could not be found. What does that mean? Do I maybe have to put a filepath into the command somewhere? Do requests have to be installed separately? What is the meaning of all this, the universe and everything and why does my back always hurt?

        • lemming934@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          I bet replacing python3 with py will work:

          py -m pip install --user requests
          py lemmy-migrate.py -c config.ini
          
          • Nakedmole@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            py -m pip install --user requests

            worked but also returned a warning:

            WARNING: The script normalizer.exe is installed in ‘C:\Users\Username\AppData\Roaming\Python\Python311\Scripts’ which is not on PATH.

            py lemmy-migrate.py -c config.ini

            does not work and returns an error:

            C:\Users\Username\AppData\Local\Programs\Python\Python311\python.exe: can’t open file ‘C:\Users\Username\lemmy-migrate.py’: [Errno 2] No such file or directory

            I guess I have to place the files in a certain directory, putting them in the python folder did not help though.

              • Nakedmole@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                ·
                1 year ago

                It is weird. I can navigate to the folder in powershell without a problem.

                C:\Users\Username\Desktop\lemmy_migrate-1.1.0>

                But when I execute

                py lemmy-migrate.py -c config.ini

                in there I get

                C:\Users\Username\AppData\Local\Programs\Python\Python311\python.exe: can’t open file ‘C:\Users\Username\Desktop\lemmy_migrate-1.1.0\lemmy-migrate.py’: [Errno 2] No such file or directory

                Edit:

                Found the problem, it´s

                py lemmy_migrate.py -c config.ini

                and not

                py lemmy-migrate.py -c config.ini

                Thank you for the help!