LPub app closes, does not process file


app closes, does not process file
#1
I've got an 18 kb MPD file that LPub refuses to open. Whenever I try to open the file in LPub, the application just spins its wheels for a few seconds, and then closes, without any kind of error message. 

This same file works perfectly fine in LDView, FWIW... 

Thanks, 
Franklin
Reply
RE: app closes, does not process file
#2
Would you be willing to post the file so we can see if we can replicate the problem?
Reply
RE: app closes, does not process file
#3
Here it is. 


.mpd   Lab ship.mpd (Size: 17.31 KB / Downloads: 5)

Thanks, 
Franklin
Reply
RE: app closes, does not process file
#4
(2024-10-14, 22:21)Franklin W. Cain Wrote: Here it is. 



Thanks, 
Franklin

I can open it okay in LPub3D, so perhaps it is something specific to LPub?

From just casting my eye over the file, line 300 does look a bit suspect, perhaps missing a leading //? Perhaps that is the cause of the hang?

David
Reply
RE: app closes, does not process file
#5
I am also not getting any errors.

Do you have latest version installed:
https://github.com/trevorsandy/lpub3d/re...continuous
Reply
RE: app closes, does not process file
#6
(2024-10-15, 0:20)Orion Pobursky Wrote: Do you have latest version installed:
https://github.com/trevorsandy/lpub3d/re...continuous

Doesn't look like it.  >__< 
When I click on "Check for updates" it just flashes a pop-up which then disappears. 

Since my version will not update itself, do I just download one of those files you linked? 
Where is the "install" file, please?
Reply
RE: app closes, does not process file
#7
This one should be it:
https://github.com/trevorsandy/lpub3d/re...230905.exe
Reply
RE: app closes, does not process file
#8
Progress, of a sorts... 
The app loads my file, now, but I get a couple of error messages with every page. 
(What is Excluded Parts any way? If it's in the LDraw library, I'm using it!)

Addendum: 
The app does not recognize 3023b as a legit part, if this helps diagnose the problem...
Reply
RE: app closes, does not process file
#9
(2024-10-15, 3:59)Franklin W. Cain Wrote: Progress, of a sorts... 
The app loads my file, now, but I get a couple of error messages with every page. 
(What is Excluded Parts any way? If it's in the LDraw library, I'm using it!)

Addendum: 
The app does not recognize 3023b as a legit part, if this helps diagnose the problem...

I think that is a "feature" of LPub3D having its own copy of complete.zip. The following might resolve the 3023b absent part issue (on the rash assumption you are using Windows):

  1. In Windows explorer, navigate to %APPDATA%\..\local\lpub3d software\lpub3d\libraries
  2. Rename complete.zip to something like old_complete.zip
  3. In Windows explorer, navigate to %LDRAWDIR%. Hopefully it will take you to the directory something like C:\Users\Public\Documents\LDraw
  4. Copy complete.zip from this folder
  5. Navigate back to %APPDATA%\..\local\lpub3d software\lpub3d\libraries
  6. Paste the copied complete.zip into the directory
  7. Fire up Lpub3D

If that doesn't resolve the issue, delete the copied complete.zip from %APPDATA%\..\local\lpub3d software\lpub3d\libraries and rename old_complete.zip back to complete.zip

David
Reply
RE: app closes, does not process file
#10
(2024-10-14, 20:48)Franklin W. Cain Wrote: I've got an 18 kb MPD file that LPub refuses to open. Whenever I try to open the file in LPub, the application just spins its wheels for a few seconds, and then closes, without any kind of error message.

Only weird thing i noticed is content in-between 0 NOFILE and the next 0 FILE, maybe lpub doesn't like that?

