View Single Post
Posts: 752 | Thanked: 2,808 times | Joined on Jan 2011 @ Czech Republic
#1466
Originally Posted by MartinK View Post
Yes please. If its too long, you can put it to pastebin/privatepaste. If you think it has any sensitive info, you can send it by PM or other private channels.


Looks like the routing module blew up on startup and was not correctly loaded. That's why I need the full log - there is probably a traceback generated by the routing module during startup, detailing what went wrong with it.
I was just about to post an extended error code when I saw your answer.
Code:
modRana: module: mod_route/route failed to load
'module' object has no attribute 'FileDescriptor'
traceback:
Traceback (most recent call last):
  File "modrana.py", line 329, in _loadModule
    a = imp.load_module(importName, fp, pathName, description)
  File "/opt/modrana/modules/mod_route/__init__.py", line 1, in <module>
    from .mod_route import getModule
  File "/opt/modrana/modules/mod_route/mod_route.py", line 36, in <module>
    from . import routing_providers
  File "/opt/modrana/modules/mod_route/routing_providers.py", line 9, in <module>
    from . import monav_support
  File "/opt/modrana/modules/mod_route/monav_support.py", line 27, in <module>
    from . import monav
  File "/opt/modrana/modules/mod_route/monav.py", line 27, in <module>
    from signals_pb2 import CommandType, VersionCommand, VersionResult, RoutingCommand, RoutingResult
  File "/opt/modrana/modules/mod_route/signals_pb2.py", line 11, in <module>
    DESCRIPTOR = descriptor.FileDescriptor(
AttributeError: 'module' object has no attribute 'FileDescriptor'
I will send the whole output to the e-mail address specified, if needed, but this is the unusual part.

I tried searching this error on the internet and solved the issue by upgrading python-protobuf to the extras-devel version. Now both address-to-address routing and routing from the search result works, but you might need to specify the python-protobuf version in the dependencies.
 

The Following 2 Users Say Thank You to nodevel For This Useful Post: