Solved

GENERIC Reader Error: Generate requires an even number of arguments

  • 25 August 2017
  • 5 replies
  • 2 views

Badge

I am unable to add generic reader. My requirement is to read multiple files of two formats i.e *.dwg and *.dgn with dynamic schema.

I am able to add simple generic reader with single value like one dwg file.

Thanks in advance.

Getting the following error in translation log.

Generate requires an even number of arguments -- received arguments `C:\Program Files\FME\fmeworker.exe' `GENERATE' `GENERIC' `NULL' `C:\ProgramData\Safe Software\FME Server\resources\data\user\*.dwg' `C:\ProgramData\Safe Software\FME Server\resources\data\user\*.dgn' `C:\Users\username\AppData\Local\Temp\FME_1503658297685_15148.fmw' `+MERGE_SCHEMAS' `YES' `--SourceREAL_FORMAT' `GUESS_FROM_EXTENSION' `LOG_STANDARDOUT' `YES'Program TerminatingTranslation FAILED.

Defining the path in GENERIC Reader as follows:

"C:\ProgramData\Safe Software\FME Server\resources\data\anyfolder\*.dwg" "C:\ProgramData\Safe Software\FME Server\resources\data\anyfolder\*.dgn"

icon

Best answer by danilo_fme 25 August 2017, 16:32

View original

5 replies

Userlevel 4
Badge +30

Hi @dheeraj,

I sinulated here in my FME Desktop 2017:

1) in Reader - Dataset - Select Multiple Folders / Files

2) Write the Folder with two Filters:

3) Result:

C:\\Users\\dlima\\Desktop\\Teste_\\*.dgn,C:\\Users\\dlima\\Desktop\\Teste_\\*.dwg

Thanks,

Danilo

Userlevel 4
Badge +30
Hi @dheeraj, the solution is good to you?

 

 

Thanks,

 

Danilo

 

Userlevel 4
Badge +30

Hi @dheeraj,

I sinulated here in my FME Desktop 2017:

1) in Reader - Dataset - Select Multiple Folders / Files

2) Write the Folder with two Filters:

3) Result:

C:\\Users\\dlima\\Desktop\\Teste_\\*.dgn,C:\\Users\\dlima\\Desktop\\Teste_\\*.dwg

Thanks,

Danilo

Hi @dheeraj, the solution is good to you?

 

 

Thanks,

 

Danilo

 

Badge

Yes, It works for me, Thanks a lot for the help @danilo_inovacao

Userlevel 4
Badge +30

Yes, It works for me, Thanks a lot for the help @danilo_inovacao

@dheeraj, you are Welcome !

 

Reply