-
Notifications
You must be signed in to change notification settings - Fork 115
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
Failing to getfield(Main, ...)
#989
Comments
Hmm yes that's going to be hard to debug/fix. Do the In the meantime, a relatively easy workaround would be to generate the website locally since that seems to work fine, call Note: I'm aware the way code is executed in Franklin is not super robust, this (among other things) has motivated an in-depth rewrite of the code in the form of Xranklin.jl [1] so I'd be curious to see if it works with it but fair enough if you don't have time to give it a shot ([1] it's the next version of Franklin which will be merged in some future and is available now if you want to try it out at Xranklin.jl) |
Yes, the I already maintain to locations for the docs. For the first one I copy and the second is what the GH action do. Note that this second version has several failed commands that show up fine is the So you are saying that with I also gave a look at Thanks. |
yes that's right
Xranklin is basically done, just needs more people using it to do some polishing; I've not announced it because I haven't found the time to complete the docs (moved city, have a toddler, and started a company so quite a lot happening.. 😂 ); if you do end up giving it a shot, don't hesitate to open issues there, I do like replying and trying to figure things out with users and it will motivate me to get back at it when I have some spare time :) |
Sorry to resurrect this, but how do I do that? Don't know what is happening but nothing works anymore on Gh-Actions side anymore. Creating on Mac permanently hangs or crashes, on Linux there is a bunch of crazy errors, on Windows it doesn't work because of the Thanks |
First remove your deployment workflow so that GA doesn't try to override what we do next (i.e. remove your Approach 1 (with gh pages)
details
assuming all went well so far, you want to push this to
Approach 2 (without gh-pages)If you don't like this because it's too manual, an alternative is to do the same stuff in your Then you can just call
this will call Note: make sure you don't have RecommendationsBoth approaches are probably not what you'd like to do unfortunately it's far easier to use github action to generate the website but this assumes you can use a linux runner which isn't your case.
|
Thanks a lot. At least I have something that works now. The option 1. worked but since I would certainly love to use GA only but don't understand what happens in that land. If I use a Linux builder there are tons of incomprehensible errors. Using the MacOS is a lottery where most of the times it hangs or crashes. Only yesterday I was able to have a almost decent build. Windows works fine but that damn |
Have a look at https://github.com/tlienart/test-fpush
you could copy paste this changing You can see here: https://github.com/tlienart/test-fpush/actions/runs/3882968820 1 = franklin build Notes
|
Seems easy to adapt to my case. I'll try it next time I will need to update the manual. |
This thing looks cursed. https://github.com/joa-quim/GMTjl_doc/actions/runs/3955082305/jobs/6773282818 Now fails again near the very end and with no explanation. But I see an error further up that I don't understand. |
could you add me as collaborator? |
You already are. That's the repo I kept for experiences like this. Tried also i the official one and got exactly the same error https://github.com/GenericMappingTools/GMTjl_doc/actions/runs/3958861369/jobs/6781704426 |
I have several of these errors when building GMTjl_doc via GH actions. I do not get them when running the same commands locally (both Windows & Linux)
The error seems to come from this line
where it errors saying that functions that do exist and and exported are not defined
The text was updated successfully, but these errors were encountered: