`pio package publish` hangs?

I recently developed a library to solve a problem for a project of mine which existing libraries didn’t seem to quite support. I would like to publish an alpha version, that it’s publicly available for both my other project to use it along with anyone else who can benefit from it. When I try to publish it from my repo with pio package publish I get the text “Preparing a Package” and it just hangs. I am using my github account to do this.

Things which might be relevant:

  • Using pio home, I have authed with OAuth for GitHub.

  • library.json:

{
    "name": "chrispy",
    "version": "0.1.0",
    "description": "Library for high performance multi-channel concurrent ADC sampling/audio recording on ATMega 2560.",
    "keywords": "sound, audio, music, sd, card, playback",
    "description": "PCM/WAV playback direct from SD card",
    "repository":
    {
      "type": "git",
      "url": "https://github.com/JBourds/chrispy.git"
    },
    "license": "MIT",
    "frameworks": "arduino",
    "platforms": ["atmelavr"],
    "dependencies": [
        { "name": "SdFat", "version":  "greiman/SdFat@^2.3.1" }
    ],
    "build": {
        "libLDFMode": "deep+"
    },
    "authors": [
        {
            "name": "Jordan Bourdeau",
            "email": "jordanbourdeau03@outlook.com",
            "maintainer": true
        }
    ]
}

Thanks!

When you use just pio pkg pack <path to library folder>, is it able to pack the library?

That command also hangs.

Some additional information I forgot to mention in the original post: I am running the latest version of platformio in the Arch repository here.

That’s weird. Why is the Arch repository needed here? Can you uninstall that and use the regular installer?

https://docs.platformio.org/en/latest/core/installation/methods/installer-script.html#super-quick-macos-linux

As well as adding shell commands for it

https://docs.platformio.org/en/latest/core/installation/shell-commands.html

I don’t think it’s necessary by any means, just used to always checking the Arch repository first for packages. Uninstalled that version and followed the install instructions using curl and python3 get-platformio.py then added shell commands. Both commands still hang.

Create a new folder with just a library.json inside containing

{
    "name": "chrispy",
    "version": "0.1.0"
}

and run pio pkg pack <path to folder>.

I just get

The issue was sitting between the chair and computer. Basically, there was just a symlink I didn’t realize in one of my test programs which I’m guessing was causing the packing tool to infinitely loop. @maxgerhardt thanks anyways for your help!