Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: can't copy './designer.py': doesn't exist or not a regular file #31

Open
kkoci opened this issue Nov 6, 2016 · 2 comments
Open

Comments

@kkoci
Copy link

kkoci commented Nov 6, 2016

Hola, instale siguiendo las instrucciones, pero un módulo odoo, de facturación argentina aún me dice que no existe el módulo pyafipws, además intentando con pip, me sale lo siguiente:

Using cached PyAfipWs-2.7.1874.tar.gz
Building wheels for collected packages: pyafipws
Running setup.py bdist_wheel for pyafipws ... error
Complete output from command /home/kristian/.virtualenvs/odoo_danisan/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-ESoWhY/pyafipws/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" bdist_wheel -d /tmp/tmpidnvMvpip-wheel- --python-tag cp27:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/pyafipws
copying ./casa_piro.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./trazamed.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./wdigdepfiel.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./pyemail.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./wsfev1.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./wscdc.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./recem.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./padron.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./trazafito.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./rcel.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./transportes.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./soap.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./rece.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./pyafipws.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./wsfe.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./pyi25.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./rebuild_cache.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./recex1.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./trazavet.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./wsbfev1.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./pyrece.rsrc.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./trazarenpre.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./wscoc.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./recex.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./pyfepdf.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./padron_web2py.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./init.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./dup.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./pyrece.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./t.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./rg3685.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./fe_bd.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./wslpg_datos.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./wsltv.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./wsctgv3.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./wsmtx.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./wsaa.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./wslpg.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./rece1.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./php.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./correo.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./mkparams.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./sired.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./setup.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./wsfexv1.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./socks.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./setup_cxfreeze.py -> build/lib.linux-x86_64-2.7/pyafipws
error: can't copy './designer.py': doesn't exist or not a regular file


Failed building wheel for pyafipws
Running setup.py clean for pyafipws
Failed to build pyafipws
Installing collected packages: pyafipws
Running setup.py install for pyafipws ... error
Complete output from command /home/kristian/.virtualenvs/odoo_danisan/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-ESoWhY/pyafipws/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-_0CD4O-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/kristian/.virtualenvs/odoo_danisan/include/site/python2.7/pyafipws:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/pyafipws
copying ./casa_piro.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./trazamed.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./wdigdepfiel.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./pyemail.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./wsfev1.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./wscdc.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./recem.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./padron.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./trazafito.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./rcel.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./transportes.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./soap.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./rece.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./pyafipws.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./wsfe.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./pyi25.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./rebuild_cache.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./recex1.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./trazavet.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./wsbfev1.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./pyrece.rsrc.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./trazarenpre.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./wscoc.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./recex.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./pyfepdf.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./padron_web2py.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./init.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./dup.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./pyrece.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./t.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./rg3685.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./fe_bd.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./wslpg_datos.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./wsltv.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./wsctgv3.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./wsmtx.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./wsaa.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./wslpg.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./rece1.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./php.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./correo.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./mkparams.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./sired.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./setup.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./wsfexv1.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./socks.py -> build/lib.linux-x86_64-2.7/pyafipws
copying ./setup_cxfreeze.py -> build/lib.linux-x86_64-2.7/pyafipws
error: can't copy './designer.py': doesn't exist or not a regular file

----------------------------------------

Command "/home/kristian/.virtualenvs/odoo_danisan/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-ESoWhY/pyafipws/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-_0CD4O-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/kristian/.virtualenvs/odoo_danisan/include/site/python2.7/pyafipws" failed with error code 1 in /tmp/pip-build-ESoWhY/pyafipws

¿Alguna ideade ésto?

Estoy tratando de instalarlo en un virtualenv creado con virtualenvwrapper, donde estoy corriendo la localización argentina

Gracias

@fproldan
Copy link

@kkoci Como resolviste este tema? gracias

@reingart
Copy link
Owner

reingart commented Jun 5, 2017

designer.py está en el repositorio de fpdf
Igualmente se pueden obviar esos módulos, en general no son necesarios.

Habría que ver bien porque arma esta forma de instalación (el diseñador solo se necesita en el instalador con componentes "visuales")
Posiblemente sea una versión antigua, pueden probar instalando directamente desde el repositorio:

pip install git+https://github.com/reingart/pyafipws.git

que en principio funcionaría correctamente:

Installing collected packages: PyAfipWs
  Running setup.py install for PyAfipWs ... done
Successfully installed PyAfipWs-2.7.0

o bajar el código y llamar a python setup.py install (o copiar la carpeta pyafipws dentro la carpeta correspondiente en odoo)

Si el problema persiste lo podemos ir viendo, ver entradas similares en el foro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants