VMware Communities
belize
Contributor
Contributor

Line 1: Syntax Error

I have been using VM Ware on my Mac OSX for about a year with no problem. All of a sudden, it gives an error: Windows_XPSP2.vmwarevm/Windows_XPSP2.vmx" line 1: Syntax error.

Any suggestions on how I can repair the machine, or retrieve my files? I've read the beginners guide and cannot located the .vmx file (unless it is one named "preferences"), and the Mac Search engine will not bring up a .vmx file.

154 Replies
BHay123
Contributor
Contributor

Woody Z, I'm having an urgent issue. I am also getting that syntax error. I have attached what I think you need. Please let me know if you can fix my issue.

Thanks a bunch!

Reply
0 Kudos
WoodyZ
Immortal
Immortal

BHay123 wrote: Woody Z, I'm having an urgent issue. I am also getting that syntax error. I have attached what I think you need. Please let me know if you can fix my issue.

Sorry but can't do a thing for you without the .log files as mentioned in the very first reply of this thread! Smiley Wink

Reply
0 Kudos
BHay123
Contributor
Contributor

OK...There are four different .log files, which one do you need or do you need all?

Reply
0 Kudos
BHay123
Contributor
Contributor

Here are the four different .log files. NOt sure which one you needed.

Reply
0 Kudos
WoodyZ
Immortal
Immortal

BHay123 wrote: Here are the four different .log files. NOt sure which one you needed.

The attached "Windows_7_x64_2.vmx.zip" file contains a new "Windows 7 x64 2.vmx" file created from the supplied vmware.log file.

With VMware Fusion closed, unzip (double-click) the downloaded attached "Windows_7_x64_2.vmx.zip" file and replace the original "Windows 7 x64 2.vmx" file with the one here.

Reply
0 Kudos
BHay123
Contributor
Contributor

Thanks so much.

-Thanks,

Brian Hay

Inspectek West, Inc.

503.799.7761

inspectekwest@gmail.com

www.inspectekwest.com

sent from BHay's iPhone.

Reply
0 Kudos
paupawie
Contributor
Contributor

Hello,

Requesting for help for this issue. It's been a few days since I've experienced it and I really need help in resolving this.

Thanks in advance.

Reply
0 Kudos
WoodyZ
Immortal
Immortal

paupawie wrote: Hello, Requesting for help for this issue. It's been a few days since I've experienced it and I really need help in resolving this.  Thanks in advance.

The attached "Windows_XP_Professional.vmx.zip" file contains a new "Windows XP Professional.vmx" file created from the supplied vmware.log file.

With VMware Fusion closed, unzip (double-click) the downloaded attached "Windows_XP_Professional.vmx.zip" file and replace the original "Windows XP Professional.vmx" file with the one here.

Reply
0 Kudos
DALibrarian
Contributor
Contributor

Same same.  Here's my .log and .vmx info.  Thanks.

Reply
0 Kudos
WoodyZ
Immortal
Immortal

DALibrarian wrote: Same same.  Here's my .log and .vmx info.  Thanks.

The attached "Windows_XP_Professional.vmx.zip" file contains a new "Windows XP Professional.vmx" file created from the supplied vmware.log file.

With VMware Fusion closed, unzip (double-click) the downloaded attached "Windows_XP_Professional.vmx.zip" file and replace the original "Windows XP Professional.vmx" file with the one here.

Reply
0 Kudos
DALibrarian
Contributor
Contributor

Please repair attached files ASAP.  This is the third time this has happened and it's incredibly debilitating.  Can you also advise on how to prevent in future?  I'm close to abandoning VMWare all together.

Reply
0 Kudos
a_p_
Leadership
Leadership

I can't unfortunately tell you what's causing the issue, i.e. which application is overwriting the .vmx contents. Anyway, I attached the recreated configuration (.vmx) file to this post.

André

Reply
0 Kudos
DALibrarian
Contributor
Contributor

Thanks, Andre, it's pretty obvious that YOU are able to resolve this really quickly with the right files.  Would it be possible to detail the steps you take so I can try repairing the corruption myself if it happens again?  I'm working at +0GMT so assuming you're operating in the US somewhere under normal business hours, I have to wait for you to wake up, come to work and make your way to my post.  In this case, I wrote at 8 am and didn't get a response until after close of business here, so lost the whole day.  I DO appreciate your prompt response, in that it took less than 24 hours, but I'm hoping there's an even better solution out there.

Reply
0 Kudos
a_p_
Leadership
Leadership

It's actually not hard to recreate the .vmx file. You simply need to extract the lines from the latest vmware.log file and format it appropriately, i.e. remove preceding spaces, and enclose the values in double quotes.

The required lines start at "--- CONFIGURATION /Users/...", and end with the next section "DICT --- ...". I created a small DOS batch script which I use.  This will not work on a MAC, but I will attach it anyway.

André

Reply
0 Kudos
Mikero
Community Manager
Community Manager

Locking this thread started in 2008, there's no way this is the same issue and it's notifying 150+ people each update.

If you're experiencing a similar issue with newer versions of Fusion and OS X, please start a new thread.

-
Michael Roy - Product Marketing Engineer: VCF
Reply
0 Kudos