To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.mlcadOpen lugnet.cad.mlcad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / MLCad / 2066
2065  |  2067
Subject: 
Re: Trouble creating building instructions using lpub and mpd file
Newsgroups: 
lugnet.cad, lugnet.cad.mlcad
Date: 
Fri, 8 Apr 2005 12:19:55 GMT
Viewed: 
1121 times
  
In lugnet.cad, Allan Bedford wrote:

snip

  
  
  
Anyway, glad to hear it’s fixable.


snip

  
”You are attempting to open a file that contains spaces in the name. Please rename the file, without spaces, and try opening the file again.“

At the moment the biggest problem (as I see it) is the lack of error handling when lpub tries to handle a file with spaces.

snip

   I hope that helps. Again, this is just my own opinion on the matter.

Allan,

Your opinions are valued. Thanks. I decided to take the pragmatic way out, and adjust my parsing to support file names with blanks.

I think that warnings will lead to just as many emails as the current situation (not a lot, but still.... ;^). The content will change to “MLCad handles this. Why not LPub?”. Rather than spout statements from the spec, I’d rather the issue just go away.

So you get blanks in file names! Yay!

Kevin



Message has 1 Reply:
  Re: Trouble creating building instructions using lpub and mpd file
 
(...) I think you made the right decision, but I have a question. Do the filenames with embedded spaces have quotes around them, or do they just use up all the space to the end of the LDRAW type 1 command line? The reason I ask is because I seem to (...) (20 years ago, 8-Apr-05, to lugnet.cad, lugnet.cad.mlcad)

Message is in Reply To:
  Re: Trouble creating building instructions using lpub and mpd file
 
(...) I apologize in advance if this is a stupid solution but what about this: Is there a way for you to check for spaces in the file name as lpub attempts to open it? If so, can you then abort the file open process and throw a pop-up message that (...) (20 years ago, 6-Apr-05, to lugnet.cad, lugnet.cad.mlcad, FTX)

17 Messages in This Thread:




Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR