error: no version of package ... provided
Zbigniew Diaczyszyn <[email protected]> Fri, 11 Dec 2009 11:19:35 +0000 (UTC)
| Newsgroups | gmane.comp.lang.tcl.starkit |
|---|---|
| Message-ID | <[email protected]> |
Sorry, me once again..
tclkit is now starting the application with the first GUI-Opendialog.
When it is finished the application starts main GUI: Building menus etc, and
then appears an error window with the message:
attempt to provide package app-gorilla15alpha 1.0 failed:
no version of package app-gorilla15alpha provided
Perhaps the structure of the gorilla15alpha.vfs will help something:
The package is named "gorilla15alpha.kit" and has the following content:
.
|-- lib
| |-- app-gorilla15alpha
| |-- blowfish
| |-- msgs
| |-- pics
| |-- pwsafe
| |-- sha1
| `-- twofish
`-- main.tcl
gorilla15alpha.vfs/lib/app-gorilla15alpha/
|-- CHANGES.txt
|-- LICENSE.txt
|-- gorilla15alpha.tcl
|-- help.txt
|-- isaac.tcl
`-- pkgIndex.tcl
The content of main.tcl is:
package require starkit
starkit::startup
package require app-gorilla15alpha
The content of gorilla15alpha.vfs/lib/app-gorilla15alpha/pkgIndex.tcl is
package ifneeded app-gorilla15alpha 1.0 \
[list source [file join $dir gorilla15alpha.tcl]]
If I'm deleting the version "1.0" parameter then I get the following error:
$ tclkit gorilla15alpha.kit
error reading package index file
[...]/gorilla-1.5alpha/gorilla15alpha.kit/lib/app-gorilla15alpha/pkgIndex.tcl:
expected version number but got "source
[...]/lib/app-gorilla15alpha gorilla15alpha.tcl"
can't find package app-gorilla15alpha
while executing
"package require app-gorilla15alpha"
(file ".../main.tcl" line 4)
invoked from within
"source /home/dia/Projekte/gorilla-1.5alpha/gorilla15alpha.kit/main.tcl"
thanks in advance
--
You received this message because you are subscribed to the "starkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/starkit?hl=en