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

Setup and Install in Ubuntu 15.10 #6

Open
mgscreativa opened this issue Mar 28, 2016 · 2 comments
Open

Setup and Install in Ubuntu 15.10 #6

mgscreativa opened this issue Mar 28, 2016 · 2 comments

Comments

@mgscreativa
Copy link

Hi, I've managed to setup this script on Ubuntu 15.10, but now, I think I must configure something because I don't even know how to run this. If you can, please tell me how to proceed next, I'm getting runtimeError: Imposible abrir reingart.crt

Here are my config steps to get ready

1 - Install some deps

sudo apt-get install python-wxgtk3.0 python-dbf

2 - Go to home dir

cd ~

3 - Create pyfactura and lib folder (to store scrypt deps) and access to it*

mkdir -p ./pyfactura/lib
cd ./pyfactura/lib

4 - Clone gui2py

git clone https://github.com/reingart/gui2py.git
cd gui2py
sudo python setup.py install
cd ..

5 - Clone pysimplesoap

git clone https://github.com/pysimplesoap/pysimplesoap.git
cd pysimplesoap
sudo python setup.py install
cd ..

6 - Clone pyfpdf

git clone https://github.com/reingart/pyfpdf.git
cd pyfpdf
sudo python setup.py install
cd ..

7 - Clone web2py

git clone --recursive https://github.com/web2py/web2py.git
cd web2py
sudo python setup.py install
cd ..

8 - Clone pyafipws

git clone https://github.com/reingart/pyafipws.git
cd pyafipws
sudo python setup.py install
cp -R ./conf/ ../../conf/
cd ../../

9 - Clone pyfactura

git clone https://github.com/SistemasAgiles/pyfactura.git

10 - Get some missing images

wget http://www.sistemasagiles.com.ar/img/sistemas-agiles.png
wget http://www.sistemasagiles.com.ar/trac/chrome/site/logo-pyafipws.png

11 - Start the program

python factura.pyw
@mgscreativa
Copy link
Author

Got it to the cert creation part, got my homo and prod certs, copy them into config filder and set them in rece.ini like this

[WSAA]
CERT=brigliaghiamartinsebastian-internet-ubuntu-homologacion.crt
PRIVATEKEY=brigliaghiamartinsebastian.key
URL=http://wsaahomo.afip.gov.ar/ws/services/LoginCms

But now I get RuntimeError: Imposible abrir brigliaghiamartinsebastian-internet-ubuntu-homologacion.crt

@mgscreativa
Copy link
Author

Well, I think I resolved the cert loading by passing an absolute path, but now I'm getting a time out timeout: timed out...

[WSAA]
CERT=/home/martin/Descargas/pyfactura/conf/brigliaghiamartinsebastian-internet-ubuntu-homologacion.crt
PRIVATEKEY=/home/martin/Descargas/pyfactura/conf/brigliaghiamartinsebastian.key
URL=http://wsaahomo.afip.gov.ar/ws/services/LoginCms

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

1 participant