# QUIZ topic publisher and subscriber

**URL:** <https://get-help.theconstruct.ai/t/quiz-topic-publisher-and-subscriber/3184>\
**Category:** ROS Basics In 5 Days (Python)\
**Created:** [April 20, 2020, 10:41am UTC](https://get-help.theconstruct.ai/t/quiz-topic-publisher-and-subscriber/3184 "2020-04-20T10:41:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![andreagt314](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/andreagt314/32/10_2.png) [@andreagt314](https://get-help.theconstruct.ai/u/andreagt314)\
**Post date:** [April 20, 2020, 10:41am UTC](https://get-help.theconstruct.ai/t/quiz-topic-publisher-and-subscriber/3184/1 "2020-04-20T10:41:28Z")

</div>

I execute “rosmsg show sensor\_msgs/LaserScan” and the terminal shows:

Traceback (most recent call last):  
File “/opt/ros/kinetic/bin/rosmsg”, line 35, in   
rosmsg.rosmsgmain()  
File “/opt/ros/kinetic/lib/python2.7/dist-packages/rosmsg/ **init**.py”, line 754, in rosmsgmain  
sys.exit(rosmsg\_cmd\_show(ext, full, command))  
File “/opt/ros/kinetic/lib/python2.7/dist-packages/rosmsg/ **init**.py”, line 619, in rosmsg\_cmd\_show  
rosmsg\_debug(rospack, mode, arg, options.raw)  
File “/opt/ros/kinetic/lib/python2.7/dist-packages/rosmsg/ **init**.py”, line 450, in rosmsg\_debug  
print(get\_msg\_text(type\_, raw=raw, rospack=rospack))  
File “/opt/ros/kinetic/lib/python2.7/dist-packages/rosmsg/ **init**.py”, line 426, in get\_msg\_text  
for p in rospack.list():  
File “/usr/lib/python2.7/dist-packages/rospkg/rospack.py”, line 192, in list  
self.\_update\_location\_cache()  
File “/usr/lib/python2.7/dist-packages/rospkg/rospack.py”, line 184, in \_update\_location\_cache  
list\_by\_path(self.\_manifest\_name, path, cache)  
File “/usr/lib/python2.7/dist-packages/rospkg/rospack.py”, line 67, in list\_by\_path  
root = ElementTree(None, os.path.join(d, PACKAGE\_FILE))  
File “/usr/lib/python2.7/xml/etree/ElementTree.py”, line 611, in **init**  
self.parse(file)  
File “”, line 38, in parse  
cElementTree.ParseError: mismatched tag: line 67, column 2

---

<div class="post-metadata">

**Author:** ![simon.steinmann91](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/simon.steinmann91/32/324_2.png) [@simon.steinmann91](https://get-help.theconstruct.ai/u/simon.steinmann91)\
**Post date:** [April 20, 2020, 10:50am UTC](https://get-help.theconstruct.ai/t/quiz-topic-publisher-and-subscriber/3184/2 "2020-04-20T10:50:54Z")

</div>

@bayodesegun can you take a look at this.
