jdempcy / hdkit

Open source Human Design programming toolkit
MIT License
86 stars 37 forks source link

Unable to Access Ephemeris Resource URLs - 404 Error #8

Open lg-liwanxing opened 1 week ago

lg-liwanxing commented 1 week ago

Hello, I recently cloned the project from GitHub and encountered an issue when trying to run it. It seems that some resource URLs are returning a 404 error, preventing the application from functioning correctly. For example, the URL in the following code snippet is not accessible:

fetch(
  `https://hdblacklist-proxy.herokuapp.com/https://hungry-goldwasser-6106a1.netlify.app/ephemeris-annual-forecast-${year}-1s-accuracy.json`
).then((response) => {
  response.json().then((jsonData) => {
    console.log("setting json data", jsonData);
    jsonData.year = year;
    ephemeris = jsonData;
    setStateEphemeris(jsonData);
    storage
      .setContents(
        `ephemeris-annual-forecast-${year}`,
        JSON.stringify(jsonData)
      )
      .then(function () {
        setCurrentActivation(getActivationData());
      });
  });
});

I have tried accessing the URLs directly:

Both return a 404 error, even when I change the year to other values.

This issue is not isolated to the above example; similar problems exist in other parts of the code as well.

Could you please help me resolve this issue or provide guidance on how to access the necessary resources?

Thank you for your assistance!

sparkmagicllc commented 5 days ago

Try this: https://hungry-goldwasser-6106a1.netlify.app/ephemeris-annual-${year}-1s-accuracy.json

silentMicha commented 5 days ago

The Years 1954 to 1960 are missing. Is there a alternative?

Thanks.

sparkmagicllc commented 5 days ago

I've used https://github.com/astrorigin/pyswisseph to calculate "raw" planet positions as an alternative