Thunderhead Engineering Forum

Public Forum => Pathfinder => Topic started by: CWU@LMDG on September 20, 2010, 03:08:36 pm

Title: file problems
Post by: CWU@LMDG on September 20, 2010, 03:08:36 pm
Hello,

I am new to Pathfinder and apologize if my problems have been previously addressed with other users.

I am using the 30 day trial and seeing if the program is useful for the work I do.

I imported a .psm file and the 3d building worked great. i created the rooms and stairwells and added roughly 2500 people. I ran the simulation and it worked very well. I ran into problems when trying to import a .dxf file of all the specific room elements such as desks, chairs, bookcases..etc. The program is grinding extremely slowly. I cannot run the simulation or edit geometry without the program crashing. What is the maximum file size that pathfinder can support? Is there a compatability issue importing different file types into one Pathfinder model? Should I import the .dxf into the pyrosim and then import the whole building as one?

Pathfinder is a great program and look forward to using it professionally very soon,

thank you very much for your time,

Colin Urie
Title: Re: file problems
Post by: Charlie Thornton on September 20, 2010, 03:25:44 pm
Try turning off Hierarchical Path Planning:

http://www.thunderheadeng.net/forum/index.php/topic,428.0.html

We should not have enabled the option by default. Turning the option off usually speeds up the simulation and reduces memory overhead.

To disable Hierarchical Path Planning:

1. On the Simulation menu, click Simulation Parameters...
2. In the Simulation Parameters dialog, click the Paths tab.
3. Click to clear the Use Hierarchical Path Planning box
Title: Re: file problems
Post by: CWU@LMDG on September 20, 2010, 03:57:58 pm
Hello,

I followed your directions and i didnt notice any change. Also I am getting this msg when trying to save " Pathfinder error - merlin.actions.savas: java heap space" and the file does not save.

should i start from scratch? and do you think importing the dxf into pyrosim first is worth trying?

thank you for your speedy reply,

Colin
Title: Re: file problems
Post by: Charlie Thornton on September 21, 2010, 10:18:32 am
Importing first to PyroSim may help. If I had the DXF I might be able to give you some specific suggestions. You can email to: support@thunderheadeng.com if you''d like to work through it that way.

Here are a couple more things you can try:

1. Delete the 2D image generated from the imported DXF. You can find this image in the tree, within the floor containing your dxf import. It will be a child node of myfile.dxf (your DXF file name) and it will probably be disabled (have a line through it, gray text). Click that and delete it.

2. Increase the memory limit (heap size) used by Pathfinder. To do this, you need to modify the shortcut used to Start Pathfinder (to edit: In the Start menu, right click the Pathfinder 2009 shortcut, then click Properties). Use the attached image as a guide. If you go over 2/3 of the memory limit on your computer, the software will start to crash at strange time, or possibly not start.
Title: Re: file problems
Post by: CWU@LMDG on September 21, 2010, 11:40:10 am
I followed your concise directions and it worked wonders. thanks!


i am working on a newer computer with 4 gb ram and 2.93 ghz processor,

Could I use -mem2048 to use more ram effectively?

thanks again for the prompt reply.
Title: Re: file problems
Post by: Charlie Thornton on September 21, 2010, 12:37:00 pm
Sure, in theory you should be able to go as high as 3072 with your 4 GB of ram on a 64-bit machine. Though, it seems to get unreliable on some machines when you set the heap max to more than half of the available RAM.
Title: Re: file problems
Post by: CWU@LMDG on September 28, 2010, 01:23:51 pm
hi,

Pathfinder is giving me this error msg

Title: Re: file problems
Post by: Charlie Thornton on September 28, 2010, 02:03:05 pm
Is it a reliable error, or does it only happen occasionally?

Does it happen with all of the files you try to open or just with one or a few (and where it does happen, is it consistent)?

Do you get a similar error when you try to save, or does it only show up when you try to open?

What operating system are you using? As I recall, some of the older versions of Java we''ve used had some icon-related trouble with Windows 7. If this turns out to be the problem I think we have a way to set Pathfinder''s look-and-feel to a much uglier version that doesn''t have icon problems, but I''ll wait until I get your answers before we go there.
Title: Re: file problems
Post by: CWU@LMDG on September 28, 2010, 02:20:05 pm
yes the error is reliable, it happens in all files and even with no file, whenever "open" or "import" is clicked under the file menu.

i am running windows 7 but this error only occured today and i have been using the program for over 2 weeks.

i used the program yesterday with no issues...

