Comments (7)
It looks like the mdns service didn't get fully added, as mdsn_browser.listener.discovered[k]['info'] should have been set once it was discovered. It get set in line 49 of _mdns.py. Try adding some statements in the setUpModule like:
under line 130:
for k in mdns_browser.listener.discovered:
print mdsn_browser.listener.discovered[k]
and then you can see what keys have been set for each value of k. The purpose of this code is to discover which port Privet is using.
from cloudprint_logocert.
I have added the line in as instructed with the following results. Not entirely sure what it means.
from cloudprint_logocert.
Let me look through the code and see why this dictionary key is not getting set.
from cloudprint_logocert.
I wonder if you have the latest version of _mdns.py, as we recently made some changes to that file. Please check that, as I notice an older copy of _mdns.py would cause this issue.
from cloudprint_logocert.
I recently downloaded the zip file found here: http://google.github.io/cloudprint_logocert/ after noticing a change made to testcert.py.
I compared the version of _mdns.py in my working directory with the version on github, and they are identical.
from cloudprint_logocert.
Ok, I'm going to run some of these commands from the command line and I'll
see if I can't figure out why that key isn't getting set.
Kelly
kdLucas
On Thu, Jun 2, 2016 at 10:13 AM, tblossfeld [email protected]
wrote:
I recently downloaded the zip file found here:
http://google.github.io/cloudprint_logocert/ after noticing a change made
to testcert.py.I compared the version of _mdns.py in my working directory with the
version on github, and they are identical.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#28 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ADk_fec9KjjrHsEb5kMAVInttcshGb02ks5qHw86gaJpZM4InmCY
.
from cloudprint_logocert.
I just tested this and it looks to be working ok. In your particular case, in order to see what is going on, edit _log.py and change the debug log level from info to debug. Then re-run testcert.py. If you're on Linux you should see some log files under /tmp/ . Open the log file and look for a statement like this:
2016-06-02 12:46:04,603, LogoCert INFO: Service added: "8D0F7D61-A70A-4816-AF60-8C04E3CF1593._privet._tcp.local." (type is _privet._tcp.local.)
Then, after that statement there should be a follow on statement like this:
2016-06-02 12:46:05,231, LogoCert DEBUG: 8D0F7D61-A70A-4816-AF60-8C04E3CF1593._privet._tcp.local. service info: ServiceInfo(type='_privet._tcp.local.', name=u'8D0F7D61-A70A-4816-AF60-8C04E3CF1593._privet._tcp.local.', address='\xc0\xa8\x04\xa5', port=80, weight=0, priority=0, server=u'linux-5.local.', properties={'mmid': 'AAw7x', 'ty': 'LED Flasher', 'note': 'Controls on-board LEDs', 'flags': 'CB', 'services': 'vendor', 'txtvers': '3', 'id': '44D38A8A-6E02-4A4B-885E-8FED36E68D3E'})
That 2nd string with "service info" in it means the 'info' key has been set properly. If that is missing, than there must be some issue with the mdns broadcast of the printer.
from cloudprint_logocert.
Related Issues (20)
- Can LocalPrint.PDFPageRange test check if page_range is supported in CDD HOT 1
- GCP Tool Questions, version 2 HOT 1
- fails testNoMediaInTray() and testOpenPaperTray() HOT 7
- Local API Creatjob HOT 3
- fails testJobStateMissingToner() HOT 2
- fails testJobStateWithPaperJam() HOT 5
- LocalPrinting returned Failed due to “Local Print Job not found using GCP /jobs api”. HOT 7
- 1.6.34 NotInCDD.margins failed HOT 8
- PrivetRegistration.PrinterPanelCancel/PrivetAPI.RegistrationInvalidUserAuthToken failed HOT 2
- CDD.duplex failed HOT 2
- Error message for test Printer.RemoveMediafromTray doesn't match string search HOT 1
- testDeviceOffNoAdvertisePrivet issue HOT 1
- a special test file (85748k) cannot be printed through GCP HOT 1
- FitToPage option in device HOT 1
- “Could not convert to PDF” will pops up in manage GCP window when we select customized signal page of PPT to print. HOT 2
- Google converted the 1st, 2nd page of a special pdf file as blank if print on the printer which is not support PDF through GCP
- 1.13.9 & 1.13.10 have the same Test Case ID
- Google Cloud Print is not converting Excel sheet properly.
- if possible to add/support "Imaging Drum" in 1.10.8 Printer.RemoveTonerCartridg
- ZIJANG-8330 Thermal Receipt Printer is writing blank page
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudprint_logocert.