LDCad log:
Code:
06626 | 2024-10-15_23:04:21 | Progress | LDraw file load | D:\downloads\Lab ship.mpd | Starting
06627 | 2024-10-15_23:04:21 | Warning  | LDraw file load | D:\downloads\Lab ship.mpd | line 29 | Content after "NOFILE" without leading "FILE", ignoring.
06628 | 2024-10-15_23:04:21 | Warning  | LDraw file load | D:\downloads\Lab ship.mpd | line 70 | Content after "NOFILE" without leading "FILE", ignoring.
06629 | 2024-10-15_23:04:21 | Warning  | LDraw file load | D:\downloads\Lab ship.mpd | line 114 | Content after "NOFILE" without leading "FILE", ignoring.
06630 | 2024-10-15_23:04:21 | Warning  | LDraw file load | D:\downloads\Lab ship.mpd | line 172 | Content after "NOFILE" without leading "FILE", ignoring.
06631 | 2024-10-15_23:04:21 | Warning  | LDraw file load | D:\downloads\Lab ship.mpd | line 213 | Content after "NOFILE" without leading "FILE", ignoring.
06632 | 2024-10-15_23:04:21 | Warning  | LDraw file load | D:\downloads\Lab ship.mpd | line 272 | Content after "NOFILE" without leading "FILE", ignoring.
06633 | 2024-10-15_23:04:21 | Warning  | LDraw file load | D:\downloads\Lab ship.mpd | line 285 | Content after "NOFILE" without leading "FILE", ignoring.
06634 | 2024-10-15_23:04:21 | Warning  | LDraw file load | D:\downloads\Lab ship.mpd | line 291 | Content after "NOFILE" without leading "FILE", ignoring.
06635 | 2024-10-15_23:04:21 | Warning  | LDraw file load | D:\downloads\Lab ship.mpd | line 297 | Content after "NOFILE" without leading "FILE", ignoring.
06636 | 2024-10-15_23:04:21 | Warning  | LDraw file load | D:\downloads\Lab ship.mpd | line 315 | Content after "NOFILE" without leading "FILE", ignoring.
06637 | 2024-10-15_23:04:21 | Warning  | LDraw file load | D:\downloads\Lab ship.mpd | line 369 | Content after "NOFILE" without leading "FILE", ignoring.
06638 | 2024-10-15_23:04:21 | Warning  | LDraw file load | D:\downloads\Lab ship.mpd | line 371 | Content after "NOFILE" without leading "FILE", ignoring.
06639 | 2024-10-15_23:04:21 | Warning  | LDraw file load | D:\downloads\Lab ship.mpd | line 416 | Content after "NOFILE" without leading "FILE", ignoring.
06640 | 2024-10-15_23:04:21 | Warning  | LDraw file load | D:\downloads\Lab ship.mpd | line 418 | Content after "NOFILE" without leading "FILE", ignoring.
06641 | 2024-10-15_23:04:21 | Warning  | LDraw file load | D:\downloads\Lab ship.mpd | line 428 | Content after "NOFILE" without leading "FILE", ignoring.
06642 | 2024-10-15_23:04:21 | Info    | LDraw file load | D:\downloads\Lab ship.mpd | File is a multi part document (MPD), containing 21 subfiles.
Reply
RE: app closes, does not process file
#11
(2024-10-15, 4:22)David Manley Wrote: I think that is a "feature" of LPub3D having its own copy of complete.zip. The following might resolve the 3023b absent part issue (on the rash assumption you are using Windows):

  1. In Windows explorer, navigate to %APPDATA%\..\local\lpub3d software\lpub3d\libraries
  2. Rename complete.zip to something like old_complete.zip
  3. In Windows explorer, navigate to %LDRAWDIR%. Hopefully it will take you to the directory something like C:\Users\Public\Documents\LDraw
  4. Copy complete.zip from this folder
  5. Navigate back to %APPDATA%\..\local\lpub3d software\lpub3d\libraries
  6. Paste the copied complete.zip into the directory
  7. Fire up Lpub3D

Did this... No joy.  >__<  

Here are the error messages I keep getting: 

Regular expression pattern was not found in titleAnnotations.lst.
Be sure the following lines exist in the file header:
# File: titleAnnotations.lst
# The Regular Expression used is:
Code:
^(\b.*[^\s]\b:)\s+([\(|\^].*)$

(file: titleAnnotations.lst)

Regular expression pattern was not found in freeformAnnotations.lst.
Be sure the following lines exist in the file header:
# File: freeformAnnotations.lst
# The Regular Expression used is:
Code:
^(\b.*[^\s]\b)(?:\s)\s+(.*)$
(file: freeformAnnotations.lst)

Regular expression pattern was not found in excludedParts.lst.
Be sure the following lines exist in the file header:
# File: excludedParts.lst
# The Regular Expression used is:
Code:
^(\b.*[^\s]\b)(?:\s)\s+(.*)$


Regular expression pattern was not found in pliSubstituteParts.lst.
Be sure the following lines exist in the file header:
# File: pliSubstituteParts.lst
# The Regular Expression used is:
Code:
^(\b.*[^\s]\b:)\s+([\(|\^].*)$


Thanks, 
Franklin
Reply
RE: app closes, does not process file
#12
- Go to Configuration -> Preferences
- In the General tab, make sure the path to your LDraw directory is correct (mine, for example, is D:\Lego\LDraw)

That's literally all I've done since I download LPub3D the other day to test.
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 1 Guest(s)