Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Additional Secondary Structures #1746

Merged

Conversation

TactfulDeity
Copy link
Contributor

Enhancements

  • added 3-10 and pi helices

Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or

(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or

(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.

(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.

Copy link

welcome bot commented Oct 19, 2024

Thanks for opening this pull request! Please check out our contributing guidelines and check for the automated tests.

@TactfulDeity TactfulDeity force-pushed the enh/additional_secondary_structures branch from b23f00f to ac970a9 Compare October 19, 2024 23:49
@ghutchis
Copy link
Member

No idea why the self-hosted runner is failing. Likely a transient since the error message is about creating the disk image, not the compile.

@TactfulDeity
Copy link
Contributor Author

I would just download the log and force an actions re-reun on that one specifically to see if it is consistently reproducible

Copy link
Contributor

Here are the build results
Avogadro2.AppImage
macOS.dmg
Win64.exe
Artifacts will only be retained for 90 days.

@TactfulDeity
Copy link
Contributor Author

TactfulDeity commented Oct 20, 2024

So this is a niche bug but I came across this forum where the exact issue is mentioned back in 2012:
https://cmake.org/pipermail/cmake-developers/2012-February/003319.html

I also found this which mentions the same thing, that might be causing the issue.

This is the issue I dredged up:
https://gitlab.kitware.com/cmake/cmake/-/issues/7523

Which was derived from this forum issue:
https://cmake.org/Bug/view.php?id=7523

In which the cmake autogenerated mount point can exceed the 90 character limit on MacOS X. Obviously its running on a newer OS, but it does help narrow down where the issue could be, in that it is likely something wrong with how it is attempting to mount

@TactfulDeity
Copy link
Contributor Author

TactfulDeity commented Oct 20, 2024

I noticed the error code it is reporting is -1401, which is the system error code that is reported via CPack*. So I dug around and found out this corresponds to a specific error code on Mac, thread here
errFSBadFSRef = -1401, /* FSRef parameter is bad */

The FSRefParam unfortunately has no public documentation I could find aside from this. Each of the listed instance properties seem to function as "member variables" in the Apple/cocoa/Objective-C ecosystem as demonstrated in this stack overflow post. One of them is nameLength that likely coincides with the issue mentioned in the previous post of a volume name being to long. This means one of the other 21 variables could be the issue causing it, or the length issue made a comeback I am not sure. Without a ARM Mac on hand and not much of an error message to go off of I am stuck.

* see lines 478-494 here in the Cmake source.

@ghutchis ghutchis added the enhancement feature changes / API changes label Oct 20, 2024
@ghutchis
Copy link
Member

I'm good to merge. I can check the runner in person on Monday, but the build before was fine -- and it clearly has nothing related to the change.

(The MacOS runners seem to have periodic transient issues with generating the DMG.)

@ghutchis ghutchis merged commit 7468e5f into OpenChemistry:master Oct 20, 2024
21 of 22 checks passed
Copy link

welcome bot commented Oct 20, 2024

Congrats on merging your first pull request! 🎉 Thanks for making Avogadro better for everyone!

@avo-bot
Copy link

avo-bot commented Oct 20, 2024

This pull request has been mentioned on Avogadro Discussion. There might be relevant details there:

https://discuss.avogadro.cc/t/october-2024-live-updates/6373/1

@TactfulDeity TactfulDeity deleted the enh/additional_secondary_structures branch October 20, 2024 12:47
Copy link
Contributor

Here are the build results
Avogadro2.AppImage
Win64.exe
Artifacts will only be retained for 90 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement feature changes / API changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants