Modify

Ticket #416 (new defect)

Opened 3 years ago

moap doap fails on all doap files.

Reported by: thaytan@… Owned by: thomas
Priority: major Milestone: 0.2.8
Component: moap Version: TRUNK
Keywords: Cc:

Description

I installed moap on Ubuntu lucid, and I get:

Traceback (most recent call last):
  File "/usr/bin/moap", line 28, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/home/jan/.install/lib/python2.6/site-packages/moap/main.py", line 13, in main
    ret = c.parse(argv)
  File "/home/jan/.install/lib/python2.6/site-packages/moap/extern/command/command.py", line 329, in parse
    return self.subCommands[command].parse(args[1:])
  File "/home/jan/.install/lib/python2.6/site-packages/moap/extern/command/command.py", line 329, in parse
    return self.subCommands[command].parse(args[1:])
  File "/home/jan/.install/lib/python2.6/site-packages/moap/extern/command/command.py", line 300, in parse
    ret = self.do(args)
  File "/home/jan/.install/lib/python2.6/site-packages/moap/command/doap.py", line 287, in do
    project = d.getProject()
  File "/home/jan/.install/lib/python2.6/site-packages/moap/doap/doap.py", line 94, in getProject
    "Length of result is %d instead of 1" % len(result)
AssertionError: Length of result is 0 instead of 1

I get the same problem using svn HEAD.

There's a bug filed for it in debian at:

 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566033

Attachments

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will be changed from thomas. Next status will be 'new'
The owner will be changed from thomas to anonymous. Next status will be 'assigned'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.