• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. tatanas
    3. Posts
    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 51
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Fog client build

      @sebastian-roth Here is the output of build process :

      PS C:\fog-client> C:\fog-client\build.ps1
      Restoring Packages
      C:\fog-client\.nuget\NuGet.exe : Unable to find version '2.6.4' of package 'NUnit.Runners'.
      At line:1 char:1
      + C:\fog-client\.nuget\NuGet.exe restore
      + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : NotSpecified: (Unable to find ...NUnit.Runners'.:String) [], RemoteException
          + FullyQualifiedErrorId : NativeCommandError
       
      Cleaning Projects
      Microsoft (R) Build Engine, version 14.0.23107.0
      Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
      
      Microsoft (R) Build Engine, version 14.0.23107.0
      Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
      
      Microsoft (R) Build Engine, version 14.0.23107.0
      Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
      
      Building Solution
      Copying Theme to build
      Zipping Build for installer
      Copy-Item : Cannot find path 'C:\fog-client\bin\EngineIoClientDotNet.dll' because it does not exist.
      At C:\fog-client\build.ps1:126 char:2
      +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
      +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : ObjectNotFound: (C:\fog-client\b...lientDotNet.dll:String) [Copy-Item], ItemNotFoundException
          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
       
      Copy-Item : Cannot find path 'C:\fog-client\bin\FOGService.exe' because it does not exist.
      At C:\fog-client\build.ps1:126 char:2
      +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
      +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\FOGService.exe:String) [Copy-Item], ItemNotFoundException
          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
       
      Copy-Item : Cannot find path 'C:\fog-client\bin\FOGService.exe.config' because it does not exist.
      At C:\fog-client\build.ps1:126 char:2
      +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
      +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\FOGService.exe.config:String) [Copy-Item], ItemNotFoundException
          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
       
      Copy-Item : Cannot find path 'C:\fog-client\bin\FOGUserService.exe' because it does not exist.
      At C:\fog-client\build.ps1:126 char:2
      +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
      +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\FOGUserService.exe:String) [Copy-Item], ItemNotFoundException
          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
       
      Copy-Item : Cannot find path 'C:\fog-client\bin\FOGUserService.exe.config' because it does not exist.
      At C:\fog-client\build.ps1:126 char:2
      +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
      +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : ObjectNotFound: (C:\fog-client\b...vice.exe.config:String) [Copy-Item], ItemNotFoundException
          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
       
      Copy-Item : Cannot find path 'C:\fog-client\bin\Modules.dll' because it does not exist.
      At C:\fog-client\build.ps1:126 char:2
      +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
      +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\Modules.dll:String) [Copy-Item], ItemNotFoundException
          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
       
      Copy-Item : Cannot find path 'C:\fog-client\bin\Modules.dll.config' because it does not exist.
      At C:\fog-client\build.ps1:126 char:2
      +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
      +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\Modules.dll.config:String) [Copy-Item], ItemNotFoundException
          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
       
      Copy-Item : Cannot find path 'C:\fog-client\bin\ProcessPrivileges.dll' because it does not exist.
      At C:\fog-client\build.ps1:126 char:2
      +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
      +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\ProcessPrivileges.dll:String) [Copy-Item], ItemNotFoundException
          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
       
      Copy-Item : Cannot find path 'C:\fog-client\bin\Quartz.dll' because it does not exist.
      At C:\fog-client\build.ps1:126 char:2
      +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
      +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\Quartz.dll:String) [Copy-Item], ItemNotFoundException
          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
       
      Copy-Item : Cannot find path 'C:\fog-client\bin\Common.Logging.dll' because it does not exist.
      At C:\fog-client\build.ps1:126 char:2
      +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
      +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\Common.Logging.dll:String) [Copy-Item], ItemNotFoundException
          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
       
      Copy-Item : Cannot find path 'C:\fog-client\bin\Common.Logging.Core.dll' because it does not exist.
      At C:\fog-client\build.ps1:126 char:2
      +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
      +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : ObjectNotFound: (C:\fog-client\b...ogging.Core.dll:String) [Copy-Item], ItemNotFoundException
          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
       
      Copy-Item : Cannot find path 'C:\fog-client\bin\ICSharpCode.SharpZipLib.dll' because it does not exist.
      At C:\fog-client\build.ps1:126 char:2
      +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
      +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : ObjectNotFound: (C:\fog-client\b...SharpZipLib.dll:String) [Copy-Item], ItemNotFoundException
          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
       
      Building MSI
      Copy-Item : Cannot find path 'C:\fog-client\bin\FOGService.msi' because it does not exist.
      At C:\fog-client\build.ps1:152 char:1
      + Copy-Item "$PSScriptRoot\bin\FOGService.msi" $InstallerMSI
      + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\FOGService.msi:String) [Copy-Item], ItemNotFoundException
          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
       
      Copy-Item : Cannot find path 'C:\fog-client\bin\FOGService.msi' because it does not exist.
      At C:\fog-client\build.ps1:153 char:1
      + Copy-Item "$PSScriptRoot\bin\FOGService.msi" "$PSScriptRoot\out\FOGSe ...
      + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\FOGService.msi:String) [Copy-Item], ItemNotFoundException
          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
       
      Building Smart Installer
      ILMerging Smart Installer
      An exception occurred during merging:
      ILMerge.Merge: Could not find the file 'C:\fog-client\bin\SmartInstaller.exe'.
         … ILMerging.ILMerge.Merge()
         … ILMerging.ILMerge.Main(String[] args)
      ILMerging Debugger
      An exception occurred during merging:
      ILMerge.Merge: Could not find the file 'C:\fog-client\bin\Debugger.exe'.
         … ILMerging.ILMerge.Merge()
         … ILMerging.ILMerge.Main(String[] args)
      ILMerging PrinterManagerHelper
      An exception occurred during merging:
      ILMerge.Merge: Could not find the file 'C:\fog-client\bin\PrinterManagerHelper.exe'.
         … ILMerging.ILMerge.Merge()
         … ILMerging.ILMerge.Main(String[] args)
      
      posted in Bug Reports
      T
      tatanas
    • RE: Unable to install printer

      @sebastian-roth I checked Windows event log (spooler log) and didn’t find anything regarding the printer installation.
      Thanks for your time.

      posted in Bug Reports
      T
      tatanas
    • RE: Unable to install printer

      @sebastian-roth We need detailed log of printui command result.
      The command in the client code is the same I have used to test from command line (test was ok), so it’s strange it doesn’t work.

      posted in Bug Reports
      T
      tatanas
    • Fog client build

      Hi,
      I would like to build my own debug fog client (printer installation problem) following the instructions of GitHub but i can’t get it to work.
      I don’t get the final .zip or .exe, just some files in the bin folder (no fogservice.exe, …)
      I’m using a Windows 7 computer (instructions are for Windows 7 OS).

      Are the instructions up to date ?

      posted in Bug Reports
      T
      tatanas
    • RE: Unable to install printer

      More details :
      I tried adding 2 Fog managed printers and the ports are created (IP_X.X.X.X with the associated IP) but not the printers.
      I would say the printui method (even if return code is 0) is not working properly.

      posted in Bug Reports
      T
      tatanas
    • RE: Unable to install printer

      I can understand “…already exists” but what does “… already configured” mean ?

      Here is a sample of the log when I try to install a printer which is not already installed on the host :

       22/09/2021 15:58 PrinterManager Adding printers
       22/09/2021 15:58 Printer Adding: B503-LASER (fog)
       22/09/2021 15:59 PrinterManager PrintUI return code = 0
       22/09/2021 15:59 PrinterManager Restarting spooler
      
      ...
      
       22/09/2021 16:02 PrinterManager Adding printers
       22/09/2021 16:02 PrinterManager B503-LASER (fog) has already been configured
      
      ...
      
       22/09/2021 16:04 PrinterManager Adding printers
       22/09/2021 16:04 PrinterManager B503-LASER (fog) has already been configured
      

      I you want, I can give you a remote access to this computer.

      posted in Bug Reports
      T
      tatanas
    • RE: Unable to install printer

      So it seems the list “_configuredPrinters” contains the printer that I want to install.
      Is it the host’s printers list configured through the fog server web ?
      And the “installedPrinters” list will be the printers already installed on the host ?

      posted in Bug Reports
      T
      tatanas
    • RE: Unable to install printer

      @sebastian-roth
      Don’t hesitate if you need help debugging.
      I’m using the module a lot and this bug is very frustating…

      @Matthieu-Jacquart
      The bug was there in 1.5.8 too and I think it wasn’t before.

      posted in Bug Reports
      T
      tatanas
    • RE: Unable to install printer

      I Updated Fog to 1.5.9. The problem is still the same.

      How Fog client checks if a printer is already installed ?

      posted in Bug Reports
      T
      tatanas
    • Unable to install printer

      Hi,

      First of all, I would like to thank all of you for your work.

      Now, let’s go straight to the point.
      We are using a fog server 1.5.8 and the printer module to install network printers.
      But since few months, we’ve got and error :
      … PrinterManager printer_name has already been configured
      The printer can’t be installed because the fog client believes it already was.

      The error appears on Win7 or Win10, with fog client 0.11.16 or 0.11.19 but not everywhere.
      For example, it can happen on 1 computer in a classroom of 20 identical (soft and hardware) computers.

      I tried this printui command on local host which works just fine :
      rundll32 printui.dll PrintUIEntry /if /b “Ricoh Printer” /f “\NAS_IP\applications\Imprimantes\RICOH\IMC3000\disk1\OEMSETUP.INF” /m “Generic PCL5 Printer Driver” /r “IP_192.168.0.20”

      Any idea ?

      posted in Bug Reports
      T
      tatanas
    • 1 / 1