thanks for the speedy response
Title: Re: file problems
Post by: Charlie Thornton on September 28, 2010, 02:33:40 pm
Okay, we''ll see if we can find out what is going on. When computers suddenly stop working on Tuesday, it usually means a Windows Update changed something overnight with an automatic update. I will check it out.
Title: Re: file problems
Post by: CWU@LMDG on September 28, 2010, 02:36:17 pm
thanks so much, i appreciate it
Title: Re: file problems
Post by: Charlie Thornton on September 28, 2010, 02:51:12 pm
We weren''t able to reproduce the problem on a Windows 7 machine here, but that does not mean a whole lot. The ugly workaround is to run Pathfinder using Sun''s "Metal" look and feel. To run with the metal look and feel:

1. In the Windows Start Menu, right-click the Pathfinder 2009 shortcut and click Properties
2. In the Target box, after the last quote mark, add the following text:

-vmargs -Dos.name=linux

The Target should now be something like:

"C:Program Files (x86)Pathfinder 2009pathfinder.exe" -vmargs -Dos.name=linux

3. Click OK and left-click the shortcut to start Pathfinder.

The metal look and feel is a little hard on the eyes, but it should work until we release a new version with an updated Java VM.
Title: Re: file problems
Post by: CWU@LMDG on September 28, 2010, 03:37:24 pm
thanks, i will try that,

what is the timeline for the update?
Title: Re: file problems
Post by: Charlie Thornton on September 29, 2010, 09:23:29 am
At the moment, the plan is for a minor update this Fall. However, it is early in the process and the plan could change a lot.
Title: Re: file problems
Post by: CWU@LMDG on October 01, 2010, 09:18:27 am
any luck on windows 7 update error?

i havent been able to successfully run a simulation in thr format that you suggested.

would it worthwile to uninstall the program and install it again?

Title: Re: file problems
Post by: Charlie Thornton on October 01, 2010, 09:26:51 am
Uninstall/reinstall is as good as anything I have. We have not been able to reproduce the problem at the office - making it much more difficult to understand the error.

Why haven''t you been able to run a simulation? When you start Pathfinder with the new Start Menu shortcut the UI should be all gray and ugly (see attached).  Is it? That should have worked around the problem you reported or at the very least, changed the error message.
Title: Re: file problems
Post by: CWU@LMDG on October 01, 2010, 09:42:29 am
yes, i have been using the grey, "ugly" version and i am able to open files and create the nav meshes, stairs and doors but when i run the simulation it just grinds and never begins the simulation. i tried leaving it to run overnight and came back to an error msg.
Title: Re: file problems
Post by: CWU@LMDG on October 01, 2010, 09:44:46 am
"java platform SE binary not responding"
Title: Re: file problems
Post by: Charlie Thornton on October 01, 2010, 09:58:04 am
Not knowing where that error is occurring in the timeline, it is hard for me to learn much from it. However, I get the impression something bad has happened to the java runtime environment that use to run the software.

I recommend and uninstall-reboot-reinstall. After uninstalling and before reinstalling, you might want to make sure the install folder is completely deleted.

Title: Re: file problems
Post by: CWU@LMDG on October 01, 2010, 10:52:30 am
I have deleted the file rebooted my computer and have re-requested pthfinder from the site and am waiting for the email

thanks
Title: Re: file problems
Post by: CWU@LMDG on October 01, 2010, 04:20:44 pm
i re-installed the program and received the same error msg when clicking "open" under the file menu.

Title: Re: file problems
Post by: Charlie Thornton on October 04, 2010, 08:23:20 am
It may be related to the initial folder the File/Open dialog is attempting to display. On your computer, there is a file named "pathfinder.props" that Pathfinder uses to remember certain settings from one session to the next. One of these settings is the last folder you used to open a file. Pathfinder tries to open this folder by default the next time you use the dialog.

Based on your error messages, I don`t think there is a problem with the folder selection logic. However, I do think there may be something in that folder that either Java or Windows wants to use a fancy icon for and that this icon is fowling up the File/Open dialog.

Make sure Pathfinder isn`t running, then...

In any explorer window, past in the following folder name and press enter: C:\ProgramData\Pathfinder

Inside that folder, there should be a file named: Pathfinder.props

Open Pathfinder.props in your favorite text editor (i.e. notepad).

Find the line that starts with: LastDir.Open=

Make a note of the folder that line references, then delete the entire line from Pathfinder.props. Try starting Pathfinder and using the File/Open dialog. If that doesn`t work, you can also try deleting the whole PROPS file.

If it does work, I`ve very curious what all is in the offending folder. We may be able to submit a bug report to Oracle (formerly Sun) and have them fix the VM.
Title: Re: file problems
Post by: CWU@LMDG on October 04, 2010, 11:25:59 am
Hi, i cannot find the props file,

