Title: ImportError: cannot import name 'DeviceNotFoundError' from 'escpos.exceptions' · Issue #629 · python-escpos/python-escpos · GitHub
Open Graph Title: ImportError: cannot import name 'DeviceNotFoundError' from 'escpos.exceptions' · Issue #629 · python-escpos/python-escpos
X Title: ImportError: cannot import name 'DeviceNotFoundError' from 'escpos.exceptions' · Issue #629 · python-escpos/python-escpos
Description: Hi. with 'from escpos.printer import Usb' I get the next error ever ... I have: [x ] searched open and closed issues for duplicates Bug description Traceback (most recent call last): File "", line 198, in run_module_as_main File "", line...
Open Graph Description: Hi. with 'from escpos.printer import Usb' I get the next error ever ... I have: [x ] searched open and closed issues for duplicates Bug description Traceback (most recent call last): File "", line ...
X Description: Hi. with 'from escpos.printer import Usb' I get the next error ever ... I have: [x ] searched open and closed issues for duplicates Bug description Traceback (most recent call last): File &...
Opengraph URL: https://github.com/python-escpos/python-escpos/issues/629
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ImportError: cannot import name 'DeviceNotFoundError' from 'escpos.exceptions'","articleBody":"Hi. with 'from escpos.printer import Usb' I get the next error ever ...\r\n\r\n\u003c!-- mark with x between the [ ] --\u003e\r\nI have:\r\n- [x ] searched open and closed issues for duplicates\r\n\r\n### Bug description\r\nTraceback (most recent call last):\r\n File \"\u003cfrozen runpy\u003e\", line 198, in _run_module_as_main\r\n File \"\u003cfrozen runpy\u003e\", line 88, in _run_code\r\n File \"C:\\Users\\Usuario\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\python-escpos.exe\\__main__.py\", line 4, in \u003cmodule\u003e\r\n File \"C:\\Users\\Usuario\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\escpos\\cli.py\", line 21, in \u003cmodule\u003e\r\n from . import config\r\n File \"C:\\Users\\Usuario\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\escpos\\config.py\", line 12, in \u003cmodule\u003e\r\n from . import printer\r\n File \"C:\\Users\\Usuario\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\escpos\\printer\\__init__.py\", line 4, in \u003cmodule\u003e\r\n from .cups import CupsPrinter\r\n File \"C:\\Users\\Usuario\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\escpos\\printer\\cups.py\", line 17, in \u003cmodule\u003e\r\n from ..exceptions import DeviceNotFoundError\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\nImportError: cannot import name 'DeviceNotFoundError' from 'escpos.exceptions' (C:\\Users\\Usuario\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\escpos\\exceptions.py)\r\n### Steps to reproduce\r\n- from escpos.printer import Usb\r\n\r\n### Device info\r\n\u003c!-- Replace examples with your info --\u003e\r\n **Printer:** Manufacturer Model XVI\r\n\r\n\r\n **python-escpos version:** --pre\r\n\r\n **python version:** 03.11 x64\r\n\r\n **operating system:** Windows 10\r\n","author":{"url":"https://github.com/Torreblanca","@type":"Person","name":"Torreblanca"},"datePublished":"2024-02-28T11:25:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/629/python-escpos/issues/629"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e0f66ce8-43ad-8d7c-91d1-751835f08278 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D04E:2B6CAA:10555D3:1689041:6A4DDB2B |
| html-safe-nonce | 3d522533dfe04cab1e37ae34ec4307fcb8782053c398e4432381d0e3c23fe47e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDRFOjJCNkNBQToxMDU1NUQzOjE2ODkwNDE6NkE0RERCMkIiLCJ2aXNpdG9yX2lkIjoiNDU0MTExNTk4MzgwMDk0OTU0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e5b517675b95a2c34b973ef8ca597c07d00e5acbf2813fda194cf164a07e8d8d |
| hovercard-subject-tag | issue:2158734392 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-escpos/python-escpos/629/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bfb43656040c998f0267a5de4680ebf64058361ddc4b763fe28436d159842c21/python-escpos/python-escpos/issues/629 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bfb43656040c998f0267a5de4680ebf64058361ddc4b763fe28436d159842c21/python-escpos/python-escpos/issues/629 |
| og:image:alt | Hi. with 'from escpos.printer import Usb' I get the next error ever ... I have: [x ] searched open and closed issues for duplicates Bug description Traceback (most recent call last): File "", line ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Torreblanca |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-escpos/python-escpos git https://github.com/python-escpos/python-escpos.git |
| octolytics-dimension-user_id | 16302939 |
| octolytics-dimension-user_login | python-escpos |
| octolytics-dimension-repository_id | 32363483 |
| octolytics-dimension-repository_nwo | python-escpos/python-escpos |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 32363483 |
| octolytics-dimension-repository_network_root_nwo | python-escpos/python-escpos |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width