From: John L. <jo...@pc...> - 2002-05-04 18:51:39
|
Hello, I am developing a new webmin module for the Shorewall firewall. All seems to be going well except that the module will not install properly through the webmin module installer. I get the following error message Failed to install module from /tmp/shorewall.wbm : Module images is missing a module.info file Why does it think the images directory is a seperatr module. Or at least that is what I think the error message is teling me. I have looked at the code od the installer and cannot see what is causing it to not like this module. Can anyone assist please John Lodge jo...@pc... |
From: Joe C. <jo...@sw...> - 2002-05-04 19:25:15
|
Does the module untar into a 'shorewall' directory? It sounds like images is a toplevel directory in your tarball, perhaps, with all the other stuff being outside of a directory. Just a guess... John Lodge wrote: > Hello, > > I am developing a new webmin module for the Shorewall firewall. > > All seems to be going well except that the module will not install > properly through > the webmin module installer. > > I get the following error message > > Failed to install module from /tmp/shorewall.wbm : Module images is > missing a module.info file > > Why does it think the images directory is a seperatr module. Or at least > that is what I > think the error message is teling me. I have looked at the code od the > installer and > cannot see what is causing it to not like this module. > > Can anyone assist please > > John Lodge > jo...@pc... -- Joe Cooper <jo...@sw...> http://www.swelltech.com Web Caching Appliances and Support |
From: John L. <jo...@pc...> - 2002-05-04 19:38:26
|
Joe Cooper wrote: > > Does the module untar into a 'shorewall' directory? It sounds like > images is a toplevel directory in your tarball, perhaps, with all the > other stuff being outside of a directory. Just a guess... > > John Lodge wrote: > > Hello, > > > > I am developing a new webmin module for the Shorewall firewall. > > > > All seems to be going well except that the module will not install > > properly through > > the webmin module installer. > > > > I get the following error message > > > > Failed to install module from /tmp/shorewall.wbm : Module images is > > missing a module.info file > > > > Why does it think the images directory is a seperatr module. Or at least > > that is what I > > think the error message is teling me. I have looked at the code od the > > installer and > > cannot see what is causing it to not like this module. > > > > Can anyone assist please > > > > John Lodge > > jo...@pc... > > -- > Joe Cooper <jo...@sw...> > http://www.swelltech.com > Web Caching Appliances and Support Joe, Thanks for the reply The tarball consists of all the normal perl stuff, an images directory , a lang directory and a help directory. Addtitionally the tarball consists of a config, config.info and a module.info at the top level. This I understood was the proper shape for a webmin module tarball. |
From: Joe C. <jo...@sw...> - 2002-05-04 20:19:35
|
John Lodge wrote: > Joe Cooper wrote: > >>Does the module untar into a 'shorewall' directory? It sounds like >>images is a toplevel directory in your tarball, perhaps, with all the >>other stuff being outside of a directory. Just a guess... > Joe, > > Thanks for the reply > > The tarball consists of all the normal perl stuff, an images directory , > a lang directory and a help directory. > Addtitionally the tarball consists of a config, config.info and a > module.info at the top level. > > This I understood was the proper shape for a webmin module tarball. I meant is all of this stuff in its own directory called shorewall? For example, one of my modules untars like this: squidreports/ squidreports/config.info squidreports/config squidreports/images/ squidreports/images/icon.gif squidreports/lang/ squidreports/lang/en squidreports/config-redhat-linux squidreports/reports-lib.pl squidreports/index.cgi squidreports/module.info squidreports/reportview.cgi squidreports/calamaris.cron squidreports/help/ squidreports/help/reports.html Notice everything goes under the squidreports subdirectory when untarring. Your problem looks like it might be due to everything being 'loose', like so: config.info config images/ images/icon.gif lang/ lang/en config-redhat-linux reports-lib.pl index.cgi module.info reportview.cgi calamaris.cron help/ help/reports.html This won't work. Again, I'm guessing, but that's what it looks like from here. -- Joe Cooper <jo...@sw...> http://www.swelltech.com Web Caching Appliances and Support |