here is a screenshot of the contents of the pathfinder folder
Title: Re: file problems
Post by: Charlie Thornton on October 04, 2010, 01:01:10 pm
That''s the Pathfinder install folder. We used to keep the PROPS file there, but when Windows Vista (and now Windows 7) came along it became ill-behaved for applications to write to the Program Files folder and all it`s subfolders. Instead, apps are now supposed to (and do) write to a different "application data" space which you can find by punching in that folder named I mentioned:

C:ProgramDataPathfinder

(this is showing correctly, no typographic errors)

Title: Re: file problems
Post by: CWU@LMDG on October 04, 2010, 05:00:39 pm
I followed your instructions and it didnt change anything.

i opened a file and was seeing some odd things and i think you are right about the icons it is trying to display,

Title: Re: file problems
Post by: Charlie Thornton on October 05, 2010, 07:56:29 am
That''s actually the default icon that you get if we don''t explicitly setIcon() for a window. What I do notice is that you''ve got a G drive. Is that a USB drive and did you change anything related to your drive configuration (plug in, unplug a drive, etc) right before the trouble started?
Title: Re: file problems
Post by: CWU@LMDG on October 05, 2010, 09:39:41 am
As i am reviewing the program to see if it is relevant for my work i run the program on my work computer which has multiple network drives. the administrators of the drives could have changed something...

also i do use a usb memory stick to take files home...

Title: Re: file problems
Post by: CWU@LMDG on October 05, 2010, 12:15:52 pm
I had a co-worker download the program onto his computer and it seems to be working fine, as we are on the same network and both using windows seven with auto updates i dont know what the problem is.
Title: Re: file problems
Post by: Charlie Thornton on October 05, 2010, 12:31:22 pm
Do you have any Java installs? I talked to a user yesterday that was having mysterious startup problems and rolling back from Java 6.21 to 6.19 fixed his trouble. Pathfinder doesn''t rely on the system''s Java install, but there could be some sort of DLL loading mishap.

The "official" Java installer puts on a perky (i.e. bothersome and intrusive) updater so that may have been the thing that changed just before your open dialog stopped working. Pathfinder uses it''s own personal JRE so it shouldn''t interact with anything else on your system, but ...I''m running low on ideas.

You can check what''s installed by going to Control Panel, Add Remove Programs and looking for entries that start with Java (see attached).
Title: Re: file problems
Post by: CWU@LMDG on October 06, 2010, 11:52:32 am
I went so far as to delete all java right off my computer and re-install pathfinder, nothing seems to work.

When re-installing Pathfinder i am never prompted to insert the registration Key...

My co-worker is having no problems with Pathfinder on his computer but his is 64 bit java...
Title: Re: file problems
Post by: Charlie Thornton on October 06, 2010, 01:07:02 pm
Pathfinder`s JRE /should/ be totally insulated from whatever is installed on the system. This case I mentioned of the startup errors and the guy rolling back to 6.19 is the first I`d heard of that sort of problem. Too bad that didn`t fix your system, I had high hopes.

I''m pretty much out of ideas.

If you really want to have fun with this thing, you can try swapping in different JREs for Pathfinder to use. Pathfinder keeps its JRE in the jre subfolder of the install folder (e.g. C:Program Files (x86)Pathfinder 2009jre ). You can download any JRE or SDK from Sun, or now Oracle (just google "java"). Then replace Pathfinder''s JRE with the one you downloaded. You do this by deleting the contents of Pathfinder`s JRE folder and copying in the contents of the Java JRE folder.  i.e. the contents of: C:Program Files (x86)Javajre1.6.0_21 would be copied into C:Program Files (x86)Pathfinder 2009jre

If you try that, I''d be curious what you find.
Title: Re: file problems
Post by: CWU@LMDG on October 06, 2010, 04:12:29 pm
IT WORKED!!!!
Title: Re: file problems
Post by: Charlie Thornton on October 07, 2010, 07:37:06 am
Great. We`ll be sure to update the JRE in the next version to make sure whatever that was gets fixed.
Title: Re: file problems
Post by: CWU@LMDG on October 07, 2010, 10:13:56 am
Thanks for all of your help
Title: Re: file problems
Post by: mail22 on February 16, 2018, 07:33:26 am
Pathfinder`s JRE 

http://prntscr.com/ifl8s7 (http://prntscr.com/ifl8s7)