forwarded 520997 http://thomas.apestaart.org/moap/trac/ticket/403 thanks
Thanks for your bug report. I forwarded it upstream (see http://thomas.apestaart.org/moap/trac/ticket/403 ) Could you please attach also the ChangeLog file ? Thanks. Regards, Julien Lavergne Le mardi 24 mars 2009 à 11:13 +0200, Eddy Petrișor a écrit : > Package: moap > Version: 0.2.6-2 > Severity: serious > Justification: unusable > > --- Please enter the report below this line. --- > > 0 e...@heidi ~/usr/src/osm/osm-helpers $ dpkg -l moap | grep moap > ii moap 0.2.6-2 Swiss army knife for project > maintainers and developers > 0 e...@heidi ~/usr/src/osm/osm-helpers $ moap changelog diff > Traceback (most recent call last): > File "/usr/bin/moap", line 28, in <module> > sys.exit(main(sys.argv[1:])) > File "/usr/lib/python2.5/site-packages/moap/main.py", line 13, in main > ret = c.parse(argv) > File "/usr/lib/python2.5/site-packages/moap/extern/command/command.py", > line 265, in parse > return self.subCommands[command].parse(args[1:]) > File "/usr/lib/python2.5/site-packages/moap/extern/command/command.py", > line 265, in parse > return self.subCommands[command].parse(args[1:]) > File "/usr/lib/python2.5/site-packages/moap/extern/command/command.py", > line 247, in parse > ret = self.do(args) > File "/usr/lib/python2.5/site-packages/moap/command/cl.py", line 416, in do > cl.parse(False) > File "/usr/lib/python2.5/site-packages/moap/command/cl.py", line 223, in > parse > parseBlock(b) > File "/usr/lib/python2.5/site-packages/moap/command/cl.py", line 213, in > parseBlock > entry.lines = block > UnboundLocalError: local variable 'entry' referenced before assignment > 1 e...@heidi ~/usr/src/osm/osm-helpers $ git st > # On branch master > # Changes to be committed: > # (use "git reset HEAD <file>..." to unstage) > # > # modified: osm-upload-changes.cs > # > 0 e...@heidi ~/usr/src/osm/osm-helpers $ git di --cached > diff --git a/osm-upload-changes.cs b/osm-upload-changes.cs > index f878af1..83d8285 100644 > --- a/osm-upload-changes.cs > +++ b/osm-upload-changes.cs > @@ -269,7 +269,7 @@ The current check resulted in these changes: > else > throw new Exception ("Invalid > attribute: " + reader.Name); > } > - if (last_obj != null && last_obj.ID == id && > last_obj.ObjectType == name) { > + if (last_obj != null && last_obj.ID == id) { > obj = last_obj; > } else { > // we didn't upload yet: do it now > > > --- System information. --- > Architecture: amd64 > Kernel: Linux 2.6.29-rc7-heidi > > Debian Release: 5.0 > 500 stable snapshot.debian.net > 500 stable security.debian.org > 500 stable ftp.ro.debian.org > 10 unstable ftp.ro.debian.org > 1 experimental ftp.ro.debian.org > > --- Package information. --- > Depends (Version) | Installed > =============================-+-=========== > python (>= 2.4) | 2.5.2-3 > python-central (>= 0.6.7) | 0.6.8 > python-librdf | 1.0.7.1-1+b1 > > > -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org