I can not register my package

edited October 2023 in KLayout Development

Here is the error message given by http://sami.klayout.org:

Registration Failure
The package definition file could not be downloaded from the specified URL.
Please check this link: https://github.com/wsteffe/layoutDD/tree/v0.2/klayout_dot_config/grain.xml.

I checked the link and to me it seems good.

Comments

  • Looking inside the file grain.xml it seems to me that there is a syntax error in the last part: There is a <screenshot/> without any starting <screenshot>. But this part was generated by Salt Package Manager and I haven't changed it.

  • No this can non be the problem. There is alsa <authored-time/> without a starting <authored-time> and this occurs in grain.xml of other valid (registered) packages. So it many not be a syntax error.

  • I have changed (simplified) the folder structure of my project and updated a few entries in grain.xml but the registration problem persists:

    Registration Failure
    The package definition file could not be downloaded from the specified URL.
    Please check this link: https://github.com/wsteffe/layoutDD/tree/v0.2.3/grain.xml.

  • Is that trailing "." (.../grain.xml.) really in the address, or some kind
    of formatting addition in the post?

  • No the trailing "." was not in the address I entered in the registration form.
    My post was a copy/paste of the error message produced by http://sami.klayout.org after my registration. The trailing "." was added in that message.

  • edited October 2023

    Hi @wsteffe,

    Sorry for the delayed response.

    You need to specify the equivalent of the Subversion (SVN) URL for GitHub. In your case this is:

    https://github.com/wsteffe/layoutDD/tags/v0.2.3/grain.xml
    

    (replace "tree" by "tags").

    To refer to "master", you can use "trunk" instead of "tags/v0.2.3" - in your case:

    https://github.com/wsteffe/layoutDD/trunk/grain.xml
    

    If you have a Subversion client you can check the download URL with:

    svn cat https://github.com/wsteffe/layoutDD/tags/v0.2.3/grain.xml
    

    Matthias

  • Hi Matthias, I have registered but there is still a small problem due to difference between Subversion and git addresses:
    The file pointed by Docuntation at page https://sami.klayout.org/ is not accessible from my browser. The content can be seen with the command:

    svn cat https://github.com/wsteffe/layoutDD/trunk/README.md

    But I do not expect that anybody will use this command to read it.

  • Github is a briar patch I've never been able to navigate. Hate it.
    It is plainly not for the casual software-snarfer. I always end up
    seeking and finding what I want on the developer's pages or the
    forum links, after getting lost in the basement.

    So por favor, if you can, host the good-to-go someplace, any
    place else.

  • I solved it using an absolute path (instead of the relative path) for doc link inside grain.xml.
    Thanks to all.

  • At @wsteffe,

    Relative paths to not make much sense as you noticed. A simple way to provide some doc is to simply use "https://github.com/wsteffe/layoutDD" in your case as GitHub renders the README.md file. Or you use GitHub pages. In that case, the URL is different anyway.

    Matthias

Sign In or Register to comment.