Hi

Thanks for your answer, I still have the problem, I tried moving the luma file to /usr/bin but doesn't work, I also wanted install again the packet, but I can't because give me a message that is already installed.

Traceback (most recent call last):
  File "/usr/bin/luma", line 20, in <module>
    import environment
ImportError: No module named environment


I tried the dpkg -L luma:

/.
/usr
/usr/bin
/usr/lib
/usr/lib/luma
/usr/lib/luma/environment
/usr/lib/luma/environment/__init__.py
/usr/lib/luma/luma.py
/usr/lib/luma/__init__.py
/usr/lib/luma/base
/usr/lib/luma/base/backend
/usr/lib/luma/base/backend/PluginLoader.py
/usr/lib/luma/base/backend/ObjectClassAttributeInfo.py
/usr/lib/luma/base/backend/LumaImport.py
/usr/lib/luma/base/backend/__init__.py
/usr/lib/luma/base/backend/LumaConnection.py
/usr/lib/luma/base/backend/SmartDataObject.py
/usr/lib/luma/base/backend/ServerList.py
/usr/lib/luma/base/backend/ServerObject.py
/usr/lib/luma/base/gui
/usr/lib/luma/base/gui/BaseSelector.py
/usr/lib/luma/base/gui/MainWin.py
/usr/lib/luma/base/gui/LanguageDialogDesign.py
/usr/lib/luma/base/gui/ImprovedServerDialogDesign.py
/usr/lib/luma/base/gui/AboutDialog.py
/usr/lib/luma/base/gui/__init__.py
/usr/lib/luma/base/gui/ServerDialogDesign.py
/usr/li b/luma/base/gui/MainWinDesign.py
/usr/lib/luma/base/gui/PluginLoaderGui.py
/usr/lib/luma/base/gui/BaseSelectorDesign.py
/usr/lib/luma/base/gui/ImprovedServerDialog.py
/usr/lib/luma/base/gui/ServerDialog.py
/usr/lib/luma/base/gui/PluginLoaderGuiDesign.py
/usr/lib/luma/base/gui/LanguageDialog.py
/usr/lib/luma/base/__init__.py
/usr/lib/luma/base/utils
/usr/lib/luma/base/utils/backend
/usr/lib/luma/base/utils/backend/mkpasswd.py
/usr/lib/luma/base/utils/backend/LogObject.py
/usr/lib/luma/base/utils/backend/DateHelper.py
/usr/lib/luma/base/utils/backend/__init__.py
/usr/lib/luma/base/utils/backend/CryptPwGenerator.py
/usr/lib/luma/base/utils/backend/templateutils.py
/usr/lib/luma/base/utils/gui
/usr/lib/luma/base/utils/gui/AdvancedObjectWidget.py
/usr/lib/luma/base/utils/gui/MailDialog.py
/usr/lib/luma/base/utils/gui/PasswordDialogDesign.py
/usr/lib/luma/base/utils/gui/PluginInformation.py
/usr/l ib/luma/base/utils/gui/EditorFactory.py
/usr/lib/luma/base/utils/gui/DeleteDialog.py
/usr/lib/luma/base/utils/gui/editors
/usr/lib/luma/base/utils/gui/editors/PasswordEditor.py
/usr/lib/luma/base/utils/gui/editors/StandardEditorDesign.py
/usr/lib/luma/base/utils/gui/editors/RdnEditor.py
/usr/lib/luma/base/utils/gui/editors/PasswordEditorDesign.py
/usr/lib/luma/base/utils/gui/editors/RdnEditorDesign.py
/usr/lib/luma/base/utils/gui/editors/BinaryEditorDesign.py
/usr/lib/luma/base/utils/gui/editors/__init__.py
/usr/lib/luma/base/utils/gui/editors/StandardEditor.py
/usr/lib/luma/base/utils/gui/editors/BinaryEditor.py
/usr/lib/luma/base/utils/gui/LumaEntryBrowserDesign.py
/usr/lib/luma/base/utils/gui/PasswordDialog.py
/usr/lib/luma/base/utils/gui/PromptPasswordDialog.py
/usr/lib/luma/base/utils/gui/ExportDialog.py
/usr/lib/luma/base/utils/gui/BrowserDialog.py
/usr/lib/luma/base/utils/gui/LumaErrorDialogDesig n.py
/usr/lib/luma/base/utils/gui/LoggerWidgetDesign.py
/usr/lib/luma/base/utils/gui/SearchForm.py
/usr/lib/luma/base/utils/gui/DeleteDialogDesign.py
/usr/lib/luma/base/utils/gui/AddAttributeWizard.py
/usr/lib/luma/base/utils/gui/MailDialogDesign.py
/usr/lib/luma/base/utils/gui/ExportDialogDesign.py
/usr/lib/luma/base/utils/gui/__init__.py
/usr/lib/luma/base/utils/gui/SearchFormDesign.py
/usr/lib/luma/base/utils/gui/BrowserWidget.py
/usr/lib/luma/base/utils/gui/SearchResultView.py
/usr/lib/luma/base/utils/gui/LumaErrorDialog.py
/usr/lib/luma/base/utils/gui/LumaEntryBrowser.py
/usr/lib/luma/base/utils/gui/LoggerWidget.py
/usr/lib/luma/base/utils/gui/FilterWizard.py
/usr/lib/luma/base/utils/gui/SearchResultViewDesign.py
/usr/lib/luma/base/utils/gui/FilterWizardDesign.py
/usr/lib/luma/base/utils/gui/LumaWarningDialog.py
/usr/lib/luma/base/utils/gui/AddAttributeWizardDesign.py
/usr/lib/luma/base/utils /__init__.py
/usr/lib/luma/plugins
/usr/lib/luma/plugins/schemabrowser
/usr/lib/luma/plugins/schemabrowser/SchemaViewDesign.py
/usr/lib/luma/plugins/schemabrowser/SearchView.py
/usr/lib/luma/plugins/schemabrowser/SchemaView.py
/usr/lib/luma/plugins/schemabrowser/__init__.py
/usr/lib/luma/plugins/schemabrowser/schemabrowser.py
/usr/lib/luma/plugins/schemabrowser/plugin.meta
/usr/lib/luma/plugins/browser_plugin
/usr/lib/luma/plugins/browser_plugin/browser_plugin.py
/usr/lib/luma/plugins/browser_plugin/__init__.py
/usr/lib/luma/plugins/browser_plugin/BrowserView.py
/usr/lib/luma/plugins/browser_plugin/plugin.meta
/usr/lib/luma/plugins/addressbook
/usr/lib/luma/plugins/addressbook/AddressbookSettingsDesign.py
/usr/lib/luma/plugins/addressbook/AddressbookSettings.py
/usr/lib/luma/plugins/addressbook/NameDialog.py
/usr/lib/luma/plugins/addressbook/AddressbookView.py
/usr/lib/luma/plugins/addressbook/Cat egoryEditDialog.py
/usr/lib/luma/plugins/addressbook/ContactWizard.py
/usr/lib/luma/plugins/addressbook/addressbook_plugin.py
/usr/lib/luma/plugins/addressbook/ContactWizardDesign.py
/usr/lib/luma/plugins/addressbook/__init__.py
/usr/lib/luma/plugins/addressbook/AddressbookWidget.py
/usr/lib/luma/plugins/addressbook/NewCategoryDialog.py
/usr/lib/luma/plugins/addressbook/CategoryEditDialogDesign.py
/usr/lib/luma/plugins/addressbook/plugin.meta
/usr/lib/luma/plugins/addressbook/AddressbookWidgetDesign.py
/usr/lib/luma/plugins/template_plugin
/usr/lib/luma/plugins/template_plugin/AddTemplateDialog.py
/usr/lib/luma/plugins/template_plugin/ClassDeleteDialog.py
/usr/lib/luma/plugins/template_plugin/template_plugin.py
/usr/lib/luma/plugins/template_plugin/AddAttributeDialogDesign.py
/usr/lib/luma/plugins/template_plugin/AddObjectClassDialog.py
/usr/lib/luma/plugins/template_plugin/AddObjectClassDialogDesign.py
/usr/lib/luma/plugins/template_plugin/__init__.py
/usr/lib/luma/plugins/template_plugin/AddAttributeDialog.py
/usr/lib/luma/plugins/template_plugin/plugin.meta
/usr/lib/luma/plugins/template_plugin/AddTemplateDialogDesign.py
/usr/lib/luma/plugins/template_plugin/TemplateWidgetDesign.py
/usr/lib/luma/plugins/template_plugin/TemplateWidget.py
/usr/lib/luma/plugins/usermanagement
/usr/lib/luma/plugins/usermanagement/GroupWizardDesign.py
/usr/lib/luma/plugins/usermanagement/NameDialog.py
/usr/lib/luma/plugins/usermanagement/UsermanagementWidgetDesign.py
/usr/lib/luma/plugins/usermanagement/GroupWizard.py
/usr/lib/luma/plugins/usermanagement/GroupWizardDesign.ui.h
/usr/lib/luma/plugins/usermanagement/AccountWizard.py
/usr/lib/luma/plugins/usermanagement/__init__.py
/usr/lib/luma/plugins/usermanagement/usermanagement_plugin.py
/usr/lib/luma/plugins/usermanagement/GroupDialog.py
/usr/lib/luma/plugins/usermanagem ent/UsermanagementWidget.py
/usr/lib/luma/plugins/usermanagement/AccountWizardDesign.py
/usr/lib/luma/plugins/usermanagement/plugin.meta
/usr/lib/luma/plugins/usermanagement/GroupDialogDesign.py
/usr/lib/luma/plugins/usermanagement/Usermanagement.py
/usr/lib/luma/plugins/__init__.py
/usr/lib/luma/plugins/admin_utils
/usr/lib/luma/plugins/admin_utils/admin_utilities_plugin.py
/usr/lib/luma/plugins/admin_utils/AdminPanel.py
/usr/lib/luma/plugins/admin_utils/__init__.py
/usr/lib/luma/plugins/admin_utils/plugin.meta
/usr/lib/luma/plugins/admin_utils/AdminPanelDesign.py
/usr/lib/luma/plugins/mass_creation_plugin
/usr/lib/luma/plugins/mass_creation_plugin/massive_users_plugin.py
/usr/lib/luma/plugins/mass_creation_plugin/MassCreationDesign.py
/usr/lib/luma/plugins/mass_creation_plugin/MassCreation.py
/usr/lib/luma/plugins/mass_creation_plugin/__init__.py
/usr/lib/luma/plugins/mass_creation_plugin/plugin.meta& lt; br>/usr/lib/luma/plugins/search_plugin
/usr/lib/luma/plugins/search_plugin/SearchView.py
/usr/lib/luma/plugins/search_plugin/__init__.py
/usr/lib/luma/plugins/search_plugin/plugin.meta
/usr/lib/luma/plugins/search_plugin/search_plugin.py
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/luma.1.gz
/usr/share/luma
/usr/share/luma/doc
/usr/share/luma/doc/massive.help
/usr/share/luma/i18n
/usr/share/luma/i18n/es.png
/usr/share/luma/i18n/luma_fr.qm
/usr/share/luma/i18n/luma_no.qm
/usr/share/luma/i18n/luma_ru.qm
/usr/share/luma/i18n/luma_br.qm
/usr/share/luma/i18n/luma_sv.qm
/usr/share/luma/i18n/luma_de.qm
/usr/share/luma/i18n/no.png
/usr/share/luma/i18n/de.png
/usr/share/luma/i18n/luma_cs.qm
/usr/share/luma/i18n/gb.png
/usr/share/luma/i18n/br.png
/usr/share/luma/i18n/sv.png
/usr/share/luma/i18n/luma_no_NY.qm
/usr/share/luma/i18n/ru.png
/usr/share/luma/i18n/ lum a_es.qm
/usr/share/luma/icons
/usr/share/luma/icons/view_tree.png
/usr/share/luma/icons/delete_small.png
/usr/share/luma/icons/config32.png
/usr/share/luma/icons/editdelete.png
/usr/share/luma/icons/security32.png
/usr/share/luma/icons/final.png
/usr/share/luma/icons/help.png
/usr/share/luma/icons/AdvancedObjectWidget
/usr/share/luma/icons/AdvancedObjectWidget/delete.png
/usr/share/luma/icons/AdvancedObjectWidget/binary.png
/usr/share/luma/icons/AdvancedObjectWidget/single.png
/usr/share/luma/icons/AdvancedObjectWidget/displayall.png
/usr/share/luma/icons/AdvancedObjectWidget/save.png
/usr/share/luma/icons/trashcan.png
/usr/share/luma/icons/luma-350.png
/usr/share/luma/icons/manage.png
/usr/share/luma/icons/1leftarrow.png
/usr/share/luma/icons/error.png
/usr/share/luma/icons/world.png
/usr/share/luma/icons/edit.png
/usr/share/luma/icons/2leftarrow.png
/usr/share/luma/icons/warning_big. png
/usr/share/luma/icons/email.png
/usr/share/luma/icons/secure-alias.png
/usr/share/luma/icons/today.png
/usr/share/luma/icons/trashcan_empty.svgz
/usr/share/luma/icons/luma-128.png
/usr/share/luma/icons/delete.png
/usr/share/luma/icons/editor.png
/usr/share/luma/icons/language.png
/usr/share/luma/icons/network48.png
/usr/share/luma/icons/network32.png
/usr/share/luma/icons/objectclass.png
/usr/share/luma/icons/1rightarrow.png
/usr/share/luma/icons/exportBinary.png
/usr/share/luma/icons/reload.png
/usr/share/luma/icons/binary.png
/usr/share/luma/icons/single.png
/usr/share/luma/icons/LOGO.README
/usr/share/luma/icons/luma-22.png
/usr/share/luma/icons/alias.png
/usr/share/luma/icons/no.png
/usr/share/luma/icons/warning.png
/usr/share/luma/icons/eraser.png
/usr/share/luma/icons/exportLdif.png
/usr/share/luma/icons/config.png
/usr/share/luma/icons/luma-32.png
/usr/share/luma/ic ons/certificate32.png
/usr/share/luma/icons/luma-16.png
/usr/share/luma/icons/certificate48.png
/usr/share/luma/icons/binary_big.png
/usr/share/luma/icons/new.png
/usr/share/luma/icons/ok.png
/usr/share/luma/icons/displayall.png
/usr/share/luma/icons/passwordmedium.png
/usr/share/luma/icons/secure.png
/usr/share/luma/icons/server.png
/usr/share/luma/icons/worldmedium.png
/usr/share/luma/icons/password_big.png
/usr/share/luma/icons/luma-blau.eps
/usr/share/luma/icons/mainwin
/usr/share/luma/icons/mainwin/exit.png
/usr/share/luma/icons/mainwin/gear.png
/usr/share/luma/icons/mainwin/reload.png
/usr/share/luma/icons/mainwin/bookmark.png
/usr/share/luma/icons/mainwin/fileclose.png
/usr/share/luma/icons/mainwin/domtreeviewer.png
/usr/share/luma/icons/mainwin/configure.png
/usr/share/luma/icons/mainwin/logger.png
/usr/share/luma/icons/filter.png
/usr/share/luma/icons/tip.png
/usr/share/lum a/icons/deleteEntry.png
/usr/share/luma/icons/save.png
/usr/share/luma/icons/addattribute.png
/usr/share/luma/icons/luma-64.png
/usr/share/luma/icons/newEntry.png
/usr/share/luma/icons/2rightarrow.png
/usr/share/luma/icons/view_icon.png
/usr/share/luma/icons/auth32.png
/usr/share/luma/icons/bomb.png
/usr/share/luma/icons/export_big.png
/usr/share/luma/icons/plugins
/usr/share/luma/icons/plugins/schemabrowser
/usr/share/luma/icons/plugins/schemabrowser/plugin.png
/usr/share/luma/icons/plugins/browser_plugin
/usr/share/luma/icons/plugins/browser_plugin/plugin.png
/usr/share/luma/icons/plugins/addressbook
/usr/share/luma/icons/plugins/addressbook/home.png
/usr/share/luma/icons/plugins/addressbook/person.png
/usr/share/luma/icons/plugins/addressbook/phone.png
/usr/share/luma/icons/plugins/addressbook/email.png
/usr/share/luma/icons/plugins/addressbook/location.png
/usr/share/luma/icons/plugins/a ddressbook/personal.png
/usr/share/luma/icons/plugins/addressbook/plugin.png
/usr/share/luma/icons/plugins/addressbook/work.png
/usr/share/luma/icons/plugins/addressbook/url.png
/usr/share/luma/icons/plugins/addressbook/category.png
/usr/share/luma/icons/plugins/template_plugin
/usr/share/luma/icons/plugins/template_plugin/up.png
/usr/share/luma/icons/plugins/template_plugin/down.png
/usr/share/luma/icons/plugins/template_plugin/plugin.png
/usr/share/luma/icons/plugins/template_plugin/add.png
/usr/share/luma/icons/plugins/template_plugin/remove.png
/usr/share/luma/icons/plugins/usermanagement
/usr/share/luma/icons/plugins/usermanagement/home.png
/usr/share/luma/icons/plugins/usermanagement/group.png
/usr/share/luma/icons/plugins/usermanagement/email.png
/usr/share/luma/icons/plugins/usermanagement/entry.png
/usr/share/luma/icons/plugins/usermanagement/shell.png
/usr/share/luma/icons/plugins/usermanageme nt/plugin.png
/usr/share/luma/icons/plugins/usermanagement/password.png
/usr/share/luma/icons/plugins/usermanagement/groupbig.png
/usr/share/luma/icons/plugins/admin_utils
/usr/share/luma/icons/plugins/admin_utils/plugin.png
/usr/share/luma/icons/plugins/admin_utils/date.png
/usr/share/luma/icons/plugins/admin_utils/secure.png
/usr/share/luma/icons/plugins/mass_creation_plugin
/usr/share/luma/icons/plugins/mass_creation_plugin/plugin.png
/usr/share/luma/icons/plugins/search_plugin
/usr/share/luma/icons/plugins/search_plugin/plugin.png
/usr/share/luma/icons/security48.png
/usr/share/luma/icons/clear.png
/usr/share/luma/icons/folder.png
/usr/share/luma/icons/luma-250.png
/usr/share/doc
/usr/share/doc/luma
/usr/share/doc/luma/README
/usr/share/doc/luma/copyright
/usr/share/doc/luma/changelog.gz
/usr/share/doc/luma/changelog.Debian.gz
/usr/share/menu
/usr/share/menu/luma
/usr/share/pixmaps
/usr/share/pixmaps/luma32.xpm
/usr/share/python-support
/usr/share/python-support/luma.private
/usr/bin/luma


--- El vie, 7/1/11, Vegar Westerlund <vegarwe-lists@gjallarhorn.net> escribió:

De: Vegar Westerlund <vegarwe-lists@gjallarhorn.net>
Asunto: [Luma-users] Luma Errors
A: luma-users@lists.sourceforge.net
Fecha: viernes, 1 de julio de 2011, 02:41 pm

On Fri, Jul 1, 2011 at 4:50 PM, Francis Abrante <fabrante@yahoo.com> wrote:
> I have Ubuntu 11.04  natty and I already installed luma but I cannot use it, in fact never works, give me the following error:
>
> Traceback (most recent call last):
>   File "/usr/local/bin/luma", line 20, in <module>
>     import environment
> ImportError: No module named environment
>
> And if I comment this line, give me errors with all the imports successively
>
> I am using luma_2.4-3 and I installed from apt-get install luma

How where you able to install luma in /usr/local/bin/luma by using
apt-get install luma? That doesn't seem right.

Try running dpkg -L luma, it will show all files installed by the luma
package. When I installed it on Natty here it will be placed in
/usr/bin/luma

--
Vegar Westerlund

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Luma-users mailing list
Luma-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luma-users