%video% variable is not set in CLI

Bug #1474042 reported by Eva Putnam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
BleachBit
Expired
Low
Unassigned

Bug Description

It looks like this:
K:\2015>echo %video%
%video%

K:\2015>echo %path%
\util;\TEX;\TEX\BIN;\tex\fonts;C:\WINDOWS;C:\Windows\system32;C:\Windows\System32\Wbem

And then while using the bleachbit_console.exe it is complaining about this variable %video%:

K:\2015>"C:\Program Files\BleachBit\bleachbit_console.exe" --help
Traceback (most recent call last):
  File "bleachbit\Windows.pyo", line 126, in csidl_to_environ
com_error: (-2147467259, 'Unspecified error', None, None)
ERROR: setting environment variable "video": (-2147467259, 'Unspecified error'
None, None)
Usage: bleachbit_console.exe [options] cleaner.option1 cleaner.option2

Options:
  -h, --help show this help message and exit
  -l, --list-cleaners list cleaners
  -c, --clean run cleaners to delete files and make other permanent
                        changes
  --debug-log=DEBUG_LOG
                        log debug messages to file
  -s, --shred shred specific files or folders
  --sysinfo show system information
  --gui launch the graphical interface
  --no-uac do not prompt for administrator privileges
  -p, --preview preview files to be deleted and other changes
  --preset use options set in the graphical interface
  --update-winapp2 update winapp2.ini, if a new version is available
  -v, --version output version information and exit
  -o, --overwrite overwrite files to hide contents

K:\2015>

Tags: windows
Andrew Ziem (ahziem1)
Changed in bleachbit:
milestone: none → 1.10
Andrew Ziem (ahziem1)
tags: added: windows
Revision history for this message
Andrew Ziem (ahziem1) wrote :

Which version of Windows?

Do you have the path <C:\Documents and Settings\(your username)\My Documents\My Videos>?

It may also not be set in the GUI, but in the GUI the error would be hidden.

Changed in bleachbit:
importance: Undecided → Low
Revision history for this message
Eva Putnam (conexbridges) wrote : Re: [Bug 1474042] Re: %video% variable is not set in CLI

XP
"My videos" not in PATH.

      From: Andrew Ziem <email address hidden>
 To: <email address hidden>
 Sent: Friday, July 31, 2015 3:03 PM
 Subject: [Bug 1474042] Re: %video% variable is not set in CLI

Which version of Windows?

Do you have the path <C:\Documents and Settings\(your username)\My
Documents\My Videos>?

It may also not be set in the GUI, but in the GUI the error would be
hidden.

** Changed in: bleachbit
  Importance: Undecided => Low

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1474042

Title:
  %video% variable is not set in CLI

Status in BleachBit:
  New

Bug description:
  It looks like this:
  K:\2015>echo %video%
  %video%

  K:\2015>echo %path%
  \util;\TEX;\TEX\BIN;\tex\fonts;C:\WINDOWS;C:\Windows\system32;C:\Windows\System32\Wbem

  And then while using the bleachbit_console.exe it is complaining about
  this variable %video%:

  K:\2015>"C:\Program Files\BleachBit\bleachbit_console.exe" --help
  Traceback (most recent call last):
    File "bleachbit\Windows.pyo", line 126, in csidl_to_environ
  com_error: (-2147467259, 'Unspecified error', None, None)
  ERROR: setting environment variable "video": (-2147467259, 'Unspecified error'
  None, None)
  Usage: bleachbit_console.exe [options] cleaner.option1 cleaner.option2

  Options:
    -h, --help            show this help message and exit
    -l, --list-cleaners  list cleaners
    -c, --clean          run cleaners to delete files and make other permanent
                          changes
    --debug-log=DEBUG_LOG
                          log debug messages to file
    -s, --shred          shred specific files or folders
    --sysinfo            show system information
    --gui                launch the graphical interface
    --no-uac              do not prompt for administrator privileges
    -p, --preview        preview files to be deleted and other changes
    --preset              use options set in the graphical interface
    --update-winapp2      update winapp2.ini, if a new version is available
    -v, --version        output version information and exit
    -o, --overwrite      overwrite files to hide contents

  K:\2015>

To manage notifications about this bug go to:
https://bugs.launchpad.net/bleachbit/+bug/1474042/+subscriptions

Revision history for this message
Andrew Ziem (ahziem1) wrote :

Which version of BleachBit?

Even if it is not in %PATH%, does this folder exist: <C:\Documents and Settings\(your username)\My Documents\My Videos>?

I could not reproduce on Windows 7 74-bit with BleachBit 1.9.1

Revision history for this message
Andrew Ziem (ahziem1) wrote :

I cannot reproduce with BleachBit 1.9.1 on Windows XP. This system does have the folder

<C:\Documents and Settings\(username)\My Documents\My Videos>

Revision history for this message
Eva Putnam (conexbridges) wrote :
Download full text (5.1 KiB)

I cannot "get inside" the console; it lists this "stuff" and exits to CLI prompt. Also, it starts the GUI version.

Maybe you can tell which version it is by the .exe files dates. See below:
C:\Program Files\BleachBit>ver

Microsoft Windows XP [Version 5.1.2600]

C:\Program Files\BleachBit>bleachbit_console.exe
Traceback (most recent call last):
  File "bleachbit\Windows.pyo", line 126, in csidl_to_environ
