{"action":"created","issue":{"url":"https://api.github.com/repos/it-projects-llc/pos-addons/issues/710","repository_url":"https://api.github.com/repos/it-projects-llc/pos-addons","labels_url":"https://api.github.com/repos/it-projects-llc/pos-addons/issues/710/labels{/name}","comments_url":"https://api.github.com/repos/it-projects-llc/pos-addons/issues/710/comments","events_url":"https://api.github.com/repos/it-projects-llc/pos-addons/issues/710/events","html_url":"https://github.com/it-projects-llc/pos-addons/issues/710","id":338703103,"node_id":"MDU6SXNzdWUzMzg3MDMxMDM=","number":710,"title":"openerp.modules.module: name 'hw_proxy' is not defined","user":{"login":"tobru","id":1695957,"node_id":"MDQ6VXNlcjE2OTU5NTc=","avatar_url":"https://avatars3.githubusercontent.com/u/1695957?v=4","gravatar_id":"","url":"https://api.github.com/users/tobru","html_url":"https://github.com/tobru","followers_url":"https://api.github.com/users/tobru/followers","following_url":"https://api.github.com/users/tobru/following{/other_user}","gists_url":"https://api.github.com/users/tobru/gists{/gist_id}","starred_url":"https://api.github.com/users/tobru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobru/subscriptions","organizations_url":"https://api.github.com/users/tobru/orgs","repos_url":"https://api.github.com/users/tobru/repos","events_url":"https://api.github.com/users/tobru/events{/privacy}","received_events_url":"https://api.github.com/users/tobru/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-05T19:46:08Z","updated_at":"2018-07-08T15:11:23Z","closed_at":"2018-07-08T15:11:23Z","author_association":"NONE","body":"Trying to get `hw_printer_network` up and running leads into this error message when starting up Odoo / PosBox:\r\n\r\n```\r\nposbox_1  | 2018-07-05 19:26:43,862 1 INFO ? openerp: OpenERP version 8.0-20171009\r\nposbox_1  | 2018-07-05 19:26:43,862 1 INFO ? openerp: addons paths: ['/var/lib/odoo/addons/8.0', u'/mnt/extra-addons', u'/usr/lib/python2.7/dist-packages/openerp/addons']\r\nposbox_1  | 2018-07-05 19:26:43,862 1 INFO ? openerp: database hostname: db\r\nposbox_1  | 2018-07-05 19:26:43,862 1 INFO ? openerp: database port: 5432\r\nposbox_1  | 2018-07-05 19:26:43,862 1 INFO ? openerp: database user: odoo\r\nposbox_1  | 2018-07-05 19:26:44,124 1 ERROR ? openerp.addons.hw_scanner.controllers.main: Odoo module hw_scanner depends on the evdev python module\r\nposbox_1  | 2018-07-05 19:26:44,136 1 ERROR ? openerp.addons.hw_escpos.controllers.main: ESC/POS cannot initialize, please verify system dependencies.\r\nposbox_1  | 2018-07-05 19:26:44,140 1 CRITICAL ? openerp.modules.module: Couldn't load module hw_printer_network\r\nposbox_1  | 2018-07-05 19:26:44,140 1 CRITICAL ? openerp.modules.module: name 'hw_proxy' is not defined\r\nposbox_1  | 2018-07-05 19:26:44,140 1 ERROR ? openerp.service.server: Failed to load server-wide module `hw_printer_network`.\r\nposbox_1  | Traceback (most recent call last):\r\nposbox_1  |   File \"/usr/lib/python2.7/dist-packages/openerp/service/server.py\", line 882, in load_server_wide_modules\r\nposbox_1  |     openerp.modules.module.load_openerp_module(m)\r\nposbox_1  |   File \"/usr/lib/python2.7/dist-packages/openerp/modules/module.py\", line 322, in load_openerp_module\r\nposbox_1  |     getattr(sys.modules['openerp.addons.' + module_name], info['post_load'])()\r\nposbox_1  |   File \"/mnt/extra-addons/hw_printer_network/__init__.py\", line 5, in post_load\r\nposbox_1  |     from . import controllers\r\nposbox_1  |   File \"/mnt/extra-addons/hw_printer_network/controllers/__init__.py\", line 4, in <module>\r\nposbox_1  |     from . import hw_printer_network_controller\r\nposbox_1  |   File \"/mnt/extra-addons/hw_printer_network/controllers/hw_printer_network_controller.py\", line 162, in <module>\r\nposbox_1  |     hw_proxy.drivers['escpos_network'] = network_driver\r\nposbox_1  | NameError: name 'hw_proxy' is not defined\r\nposbox_1  | 2018-07-05 19:26:44,141 1 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069\r\n```\r\n\r\nUsing the following command parameter: `--load=web,hw_proxy,hw_posbox_homepage,hw_scanner,hw_escpos,hw_printer_network` and the following Git commit: ac8f469f39378f910b995a5d028771a5a6b5ab15.\r\n\r\nAny idea why `hw_printer_network` can't be loaded?\r\n\r\n<bountysource-plugin>\r\n\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/60529566-openerp-modules-module-name-hw_proxy-is-not-defined?utm_campaign=plugin&utm_content=tracker%2F2289114&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2289114&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/it-projects-llc/pos-addons/issues/comments/403294355","html_url":"https://github.com/it-projects-llc/pos-addons/issues/710#issuecomment-403294355","issue_url":"https://api.github.com/repos/it-projects-llc/pos-addons/issues/710","id":403294355,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzI5NDM1NQ==","user":{"login":"tobru","id":1695957,"node_id":"MDQ6VXNlcjE2OTU5NTc=","avatar_url":"https://avatars3.githubusercontent.com/u/1695957?v=4","gravatar_id":"","url":"https://api.github.com/users/tobru","html_url":"https://github.com/tobru","followers_url":"https://api.github.com/users/tobru/followers","following_url":"https://api.github.com/users/tobru/following{/other_user}","gists_url":"https://api.github.com/users/tobru/gists{/gist_id}","starred_url":"https://api.github.com/users/tobru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobru/subscriptions","organizations_url":"https://api.github.com/users/tobru/orgs","repos_url":"https://api.github.com/users/tobru/repos","events_url":"https://api.github.com/users/tobru/events{/privacy}","received_events_url":"https://api.github.com/users/tobru/received_events","type":"User","site_admin":false},"created_at":"2018-07-08T15:11:23Z","updated_at":"2018-07-08T15:11:23Z","author_association":"NONE","body":"I'm running it in Docker and some dependencies where missing. Now it's running."}}
{"actor":{"display_login":"tobru"}}