Iliad error -- More/Magritte/package.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Iliad error -- More/Magritte/package.xml

Brad Ackerman
When I attempt to install Iliad, I get the following error.

bsa3@maki:~/src/iliad$ ./make_packages.sh
packaging ./Core/Tests/package.xml ...
packaging ./Core/lib/HTTP/package.xml ...
packaging ./Core/lib/JSON/package.xml ...
packaging ./Core/package.xml ...
packaging ./More/Examples/package.xml ...
packaging ./More/Magritte/package.xml ...
gst-package: Invalid argument Iliad-More-Magritte: package not found
packaging ./More/UI/package.xml ...
packaging ./More/package.xml ...
packaging ./Swazoo/package.xml ...
packaging ./package.xml ...

Versions of Iliad before svn r1395 do not produce an error in
make_packages.sh, but fail to run:

Updated to revision 1394.
bsa3@maki:~/src/iliad$ rm -rf ~/.st
bsa3@maki:~/src/iliad$ ./make_packages.sh
packaging ./Core/Tests/package.xml ...
packaging ./Core/lib/HTTP/package.xml ...
packaging ./Core/lib/JSON/package.xml ...
packaging ./Core/package.xml ...
packaging ./More/Examples/package.xml ...
packaging ./More/Magritte/package.xml ...
packaging ./More/UI/package.xml ...
packaging ./More/package.xml ...
packaging ./Swazoo/package.xml ...
packaging ./package.xml ...
linking More/UI/stylesheets/iliad-ui.css to Public...
linking More/UI/images/arrow_down.png to Public...
linking More/UI/images/arrow_right.png to Public...
bsa3@maki:~/src/iliad$ gst
GNU Smalltalk ready

st> PackageLoader fileInPackage: 'Iliad'
"Global garbage collection... done"
Object: PackageLoader class error: Invalid argument Iliad-More-Widgets:
package not found
SystemExceptions.PackageNotAvailable(Exception)>>signal
(AnsiExcept.st:216)
SystemExceptions.PackageNotAvailable(Exception)>>signal:
(AnsiExcept.st:226)
SystemExceptions.PackageNotAvailable class(SystemExceptions.NotFound
class)>>signalOn:what: (AnsiExcept.st:910)
SystemExceptions.PackageNotAvailable class>>signal: (PkgLoader.st:57)
optimized [] in PackageLoader class>>fileInPackages: (PkgLoader.st:1609)
[] in
Kernel.PackageDirectories(Kernel.PackageGroup)>>extractDependenciesFor:ifMissing:
(PkgLoader.st:159)
Kernel.PackageDirectories>>at:ifAbsent: (PkgLoader.st:230)
[] in
Kernel.PackageDirectories(Kernel.PackageGroup)>>extractDependenciesFor:ifMissing:
(PkgLoader.st:159)
Set(HashedCollection)>>do: (HashedColl.st:201)
Kernel.PackageDirectories(Kernel.PackageGroup)>>extractDependenciesFor:ifMissing:
(PkgLoader.st:167)
PackageLoader class>>fileInPackages: (PkgLoader.st:1608)
PackageLoader class>>fileInPackage: (PkgLoader.st:1598)
UndefinedObject>>executeStatements (a String:1)
nil

This behavior is identical on GNU Smalltalk 3.1 and HEAD under OS X and
Debian sid.

--
Brad Ackerman                      PGP: 0x9F49A373
[hidden email]   <*>   http://bsa.smugmug.com/

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Iliad error -- More/Magritte/package.xml

Stefan Schmiedl
On Sat, 18 Jul 2009 09:37:52 +0000
Brad Ackerman <[hidden email]> wrote:

> When I attempt to install Iliad, I get the following error.
>
> bsa3@maki:~/src/iliad$ ./make_packages.sh
> packaging ./Core/Tests/package.xml ...
> packaging ./Core/lib/HTTP/package.xml ...
> packaging ./Core/lib/JSON/package.xml ...
> packaging ./Core/package.xml ...
> packaging ./More/Examples/package.xml ...
> packaging ./More/Magritte/package.xml ...
> gst-package: Invalid argument Iliad-More-Magritte: package not found
I found gst-package message quite often ... misleading.

In this case, the cause of the problem seems to be the reference
to a file missing in the repository

  <file>Widgets/MAOneToManyWidget.st</file>

remove that line, and the package builds. The real fix would be
to add the file to the repo, of course :-9

s.

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Iliad error -- More/Magritte/package.xml

Paolo Bonzini-2
Stefan Schmiedl wrote:

> On Sat, 18 Jul 2009 09:37:52 +0000
> Brad Ackerman <[hidden email]> wrote:
>
>> When I attempt to install Iliad, I get the following error.
>>
>> bsa3@maki:~/src/iliad$ ./make_packages.sh
>> packaging ./Core/Tests/package.xml ...
>> packaging ./Core/lib/HTTP/package.xml ...
>> packaging ./Core/lib/JSON/package.xml ...
>> packaging ./Core/package.xml ...
>> packaging ./More/Examples/package.xml ...
>> packaging ./More/Magritte/package.xml ...
>> gst-package: Invalid argument Iliad-More-Magritte: package not found
>
> I found gst-package message quite often ... misleading.

