Partial bug in Web Info on 1.5 pre 5
Partial bug in Web Info on 1.5 pre 5
Up until pre 4, InfoUrls could call both HTML documents and Cel / Celx scripts. Now at pre 5 (compiled today), only HTML will work.
This was a nice feature, as it added a nice interactivity touch to Celestia before (incidentially, it also breaks my large project that i have been nagging the devs about for the last couple of years ;.-)
Tested the pre 5 on both Tiger and Leopard, so it is not OS spesific.
So, please bring it back for 1.5 final...
I have added it to the SourceForge tracker.
- rthorvald
This was a nice feature, as it added a nice interactivity touch to Celestia before (incidentially, it also breaks my large project that i have been nagging the devs about for the last couple of years ;.-)
Tested the pre 5 on both Tiger and Leopard, so it is not OS spesific.
So, please bring it back for 1.5 final...
I have added it to the SourceForge tracker.
- rthorvald
-
- Posts: 1803
- Joined: 12.10.2007
- With us: 17 years 1 month
If I may...
The CEL function is also used by a few add-ons (more specifically
close-up VT's) in order to visit the particular location with the close-up.
Surely we don't wish to break all of these now do we?
The CEL function is also used by a few add-ons (more specifically
close-up VT's) in order to visit the particular location with the close-up.
Surely we don't wish to break all of these now do we?
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN
-
- Posts: 1803
- Joined: 12.10.2007
- With us: 17 years 1 month
rthorvald wrote:This bug only affects the loading of cel / celx via the InfoUrl command, not loading of scripts in general.
- rthorvald
Yes, I know...
Close-up VT's are using this technique though.
Look for yourself.
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN
-
- Posts: 1803
- Joined: 12.10.2007
- With us: 17 years 1 month
rthorvald wrote:BobHegwood wrote:Close-up VT's are using this technique though.
Sorry, i misunderstood.
- rthorvald
Have a look at the Bora Bora close up by jdou, and you'll see what I
mean.
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN
selden wrote:rthorvald wrote:Is it going to be fixed?
- rthorvald
Not unless you submit a bug report in the Tracker on SourceForge for v1.5.
I have done that, before i started this thread.
It is *not* possible to load Cel/CelX at all via the InfoUrl in the latest Celestia preversion, only HTML works.
- rthorvald
chris wrote:Do you have a sample add-on that used to work and now doesn't?
My Ran project, of course... But that is not online, and too big to send.
As Bob mentions, VT closeups like the one he notes above.
But i have tested it thoroughly. It works in older Celestia versions (Pre 3 and older at least), but not in Pre 5.
It is easy to test. Just put a celx script in the infourl tag of any object, and see it works in older Celestias. I can certainly make one for you if you like, but it is quicker to just test it with anything at hand instead of downloading and install something from me.
- rthorvald
-
- Site Admin
- Posts: 4211
- Joined: 28.01.2002
- With us: 22 years 10 months
- Location: Seattle, Washington, USA
rthorvald wrote:chris wrote:Do you have a sample add-on that used to work and now doesn't?
My Ran project, of course... But that is not online, and too big to send.
As Bob mentions, VT closeups like the one he notes above.
Actually, I think that all I need to debug this is one sample SSC definition that uses a URL to invoke a script--I'd like to see exactly how you're doing it. Just paste it into a reply here in the forum.
Do I understand correctly that problem is only with InfoURLs and not cel URLs?
--Chris
-
- Posts: 1803
- Joined: 12.10.2007
- With us: 17 years 1 month
chris wrote:
Do I understand correctly that problem is only with InfoURLs and not cel URLs?
--Chris
Just the opposite, Chris...
The CEL URLs are the problem. See the Bora Bora add-on I referenced
earlier. It's located HERE.
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN
-
- Site Admin
- Posts: 4211
- Joined: 28.01.2002
- With us: 22 years 10 months
- Location: Seattle, Washington, USA
BobHegwood wrote:chris wrote:
Do I understand correctly that problem is only with InfoURLs and not cel URLs?
--Chris
Just the opposite, Chris...
The CEL URLs are the problem. See the Bora Bora add-on I referenced
earlier. It's located HERE.
This is a different problem than the one that Runar is talking about. The add-on just uses a regular old cel URL, but unfortunately URLs produced with older versions of Celestia are not compatible with 1.5.0 due to a number of changes.
--Chris
chris wrote:Actually, I think that all I need to debug this is one sample SSC definition that uses a URL to invoke a script--I'd like to see exactly how you're doing it. Just paste it into a reply here in the forum.
Do I understand correctly that problem is only with InfoURLs and not cel URLs?
Yes, InfoUrls. Since they now can load local relative URLs, i started using them to load scripts from within Celestia that was topical to the object in question, but this ability disappeared with Pre 4 / Pre 5.
Here is a sample from Ran that used to work: it references a Celx document in a "media" dir inside the Ran Add-On dir (extras/addons/ran/media):
Code: Select all
"Orrery Dufa" "Ran/Bylgja/Bylgja Orbital/Orrery Ran"
{
Emissive true
Class "asteroid"
Texture "th_orr_01dufa.*"
Radius 0.0007
EllipticalOrbit {
Period 0.0002456
SemiMajorAxis 0.002
MeanAnomaly 146.58
}
RotationPeriod 1681.31
Obliquity -21
Albedo 0.1
InfoURL "media/th_01dufa.celx"
}
... In this example, i use the InfoUrl to start a CelX tour of the planet depicted in an orrery inside Celestia...
- rthorvald
-
- Posts: 1803
- Joined: 12.10.2007
- With us: 17 years 1 month
chris wrote:
This is a different problem than the one that Runar is talking about. The add-on just uses a regular old cel URL, but unfortunately URLs produced with older versions of Celestia are not compatible with 1.5.0 due to a number of changes.
--Chris
So what you're saying is that we can no longer specify - as an
example - that an add-on "works with Celestia 1.4.1 or later."
Thanks a lot...
And just FYI, I have had absolutely NO problems with InfoURLs. That
being said, however, I don't use them to perform a function that
they were not designed for.
Seems to me that this development team could use a better
organized approach to these matters.
Sorry, Brain-Dead
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN
BobHegwood wrote:That
being said, however, I don't use them to perform a function that
they were not designed for.
Bob,
The InfoUrl cannot have been designed for HTML per se. There are a lot of file formats out there. Not all web pages are HTML - the one you are reading now, for example, is not.
Chances are that if one format, admittedly odd, does not work, then other formats may not, either.
- rthorvald
Runar, it works for me.
Example: I edited "comets.ssc" in the extras directory. I added this line to the comet Hale-Bopp:
This successfully finds distanceto.celx in the CelestiaResources/scripts/tests/ directory.
Example: I edited "comets.ssc" in the extras directory. I added this line to the comet Hale-Bopp:
Code: Select all
InfoURL "../scripts/tests/distanceto.celx"
This successfully finds distanceto.celx in the CelestiaResources/scripts/tests/ directory.