Menu

#8 Error with manyToMany2 example

open
nobody
4
2003-03-15
2003-03-15
No

I have no idea why I got this error with the many to
many example which uses a linking table. Example =
manyToMany2

$ jython createsql.py
parsing association None (Clubs, LinkingTable)
0..-1
1..1
parsing association (People, LinkingTable)
0..-1
1..1
parsing association None (LinkingTable, Clubs)
1..1
0..-1
parsing association (LinkingTable, People)
1..1
0..-1
Traceback (innermost last):
File "createsql.py", line 14, in ?
File
"/home/king/jython-2.1/Lib/pymerase/__init__.py", line
301, in run
File
"/home/king/jython-2.1/Lib/pymerase/__init__.py", line
272, in read
File
"/home/king/jython-2.1/Lib/pymerase/input/parseXMI.py",
line 608, in read File
"/home/king/jython-2.1/Lib/pymerase/input/parseXMI.py",
line 592, in parseXMI
File
"/home/king/jython-2.1/Lib/pymerase/input/parseXMI.py",
line 362, in addForeignKeys
File
"/home/king/jython-2.1/Lib/pymerase/ClassMembers.py",
line 401, in getOppositeEnd
TypeError: len(): expected 1 args; got 0

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.