Showing results for 
Search instead for 
Do you mean 
Reply
What's DOS?
Posts: 2
Registered: ‎09-18-2013
Location: UK
Message 1 of 4 (918 Views)

Bug with Lenovo dependency package: Unable to cope with spaces in user directory path

I do not know whether this is the best place for this, but I was unable to find any other way to report a bug with the software on my Lenovo Thinkpad Tablet 2. If there is somewhere better to post this then say where.

I have noticed when I reset my Thinkpad Tablet 2, by reinstalling Windows8 using the restore media, that if I create a user with a user name containing spaces (eg. "Jo Blogs" then when performing system update using the Lenovo tool (the one for updating the Lenovo software) it is unable to install some software. I think from memory that the one causing particular problems is the Lenovo Dependency Package (or was it the Lenovo Settings Dependency Package).

In addition to the update issue, the software has other problems with such a user name. So using the example user of "Jo Blogs", Windows8 will create the user directory as "C:\users\Jo Blogs\". The dependency package seems to have a problem with the user directory path containing a space, it tries to create a temp file with a name like sysrun-18809.xml (full path should be for the "Jo Blogs" user: "C:\users\Jo Blogs\AppData\Local\Temp\sysrun-18809.xml"). What it actually creates is a file with a name of the actual file name up to the space (IE. for "Jo Blogs" file name is: "C:\users\Jo"). Opening this file in notepad reveals XML, but each line has appended to it the remainder of the tile name it should have used (IE. for "Jo Blogs" the first line is like:
<?xml version="1.0" encoding="UTF-16"?> Blogs\AppData\Local\Temp\sysrun-18809.xml
).

For reasons I do not understand, this incorrect file is upsetting other software on my system, should I remove this incorrect file then my other software works fine. However the Lenovo software keeps creating this incorrect file every time I log in.

Would it be possible for the Lenovo software to be fixed to handle this case of a space in the user directory path?

Lenovo Staff
Posts: 3,569
Registered: ‎10-29-2009
Location: NC
Message 2 of 4 (890 Views)

Re: Bug with Lenovo dependency package: Unable to cope with spaces in user directory path

Can you please double-check if it is the "Lenovo Settings Dependency Package" or the "Lenovo Dependency Package" that is causing this problem?  Also please let me know what versions of these two things you currently have installed on your tablet.  

 

With your information I can investigate this problem here.

What's DOS?
Posts: 2
Registered: ‎09-18-2013
Location: UK
Message 3 of 4 (871 Views)

Re: Bug with Lenovo dependency package: Unable to cope with spaces in user directory path

I have done a bit of investigating and here is what I found.

I believe Lenovo Dependency Package has little to do with this, uninstalling it did not seem to change anything.

The Lenovo Settings Dependency Package does seem to have problems with the space in the user directory path. When installing it using Lenovo's System Update Windows script host errors come up with messages like:
"No file extension in c:\users\Jo"
However uninstalling Lenovo Settings Dependency Package did not seem to solve the problem/incorrect file (c:\users\Jo) being created.

Looking in the incorrect file to see whether that gave a hint as to which software might be creating it, I found it had a line to set the working directory to:
c:\programdata\lenovo\SupportTVSU
From what I could tell this might relate to System Update, so I uninstalled Lenovo System Update and the problem/incorrect file now does not seem to be created. Interestingly, I installed the latest version from the Lenovo website after finding this out (filename systemupdate502-06-26-2013) and the problem does not seem to show up.

I forgot to check what version of Lenovo System Update was installed when I had reset the tablet from the restore media, but I did install all updates System update offered. So I have the question of, does system update itself to the latest version?

Lenovo Staff
Posts: 3,569
Registered: ‎10-29-2009
Location: NC
Message 4 of 4 (860 Views)

Re: Bug with Lenovo dependency package: Unable to cope with spaces in user directory path

OK, now this makes more sense.  I know that System Update has a problem with paths that contain a space, in some cases.  The next version (not yet released) is supposed to fix this.

Top kudoed Authors