[Thuban-list] trouble loading extension
Silke.Reimer at intevation.de
Wed Nov 10 15:00:32 CET 2004
On Wed, Nov 10, 2004 at 02:22:57PM +0100, Moritz Lennert wrote:
> I guess I just haven't understood the process completely, but I just can't
> get extensions to be loaded with a freshly compiled CVS version on debian.
> I tried copying the svgexport directory from the thuban/Extensions
> dircectory to my .thuban directory and then using "import svgexport" in
> thubanstart, but I get no Extensions menu, nor can I find the svg export
> functions anywhere else.
> I also tried setting the PYTHONPATH variable to /usr/lib/thuban/Extensions
> and then add an "import importAPR" into thubanstart. Same results...
> Could someone explain how I should proceed ?
Normally the Extension has a name (i.e. svgexport, importAPR etc.)
and one or several modules within the extension that can be loaded.
For importAPR you can only import the module importAPR but for
svgexport the module is named svgsaver and for the umn_mapserver
extension you have mf_export and mf_import and so on.
So, if /usr/lib/thuban/Extensions is in your PYTHONPATH you should
If you don't have the Extensions directory in your PYTHONPATH the
following should do it:
In some extensions (unfortunately not in all) their is a README
explaining which extension can be loaded and how.
Intevation GmbH http://intevation.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://intevation.de/pipermail/thuban-list/attachments/20041110/04121651/attachment.bin
More information about the Thuban-list