Your message dated Sun, 08 May 2022 12:18:52 +0000 with message-id <[email protected]> and subject line Bug#829424: fixed in python-msgpack-numpy 0.4.7.1-1 has caused the Debian Bug report #829424, regarding psychopy: ioHub uses inappropriate PID file location to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 829424: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=829424 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: psychopy Version: 1.83.04.dfsg-2 Severity: normal When using PsychoPy in an IPython session the following happens: ================================ In [1]: import psychopy.iohub as iohub In [2]: io = iohub.launchHubServer() --------------------------------------------------------------------------- IOError Traceback (most recent call last) <ipython-input-2-bbf8577c69ca> in <module>() ----> 1 io = iohub.launchHubServer() /usr/lib/python2.7/dist-packages/psychopy/iohub/client/__init__.pyc in launchHubServer(**kwargs) 1502 #print "IOHUB CONFIG: ",ioConfig 1503 # Start the ioHub Server -> 1504 return ioHubConnection(ioConfig) 1505 1506 ### ioHubExperimentRuntime #### /usr/lib/python2.7/dist-packages/psychopy/iohub/client/__init__.pyc in __init__(self, ioHubConfig, ioHubConfigAbsPath) 283 284 self._shutdown_attempted=False --> 285 self.iohub_status = self._startServer(ioHubConfig, ioHubConfigAbsPath) 286 if self.iohub_status != "OK": 287 raise RuntimeError("Error starting ioHub server: %s"%(self.iohub_status)) /usr/lib/python2.7/dist-packages/psychopy/iohub/client/__init__.pyc in _startServer(self, ioHubConfig, ioHubConfigAbsPath) 988 self.registerPygletWindowHandles(*whs) 989 --> 990 iopFile= open(iopFileName,'w') 991 iopFile.write("ioHub PID: "+str(Computer.iohub_process_id)) 992 iopFile.flush() IOError: [Errno 13] Permission denied: '/usr/bin/.iohpid' ================================ The reason is that in psychopy/iohub/client/__init__.py line 904 the path of sys.argv[0] is used as the location to place a PID file. Obviously, this fails for a system install of IPython. It seems that this isn't the only time this paradigm is used: % grep -R "rootScript" . ./iohub/client/__init__.py: rootScriptPath = os.path.dirname(sys.argv[0]) ./iohub/util/targetpositionsequence.py: rootScriptPath = os.path.dirname(sys.argv[0]) ./iohub/launchHubProcess.py: rootScriptPathDir=sys.argv[2] A solution for Debian could be to replace this with /var/run/user/.../psychopy, but upstream may want to adopt a more general solution. appdirs doesn't seem to support such, though. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (650, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages psychopy depends on: ii python 2.7.11-1 ii python-configobj 5.0.6-2 ii python-lxml 3.6.0-1 ii python-matplotlib 1.5.1-1+b1 ii python-numpy 1:1.10.4-2 ii python-opengl 3.0.2-1 ii python-pygame 1.9.1release+dfsg-10+b1 ii python-pyglet 1.1.4.dfsg-3 ii python-scipy 0.17.0-1+b1 Versions of packages psychopy recommends: ii ipython 2.4.1-1 ii libxxf86vm1 1:1.1.4-1 ii python-gevent 1.1.1-1 ii python-imaging 3.1.1-1 ii python-msgpack 0.4.6-1+b2 pn python-opencv <none> ii python-openpyxl 2.3.0-1 ii python-pandas 0.17.1-3 ii python-psutil 3.4.2-1+b1 ii python-pygame 1.9.1release+dfsg-10+b1 ii python-pyglet 1.1.4.dfsg-3 ii python-pyo 0.7.9-1 ii python-serial 3.0.1-1 ii python-wxgtk2.8 2.8.12.1+dfsg2-2 ii python-wxgtk3.0 3.0.2.0+dfsg-1+b1 ii python-xlib 0.14+20091101-5 ii python-yaml 3.11-3+b1 Versions of packages psychopy suggests: pn libavbin0 <none> pn python-iolabs <none> pn python-pyxid <none> -- no debconf information
--- End Message ---
--- Begin Message ---Source: python-msgpack-numpy Source-Version: 0.4.7.1-1 Done: Étienne Mollier <[email protected]> We believe that the bug you reported is fixed in the latest version of python-msgpack-numpy, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Étienne Mollier <[email protected]> (supplier of updated python-msgpack-numpy package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sun, 08 May 2022 12:50:01 +0200 Source: python-msgpack-numpy Architecture: source Version: 0.4.7.1-1 Distribution: unstable Urgency: medium Maintainer: Debian Science Maintainers <[email protected]> Changed-By: Étienne Mollier <[email protected]> Closes: 829424 1010537 Changes: python-msgpack-numpy (0.4.7.1-1) unstable; urgency=medium . * Team upload. * New upstream version. (Closes: #1010537, #829424) * Fix watchfile to detect new versions on github * Standards-Version: 4.6.0 (routine-update) * debhelper-compat 13 (routine-update) * Add salsa-ci file (routine-update) * Rules-Requires-Root: no (routine-update) * Set upstream metadata fields: Bug-Database, Bug-Submit. * d/u/metadata: fix upstream-metadata-missing-repository. * d/copyright: update copyright years. * d/control: add myself to uploaders. Checksums-Sha1: 3b3f3e0a0328149cff6bb012e5e68f247db011ee 2347 python-msgpack-numpy_0.4.7.1-1.dsc 1403ecb715e932c1016c5a8e1fcf693e20640c25 9846 python-msgpack-numpy_0.4.7.1.orig.tar.gz f5d17a702ac5623ee19b8325cab7b52ef768399c 2424 python-msgpack-numpy_0.4.7.1-1.debian.tar.xz Checksums-Sha256: da67df23064f593c1041edcc4d9e6913ae31f595c4c506f6053aa08d971d89a8 2347 python-msgpack-numpy_0.4.7.1-1.dsc c1f3fc082efbf733aeb24aa638db622b8f6d6320a82b19116dc97e7afd0ab5cc 9846 python-msgpack-numpy_0.4.7.1.orig.tar.gz e7fdc3b656a0468eeecf9bc4d3f924f257dd4400fef2a15ea45c54abed40d57d 2424 python-msgpack-numpy_0.4.7.1-1.debian.tar.xz Files: 343a4d2b8970dbaafaa1c0709c12f81b 2347 python optional python-msgpack-numpy_0.4.7.1-1.dsc 2fe4651b7220265f8291063f01b6ad3d 9846 python optional python-msgpack-numpy_0.4.7.1.orig.tar.gz 51549c1e1a75be8087a2b36c70e4a106 2424 python optional python-msgpack-numpy_0.4.7.1-1.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmJ3rqIUHGVtb2xsaWVy QGRlYmlhbi5vcmcACgkQeTz2fo8NEdqb8g//T/upwyt1g3jyJah32Ay8eNhaTVNH BR48slO9gWoJbJmey4ThTJeeTwtOo1H99OMnqyTMffLqpOKAaNXiB2gZNnNDS9lg kgI5ouqZ+vajEVyvG1qFPRt62iuBR/amqjb7OjfrBVEZeJ7asptUuNYfKJ9z6bvh UNX+1xxSS7qQ+bVqVw7qsesHjaMFeX8XYYxyjm4ZUgn+b0VfJviaKAAeTCaO32a0 FGL12KS4NJf1yIbBbyqIo2ok5kKpDcVW9OlgCutmKKCa2F7appcZxIFolSWy3t01 arYg+/2jM89oKZrBu37IAqZoQWpSN64Be5p00WRNLNpAOEbCczDaXGJqxmEC7Dw2 qFGd6bVHtdaPyzj/EZS1W2CowwGMH7i9HlqjpRclXNCSQQHMfu8IhcegWeD23lBm yN2KlWKbLp9nXyK7+ubf6VAkds9hJAXt/k9k7LfGAHEf2ImKGDvR/qKDU7M/HgpE +QZvLQggzYHuFuVnlmp6+bVKOATs4f7wGcyWFEdxrYGWIbLEfcUstitFdLrBtWiv fbyI2coCSU3UPiDZ9LLlBpMPsQpHsd3/nTBt/bXg3pc3IcAOn/m9a2QyxZoWTqD8 eN7XbnqHC6HE7yh/HYlf7g7uDHBL5L6Yaf5ZtXsK7ZU9k3B0g8zuE/g7jwVCVbst eRpQVE8/eyTtmTs= =GDIM -----END PGP SIGNATURE-----
--- End Message ---

