Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

txt2AL: While converting an txt obj to al getting error #356

Closed
bachii1010 opened this issue Jul 11, 2017 · 12 comments
Closed

txt2AL: While converting an txt obj to al getting error #356

bachii1010 opened this issue Jul 11, 2017 · 12 comments

Comments

@bachii1010
Copy link

Hi,

While Converting an txt obj to al we are receving the below error:
image

Can you please suggest.

Thanks
Varun Reddy

@StanislawStempin
Copy link

Could you provide the exact command line that you're using to trigger this error?

@bachii1010
Copy link
Author

txt2al --source=D:\CAL\ --target=D:\AL\ --rename --extensionStartID 70070000
This the command line we are using

@waldo1001
Copy link
Contributor

tried to put quotes?

@bachii1010
Copy link
Author

Yes we tried both single and double quotes but the same error.

@StanislawStempin
Copy link

Could you please try the following one by one:

  1. Source and Target both on the same drive: C or D
  2. Do not use the --rename option
  3. Convert first half of the objects

If you reach step 3) and are still getting an error please try to repeat it each time converting half of the previous objects and ultimately trying to identify which file(s) is causing the issue.

@bachii1010
Copy link
Author

i have tried the steps but still the same error and i am only checking with one object still i am getting the error see below:
image

Also attach is the file which i am using to convert
exportedObjects.txt

@StanislawStempin
Copy link

I could convert successfully using the June Update bits. Is the D drive by any chance a mapped network drive or otherwise special in any way?
Otherwise I'm out of ideas on what could be wrong here. Looking at .NET source code this particular exception is thrown if the path to the file starts with a colon, has an invalid drive letter and then colon or has any colons beyond the drive colon.

Table 70097620 - GS27 RMA Setup.txt

@bachii1010
Copy link
Author

bachii1010 commented Jul 12, 2017

Thanks for sending the converted file.
It should be al file after conversion correct?

Also we are also using june update.

Can you give the command line u have used to convert the file?

@StanislawStempin
Copy link

I placed the file you sent in C:\CAL and then used: txt2al --source=C:\CAL\ --target=C:\AL\ --rename --extensionStartID 70070000

Correct, the outcome should be .al but GitHub doesn't allow attaching these so I renamed to .txt.

@bachii1010
Copy link
Author

i have did the same thing see below still the same error
image

can you suggest what we are doing wrong.
Also one more info we have downloaded the june update with a VM so we are doing this in that VM.
Is it a problem in VM.

Is there a procedure how we create a VM in Azure for tenreffie for june update or is it a normal procedure?

@bachii1010
Copy link
Author

can you please give me an update about my above comment?

@defr0std
Copy link
Contributor

@bachii1010 It looks like you are running an older version of txt2al, which doesn't yet supported named parameters --source and --target.
Could you try running using the old command line syntax?
txt2al c:\CAL c:\AL -rename

The reason why it fails is that it thinks that the string --source=c:\CAL is a path to folder and therefore it fails.

@microsoft microsoft locked and limited conversation to collaborators Apr 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants