T O P I C R E V I E W |
cdrozdowski111 |
Posted - 01/20/2013 : 10:44:12 AM OriginPro 9.0.0 SR1, Win7 64-bit, running in VMware Fusion 5.0.2
I have created a number of custom import filters. When I attempt to import files with commas in the file name, the import fails right off with the following error:
"incorrect number of arguments passed to function: OpenFileWithFilter"
Commas are allowed characters in file names and I have a large number of files (and constantly adding more) with commas in them making removing them manually a nuisance.
I don't know if this would be considered a bug or not but does anyone have at least a short term suggestion for overcoming this?
|
6 L A T E S T R E P L I E S (Newest First) |
cdrozdowski111 |
Posted - 01/23/2013 : 06:54:00 AM Echo,
I worked with Greg via email to produce a viable fix for the comma issue. It involves copying FILE.OGS to my UFF and modifying line #369 to read:
OpenFileWithFilter("%1","%2");
He suggested quotes around the file name param (which works). I added quotes around the template name param as template names can have commas in them as well (also works).
|
Echo_Chu |
Posted - 01/22/2013 : 10:14:25 PM Christopher
Thank you for your info. I see what happened and can reproduce your problem now.
We have added this problem to our bug tracking database and will fix it. We will email to help you further
Echo OriginLab Corp. |
cdrozdowski111 |
Posted - 01/22/2013 : 07:02:29 AM Both with and without resting the Options, I am able to import the file using both the Import Wizard and drag and drop.
However, the issue arises for me when I try to import the data via the File->Open... Menu item (both with and without resetting the Options). Do y'all try it that way? |
Echo_Chu |
Posted - 01/22/2013 : 02:17:29 AM Hi, Christopher
Thank you for sending us the file. But we can not reproduce the problem with your data file and filter. We have tried on VMware Fusion 5.0.1
The data can be successfully imported in Origin via either Import Wizard or Dragging and Dropping.
Could you try reset your Options dialog with steps as below to see whether it helps?
1. Select Tools: Options to open the Options dialog. 2. Click the Reset button
It will reset all settings in the dialog to be Origin's default setting.
Echo OriginLab Corp.
|
cdrozdowski111 |
Posted - 01/21/2013 : 5:00:36 PM I have a very basic OIF file and a couple of data files to illustrate the issue. I'll email them to tech@originlab.com along with details.
|
greg |
Posted - 01/21/2013 : 3:57:07 PM Without details, I can only make a guess...
Have you tried protecting the file name with quotes? "file, name" |