c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #03321
[Bug 376434] Re: print app to run with extension manager doesn't work
** Changed in: openobject-client
Assignee: (unassigned) => OpenERP sa GTK client R&D (openerp-dev-gtk)
--
print app to run with extension manager doesn't work
https://bugs.launchpad.net/bugs/376434
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject GTK Client: New
Bug description:
If you define a new extension for some format it doesn't work.
The bug shows up when calling subprocess.Popen() at line 160 in printer.py
Now cmd is a string, and subprocess call is subprocess.Popen(cmd). In Python documentation of subprocess, cmd must be a list when arguments are passed to the executable.
It can be solved doing subprocess.Popen([cmd, filename])