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 al iniciar server.py #99

Closed
juanmarinelli opened this issue Dec 12, 2019 · 2 comments
Closed

error al iniciar server.py #99

juanmarinelli opened this issue Dec 12, 2019 · 2 comments

Comments

@juanmarinelli
Copy link

juanmarinelli commented Dec 12, 2019

Hola! estuve configurando toda la libreria bajo windows, con python 2.7.17, pero a la hora de ejecutar server.py me tira el siguiente error:
python server.py
Traceback (most recent call last):
File "server.py", line 7, in
from FiscalberryApp import FiscalberryApp
File "C:\xampp\htdocs\fiscalberry\FiscalberryApp.py", line 39, in
logging.config.fileConfig(root+'/logging.ini')
File "C:\Python27\lib\logging\config.py", line 85, in fileConfig
handlers = _install_handlers(cp, formatters)
File "C:\Python27\lib\logging\config.py", line 163, in install_handlers
h = klass(*args)
File "C:\Python27\lib\logging\handlers.py", line 117, in init
BaseRotatingHandler.init(self, filename, mode, encoding, delay)
File "C:\Python27\lib\logging\handlers.py", line 64, in init
logging.FileHandler.init(self, filename, mode, encoding, delay)
File "C:\Python27\lib\logging_init
.py", line 920, in init
StreamHandler.init(self, self.open())
File "C:\Python27\lib\logging_init
.py", line 950, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 2] No such file or directory: 'C:\tmp\fiscal_printer_driver.lo
g'

Queria saber si alguno sabe que seria porque he probado varias cosas pero sin resultados positivos
Gracias !

@juanmarinelli juanmarinelli changed the title Integrar en sistema PHP error al iniciar server.py Dec 13, 2019
@juanmarinelli
Copy link
Author

Solucionado, cambie args=('/tmp/fiscal_printer_driver.log',) -> args=('fiscal_printer_driver.log', 'a') de [handler_fileHandlerFiscalPrinterDriver]

@joseluisbossio
Copy link

joseluisbossio commented Dec 13, 2019 via email

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

2 participants