oPB class 'TypeError' and CouldNotChangeDirectoryError

Moderator: pandel

Antworten
mb253400
Beiträge: 8
Registriert: 17 Apr 2024, 23:02

oPB class 'TypeError' and CouldNotChangeDirectoryError

Beitrag von mb253400 »

I'm trying to build a package on oPB that i have created using opsi-setup-detector. It's giving me the following errors. Here are the logs. It's trying to get a file from a wrong location. The /var/lib/workbench is in a Linux Server, however TS_INT path is there in the windows machine.

Code: Alles auswählen

2024-05-07, 17:32:12
opsi PackageBuilder version: 9.0.0
--------------------------------------------------------------------------------
<class 'TypeError'>: 
arguments did not match any overloaded call:
  move(self, a0: QPoint): argument 1 has unexpected type 'float'
  move(self, ax: int, ay: int): argument 1 has unexpected type 'float'
--------------------------------------------------------------------------------
  File "opb\gui\splash.py", line 148, in show_
    self._splash.move(hpos, vpos)
2024-05-07, 17:34:01
opsi PackageBuilder version: 9.0.0
--------------------------------------------------------------------------------
<class 'spur.errors.CouldNotChangeDirectoryError'>: 
Could not change directory to: /var/lib/opsi/workbench/TS_INT/eClinical/Staging/_OPSI_Instilation/OPSI_Packages/Workbench/openvpn-connect
Original error: b'bash: line 0: cd: /var/lib/opsi/workbench/TS_INT/eClinical/Staging/_OPSI_Instilation/OPSI_Packages/Workbench/openvpn-connect: No such file or directory\n\n'
--------------------------------------------------------------------------------
  File "opb\controller\main.py", line 496, in project_build
    self.do_build()
  File "opb\controller\base.py", line 297, in do_build
    self._do(opb.OpEnum.DO_BUILD, translate("baseController", "Build running..."), alt_destination=dest)
  File "opb\controller\base.py", line 200, in _do
    result = proc.run(jobtype, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "opb\core\processing.py", line 167, in run
    result = self._processAction(cmd, action, ret, split=False)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "opb\core\processing.py", line 990, in _processAction
    result = self.shell.run(
             ^^^^^^^^^^^^^^^
  File "spur\ssh.py", line 172, in run
  File "spur\ssh.py", line 204, in spawn
danny70437
Beiträge: 10
Registriert: 28 Dez 2011, 19:27

Re: oPB class 'TypeError' and CouldNotChangeDirectoryError

Beitrag von danny70437 »

Same here with opsi-package-builder-experimental-20241031.exe.
Don't know how to debug..

Viele Grüße
Daniel


(1)
--------------------------------------------------------------------------------
2024-11-02, 17:16:41
opsi PackageBuilder version: 9.0.0
--------------------------------------------------------------------------------
<class 'TypeError'>:
arguments did not match any overloaded call:
move(self, a0: QPoint): argument 1 has unexpected type 'float'
move(self, ax: int, ay: int): argument 1 has unexpected type 'float'
--------------------------------------------------------------------------------
File "opb\gui\splash.py", line 148, in show_
self._splash.move(hpos, vpos)
newguy
Beiträge: 2
Registriert: 27 Nov 2024, 18:35

Re: oPB class 'TypeError' and CouldNotChangeDirectoryError

Beitrag von newguy »

Hi there

I'm fairly new here and was able to setup the server this week. Package cannot be created for some reason. I receive the same error.
Were you able to resolve the bug?

Kind regards
Zuletzt geändert von newguy am 27 Nov 2024, 18:37, insgesamt 1-mal geändert.
Antworten