Opened 9 years ago

Closed 9 years ago

#6273 closed defect (invalid)

ImportError: No Module namded Crypto

Reported by: rcarroll@… Owned by: Colin Guthrie
Priority: high Component: GringottsPlugin
Severity: major Keywords:
Cc: Trac Release: 0.11


I am using 9.10 ubuntu. I just put trac on here and am trying to install the gringotts plugin. I am using 0.11.6 and after i do the upgrade I get an error that is stopping me and I am not able to figure out how to get past this.

After sudo trac-admin /var/lib/trac/myproject upgrade I get the following output

GringottPlugin needs an upgrade
 * Upgrading db
 * Initialising Encryption
Traceback (most recent call last):
  File "/usr/local/bin/trac-admin", line 8, in <module>
    load_entry_point('Trac==0.11.6', 'console_scripts', 'trac-admin')()
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.6-py2.6.egg/trac/admin/", line 1321, in run
    return admin.onecmd(command)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.6-py2.6.egg/trac/admin/", line 138, in onecmd
    rv = cmd.Cmd.onecmd(self, line) or 0
  File "/usr/lib/python2.6/", line 219, in onecmd
    return func(arg)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.6-py2.6.egg/trac/admin/", line 1159, in do_upgrade
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.6-py2.6.egg/trac/", line 464, in upgrade
  File "build/bdist.linux-i686/egg/gringotts/", line 104, in upgrade_environment
  File "build/bdist.linux-i686/egg/gringotts/", line 66, in do_key_generate
  File "build/bdist.linux-i686/egg/gringotts/", line 67, in <module>
ImportError: No module named Crypto

Attachments (0)

Change History (1)

comment:1 Changed 9 years ago by Colin Guthrie

Resolution: invalid
Status: newclosed

You are missing one of the requirements:

See GringottsPlugin which mentions this.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Colin Guthrie.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.