Can you provide a backtrace?  Just uncomment "ex pass." in the last line
of /usr/share/smalltalk/scripts/Package.st.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Iliad error -- More/Magritte/package.xml

Stefan Schmiedl
On Sat, 18 Jul 2009 15:47:58 +0200
Paolo Bonzini <[hidden email]> wrote:

> Can you provide a backtrace?  Just uncomment "ex pass." in the last line
> of /usr/share/smalltalk/scripts/Package.st.

stefan@g128 Magritte $ cp /usr/local/share/smalltalk/scripts/Package.st .

stefan@g128 Magritte $ gst -f Package.st -t . package.xml
gst-package: Invalid argument Iliad-More-Magritte: package not found

after uncommenting "ex pass":

stefan@g128 Magritte $ gst -f Package.st -t . package.xml
Object: Package new "<0x2afdf53b6670>" error: Invalid argument Iliad-More-Magritte: package not found
SystemExceptions.PackageNotAvailable(Signal)>>pass (ExcHandling.st:587)
optimized [] in UndefinedObject>>executeStatements (Package.st:778)
SystemExceptions.PackageNotAvailable(Signal)>>activateHandler: (ExcHandling.st:719)
SystemExceptions.PackageNotAvailable(Exception)>>signal (AnsiExcept.st:216)
SystemExceptions.PackageNotAvailable(Exception)>>signal: (AnsiExcept.st:226)
SystemExceptions.PackageNotAvailable class(SystemExceptions.NotFound class)>>signalOn:what: (AnsiExcept.st:910)
SystemExceptions.PackageNotAvailable class>>signal: (PkgLoader.st:57)
Package>>fullPathOf: (PkgLoader.st:1251)
optimized [] in Kernel.PackageInfo>>fullPathsOf: (PkgLoader.st:460)
[] in OrderedCollection(Collection)>>collect: (Collection.st:358)
OrderedCollection(SequenceableCollection)>>do: (SeqCollect.st:822)
OrderedCollection(Collection)>>collect: (Collection.st:359)
Package(Kernel.PackageInfo)>>fullPathsOf: (PkgLoader.st:460)
Package>>baseDirectories: (PkgLoader.st:1230)
[] in PackageFile(Kernel.PackageDirectory)>>parse: (PkgLoader.st:400)
BlockClosure>>on:do: (BlkClosure.st:192)
PackageFile(Kernel.PackageDirectory)>>parse: (PkgLoader.st:403)
optimized [] in PackageFile>>refreshPackageList (Package.st:70)
[] in File(FilePath)>>withReadStreamDo: (FilePath.st:650)
BlockClosure>>ensure: (BlkClosure.st:269)
File(FilePath)>>withReadStreamDo: (FilePath.st:650)
PackageFile>>refreshPackageList (Package.st:69)
PackageFile(Kernel.PackageDirectory)>>refresh: (PkgLoader.st:336)
PackageFile(Kernel.PackageGroup)>>refresh (PkgLoader.st:182)
PackageFiles>>parse: (Package.st:95)
PackageFiles>>addFile: (Package.st:99)
optimized [] in PackageFiles>>addAllFiles: (Package.st:78)
OrderedCollection(SequenceableCollection)>>do: (SeqCollect.st:822)
PackageFiles>>addAllFiles: (Package.st:78)
PkgInstall(Command)>>addAllFiles: (Package.st:259)
optimized [] in UndefinedObject>>executeStatements (Package.st:769)
BlockClosure>>on:do: (BlkClosure.st:192)
UndefinedObject>>executeStatements (Package.st:775)
gst-package: Invalid argument Iliad-More-Magritte: package not found

s.


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Iliad error -- More/Magritte/package.xml

Brad Ackerman
In reply to this post by Stefan Schmiedl
On 199 12:43, Stefan Schmiedl wrote:
> In this case, the cause of the problem seems to be the reference
> to a file missing in the repository
>
>   <file>Widgets/MAOneToManyWidget.st</file>

Also the svn head (now 1403 w/ that file added) needs the reference to
Iliad-More-Widgets removed from More/Examples/package.xml, since that's
not in the respository either.

--
Brad Ackerman                      PGP: 0x9F49A373
[hidden email]   <*>   http://bsa.smugmug.com/

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Iliad error -- More/Magritte/package.xml

Nicolas Petton
Le samedi 18 juillet 2009 à 17:15 +0000, Brad Ackerman a écrit :

> On 199 12:43, Stefan Schmiedl wrote:
> > In this case, the cause of the problem seems to be the reference
> > to a file missing in the repository
> >
> >   <file>Widgets/MAOneToManyWidget.st</file>
>
> Also the svn head (now 1403 w/ that file added) needs the reference to
> Iliad-More-Widgets removed from More/Examples/package.xml, since that's
> not in the respository either.
>
Done :)

Cheers,

Nico

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

signature.asc (204 bytes) Download Attachment