Javac not detecting package statements
Initially I was using eclipse to set my packages for grouping classes, but recently I decided to try and organize some bytecode files by using notepad just to see if it would work fine in dos. I put two .java files in a directory and made up a package name similar to the directory and declared it in each file. Juxtaposing your package name and directory structure is not mandatory so I doubt that's my problem. When I went to compile the first file in dos, that was fine of course since it didn't rely on any other files. The second file gave a "cannot resolve symbol" error since it relied on the first file. In regards to my variable pathname and classpath, I edited my autoexec.bat to
set Path=%PATH%;C:\j2sdk1.4.2_05\bin;
set CLASSPATH=.;
Any input would be appreciated.
Ok I had two .java files in a C:\blah directory. The two .java files were Hello.java and Test.java.
package blah;
public class Hello {
private String str;
public Hello(String str) {
this.str = str;
public String toString() {
String result = "";
result += str;
return result;
package blah;
public class Test {
public static void main(String[] args) {
Hello testing = new Hello("hello");
System.out.println(testing);
}Test relies on Hello. Hello compiles fine with the normal javac command
my classpath config is:
set Path=%PATH%;C:\j2sdk1.4.2_05\bin;
set CLASSPATH=.;C:\;
when I try to compile Test I get a "cannot resolve symbol" error wherever Hello is in the .java file. I then tried opening up Test.java with jEdit and used the JCompile plugin. That worked and I saw that the command
javac -classpath .;C: -g C:\blah\Test.java was used. I then deleted the .class file and did the same command using dos and it certainly worked. Is there a problem with my classpath setting?
Similar Messages
-
ThinApp Packages not Detected by Workspace
I have a VMware Horizon View 6 Proof of Concept environment. I have configured ThinApp within View and added some packaged apps. I have assigned these ThinApps to a desktop pool and they are successfully pushed out to the virtual desktops when users login. So from that point of view I am happy the ThinApps are working OK.
However, I have just installed Workspace 2.1 and it is not detecting the ThinApp packages. I have enabled View Pools within Workspace and it detects my desktop pools OK. I have also enabled ThinApp packaged applications and pointed it at my ThinApp file share. However, every time I try and manually sync (or the automatic sync runs) from within Workspace I get the following error:
Push is scheduled to take place:
Every day at 11:55 pm
Error occurred in Packaged applications (ThinApp) sync. Please check if Packaged applications (ThinApp) configuration is correct and the share path is reachable.
The /var/log/messages log on the virtual appliance contains this:
2015-01-08T09:54:14+00:00 XXXXXwork01 ThinAppRepoService: t@349c7700: Starting import cycle from share (\\XXXXXview01.viewtest.internal\ThinApp\).
2015-01-08T09:54:14+00:00 XXXXXwork01 ThinAppRepoService: t@349c7700: Mount path [\\XXXXXview01.viewtest.internal\ThinApp\] is CIFS, acquiring credentials.
2015-01-08T09:54:14+00:00 XXXXXwork01 ThinAppRepoService: t@349c7700: Initializing application share discovery
2015-01-08T09:54:14+00:00 XXXXXwork01 ThinAppRepoService: t@349c7700: Initialization of Application share discovery was successful
2015-01-08T09:54:14+00:00 XXXXXwork01 ThinAppRepoService: t@349c7700: Ending import cycle (0 app scanned, 0 app processed).
So Workspace is successfully connecting to the Share but cannot detect any of the ThinApp packages. I have tried rebuilding one of the ThinApp packages with the "Manage with VMware Workspace" option ticked, but the package still isn't detected. The permissions on the file share and the packages look correct.
What do I need to do to get Workspace to detect the ThinApp packages?Thanks very much! That fixed it!
I was starting to tear my hair out over that one. All I had to do was stick the ThinApps in subfolders.
Thanks again! -
Windows 2008 R2 Server not showing update history and not detecting new updates
Hi Sirs,
We have a Windows 2008 R2 server which is showing an empty windows update history, and is not detecting new updates from the WSUS server. It says that the windows is up to date, no error when trying to detect new updates, but I doubt it because when I checked
the installed updates menu, it shows that that the most recent update date installed was last 2013, it just stop detecting and installing updates. I've already tried the ff workarounds but to no avail:
1. restart wuauserv and bits service
2. rename/delete the software distribution folder
3. reinstalled the update agent/restarted the server
4. deleted the susclientid on the registry
Thanks in advanced for your help.
here's the windowsupdate.log:
2014-07-22 00:57:06:728 928 a34 AU #############
2014-07-22 00:57:06:728 928 a34 AU Successfully wrote event for AU health state:0
2014-07-22 00:57:06:728 928 a34 AU Featured notifications is disabled.
2014-07-22 00:57:06:728 928 a34 AU AU setting next detection timeout to 2014-07-21 20:50:56
2014-07-22 00:57:06:728 928 a34 AU Successfully wrote event for AU health state:0
2014-07-22 00:57:06:728 928 a34 AU Successfully wrote event for AU health state:0
2014-07-22 00:57:11:727 928 abc Report REPORT EVENT: {AF0753F1-F6F9-4583-87B0-A0B0AEA0C6A7} 2014-07-22 00:57:06:728+0800 1
147 101 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Software Synchronization Windows
Update Client successfully detected 0 updates.
2014-07-22 00:57:11:727 928 abc Report REPORT EVENT: {188957AA-577F-4DC5-9CDB-2D8CFEE96670} 2014-07-22 00:57:06:728+0800 1
156 101 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Pre-Deployment Check Reporting
client status.
2014-07-22 00:57:11:727 928 abc Report CWERReporter finishing event handling. (00000000)
2014-07-22 01:11:10:931 928 abc Report Uploading 2 events using cached cookie, reporting URL = http://mtp-wsus2/ReportingWebService/ReportingWebService.asmx
2014-07-22 01:11:10:947 928 abc Report Reporter successfully uploaded 2 events.
2014-07-22 04:50:56:736 928 1130 AU #############
2014-07-22 04:50:56:736 928 1130 AU ## START ## AU: Search for updates
2014-07-22 04:50:56:736 928 1130 AU #########
2014-07-22 04:50:56:736 928 1130 AU <<## SUBMITTED ## AU: Search for updates [CallId = {F40B494F-91F1-4FFB-B7A5-46CEA397AA52}]
2014-07-22 04:50:56:736 928 d08 Agent *************
2014-07-22 04:50:56:736 928 d08 Agent ** START ** Agent: Finding updates [CallerId = AutomaticUpdates]
2014-07-22 04:50:56:736 928 d08 Agent *********
2014-07-22 04:50:56:736 928 d08 Agent * Online = Yes; Ignore download priority = No
2014-07-22 04:50:56:736 928 d08 Agent * Criteria = "IsInstalled=0 and DeploymentAction='Installation' or IsPresent=1 and DeploymentAction='Uninstallation'
or IsInstalled=1 and DeploymentAction='Installation' and RebootRequired=1 or IsInstalled=0 and DeploymentAction='Uninstallation' and RebootRequired=1"
2014-07-22 04:50:56:736 928 d08 Agent * ServiceID = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7} Managed
2014-07-22 04:50:56:736 928 d08 Agent * Search Scope = {Machine}
2014-07-22 04:50:57:017 928 d08 Setup Checking for agent SelfUpdate
2014-07-22 04:50:57:017 928 d08 Setup Client version: Core: 7.6.7600.256 Aux: 7.6.7600.256
2014-07-22 04:50:57:017 928 d08 Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wuident.cab:
2014-07-22 04:50:57:017 928 d08 Misc Microsoft signed: Yes
2014-07-22 04:50:59:611 928 d08 Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wuident.cab:
2014-07-22 04:50:59:611 928 d08 Misc Microsoft signed: Yes
2014-07-22 04:50:59:611 928 d08 Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wsus3setup.cab:
2014-07-22 04:50:59:611 928 d08 Misc Microsoft signed: Yes
2014-07-22 04:50:59:626 928 d08 Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wsus3setup.cab:
2014-07-22 04:50:59:626 928 d08 Misc Microsoft signed: Yes
2014-07-22 04:50:59:626 928 d08 Setup Determining whether a new setup handler needs to be downloaded
2014-07-22 04:50:59:626 928 d08 Setup SelfUpdate handler is not found. It will be downloaded
2014-07-22 04:50:59:626 928 d08 Setup Evaluating applicability of setup package "WUClient-SelfUpdate-ActiveX~31bf3856ad364e35~amd64~~7.6.7600.256"
2014-07-22 04:51:01:095 928 d08 Setup Setup package "WUClient-SelfUpdate-ActiveX~31bf3856ad364e35~amd64~~7.6.7600.256" is already installed.
2014-07-22 04:51:01:095 928 d08 Setup Evaluating applicability of setup package "WUClient-SelfUpdate-Aux-TopLevel~31bf3856ad364e35~amd64~~7.6.7600.256"
2014-07-22 04:51:01:110 928 d08 Setup Setup package "WUClient-SelfUpdate-Aux-TopLevel~31bf3856ad364e35~amd64~~7.6.7600.256" is already installed.
2014-07-22 04:51:01:110 928 d08 Setup Evaluating applicability of setup package "WUClient-SelfUpdate-Core-TopLevel~31bf3856ad364e35~amd64~~7.6.7600.256"
2014-07-22 04:51:01:142 928 d08 Setup Setup package "WUClient-SelfUpdate-Core-TopLevel~31bf3856ad364e35~amd64~~7.6.7600.256" is already installed.
2014-07-22 04:51:01:142 928 d08 Setup SelfUpdate check completed. SelfUpdate is NOT required.
2014-07-22 04:51:01:860 928 d08 PT +++++++++++ PT: Synchronizing server updates +++++++++++
2014-07-22 04:51:01:860 928 d08 PT + ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, Server URL = http://mtp-wsus2/ClientWebService/client.asmx
2014-07-22 04:51:01:891 928 d08 PT WARNING: Cached cookie has expired or new PID is available
2014-07-22 04:51:01:891 928 d08 PT Initializing simple targeting cookie, clientId = 487b95fe-31a4-44f7-9989-bd77766ce5fa, target group = , DNS name = itg-soatrainsvr.mbtc.mgc.local
2014-07-22 04:51:01:891 928 d08 PT Server URL = http://mtp-wsus2/SimpleAuthWebService/SimpleAuth.asmx
2014-07-22 04:51:04:485 928 d08 PT +++++++++++ PT: Synchronizing extended update info +++++++++++
2014-07-22 04:51:04:485 928 d08 PT + ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, Server URL = http://mtp-wsus2/ClientWebService/client.asmx
2014-07-22 04:51:04:875 928 d08 Agent * Found 0 updates and 68 categories in search; evaluated appl. rules of 503 out of 777 deployed entities
2014-07-22 04:51:04:875 928 d08 Agent *********
2014-07-22 04:51:04:875 928 d08 Agent ** END ** Agent: Finding updates [CallerId = AutomaticUpdates]
2014-07-22 04:51:04:875 928 d08 Agent *************
2014-07-22 04:51:04:875 928 1278 AU >>## RESUMED ## AU: Search for updates [CallId = {F40B494F-91F1-4FFB-B7A5-46CEA397AA52}]
2014-07-22 04:51:04:875 928 1278 AU # 0 updates detected
2014-07-22 04:51:04:875 928 1278 AU #########
2014-07-22 04:51:04:875 928 1278 AU ## END ## AU: Search for updates [CallId = {F40B494F-91F1-4FFB-B7A5-46CEA397AA52}]
2014-07-22 04:51:04:875 928 1278 AU #############
2014-07-22 04:51:04:875 928 1278 AU Successfully wrote event for AU health state:0
2014-07-22 04:51:04:875 928 1278 AU Featured notifications is disabled.
2014-07-22 04:51:04:875 928 1278 AU AU setting next detection timeout to 2014-07-22 00:38:28
2014-07-22 04:51:04:875 928 1278 AU Successfully wrote event for AU health state:0
2014-07-22 04:51:04:875 928 1278 AU Successfully wrote event for AU health state:0
2014-07-22 04:51:09:874 928 d08 Report REPORT EVENT: {FE398C01-75A1-4AD8-8C43-0894FCFCE13F} 2014-07-22 04:51:04:875+0800 1
147 101 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Software Synchronization Windows
Update Client successfully detected 0 updates.
2014-07-22 04:51:09:874 928 d08 Report REPORT EVENT: {CDA386AD-6392-4C34-859E-35307BCB5EA0} 2014-07-22 04:51:04:875+0800 1
156 101 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Pre-Deployment Check Reporting
client status.
2014-07-22 04:51:09:874 928 d08 Report CWERReporter finishing event handling. (00000000)
2014-07-22 05:05:09:109 928 d08 Report Uploading 2 events using cached cookie, reporting URL = http://mtp-wsus2/ReportingWebService/ReportingWebService.asmx
2014-07-22 05:05:09:109 928 d08 Report Reporter successfully uploaded 2 events.
2014-07-22 08:38:28:883 928 1130 AU #############
2014-07-22 08:38:28:883 928 1130 AU ## START ## AU: Search for updates
2014-07-22 08:38:28:883 928 1130 AU #########
2014-07-22 08:38:28:883 928 1130 AU <<## SUBMITTED ## AU: Search for updates [CallId = {9A097F9F-88DD-4037-A4DD-48B9CC891327}]
2014-07-22 08:38:28:883 928 53c Agent *************
2014-07-22 08:38:28:883 928 53c Agent ** START ** Agent: Finding updates [CallerId = AutomaticUpdates]
2014-07-22 08:38:28:883 928 53c Agent *********
2014-07-22 08:38:28:883 928 53c Agent * Online = Yes; Ignore download priority = No
2014-07-22 08:38:28:883 928 53c Agent * Criteria = "IsInstalled=0 and DeploymentAction='Installation' or IsPresent=1 and DeploymentAction='Uninstallation'
or IsInstalled=1 and DeploymentAction='Installation' and RebootRequired=1 or IsInstalled=0 and DeploymentAction='Uninstallation' and RebootRequired=1"
2014-07-22 08:38:28:883 928 53c Agent * ServiceID = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7} Managed
2014-07-22 08:38:28:883 928 53c Agent * Search Scope = {Machine}
2014-07-22 08:38:29:195 928 53c Setup Checking for agent SelfUpdate
2014-07-22 08:38:29:195 928 53c Setup Client version: Core: 7.6.7600.256 Aux: 7.6.7600.256
2014-07-22 08:38:29:195 928 53c Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wuident.cab:
2014-07-22 08:38:29:195 928 53c Misc Microsoft signed: Yes
2014-07-22 08:38:31:804 928 53c Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wuident.cab:
2014-07-22 08:38:31:804 928 53c Misc Microsoft signed: Yes
2014-07-22 08:38:31:804 928 53c Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wsus3setup.cab:
2014-07-22 08:38:31:820 928 53c Misc Microsoft signed: Yes
2014-07-22 08:38:31:820 928 53c Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wsus3setup.cab:
2014-07-22 08:38:31:820 928 53c Misc Microsoft signed: Yes
2014-07-22 08:38:31:835 928 53c Setup Determining whether a new setup handler needs to be downloaded
2014-07-22 08:38:31:835 928 53c Setup SelfUpdate handler is not found. It will be downloaded
2014-07-22 08:38:31:835 928 53c Setup Evaluating applicability of setup package "WUClient-SelfUpdate-ActiveX~31bf3856ad364e35~amd64~~7.6.7600.256"
2014-07-22 08:38:33:241 928 53c Setup Setup package "WUClient-SelfUpdate-ActiveX~31bf3856ad364e35~amd64~~7.6.7600.256" is already installed.
2014-07-22 08:38:33:241 928 53c Setup Evaluating applicability of setup package "WUClient-SelfUpdate-Aux-TopLevel~31bf3856ad364e35~amd64~~7.6.7600.256"
2014-07-22 08:38:33:272 928 53c Setup Setup package "WUClient-SelfUpdate-Aux-TopLevel~31bf3856ad364e35~amd64~~7.6.7600.256" is already installed.
2014-07-22 08:38:33:272 928 53c Setup Evaluating applicability of setup package "WUClient-SelfUpdate-Core-TopLevel~31bf3856ad364e35~amd64~~7.6.7600.256"
2014-07-22 08:38:33:288 928 53c Setup Setup package "WUClient-SelfUpdate-Core-TopLevel~31bf3856ad364e35~amd64~~7.6.7600.256" is already installed.
2014-07-22 08:38:33:288 928 53c Setup SelfUpdate check completed. SelfUpdate is NOT required.
2014-07-22 08:38:33:991 928 53c PT +++++++++++ PT: Synchronizing server updates +++++++++++
2014-07-22 08:38:33:991 928 53c PT + ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, Server URL = http://mtp-wsus2/ClientWebService/client.asmx
2014-07-22 08:38:34:038 928 53c PT WARNING: Cached cookie has expired or new PID is available
2014-07-22 08:38:34:038 928 53c PT Initializing simple targeting cookie, clientId = 487b95fe-31a4-44f7-9989-bd77766ce5fa, target group = , DNS name = itg-soatrainsvr.mbtc.mgc.local
2014-07-22 08:38:34:038 928 53c PT Server URL = http://mtp-wsus2/SimpleAuthWebService/SimpleAuth.asmx
2014-07-22 08:38:36:616 928 53c PT +++++++++++ PT: Synchronizing extended update info +++++++++++
2014-07-22 08:38:36:616 928 53c PT + ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, Server URL = http://mtp-wsus2/ClientWebService/client.asmx
2014-07-22 08:38:37:022 928 53c Agent * Found 0 updates and 68 categories in search; evaluated appl. rules of 503 out of 777 deployed entities
2014-07-22 08:38:37:022 928 53c Agent *********
2014-07-22 08:38:37:022 928 53c Agent ** END ** Agent: Finding updates [CallerId = AutomaticUpdates]
2014-07-22 08:38:37:022 928 53c Agent *************
2014-07-22 08:38:37:022 928 aa8 AU >>## RESUMED ## AU: Search for updates [CallId = {9A097F9F-88DD-4037-A4DD-48B9CC891327}]
2014-07-22 08:38:37:022 928 aa8 AU # 0 updates detected
2014-07-22 08:38:37:022 928 aa8 AU #########
2014-07-22 08:38:37:022 928 aa8 AU ## END ## AU: Search for updates [CallId = {9A097F9F-88DD-4037-A4DD-48B9CC891327}]
2014-07-22 08:38:37:022 928 aa8 AU #############
2014-07-22 08:38:37:022 928 aa8 AU Successfully wrote event for AU health state:0
2014-07-22 08:38:37:022 928 aa8 AU Featured notifications is disabled.
2014-07-22 08:38:37:022 928 aa8 AU AU setting next detection timeout to 2014-07-22 04:15:53
2014-07-22 08:38:37:022 928 aa8 AU Successfully wrote event for AU health state:0
2014-07-22 08:38:37:022 928 aa8 AU Successfully wrote event for AU health state:0
2014-07-22 08:38:42:021 928 53c Report REPORT EVENT: {45B5AD35-C612-4C43-8FE0-DFC63B114FC9} 2014-07-22 08:38:37:022+0800 1
147 101 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Software Synchronization Windows
Update Client successfully detected 0 updates.
2014-07-22 08:38:42:021 928 53c Report REPORT EVENT: {BA606714-0153-41BA-ADC8-78520F678D97} 2014-07-22 08:38:37:022+0800 1
156 101 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Pre-Deployment Check Reporting
client status.
2014-07-22 08:38:42:021 928 53c Report CWERReporter finishing event handling. (00000000)
2014-07-22 08:52:41:224 928 53c Report Uploading 2 events using cached cookie, reporting URL = http://mtp-wsus2/ReportingWebService/ReportingWebService.asmx
2014-07-22 08:52:41:240 928 53c Report Reporter successfully uploaded 2 events.
2014-07-22 12:15:53:027 928 1130 AU #############
2014-07-22 12:15:53:027 928 1130 AU ## START ## AU: Search for updates
2014-07-22 12:15:53:027 928 1130 AU #########
2014-07-22 12:15:53:027 928 1130 AU <<## SUBMITTED ## AU: Search for updates [CallId = {9BDC1D71-5139-49D4-88F0-E2B639CE8846}]
2014-07-22 12:15:53:043 928 a58 Agent *************
2014-07-22 12:15:53:043 928 a58 Agent ** START ** Agent: Finding updates [CallerId = AutomaticUpdates]
2014-07-22 12:15:53:043 928 a58 Agent *********
2014-07-22 12:15:53:043 928 a58 Agent * Online = Yes; Ignore download priority = No
2014-07-22 12:15:53:043 928 a58 Agent * Criteria = "IsInstalled=0 and DeploymentAction='Installation' or IsPresent=1 and DeploymentAction='Uninstallation'
or IsInstalled=1 and DeploymentAction='Installation' and RebootRequired=1 or IsInstalled=0 and DeploymentAction='Uninstallation' and RebootRequired=1"
2014-07-22 12:15:53:043 928 a58 Agent * ServiceID = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7} Managed
2014-07-22 12:15:53:043 928 a58 Agent * Search Scope = {Machine}
2014-07-22 12:15:53:308 928 a58 Setup Checking for agent SelfUpdate
2014-07-22 12:15:53:308 928 a58 Setup Client version: Core: 7.6.7600.256 Aux: 7.6.7600.256
2014-07-22 12:15:53:308 928 a58 Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wuident.cab:
2014-07-22 12:15:53:324 928 a58 Misc Microsoft signed: Yes
2014-07-22 12:15:55:901 928 a58 Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wuident.cab:
2014-07-22 12:15:55:901 928 a58 Misc Microsoft signed: Yes
2014-07-22 12:15:55:901 928 a58 Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wsus3setup.cab:
2014-07-22 12:15:55:917 928 a58 Misc Microsoft signed: Yes
2014-07-22 12:15:55:917 928 a58 Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wsus3setup.cab:
2014-07-22 12:15:55:917 928 a58 Misc Microsoft signed: Yes
2014-07-22 12:15:55:933 928 a58 Setup Determining whether a new setup handler needs to be downloaded
2014-07-22 12:15:55:933 928 a58 Setup SelfUpdate handler is not found. It will be downloaded
2014-07-22 12:15:55:933 928 a58 Setup Evaluating applicability of setup package "WUClient-SelfUpdate-ActiveX~31bf3856ad364e35~amd64~~7.6.7600.256"
2014-07-22 12:15:57:167 928 a58 Setup Setup package "WUClient-SelfUpdate-ActiveX~31bf3856ad364e35~amd64~~7.6.7600.256" is already installed.
2014-07-22 12:15:57:167 928 a58 Setup Evaluating applicability of setup package "WUClient-SelfUpdate-Aux-TopLevel~31bf3856ad364e35~amd64~~7.6.7600.256"
2014-07-22 12:15:57:167 928 a58 Setup Setup package "WUClient-SelfUpdate-Aux-TopLevel~31bf3856ad364e35~amd64~~7.6.7600.256" is already installed.
2014-07-22 12:15:57:167 928 a58 Setup Evaluating applicability of setup package "WUClient-SelfUpdate-Core-TopLevel~31bf3856ad364e35~amd64~~7.6.7600.256"
2014-07-22 12:15:57:198 928 a58 Setup Setup package "WUClient-SelfUpdate-Core-TopLevel~31bf3856ad364e35~amd64~~7.6.7600.256" is already installed.
2014-07-22 12:15:57:198 928 a58 Setup SelfUpdate check completed. SelfUpdate is NOT required.
2014-07-22 12:15:57:917 928 a58 PT +++++++++++ PT: Synchronizing server updates +++++++++++
2014-07-22 12:15:57:917 928 a58 PT + ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, Server URL = http://mtp-wsus2/ClientWebService/client.asmx
2014-07-22 12:15:57:963 928 a58 PT WARNING: Cached cookie has expired or new PID is available
2014-07-22 12:15:57:963 928 a58 PT Initializing simple targeting cookie, clientId = 487b95fe-31a4-44f7-9989-bd77766ce5fa, target group = , DNS name = itg-soatrainsvr.mbtc.mgc.local
2014-07-22 12:15:57:963 928 a58 PT Server URL = http://mtp-wsus2/SimpleAuthWebService/SimpleAuth.asmx
2014-07-22 12:16:00:572 928 a58 PT +++++++++++ PT: Synchronizing extended update info +++++++++++
2014-07-22 12:16:00:572 928 a58 PT + ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, Server URL = http://mtp-wsus2/ClientWebService/client.asmx
2014-07-22 12:16:00:932 928 a58 Agent * Found 0 updates and 68 categories in search; evaluated appl. rules of 503 out of 777 deployed entities
2014-07-22 12:16:00:932 928 a58 Agent *********
2014-07-22 12:16:00:932 928 a58 Agent ** END ** Agent: Finding updates [CallerId = AutomaticUpdates]
2014-07-22 12:16:00:932 928 a58 Agent *************
2014-07-22 12:16:00:932 928 1120 AU >>## RESUMED ## AU: Search for updates [CallId = {9BDC1D71-5139-49D4-88F0-E2B639CE8846}]
2014-07-22 12:16:00:932 928 1120 AU # 0 updates detected
2014-07-22 12:16:00:932 928 1120 AU #########
2014-07-22 12:16:00:932 928 1120 AU ## END ## AU: Search for updates [CallId = {9BDC1D71-5139-49D4-88F0-E2B639CE8846}]
2014-07-22 12:16:00:932 928 1120 AU #############
2014-07-22 12:16:00:932 928 1120 AU Successfully wrote event for AU health state:0
2014-07-22 12:16:00:932 928 1120 AU Featured notifications is disabled.
2014-07-22 12:16:00:932 928 1120 AU AU setting next detection timeout to 2014-07-22 08:15:22
2014-07-22 12:16:00:932 928 1120 AU Successfully wrote event for AU health state:0
2014-07-22 12:16:00:932 928 1120 AU Successfully wrote event for AU health state:0
2014-07-22 12:16:05:931 928 a58 Report REPORT EVENT: {25E75367-1205-4F59-A812-02DA28BB3234} 2014-07-22 12:16:00:932+0800 1
147 101 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Software Synchronization Windows
Update Client successfully detected 0 updates.
2014-07-22 12:16:05:931 928 a58 Report REPORT EVENT: {FE1434F8-C6AF-4F87-B3DF-6E4D6C4B05FB} 2014-07-22 12:16:00:932+0800 1
156 101 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Pre-Deployment Check Reporting
client status.
2014-07-22 12:16:05:931 928 a58 Report CWERReporter finishing event handling. (00000000)
2014-07-22 12:30:05:116 928 a58 Report Uploading 2 events using cached cookie, reporting URL = http://mtp-wsus2/ReportingWebService/ReportingWebService.asmx
2014-07-22 12:30:05:131 928 a58 Report Reporter successfully uploaded 2 events.
2014-07-22 14:05:29:584 928 10a0 AU Triggering AU detection through DetectNow API
2014-07-22 14:05:29:584 928 10a0 AU Triggering Online detection (interactive)
2014-07-22 14:05:29:584 928 1130 AU #############
2014-07-22 14:05:29:584 928 1130 AU ## START ## AU: Search for updates
2014-07-22 14:05:29:584 928 1130 AU #########
2014-07-22 14:05:29:584 928 1130 AU <<## SUBMITTED ## AU: Search for updates [CallId = {CC67CC44-7DFB-49DE-AA83-8D6A7995ABFA}]
2014-07-22 14:05:29:584 928 8e0 Agent *************
2014-07-22 14:05:29:584 928 8e0 Agent ** START ** Agent: Finding updates [CallerId = AutomaticUpdates]
2014-07-22 14:05:29:584 928 8e0 Agent *********
2014-07-22 14:05:29:584 928 8e0 Agent * Online = Yes; Ignore download priority = No
2014-07-22 14:05:29:584 928 8e0 Agent * Criteria = "IsInstalled=0 and DeploymentAction='Installation' or IsPresent=1 and DeploymentAction='Uninstallation'
or IsInstalled=1 and DeploymentAction='Installation' and RebootRequired=1 or IsInstalled=0 and DeploymentAction='Uninstallation' and RebootRequired=1"
2014-07-22 14:05:29:584 928 8e0 Agent * ServiceID = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7} Managed
2014-07-22 14:05:29:584 928 8e0 Agent * Search Scope = {Machine}
2014-07-22 14:05:29:584 928 8e0 Setup Checking for agent SelfUpdate
2014-07-22 14:05:29:584 928 8e0 Setup Client version: Core: 7.6.7600.256 Aux: 7.6.7600.256
2014-07-22 14:05:29:584 928 8e0 Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wuident.cab:
2014-07-22 14:05:29:600 928 8e0 Misc Microsoft signed: Yes
2014-07-22 14:05:29:616 928 8e0 Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wuident.cab:
2014-07-22 14:05:29:631 928 8e0 Misc Microsoft signed: Yes
2014-07-22 14:05:29:631 928 8e0 Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wsus3setup.cab:
2014-07-22 14:05:29:631 928 8e0 Misc Microsoft signed: Yes
2014-07-22 14:05:29:647 928 8e0 Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wsus3setup.cab:
2014-07-22 14:05:29:662 928 8e0 Misc Microsoft signed: Yes
2014-07-22 14:05:29:662 928 8e0 Setup Determining whether a new setup handler needs to be downloaded
2014-07-22 14:05:29:662 928 8e0 Setup SelfUpdate handler is not found. It will be downloaded
2014-07-22 14:05:29:662 928 8e0 Setup Evaluating applicability of setup package "WUClient-SelfUpdate-ActiveX~31bf3856ad364e35~amd64~~7.6.7600.256"
2014-07-22 14:05:29:662 928 8e0 Setup Setup package "WUClient-SelfUpdate-ActiveX~31bf3856ad364e35~amd64~~7.6.7600.256" is already installed.
2014-07-22 14:05:29:662 928 8e0 Setup Evaluating applicability of setup package "WUClient-SelfUpdate-Aux-TopLevel~31bf3856ad364e35~amd64~~7.6.7600.256"
2014-07-22 14:05:29:694 928 8e0 Setup Setup package "WUClient-SelfUpdate-Aux-TopLevel~31bf3856ad364e35~amd64~~7.6.7600.256" is already installed.
2014-07-22 14:05:29:694 928 8e0 Setup Evaluating applicability of setup package "WUClient-SelfUpdate-Core-TopLevel~31bf3856ad364e35~amd64~~7.6.7600.256"
2014-07-22 14:05:29:709 928 8e0 Setup Setup package "WUClient-SelfUpdate-Core-TopLevel~31bf3856ad364e35~amd64~~7.6.7600.256" is already installed.
2014-07-22 14:05:29:725 928 8e0 Setup SelfUpdate check completed. SelfUpdate is NOT required.
2014-07-22 14:05:30:037 928 8e0 PT +++++++++++ PT: Synchronizing server updates +++++++++++
2014-07-22 14:05:30:037 928 8e0 PT + ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, Server URL = http://mtp-wsus2/ClientWebService/client.asmx
2014-07-22 14:05:30:053 928 8e0 PT WARNING: Cached cookie has expired or new PID is available
2014-07-22 14:05:30:053 928 8e0 PT Initializing simple targeting cookie, clientId = 487b95fe-31a4-44f7-9989-bd77766ce5fa, target group = , DNS name = itg-soatrainsvr.mbtc.mgc.local
2014-07-22 14:05:30:053 928 8e0 PT Server URL = http://mtp-wsus2/SimpleAuthWebService/SimpleAuth.asmx
2014-07-22 14:05:35:630 928 8e0 PT +++++++++++ PT: Synchronizing extended update info +++++++++++
2014-07-22 14:05:35:630 928 8e0 PT + ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, Server URL = http://mtp-wsus2/ClientWebService/client.asmx
2014-07-22 14:05:36:411 928 8e0 Agent * Found 0 updates and 68 categories in search; evaluated appl. rules of 503 out of 777 deployed entities
2014-07-22 14:05:36:411 928 8e0 Agent *********
2014-07-22 14:05:36:411 928 8e0 Agent ** END ** Agent: Finding updates [CallerId = AutomaticUpdates]
2014-07-22 14:05:36:411 928 8e0 Agent *************
2014-07-22 14:05:36:411 928 1360 AU >>## RESUMED ## AU: Search for updates [CallId = {CC67CC44-7DFB-49DE-AA83-8D6A7995ABFA}]
2014-07-22 14:05:36:411 928 1360 AU # 0 updates detected
2014-07-22 14:05:36:411 928 1360 AU #########
2014-07-22 14:05:36:411 928 1360 AU ## END ## AU: Search for updates [CallId = {CC67CC44-7DFB-49DE-AA83-8D6A7995ABFA}]
2014-07-22 14:05:36:411 928 1360 AU #############
2014-07-22 14:05:36:411 928 1360 AU Successfully wrote event for AU health state:0
2014-07-22 14:05:36:411 928 1360 AU Featured notifications is disabled.
2014-07-22 14:05:36:411 928 1360 AU AU setting next detection timeout to 2014-07-22 10:01:01
2014-07-22 14:05:36:411 928 1360 AU Successfully wrote event for AU health state:0
2014-07-22 14:05:36:411 928 1360 AU Successfully wrote event for AU health state:0
2014-07-22 14:05:41:410 928 8e0 Report REPORT EVENT: {6A2B180E-A95F-42F7-B775-5750DFFD6ECD} 2014-07-22 14:05:36:411+0800 1
147 101 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Software Synchronization Windows
Update Client successfully detected 0 updates.
2014-07-22 14:05:41:410 928 8e0 Report REPORT EVENT: {83041427-693D-4A42-AED0-E8E7BFB8E7E3} 2014-07-22 14:05:36:411+0800 1
156 101 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Pre-Deployment Check Reporting
client status.
2014-07-22 14:05:41:410 928 8e0 Report CWERReporter finishing event handling. (00000000)No Service Pack 1 installed. Does this mean that no updates will be detected if SP1 is not installed? thanks
That's exactly what that means!
Updates have not been available for Windows Server 2008 R2 *RTM* systems since April, 2013.
http://support.microsoft.com/lifecycle/?p1=14134
Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
SolarWinds Head Geek
Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
http://www.solarwinds.com/gotmicrosoft
The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds. -
Compiling files with the 'package'-statement
Hi,
I have a problem compiling files that uses the 'package'-statement:
I have 2 files ClassA.java and ClassB.java. ClassA uses objects of type ClassB. When I compile ClassA.java the compiler also automatically compiles ClassB.java. No problem so far.
But when I add "package mypackage" to ClassA.java and ClassB.java and then try to compile ClassA.java with the command "javac -d . ClassA.java" I get the compile-error "Class mypackage.ClassB not found". This would mean that I would have to compile all my files separately?
Can anybody tell me what I am doing wrong?
Thx,
JanI was still working on it, but I think I have it now :-)
Let me try to summarize what I think/hope that I understand:
I have the following files in package mypackage:
C:\src\mypackage\ClassA.java
C:\src\mypackage\ClassB.java
with ClassA using ClassB.
I want to compile them into C:\classes\mypackage\ClassA.class and C:\classes\mypackage\ClassB.class
I change directory to C:\classes and then give the command
>javac -d . ..\src\mypackage\ClassA.java
This didn't work at first because my classpath wasn't set correctly. To make it work I had to add C:\src to my classpath. Which surprised me a little because I thought that the classpath was only used to find *.class files and not by javac to find *.java files?
If anybody has something to add to this, please feel free to do so.
Jan -
I have a yoga 2 13.My laptop does not detect any change of modes i.e it does not activate tent/theatre/tablet.Is there any solution for it or is it a manufacture defect since i was facing the problem from the beginning.Please suggest.
Try pressing the rotation lock buttons.
Also, install my yoga patch. If it detects slate/laptop mode, it is a software problem, not a hardware problem.
indest wrote:
RC8: http://alltechtalk.net/Yoga_Patch.exe
Just an FYI, this is a RC, not the final product.
As always, use at your own risk.
Please report any/all bugs
Change log:
RC8.1 Fixed the notification bug, when the screen was resized; ALT + L hotkey activates the Lock.
RC8: Fixed Lock Password bug, Fixed Lock Siren Bug, Auto max audio upon Lock start, Blocked Muting/Volume down on trigger) when Lock is activated; Added BT Toggle Hotkey Alt+B (thank miru)
RC7: Added "Yoga Lock" to the program (via tray menu).*****
RC6: Removed Battery info to eliminate redundancy with windows app; Refined System Up-time code; Added Estimate Usage Cost (Eco-Friendly initiative)
RC5: Added Power Plan changer to the trey menu; Added Battery Info, Bug Fixes
RC4: Update detector/downloader; Fixed "Disable Touchscreen on Boot" bug, cleaned up the Settings app; added quick resolution buttons to the tray menu.
RC3: Added a Disable Touchscreen on Boot option; Fixed spelling errors.
RC2: Hopefully fixed the Slate Mode Notification Bug; Auto-Disable Touchscreen, if Touchscreen was disabled before slate mode
RC1: Notification bug fix; changed the path of the trigger file to AppData; made an installer
V. 0.5.1 Added DPI support
V. 0.5: Added a "Close" button disabler (the button next to the volume up button.... this addition prevents accidental program closer); Modified the settings apps; Improved Notification Bar; Removed Tooltips (replaced with Notification Bar)
V. 0.4: Added Notification handler for Slate Mode/Laptop Mode; Modified the settings apps; Added tray menu; Removed the Alt + X close hotkey, since try menu was added; Fixed minor bugs
V. 0.3: Added Power Plan Toggle on Power State change; Added a Settings App; Added switches to the Patch
V. 0.2: Added Trackpad Fix****
V. 0.1: Touchscreen Toggle
****The trackpad fix only works with generic synaptic drivers. To install the latest driver (17.0.19), please do the following:
1. Disable signature enforcement: https://www.youtube.com/watch?v=NM1MN8QZhnk
2. Install the synaptic driver: 17.0.19
3. Install the aforementioned patch
Yoga Lock Description:
Ever wanted to go to the bathroom at Starbuck or in the Library? Afraid to leave your laptop behind? If so, this Lock was made for you.
Disclaimer: I shall not be held liable for any stolen property!!! As always use at your own risk and please use your brain!
Once activated the lock has the following potential:
Covers your entire screen.
Blocks perpetrators from accessing your desktop.
Prevents USB drives from being stolen, via Siren Deterrent.
Helps deter thieves from taking your laptop.
What can trigger the Lock:
The slightest mouse movement.
Removal of a USB drive.
Attempted power down of the computer (future goal is to suspend all attempts of powering down).
Change in AC status (i.e. unplugging the computer).
When triggered, the lock has the following potential:
Take a picture of the person who triggered the lock and email the picture to you (passwords are encrypted).
Loud siren is played.
Activation of any script you write. This essentially opens this feature to endless possibilities. Currently, I utilize this feature to report my computer as stolen to the prey-project's control panel (this script is not fully functional and will not be packaged with this application). -
Backpac: A package state snapshot and restore tool for Arch Linux
backpac:
A package state snapshot and restore tool for Arch Linux with config file save/restore support.
https://aur.archlinux.org/packages.php?ID=52957
https://github.com/altercation/backpac (see readme on the github repository for more information)
Summary & Features
It's a common method of setting up a single system: take some notes about what packages you've installed, what files you've modified.
Backpac creates those notes for you and helps back up important configuration files. Specifically, backpac does the following:
maintains a list of installed groups (based on 80% of group packages being installed)
maintains a list of packages (including official and aur packages, listed separately)
maintains a list of files (manually created)
backs up key config files as detailed in the files list you create
The package, group and files lists along with the snapshot config files allows system state to be easily committed to version control such as git.
Backpac can also use these lists to install packages and files. Essentially, then, backpac takes a snapshot of your system and can recreate that state from the files and lists it archives.
Use Cases
Ongoing system state backup to github
Quick install of new system from existing backpac config
Conform current system to given state in backpac config
Backpac is a very, very lightweight way of saving and restoring system state.
It's not intended for rolling out and maintaining multiple similar systems, it's designed to assist individual users in the maintainance of their own Arch Linux box.
Status
Alpha, release for testing among those interested. Passing all tests right now but will continue to rework and refine. Bug reports needed.
Why?
There are a lot of 'big-iron' solutions to maintaining, backing up and restoring system state. Setting these up for a single system or a handful of personal systems has always seemed like overkill.
There are also some existing pacman list making utilities around, but most of them seem to list either all packages or don't separate the official and aur packages the way I wanted. Some detect group install state, some don't. I wanted all these features in backpac.
Finally, whatever tool I use, I'd like it to be simple (c.f. the Arch Way). Lists that are produced should be human readable, human maintainable and not different from what I'm using in non-automated form. Backpac fulfills these requirements.
Regarding files, I wanted to be able to backup arbitrary system files to a git repository. Tools like etckeeper are interesting but non /etc files in that case aren't backed up (without some link trickery) and there isn't any automatic integration with pacman, so there is no current advantage to using a tool like that. I also like making an explicit list of files to snapshot.
Sample Output
This is the command line report. Additionally, backpac saves this information to the backpac groups, packages and files lists and the files snapshot directory.
$ backpac -Qf
backpac
(-b) Backups ON; Files will be saved in place with backup suffix.
-f Force mode ON; No prompts presented (CAUTION).
(-F) Full Force mode OFF; Prompt displayed before script runs.
(-g) Suppress group check OFF; Groups will be checked for currency.
(-h) Display option and usage summary.
(-p) Default backpac: /home/es/.config/backpac/tau.
-Q Simple Query ON; Report shown; no changes made to system.
(-R) Auto-Remove OFF; Remove/Uninstall action default to NO.
(-S) System update OFF; No system files will be updated.
(-U) backpac config update OFF; backpac files will not be updated.
Sourcing from backpac config directory: /home/es/.config/backpac/tau
Initializing.................Done
GROUPS
============================================================================
/home/es/.config/backpac/tau/groups
GROUPS UP TO DATE: group listed in backpac and >80% local install:
base base-devel xfce4 xorg xorg-apps xorg-drivers xorg-fonts
GROUP PACKAGES; MISSING?: group member packages not installed:
(base: nano)
(xfce4: thunar xfdesktop)
PACKAGES
============================================================================
/home/es/.config/backpac/tau/packages
PACKAGES UP TO DATE: packages listed in backpac also installed on system:
acpi acpid acpitool aif alsa-utils augeas cowsay cpufrequtils curl dialog
firefox gamin git ifplugd iw mesa mesa-demos mutt netcfg openssh rfkill
rsync rxvt-unicode sudo terminus-font vim wpa_actiond wpa_supplicant_gui
xmobar xorg-server-utils xorg-twm xorg-utils xorg-xclock xorg-xinit xterm
yacpi yajl youtube-dl zsh
AUR UP TO DATE: aur packages listed in backpac also installed on system:
flashplugin-beta freetype2-git-infinality git-annex haskell-json
package-query-git packer wpa_auto xmonad-contrib-darcs xmonad-darcs
AUR NOT IN backpac: installed aur packages not listed in backpac config:
yaourt-git
FILES
============================================================================
/home/es/.config/backpac/tau/files
MATCHES ON SYSTEM/CONFIG:
/boot/grub/menu.lst
/etc/acpi/handler.sh
/etc/rc.conf
/etc/rc.localfirecat53 wrote:I think your plan for handling an AUR_HELPER is good. If AUR_HELPER is defined by the user, then either you might need a list of major AUR helpers and their command line switches so you can pick the correct switch for what needs to be done (most use some variation of -S for installing, but not all), or have the user define the correct switch(es) somehow for their chosen AUR helper.
That's a good idea. I'll add that to my AUR refactoring todo.
I also found directory tracking to be a weakness in other dotfile managers that I tried. I think you would definitely have to recursively list out the contents of a tracked directory and deal with each file individually. Wildcard support would be nice...I just haven't personally found a use case for it yet.
I've been thinking that I could just add the directory and scan through it for any non-default attribute files. If those are found then they get automatically added to the files list. That's pretty close to what etckeeper does.
Edit: I just compiled the dev version and removed my comments for already fixed things...sorry!
The master branch should have those fixes as well, but I didn't update the version number in the package build. I'll have to do that.
1. Still apparently didn't handle the escaped space for this item: (the file does exist on my system)
Ok, good to know. This wildcard directory business will require some new code and refactoring so I'll also rework my filenames handling.
2. Suggestion: you should make that awesome README into a man page!
I was working on one (the pkgbuild has a commented out line for the man page) but I had to leave it for later. Definitely want a man page. Once this stabilizes and I'm sure there aren't any big structural changes, I'll convert it to man format.
3. Suggestion: add the word 'dotfile' into your description somewhere on this page, the github page, and in the package description so people looking for dotfile managers will find it. You could also consider modularizing the script into a dotfile manager and the package manager, so people on other distros could take advantage of your dotfile management scheme.
I actually have a different script for dotfile management that doesn't touch packages, but there is definitely overlap with this one. That script isn't released yet, though, and if people find this useful for dotfile management that's great. I'll add that in.
4. Suggestion: since -Q is a read-only operation, why not just make it run with -f automatically to avoid the prompt?
Originally, running backpac without any command line options produced the Query output. I was concerned that since it is a utility that can potentially overwrite system files, it is important to give users a clear statement prior to execution about what will be done. Since the Query output is essentially the same as the Update and System reports in format and content, I wanted to be explicit about the Query being a passive no-change operation. The current command line options aren't set in stone though. If you feel strongly about it being different, let me know.
Long answer to a short question
5. Another suggestion: any thought to providing some sort of 'scrub' function to remove private information from the stored files if desired? This would be cool for publishing public dotfiles to github. Perhaps a credentials file (I did this with python for my own configs). Probably detecting email addresses and passwords without a scrub file would be rather difficult because dotfiles come in so many flavors.
Yes, absolutely. In fact, if you look at the lib/local file (pretty sure it's in both master and dev branches in this state) you'll see some references to a sanitize function. The idea there is that the user will list out bash associative arrays like this:
SANITIZE_WPA_=(
[FILE]='/etc/wpa_supplicant.conf'
[CMD]='sed s/expungepattern/sanitizedoutput/g'
Question: am I missing an obvious option to remove a file from the files.d directory if I delete it from the files list? Or do I have to delete it manually? It might be helpful to add a section to the README on how to update and delete dotfiles from being tracked, and also a more detailed description of what the -b option does (and what is actually created when it's not used).
You are only missing the function I didn't finish. There should be either dummy code or a TODO in the backpac main script referencing garbage collection, which isn't difficult but I just haven't finished it. The idea being another loop of "hey I found these old files in your files.d, mind if I delete them?" It's on my list and I'll try to get it in asap.
And finally, just out of curiosity, why did you choose to actually copy the files instead of symlink like so many other dotfile managers do?
git not following symlinks, hardlinks also out for permissions issues (git wouldn't be able to read the files, change them, etc.)
I definitely would prefer to not make an entire copy of the file, but I haven't come up with a better option. Shout with ideas, though. Also, if there is a way around the link issues I noted above, let me know. I don't see one but that doesn't mean it's not there.
edit: I think a Seattle area Arch meetup would be cool! Perhaps coffee someplace? Bellevue? U-district? Anyone else? BYOPOL (bring your own pimped out laptop)
A general meetup sounds good. I was also thinking it would be fun to do a mini archcon with some demos. -
DVD-Audio and "can not detect sound blaster card" with Audigy2 Va
I recently purchased an "Audigy2 Value" card from an eBay user, because I recently purchased some DVD-Audio discs. I downloaded the Audigy2 drivers from the website, and the Creative MediaSource player. 5. Surround sound worked fine for me, though sometimes the driver would reset to the default 2/2. sound and I would have to re-select 5. sound, which was annoying.
Then I was completely unable to get the MediaSource player to recognise my DVD-Audio discs, and the EAX functionality of the player would never work. The EAX logo never appeared in the player. When I tried installing the MediaSource player from an install disc, I got the message "can not detect sound blaster card". Then I discovered the world of EEPROM problems.
I followed advice from some other threads, including using ScanPCI to get information on the card, which yielded the following result.
When installed on my machine (Asus A7A266 motherboard) the ScanPCI reads:
Vendor 02h Creative Labs
Device 0008h Unknown
Command 0005h (I/O Access, BusMaster)
Status 0290h (Has Capabilities List, Supports Back-To-Back Trans., Medium Timing)
Revision 00h, Header Type 00h, Bus Latency 20h
Self test 00h (Self test not supported)
PCI Class Multimedia, type Audio
Subsystem ID 0002h Unknown
Subsystem Vendor 02h Creative Labs
Address 0 is an I/O Port : 0000A800h
System IRQ 5, INT# A
New Capabilities List Information :
Power Management Capabilities
Supports power state D2
Supports power state D
Current Power State : D0 (Device fully-operational, no power saving)
On another machine (specs unknown, it's a "house pc") I got this (with 3 entries!):
Vendor 02h Creative Labs
Device 0002h EMU0K Audio Chipset (SB Li've!)
Command 0004h (BusMaster)
Status 0290h (Has Capabilities List, Supports Back-To-Back Trans., Medium Timing)
Revision 04h, Header Type 80h, Bus Latency 20h
Self test 00h (Self test not supported)
PCI Class Multimedia, type Audio
Subsystem ID 002002h CT4850 SBLi've! Value
Subsystem Vendor 02h Creative Labs
Address 0 is an I/O Port : 00009000h
New Capabilities List Information :
Power Management Capabilities
Current Power State : D0 (Device fully-operational, no power saving)
Vendor 02h Creative Labs
Device 7002h PCI Gameport Joystick
Command 0004h (BusMaster)
Status 0290h (Has Capabilities List, Supports Back-To-Back Trans., Medium Timing)
Revision 0h, Header Type 80h, Bus Latency 20h
Self test 00h (Self test not supported)
PCI Class Input, type Other
Subsystem ID 002002h PCI Gameport Joystick
Subsystem Vendor 02h Creative Labs
Address 0 is an I/O Port : 00008800h
New Capabilities List Information :
Power Management Capabilities
Current Power State : D0 (Device fully-operational, no power saving)
Vendor 02h Creative Labs
Device 0008h Unknown
Command 0004h (BusMaster)
Status 0290h (Has Capabilities List, Supports Back-To-Back Trans., Medium Timing)
Revision 00h, Header Type 00h, Bus Latency 20h
Self test 00h (Self test not supported)
PCI Class Multimedia, type Audio
Subsystem ID 0002h PCI Gameport Joystick (Guess Only!)
Subsystem Vendor 02h Creative Labs
Address 0 is an I/O Port : 00008400h
New Capabilities List Information :
Power Management Capabilities
Supports power state D2
Supports power state D
Current Power State : D0 (Device fully-operational, no power saving)
(Just a note: above you can clearly see that it does not say I have an Audigy, it thinks it is a SBLi've. Is this normal? The card IS an Audigy 2, it says so on the card.)
So, I put the card back on my own PC, thinking this has fixed my EEPROM, but I get the same as before. Subsystem ID 0002h. And of course the install software will not detect the card.
I realise that I could go back to using the web drivers, but this still leaves me with MediaSource not recognising the card and not enabling DVD-Audio or EAX, which is why I bought the card in the first place!
I have heard that the VIA chipset is possibly to blame for the EEPROM problems on the Audigy cards, and certainly it seems like it is not permanent, since it gave different information on the other PC. So now I am seriously considering getting a new motherboard.
Do other motherboards cause this same problem? I don't want to buy another board and get the same trouble. All I want is to be able to install my MediaSource and have it recognise my card so I can listen to my DVD-Audio discs.
Cheers,
Russ.Figured out my problem. Installing the drivers from the web to begin with was a bad idea. They just did not work properly with the card.
The "card not found" problem has gone as well, after installing it in another PC. I am also using the proper install disc now, as the other one I was using turned out to not be for the Audigy 2 value after all, but was an Audigy 2 install disc. That easily explains the "Card not found" error. The differing results from the ScanPCI program are still bizarre, though.
Thanks to all of the people on the forum who posted information in other threads to help me deal with this issue. For now I am sticking with the original drivers from the disc and I am not upgrading. -
System Update 5 not detecting drivers for M92P (2988-A6U)
I've installed our corporate image (Windows 7 SP1 - 64bit) which has an older network driver installed. 11.12.36.0
The latest driver from Lenovo's web site is 11.15.16.0 which installs without a problem.
So i re-imaged again with the older driver 11.12.36.0 and figured that the easiest way to update the driver(s) would be to use System Update 5.
To my surprise when i ran system update it returns the following:
"No packages applicable to your system were found"
No i know i could just fix the image and install the driver during the image process but I want to use System Update.
Does anybody have a clue as to why System Update is not detecting the needed drivers?
Has anybody had any success with running System Update 5 on a Windows 7 sp1 64-bit machines?
Thanks-Unfortunately right now it appears that the 11.15.16.0 version of that driver does not have TVSU support yet. Once the content team completes the process of creating and testing the package through TVSU, it will be published for customers. I'll try to find out where this one falls in the queue. Sorry for the inconvenience.
-
Web-cam is not detected yet installed
Hi!
I m doing a program tat can capture movie from available video capturing devices, i hav installed web-cam, but while searching for the devices available(Detecting the device) , it is not identifing the device. And still if i m giving direct the device info to the program("vfj//0")then movie is captured from web-cam.
Program is listed below which is not detecting the web-cam:
public void setMainSource(){
setProcessing(false);
VideoFormat vidformat = new VideoFormat(VideoFormat.YUV);
Vector devices = CaptureDeviceManager.getDeviceList(vidformat);
CaptureDeviceInfo di = null;
if (devices.size() > 0) di = (CaptureDeviceInfo) devices.elementAt(0);
else {
/* I got exception here */
JOptionPane.showMessageDialog(parent,
"Your camera is not connected", "No webcam found", JOptionPane.WARNING_MESSAGE);
return;
try {
ml = di.getLocator();
setMainCamSource(Manager.createDataSource(ml));
} catch (Exception e) {
JOptionPane.showMessageDialog(parent,
"Exception locating media: " + e.getMessage(), "Error", JOptionPane.WARNING_MESSAGE);
return;
Output:
Web cam not found....
So wht shd be the problem , nyone please explain the problem how to overcome from it.
Thank youFirst of all sorry for spelling mistake i write ("vfj//0") rather then "vfw://0"
Yeh! i read your code n your code is also giving the same error
like
Web cam not detected/installed(like something this).
But still i hav attached cam n capturing movie from the code shown below:
//This will not detect the webcam n directly captures the movie, try it out so now wht to do so tat will detect the webcam properly....
CODE:
import javax.media.*;
import javax.media.util.*;
import javax.media.format.*;
import javax.swing.*;
import javax.swing.event.*;
import java.awt.*;
import java.awt.event.*;
import javax.media.control.*;
class testing extends JFrame implements ControllerListener,ActionListener
//Variables for gui
public JButton play=new JButton("Play");
public JButton stop=new JButton("Stop");
public JPanel p1=new JPanel();
public JPanel p2=new JPanel();
Container c;
//Variables for videocapturing
boolean stateTransitionOK = true;
Object waitSync = new Object();
Processor p;
///Variables required to store the movie
DataSink sink;
MediaLocator dest = new MediaLocator("save_video.wav");
///methods
public testing()
super("Video Capture Demo");
setupvideocapture();
setupgui();
public void setupgui()
c.add(play);
c.add(stop);
addWindowListener(new WindowHandler());
stop.addActionListener(this);
play.addActionListener(this);
setSize(350,350);
setVisible(true);
show();
public void actionPerformed(ActionEvent ae)
String str;
str=ae.getActionCommand();
if(str=="Play")
try
//Before starting capturing store the movie to the HDD
p.start();
sink = Manager.createDataSink(p.getDataOutput(), dest);
sink.open();
sink.start();
catch(Exception e)
else if(str=="Stop")
try
// sink.stop();
p.stop();
catch(Exception e)
public void setupvideocapture()
c=getContentPane();
c.setLayout(new FlowLayout());
try
p = Manager.createProcessor(new MediaLocator("vfw://0"));
p.addControllerListener(this);
p.configure();
waitForState(p.Configured);
p.setContentDescriptor(null);
p.prefetch();
waitForState(p.Prefetched);
c.add(p.getVisualComponent());
///Intializing the saving procedure
catch(Exception e)
System.out.println(e);
public void controllerUpdate(ControllerEvent evt)
if (evt instanceof ConfigureCompleteEvent || evt instanceof RealizeCompleteEvent || evt instanceof PrefetchCompleteEvent)
synchronized (waitSync)
stateTransitionOK = true;
waitSync.notifyAll();
else if (evt instanceof ResourceUnavailableEvent)
synchronized (waitSync)
System.out.println("ResourceUnavailable");
stateTransitionOK = false;
waitSync.notifyAll();
else if (evt instanceof EndOfMediaEvent)
p.close();
System.exit(0);
boolean waitForState(int state)
synchronized (waitSync)
try
while (p.getState() != state && stateTransitionOK)
waitSync.wait();
catch (Exception e) {}
return stateTransitionOK;
//Entry point
public static void main(String args[])
testing t=new testing();
class WindowHandler extends WindowAdapter
public void windowClosing(WindowEvent e)
System.exit(0);
This is working properly........ so plz if other option plz notify me.
Thank you for helping me....... -
Situation:
SSIS Package designed in SQL Server 2012 - SQL Server Data Tools
Windows 7 - 64 bit.
The package (32 bit) extracts data from a SQL Server db to an Excel Output file, via an OLE DB connection.
It uses 3 package variables:
*) SQLCommand (String) to specify the SQL Statement to be executed by the package
Property path: \Package.Variables[User::ExcelOutputFile].Properties[Value]
Value: f:\Output Data.xls
*) EXCELOutputFIle (String) to specify path and filename of the Excel output file
Property path: \Package.Variables[User::SQLCommand].Properties[Value]
Value: select * from CartOrder
*) VarObjectDataSet (Object) to hold the data returned by SQL Server)
Property path: \Package.Variables[User::VarObjectDataSet].Properties[Value]
Value: System.Object
It consists out of 2 components:
*) Execute SQL Task: executes the SQL Statement passed on via a package variable. The resultng rows are stored in the package variable VarObjectDataSet
*) Script Task: creates the physical output file and iterates VarObjectDataSet to populate the Excel file.
Outcome and issue:The package runs perfectly fine both in SQL Server Data Tools itself and in DTEXECUI.
However, whenever I run it via SQL Server Agent (with 32 bit runtime option set), it returns the errror message below.
This package contains 3 package variables but the error stating that a package variable can not be set, pops up for the VarObjectDataSet only. This makes me wonder if it is uberhaupt possible to set the value of a package variable
of type Object.
Can anybody help me on this please ?
Message
Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility Version 11.0.2100.60 for 32-bit Copyright (C) Microsoft Corporation. All rights reserved. Started: 6:40:20 PM DTExec: Could
not set \Package.Variables[User::VarObjectDataSet].Properties[Value] value to System.Object. Started: 6:40:20 PM Finished: 6:40:21 PM Elapsed: 0.281 seconds. The package execution failed. The step failed.
Thank you very much in advance
JurgenHi Visakh,
thank you for your reply.
So, judging by your reply, not all package variables used inside a package need to be set a value for when run in DTEXEC ?
I already tried that but my package ended up in error (something to do with "... invocation ...." and that error is anything but clearly documented. Judging by the error message itself, it looks like it could be just about anything. that is why I asked my
first question about the object type package variable.
Now, I will remove it from the 'set values' list and try another go cracking the unclear error-message " ... invocation ...". Does an error message about " ... invocation ..." ring any bells, now that we are talking about it here ?
Thx in advance
Jurgen
Yes exactly
You need to set values only forthem which needs to be controlled from outside the package
Any variable which gets its value through expression set inside package or through a query inside execute sql task/script task can be ignored from DTExec
Ok I've seen the invocation error mostly inside script task. This may be because some error inside script written in script task. If it appeared after you removed the variable then it may because some reference of variable existing within script task.
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
ITunes WILL NOT detect my iPhone 4 - Tried everything I can think of!
Hi everyone
I am in desperate need of some help.
I plugged my iPhone into my PC today and iTunes wouldn't detect it, no matter what I tried. All iTunes would do was freeze for 5 or so minutes and then return the error "iTunes cannot read the contents of this iPhone, please restore etc."
I have come across this error before but have gotten around it by restarting iTunes or unplugging and replugging in the iPhone. This time I couldn't get past the error.
So eventually I became frustrated with the fact and decided to restore my iPhone. BIG mistake as once it had restored it needed reactivation and iTunes still would not detect it no matter what I tried.
So I took it to my brothers PC, had him install iTunes (the same version as me, the latest 64bit version) and it had no problem detecting and reactivating the iPhone.
Then the problem became that I had my iPhone activated but my own iTunes would still not detect it so I've lost all my contacts/apps etc. without the possibility of restoring from the last backup.
So my iPhone, in it's current state is if it was just activated, completely empty otherwise.
Oddly enough, Windows has no issue detecting the iPhone with autorun popping up asking me to import photos etc. every time so this leads me to believe there's an underlying issue with iTunes which is weird as I have not changed my iTunes at all in the past week and had no issues syncing etc. a few days ago.
THINGS I'VE TRIED:
- Reinstalling iTunes (numerous times)
- Using different versions of iTunes
- The various different fixes found via Google
- 6 different USB ports
- 4 different USB cables
THINGS I FOUND WEIRD:
- Girlfriends 3GS doesn't get detected in iTunes either but Windows has no issue
- The fact it detected on another PC
Win7 Pro x64 and my rig is pretty high spec so I can't see there being an issue there.
Let me know if there's anything you need to know.
All suggestions welcome and appreciated.I've had this issue before as well. I think it has to do with 64bit Win 7. Most times I would connect my iPhone to it, it would automatically load iTunes, but it would just freeze and do nothing. I've since reinstalled my OS to 32bit and don't seem to have as many problems.
You can try this... seemed to get it connected for me when I had issues. Not sure if this is how you attempted to fix it before, so I'll say it just in case.
Plug iPhone in and let it load iTunes. When it freezes...
Unplug phone, close iTunes. Open windows Services panel, and do the following in this order:
Stop the "iPod Service"
Stop the "Apple Mobile Device" service
Wait a few seconds, then Start the "Apple Mobile Device" service. Leave the other service stopped.
Plug in the iPhone. Hopefully works after this. -
HP installer will not detect networked LaserJet MFP M1536dnf just on some PCs
Hello,
this printer/scanner was working fine (printer still works fine via a Windows print server). Then scanning (via network) stopped working on one PC (Windows 7).
Tried to uninstall drivers / HP software and reboot. Then tried to install again - HP Installer will not detect printer on the network no matter what. I can ping the IP of this printer, access its web interface without any issues on the same PC. Tried specifying IP address in the installer - does not detect, the same issue with MAC address.
Had a Windows 8 machine with drivers / software installed on it, tested - scanning still worked fine on that PC. Tried to remove HP software to see if problem will appear. And it did! I cannot install the same software package which I still had in downloads - it will NOT detect the printer on network.
Upgraded printer firmware - no change, even though I don't expect this to be a printer issue as it worked fine until I have uninstalled software on this W8 machine.
Tried using HP Scan & Print doctor. That thing doesn't see printer/scanner installed and only suggest to download and install software which is not helpfull at all.
I also tried extracting HP installation files and finding *.inf files which could be used to add scanner via Windows directly, but haven't succeded with that (I would also be not sure how to specify network IP address in such a case anyway).
Any help is MUCH appreciated. We are kind of stuck...
Thanks!Hi,
Run some diagnostics and see if any issues are discovered.
There have been reported issues with the NVIDIA 650 with some of the HP PCs. Additionally, most models of the NVIDIA 650 require a 400 watt power supply as the minimum and some models require a PCI six (6) pin power connector which the 300 watt power supply in your PC is not provisioned.
There is a BIOS update posted for your PC so you might want to consider installing that update.
HP DV9700, t9300, Nvidia 8600, 4GB, Crucial C300 128GB SSD
HP Photosmart Premium C309G, HP Photosmart 6520
HP Touchpad, HP Chromebook 11
Custom i7-4770k,Z-87, 8GB, Vertex 3 SSD, Samsung EVO SSD, Corsair HX650,GTX 760
Custom i7-4790k,Z-97, 16GB, Vertex 3 SSD, Plextor M.2 SSD, Samsung EVO SSD, Corsair HX650, GTX 660TI
Windows 7/8 UEFI/Legacy mode, MBR/GPT -
Hard disk not detected- HP630 laptop
my HP630 just froze and comes up with one message, HDD not detected. I want to save all photos (data ) on the laptop if possible, so dont want to re-install Windows from CD booting without having an experts advice. if i conduct any tests (such as testing what is wrong with the hard disk or the state of he hard disc) the test freezes midway.Tried booting through USB, but the BIOS does not have that option. Please can anyone help? Many thanks.
if any more information is needed please let me knowHi,
I would suggest removing the HDD from the notebook, place it in an external caddy - an example is on the link below - connect this to another PC and see if you can access and back-up your files.
External HDD Caddy 2.5".
Regards,
DP-K
****Click the White thumb to say thanks****
****Please mark Accept As Solution if it solves your problem****
****I don't work for HP****
Microsoft MVP - Windows Experience -
Tecra Z50-A-11V: New SSD but Win 8.1 does not detect it
We bought a Crucial M550 256GB disk and want to replace in a Toshiba Tecra Z50-Av1
We do not want to make any transfer of data or cloned.
We want to do a clean install with Windows 8.1
The BIOS recognizes the SSD
But when you install Windows 8.1 does not detect any disk connected to the unit and requested additional drivers. Windows not detect drive
https://www.dropbox.com/s/mlvk6v3lxzi1rrh/2014-05-04%2009.47.18.jpg
https://www.dropbox.com/s/fr2eo5l9xonaoln/2014-05-04%2009.48.59.jpg
https://www.dropbox.com/s/8usxog8wm06funr/2014-05-04%2010.06.09.jpg
i too test with lasted version of this driver (old F6 in boot to locate hdd driver)
https://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=23496&lang=eng&wapk w=f6flpy-x64.zip
and with toshiba package
http://support.toshiba.com/support/viewContentDetail?contentId=4004211
you can see than i have 3.20 version of BIOS. interestingly I see that the last one is the Toshiba has released version 3.1
But always the drive CRUCIAL is not reconized by the boot instalation of windows
The problem is similar with ubunto, kubuntu, .... the drive is detected with the BIOS but not for the OS.
any help?
ThanksHi
Did you solve this issue?
Could you install the Windows 8.1 system on this SSD drive?
I think the additional driver installation while setup procedure isnt necessary since Win 8.1 should already contain the essential drivers.
From my point of few there could be an compatibility issue (maybe SSD firmware update would solve this).
How about the usage of other SSD drives? Do you have the same problem using other SSD drives from other manufactures?
Feedback would be appreciated. -
Lenovo G710 Battery not detected in Windows 8.1 64 bit
Hi there,
I have the Lenovo G710. I haven't used the battery for a while now and I use the laptop by connecting the powerlead directly to mains power outlet. I decided today to plug the battery in. The battery indicator lights up.
Windows 8.1 does not detect the battery and it states "No Battery Detected".
What i have tried:
I have installed all the latest Windows Updates and it still doesnt detect the battery.
I even installed the latest chipset drivers for this laptop and it still doesnt detect it. The only update i cannot install is the BIOS update because it states that "Battery Not Detected".
I uninstalled the following from Device Manager: Microsoft ACPI compliant Control Method Battery. Switched off the laptopRemoved the battery packRemoved the AC power lead from the laptopHeld the power button for 30 seconds to drain the batteryReconnect the battery packReconnect the AC power leadTurn the laptop on.Battery not detected.
Can anyone assist what i could do next please?bump!
Maybe you are looking for
-
Question: why isn't how to delete a file available.
How come you have to search for the information on how to delete a file from Adobe Reader. This should be in the instructions on how to use with how to download. Does anyone agree?
-
I see many discussion about transferring between two different computers but not one with just one computer. My husband and I use one Macbook, have two iTunes accounts and want to share some recently imported music.
-
How can I print only the attachment without the email content
How can I print only the attachment without the email content. Every time I send to print, It prints the email itself with the attachment- can I cancel that?
-
Get to know which one is active Stroke or Fill for the document.
Is there any way to find out which one, between stroke or fill, is active for a particular document using illustrator scripting? I have to apply color on the selected object accordingly. If fill is active then i use obj.fill.color = 0xff00ff; and, if
-
Hi all, I want to stop a loop which is not stopping. Is there any system variables in workflow, by setting that we can stop the workflow. Or please give me any other solution to stop it programattically,. Regards, Rubin Edited by: Rubin Luke on Sep 8