Custom Query (344 matches)
Results (85 - 87 of 344)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#269 | fixed | wps-object.exe not in expected place (need update to rpm, but no version specified) | ||
Description |
Installing the test Firefox rpm, WPS object creation fails because wps-object.exe is located in %unixroot/usr/lib/rpm and not %unixroot/usr/lib/rpm/pc (in fact, on this system, there is no pc directory). RPM version is 4.13.09. The Firefox spec needs to be updated to require a version of the rpm package which includes the pc directory with wps-object.exe in it, or the path to wps-object.exe needs to be in the environment and the full path to it needs to then be removed from the scriptlet. |
|||
#268 | duplicate | Package updating always fails with error message | ||
Description |
Versions: yum: 3.4.3-11 rpm: 4.13.0-17 When I update a package I always get this error: Rpmdb checksum is invalid: dCDPT(pkg checksums): libodin.pentium4 0:0.9.0-1 - u
Nonetheless, the package updates correctly. I am using ANPM but I also this error message when I update from the commandline:
"yum update libusb1": I think it all started when I updated rpm recently. |
|||
#267 | fixed | python: Piping via subprocess.Popen is broken | ||
Description |
While using Consider this snippet: import os, subprocess os.putenv ('LANG', 'en_US') cmd1 = ['cat', 't.py'] cmd2 = ['grep', 'cmd'] proc1 = subprocess.Popen (cmd1, stdout = subprocess.PIPE) proc2 = subprocess.Popen (cmd2, stdin = proc1.stdout) rc = proc2.wait () print '*** proc2 rc', rc rc = proc1.wait () print '*** proc1 rc', rc On OS/2 (python 2.7.6-18.oc00) it gives the following output: grep: (standard input): Operation not supported on socket *** proc2 rc 2 *** proc1 rc 0 Expected result (tested on macOS): cmd1 = ['cat', 't.py'] cmd2 = ['grep', 'cmd'] proc1 = subprocess.Popen (cmd1, stdout = subprocess.PIPE) proc2 = subprocess.Popen (cmd2, stdin = proc1.stdout) *** proc2 rc 0 *** proc1 rc 0 I.e. the child process fails to read from its stdin (which is a pipe connected to the parent's stdout) on OS/2.
Note that if you replace 2 blocks cpio: error closing archive: Bad file number meaning that cpio worked per se (files unpacked correctly) but failed to close the input stream. Also note that both examples work smoothly as shell commands from under dash or ash. It looks like we're using pipes (or socket pairs?) incorrectly in Python. |