Problem with standalone tour

Q&A about the latest versions
Post Reply
aambrose
Posts: 70
Joined: Wed Sep 10, 2008 9:44 pm

Problem with standalone tour

Post by aambrose » Mon Jan 09, 2017 6:50 pm

I've created standalone versions of a tour in the past using the instructions here https://ggnome.com/wiki/Creating_a_Desktop_Application

I recently tried to update the standalone tour like I have in the past by copying the appropriate files but when the tour starts, it's as if it doesn't have all the needed information.

For example, I use the text entered in the Description field to display information about the current panorama in a window when the user clicks the info button. The window appears but without the text.

I use Title to hold the name of the current panorama and display it on a controller within the skin but the text doesn't appear.

Also, I use a component to show node thumbnails horizontally at the top of the screen with a small icon to represent visited nodes. The thumbnails appear and are clickable but the visited icon does not appear once a panorama has been visited.

It's as though some or part of the xml file isn't being read because I looked at the xml file and the info in there. The skin is correct too.

Here's the only thing I can think of... The tour was built using the current version of Pano2VR 5 on a Windows 10 PC. The two computers that the tour "semi works" on are running Windows 7. I copied the files to a Windows 10 computer and it works.

I'm not even sure where to begin to look or what to try in order to solve this.
Thank you!
Tony

aambrose
Posts: 70
Joined: Wed Sep 10, 2008 9:44 pm

Re: Problem with standalone tour

Post by aambrose » Tue Jan 10, 2017 3:25 pm

Update:
I had a previous standalone version of the tour working on a laptop so I decided to copy files from the new version individually while checking the tour in hopes to find which one breaks it. The culprit appears to be the skin file. The version which is working was generated with Pano2VR skin editor version 5.0 and the version not working was generated with 5.1. I haven't had time to compare the files. There were no major changes between the two skins so I'm curious to know what may be causing the issues. The tour works flawlessly when running through the local host. It just seems to have a few skin related problems when running as a standalone through NW. Keep in mind this tour also runs fine as a standalone using the new skin file (5.1) when running on a Windows 10 laptop. The other laptops are Windows 7. Update: The tour now is doing the same on the Windows 10 laptop as it was on the Windows 7 laptops. Nothing changed from the installation on Saturday. This is really strange.

Also, the only thing that doesn't seem to be working now in the standalone version is the map. It just says "Map goes here".

Any thoughts?
Thanks.
Tony

User avatar
Hopki
Gnome
Posts: 7244
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Problem with standalone tour

Post by Hopki » Tue Jan 10, 2017 5:41 pm

Hi Tony,
The NW-JS project also had some updates that I think broke it.
I tested a project that did work with the older software with 5.0 and I got popups working.
Rebuilt with the same file but newer NW-JS software and now they don't :(
I have asked for the developers to look into it.
That said why not just use our package viewer, we produce the software so it will work, the NW-JS is third party and out of our control but was good to make a desk top app.
With the package viewer installed you can just output ggpkg's and then double click to open them.
Regards,
Hopki

aambrose
Posts: 70
Joined: Wed Sep 10, 2008 9:44 pm

Re: Problem with standalone tour

Post by aambrose » Tue Jan 10, 2017 8:58 pm

Hi Hopki,
Thanks for the info on NW-JS. Honestly, I've been away from the forum for awhile and wasn't aware of the package viewer. My client requested a standalone desktop version of their tour about a year ago and NW-JS was the choice then. I've made updates to their tour and just proceeded to use the same method. With that said, I'm using the older version of NW-JS. I'll have to check out the package viewer. So it does the same thing as NW-JS?

Thanks again.
Tony

User avatar
Hopki
Gnome
Posts: 7244
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Problem with standalone tour

Post by Hopki » Tue Jan 10, 2017 11:15 pm

Hi Tony,
Not exactly the same as the package viewer is want the name suggests a local viewer.
So your customer can download it from our site and install it.
Then all you have to do is send then the package output which is single file.
They then double click on the package to open it.
However the good news is the file size is much smaller if your only sending the package.
Regards,
Hopki

aambrose
Posts: 70
Joined: Wed Sep 10, 2008 9:44 pm

Re: Problem with standalone tour

Post by aambrose » Wed Jan 11, 2017 12:39 am

Hi Hopki,
Just downloaded the latest version of NW.JS and tried it with the most current skin (5.1 beta/15555) and got the same results. When I run the tour using skin (5.0.2/15080), it works except for the map.

Regarding GG Package Viewer, I downloaded it but haven't installed it yet. I tried creating a ggpkg using instructions at this link http://ggnome.com/ggpkg but Pano2VR crashes during the build.

I'm running the latest version of Pano2VR on Windows 10.
Version: 5.1 beta pro 64bit
Revision: 15555/5.6.2
Build date: Oct 19 2016, 13:29:18

Thanks,
Tony

User avatar
Hopki
Gnome
Posts: 7244
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Problem with standalone tour

Post by Hopki » Wed Jan 11, 2017 11:39 am

Hi Tony,
The best way to make a ggpkg is make an output as normal, then just click the Make package button.
1.jpg
1.jpg (24.53 KiB) Viewed 254 times
BTW you can also drag and drop in the output folder in to the package viewer.
Regards,
Hopki

aambrose
Posts: 70
Joined: Wed Sep 10, 2008 9:44 pm

Re: Problem with standalone tour

Post by aambrose » Wed Jan 11, 2017 4:51 pm

Hopki wrote:The best way to make a ggpkg is make an output as normal, then just click the Make package button.
This is what I tried. I already generated all the output (clicking the gear button) and that works fine but when I click the package button, it attempts to package the tour showing the progress bars but then becomes unresponsive and the dialog title bar says "Not responding" then I have to terminate Pano2VR. I checked HTML and chose the ggpkg template before attempting to create the package.
Tony

User avatar
Hopki
Gnome
Posts: 7244
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Problem with standalone tour

Post by Hopki » Thu Jan 12, 2017 10:13 am

Hi Tony,
Don't select the the ggpkg template, leave it using the normal template and try it.
Regards,
Hopki

aambrose
Posts: 70
Joined: Wed Sep 10, 2008 9:44 pm

Re: Problem with standalone tour

Post by aambrose » Fri Jan 13, 2017 3:00 am

Same thing happens. The application goes through some of the process but then freezes (see dialog box screenshot below):
GGPKG_dialog.png
GGPKG_dialog.png (5.68 KiB) Viewed 216 times
Thanks,
Tony

User avatar
Hopki
Gnome
Posts: 7244
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Problem with standalone tour

Post by Hopki » Fri Jan 13, 2017 6:58 pm

Hi Tony,
Is there any large media files or popup images other than the panos?
Regards,
Hopki

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests