2008/6/29 Petr Sobotka <[EMAIL PROTECTED]>:
...
>  File "/usr/lib/python2.4/vendor-packages/pkg/server/transaction.py",
> line 164, in close
>    pkg_fmri, pkg_state = self.accept_publish()
>  File "/usr/lib/python2.4/vendor-packages/pkg/server/transaction.py",
> line 296, in accept_publish
>    self.publish_package()
>  File "/usr/lib/python2.4/vendor-packages/pkg/server/transaction.py",
> line 326, in publish_package
>    cfg.catalog.update_searchdb([os.path.join(
>  File "/usr/lib/python2.4/vendor-packages/pkg/catalog.py", line 482,
> in update_searchdb
>    self.__update_searchdb_unlocked(fmri_list)
>  File "/usr/lib/python2.4/vendor-packages/pkg/catalog.py", line 463,
> in __update_searchdb_unlocked
>    self.update_index(f, mfst.search_dict())
>  File "/usr/lib/python2.4/vendor-packages/pkg/manifest.py", line 261,
> in search_dict
>    for k, v in a.generate_indices().iteritems():
>  File "/usr/lib/python2.4/vendor-packages/pkg/actions/depend.py",
> line 118, in generate_indices
>    fmri = self.attrs["fmri"]
> KeyError: 'fmri'

Looks like an fmri error closing out the transaction while updating the catalog.

> Looks like maybe there is problem that I have too many in-flight transactions.

That shouldn't be an issue unless they're for the same package possibly.

> I'm pretty sure that they are from same package SFExdelta.
> Can I somehow close/rollback these transactions?

Just dump the trans/ directory contents in the repo dir and restart the depot.

> For the quoting, I tried it with other quotes and it didn't helped.
> I will modify pkgbuild to do it your way for future, but when I tried
> single quota ' for other package (exactly same line)
> it worked.

I did a lot of fixes to the quote stuff recently so it's surprising
you're still seeing issue with this. You should use " for quoting
values though.

Such as, attr="value".

-- 
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to