[haiku-bugs] [Haiku] #11306: "package add" odd failure wit this attribute combination

  • From: "ttcoder" <trac@xxxxxxxxxxxx>
  • Date: Tue, 30 Sep 2014 19:22:08 -0000

#11306: "package add" odd failure wit this attribute combination
------------------------------+------------------------------
 Reporter:  ttcoder           |        Owner:  bonefish
     Type:  bug               |       Status:  new
 Priority:  low               |    Milestone:  R1
Component:  Kits/Package Kit  |      Version:  R1/Development
 Keywords:                    |   Blocked By:
 Blocking:                    |  Has a Patch:  0
 Platform:  All               |
------------------------------+------------------------------
 Got this error today when packaging even though nothing changed (well
 something did, see below): `Failed to parse package info date from package
 file: Bad data` on this hrev47395 install.

 Digging, I found out that `package` is choking on a StyledEdit attribute
 of the .PackageInfo file.. only now that it is combined with a Pe
 attribute. Indeed a few days ago I transitioned from using StyledEdit to
 exclusively using Pe, so I guess I'm now getting a double serving of
 "caret position" attributes on my textfiiles :-).

 Anyway the workaround was simply to "reset" the .PackageInfo file, create
 a new one, free of text editor attributes. Filing a low-priority ticket in
 case the underlying reason matters though..

--
Ticket URL: <https://dev.haiku-os.org/ticket/11306>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: