Modify

Opened 15 years ago

Closed 15 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

Description

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/console.py", 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/console.py", line 138, in onecmd
    rv = cmd.Cmd.onecmd(self, line) or 0
  File "/usr/lib/python2.6/cmd.py", line 219, in onecmd
    return func(arg)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.6-py2.6.egg/trac/admin/console.py", line 1159, in do_upgrade
    self.__env.upgrade(backup=do_backup)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.6-py2.6.egg/trac/env.py", line 464, in upgrade
    participant.upgrade_environment(db)
  File "build/bdist.linux-i686/egg/gringotts/api.py", line 104, in upgrade_environment
  File "build/bdist.linux-i686/egg/gringotts/api.py", line 66, in do_key_generate
  File "build/bdist.linux-i686/egg/gringotts/ezPyCrypto.py", line 67, in <module>
ImportError: No module named Crypto

Attachments (0)

Change History (1)

comment:1 Changed 15 years ago by Colin Guthrie

Resolution: invalid
Status: newclosed

You are missing one of the requirements: http://www.amk.ca/python/code/crypto.html

See GringottsPlugin which mentions this.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Colin Guthrie.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.