com_error: (-2147467259, 'Unspecified error', None, None)
ERROR: setting environment variable "video": (-2147467259, 'Unspecified error',
None, None)
info: automatically hiding cleaner 'adobe_reader'
info: automatically hiding cleaner 'amule'
info: automatically hiding cleaner 'chromium'
info: automatically hiding cleaner 'filezilla'
info: automatically hiding cleaner 'flash'
info: automatically hiding cleaner 'gimp'
info: automatically hiding cleaner 'google_chrome'
info: automatically hiding cleaner 'google_earth'
info: automatically hiding cleaner 'google_toolbar'
info: automatically hiding cleaner 'hippo_opensim_viewer'
info: automatically hiding cleaner 'java'
info: automatically hiding cleaner 'libreoffice'
info: automatically hiding cleaner 'liferea'
info: automatically hiding cleaner 'microsoft_office'
info: automatically hiding cleaner 'miro'
info: automatically hiding cleaner 'octave'
info: automatically hiding cleaner 'opera'
info: automatically hiding cleaner 'paint'
info: automatically hiding cleaner 'pidgin'
info: automatically hiding cleaner 'realplayer'
info: automatically hiding cleaner 'safari'
info: automatically hiding cleaner 'screenlets'
info: automatically hiding cleaner 'seamonkey'
info: automatically hiding cleaner 'secondlife_viewer'
info: automatically hiding cleaner 'silverlight'
info: automatically hiding cleaner 'skype'
info: automatically hiding cleaner 'teamviewer'
info: automatically hiding cleaner 'thunderbird'
info: automatically hiding cleaner 'tortoisesvn'
info: automatically hiding cleaner 'vim'
info: automatically hiding cleaner 'vlc'
info: automatically hiding cleaner 'vuze'
info: automatically hiding cleaner 'vuze'
info: automatically hiding cleaner 'warzone2100'
info: automatically hiding cleaner 'winamp'
info: automatically hiding cleaner 'windows_defender'
info: automatically hiding cleaner 'windows_media_player'
info: automatically hiding cleaner 'winrar'
info: automatically hiding cleaner 'winzip'
info: automatically hiding cleaner 'wordpad'
info: automatically hiding cleaner 'xchat'
info: automatically hiding cleaner 'yahoo_messenger'

C:\Program Files\BleachBit>dir *.exe
 Volume in drive C is FSB
 Volume Serial Number is 28F7-ECBF

 Directory of C:\Program Files\BleachBit

06/19/2015  10:10 PM            41,576 bleachbit.exe
06/19/2015  10:10 PM            41,064 bleachbit_console.exe
07/10/2015  03:56 PM            87,816 uninstall.exe
12/23/2008  04:11 PM             3,584 w9xpopen.exe
               4 File(s)        174,040 bytes
               0 Dir(s)  38,743,535,616 bytes free

Eva

      From: Andrew Ziem <email address hidden>
 To: <email address hidden>
 Sent: Friday, September 11, 2015 1:08 PM
 Subject: [Bug 1474042] Re: %video% variable is not set in CLI

I cannot reproduce with...

Read more...

Revision history for this message
Eva Putnam (conexbridges) wrote :

The system console (installed programs) says: Bleachbit 1.8.

      From: Andrew Ziem <email address hidden>
 To: <email address hidden>
 Sent: Friday, September 11, 2015 1:08 PM
 Subject: [Bug 1474042] Re: %video% variable is not set in CLI

I cannot reproduce with BleachBit 1.9.1 on Windows XP. This system does
have the folder

<C:\Documents and Settings\(username)\My Documents\My Videos>

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1474042

Title:
  %video% variable is not set in CLI

Status in BleachBit:
  New

Bug description:
  It looks like this:
  K:\2015>echo %video%
  %video%

  K:\2015>echo %path%
  \util;\TEX;\TEX\BIN;\tex\fonts;C:\WINDOWS;C:\Windows\system32;C:\Windows\System32\Wbem

  And then while using the bleachbit_console.exe it is complaining about
  this variable %video%:

  K:\2015>"C:\Program Files\BleachBit\bleachbit_console.exe" --help
  Traceback (most recent call last):
    File "bleachbit\Windows.pyo", line 126, in csidl_to_environ
  com_error: (-2147467259, 'Unspecified error', None, None)
  ERROR: setting environment variable "video": (-2147467259, 'Unspecified error'
  None, None)
  Usage: bleachbit_console.exe [options] cleaner.option1 cleaner.option2

  Options:
    -h, --help            show this help message and exit
    -l, --list-cleaners  list cleaners
    -c, --clean          run cleaners to delete files and make other permanent
                          changes
    --debug-log=DEBUG_LOG
                          log debug messages to file
    -s, --shred          shred specific files or folders
    --sysinfo            show system information
    --gui                launch the graphical interface
    --no-uac              do not prompt for administrator privileges
    -p, --preview        preview files to be deleted and other changes
    --preset              use options set in the graphical interface
    --update-winapp2      update winapp2.ini, if a new version is available
    -v, --version        output version information and exit
    -o, --overwrite      overwrite files to hide contents

  K:\2015>

To manage notifications about this bug go to:
https://bugs.launchpad.net/bleachbit/+bug/1474042/+subscriptions

Revision history for this message
Andrew Ziem (ahziem1) wrote :

To aid troubleshooting, I added more logging in commit 99b2da84a3487408595413d8d9623079a848c843 for the next release.

Changed in bleachbit:
milestone: 1.10 → 1.12
Revision history for this message
Andrew Ziem (ahziem1) wrote :

Do you still have this problem with BleachBit 1.12? If not, let me know.

If you do, please run this command
bleachbit_console.exe --debug-log=c:\bleachbit.log

And then please send me the file c:\bleachbit.log

Thank you

Revision history for this message
Andrew Ziem (ahziem1) wrote :

Please re-open if you have information about comment #8
https://bugs.launchpad.net/bleachbit/+bug/1474042/comments/8

Changed in bleachbit:
status: New → Incomplete
Changed in bleachbit:
milestone: 1.12 → none
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for BleachBit because there has been no activity for 60 days.]

Changed in bleachbit:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.