Re: ImproperlyConfigured: Error importing middleware reviewboard.admin.middleware: DLL load failed: The specified module could not be found.
Ok, I've traced the problem to the Crypto library: [Tue Jan 04 16:00:22 2011] [error] File C:\\Python27\\lib\\site- packages\\reviewboard-1.5.1-py2.7.egg\\reviewboard\\diffviewer\ \forms.py, line 9, in module [Tue Jan 04 16:00:22 2011] [error] from reviewboard.diffviewer.diffutils import DEFAULT_DIFF_COMPAT_VERSION [Tue Jan 04 16:00:22 2011] [error] File C:\\Python27\\lib\\site- packages\\reviewboard-1.5.1-py2.7.egg\\reviewboard\\diffviewer\ \diffutils.py, line 30, in module [Tue Jan 04 16:00:22 2011] [error] from reviewboard.scmtools.core import PRE_CREATION, HEAD [Tue Jan 04 16:00:22 2011] [error] File C:\\Python27\\lib\\site- packages\\reviewboard-1.5.1-py2.7.egg\\reviewboard\\scmtools\ \core.py, line 5, in module [Tue Jan 04 16:00:22 2011] [error] from reviewboard.scmtools import sshutils [Tue Jan 04 16:00:22 2011] [error] File C:\\Python27\\lib\\site- packages\\reviewboard-1.5.1-py2.7.egg\\reviewboard\\scmtools\ \sshutils.py, line 5, in module [Tue Jan 04 16:00:22 2011] [error] import paramiko [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \paramiko\\__init__.py, line 69, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \paramiko\\transport.py, line 32, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \paramiko\\util.py, line 32, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \paramiko\\common.py, line 98, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \paramiko\\rng.py, line 23, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \Crypto\\Util\\randpool.py, line 30, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \Crypto\\Random\\__init__.py, line 28, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \Crypto\\Random\\OSRNG\\__init__.py, line 34, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \Crypto\\Random\\OSRNG\\nt.py, line 28, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \Crypto\\Random\\OSRNG\\winrandom.py, line 7, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \Crypto\\Random\\OSRNG\\winrandom.py, line 6, in __bootstrap__ [Tue Jan 04 16:00:22 2011] [error] ImportError: DLL load failed: The specified module could not be found. I will try to find out more.. On 12 Dec 2010, 12:50, Dan birb...@gmail.com wrote: Have you found solution to this problem, I have the same problem now. Could anyone give some hints? Any help will be highly appreciated. On Dec 1, 3:59 am, Travis dahlke.tra...@gmail.com wrote: Trying to install Reviewboard 1.5.1 on Windows XP SP3 with Apache 2.2 and mod_wsgi. Below is my apache error log. In my browser I get stuck on Review Board is taking a nap. Any idea what's going on? How do I tell which DLL failed? [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] mod_wsgi (pid=14184): Exception occurred processing WSGI script 'C:/reviewboard/ htdocs/reviewboard.wsgi'. [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] Traceback (most recent call last): [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] File C:\ \Python27\\lib\\site-packages\\django-1.2.3-py2.7.egg\\django\\core\ \handlers\\wsgi.py, line 230, in __call__ [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] self.load_middleware() [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] File C:\ \Python27\\lib\\site-packages\\django-1.2.3-py2.7.egg\\django\\core\ \handlers\\base.py, line 42, in load_middleware [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] raise exceptions.ImproperlyConfigured('Error importing middleware %s: %s' % (mw_module, e)) [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] ImproperlyConfigured: Error importing middleware reviewboard.admin.middleware: DLL load failed: The specified module could not be found. -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: ImproperlyConfigured: Error importing middleware reviewboard.admin.middleware: DLL load failed: The specified module could not be found.
I just got the same error with Windows 2008 server, Apache 2.2.17, Python 2.7.1, mod_wsgi 3.3 and Reviewboard 1.5.1. Any progress on the issue? On 30 Nov 2010, 20:59, Travis dahlke.tra...@gmail.com wrote: Trying to install Reviewboard 1.5.1 on Windows XP SP3 with Apache 2.2 and mod_wsgi. Below is my apache error log. In my browser I get stuck on Review Board is taking a nap. Any idea what's going on? How do I tell which DLL failed? [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] mod_wsgi (pid=14184): Exception occurred processing WSGI script 'C:/reviewboard/ htdocs/reviewboard.wsgi'. [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] Traceback (most recent call last): [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] File C:\ \Python27\\lib\\site-packages\\django-1.2.3-py2.7.egg\\django\\core\ \handlers\\wsgi.py, line 230, in __call__ [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] self.load_middleware() [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] File C:\ \Python27\\lib\\site-packages\\django-1.2.3-py2.7.egg\\django\\core\ \handlers\\base.py, line 42, in load_middleware [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] raise exceptions.ImproperlyConfigured('Error importing middleware %s: %s' % (mw_module, e)) [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] ImproperlyConfigured: Error importing middleware reviewboard.admin.middleware: DLL load failed: The specified module could not be found. -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: ImproperlyConfigured: Error importing middleware reviewboard.admin.middleware: DLL load failed: The specified module could not be found.
Ok, I reinstalled the cryptolibrary and ran the tests using setup.py test, ALL OK. I ran the tests with lowest trust level as well, no diff (runas /trustlevel:0x2 ...). So I figured it might be a user privilege thing, so I tried running the apache service as administrator, but there was no difference. This is seriously annoying. On 4 Jan, 16:10, mandrake mt02c...@gmail.com wrote: Ok, I've traced the problem to the Crypto library: [Tue Jan 04 16:00:22 2011] [error] File C:\\Python27\\lib\\site- packages\\reviewboard-1.5.1-py2.7.egg\\reviewboard\\diffviewer\ \forms.py, line 9, in module [Tue Jan 04 16:00:22 2011] [error] from reviewboard.diffviewer.diffutils import DEFAULT_DIFF_COMPAT_VERSION [Tue Jan 04 16:00:22 2011] [error] File C:\\Python27\\lib\\site- packages\\reviewboard-1.5.1-py2.7.egg\\reviewboard\\diffviewer\ \diffutils.py, line 30, in module [Tue Jan 04 16:00:22 2011] [error] from reviewboard.scmtools.core import PRE_CREATION, HEAD [Tue Jan 04 16:00:22 2011] [error] File C:\\Python27\\lib\\site- packages\\reviewboard-1.5.1-py2.7.egg\\reviewboard\\scmtools\ \core.py, line 5, in module [Tue Jan 04 16:00:22 2011] [error] from reviewboard.scmtools import sshutils [Tue Jan 04 16:00:22 2011] [error] File C:\\Python27\\lib\\site- packages\\reviewboard-1.5.1-py2.7.egg\\reviewboard\\scmtools\ \sshutils.py, line 5, in module [Tue Jan 04 16:00:22 2011] [error] import paramiko [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \paramiko\\__init__.py, line 69, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \paramiko\\transport.py, line 32, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \paramiko\\util.py, line 32, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \paramiko\\common.py, line 98, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \paramiko\\rng.py, line 23, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \Crypto\\Util\\randpool.py, line 30, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \Crypto\\Random\\__init__.py, line 28, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \Crypto\\Random\\OSRNG\\__init__.py, line 34, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \Crypto\\Random\\OSRNG\\nt.py, line 28, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \Crypto\\Random\\OSRNG\\winrandom.py, line 7, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \Crypto\\Random\\OSRNG\\winrandom.py, line 6, in __bootstrap__ [Tue Jan 04 16:00:22 2011] [error] ImportError: DLL load failed: The specified module could not be found. I will try to find out more.. On 12 Dec 2010, 12:50, Dan birb...@gmail.com wrote: Have you found solution to this problem, I have the same problem now. Could anyone give some hints? Any help will be highly appreciated. On Dec 1, 3:59 am, Travis dahlke.tra...@gmail.com wrote: Trying to install Reviewboard 1.5.1 on Windows XP SP3 with Apache 2.2 and mod_wsgi. Below is my apache error log. In my browser I get stuck on Review Board is taking a nap. Any idea what's going on? How do I tell which DLL failed? [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] mod_wsgi (pid=14184): Exception occurred processing WSGI script 'C:/reviewboard/ htdocs/reviewboard.wsgi'. [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] Traceback (most recent call last): [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] File C:\ \Python27\\lib\\site-packages\\django-1.2.3-py2.7.egg\\django\\core\ \handlers\\wsgi.py, line 230, in __call__ [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] self.load_middleware() [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] File C:\ \Python27\\lib\\site-packages\\django-1.2.3-py2.7.egg\\django\\core\ \handlers\\base.py, line 42, in load_middleware [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] raise exceptions.ImproperlyConfigured('Error importing middleware %s: %s' % (mw_module, e)) [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] ImproperlyConfigured: Error importing middleware reviewboard.admin.middleware: DLL load failed: The specified module could not be found. -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: ImproperlyConfigured: Error importing middleware reviewboard.admin.middleware: DLL load failed: The specified module could not be found.
There seem to be many really painful issues with certain Python modules/configs on Windows. I *strongly* recommend, for these reasons and others, that you run Review Board on Linux, whether on a native Linux box or in a VM. You will have a far better experience, better forward-compatibility, and better reliability. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Jan 4, 2011 at 7:38 AM, mandrake mt02c...@gmail.com wrote: Ok, I reinstalled the cryptolibrary and ran the tests using setup.py test, ALL OK. I ran the tests with lowest trust level as well, no diff (runas /trustlevel:0x2 ...). So I figured it might be a user privilege thing, so I tried running the apache service as administrator, but there was no difference. This is seriously annoying. On 4 Jan, 16:10, mandrake mt02c...@gmail.com wrote: Ok, I've traced the problem to the Crypto library: [Tue Jan 04 16:00:22 2011] [error] File C:\\Python27\\lib\\site- packages\\reviewboard-1.5.1-py2.7.egg\\reviewboard\\diffviewer\ \forms.py, line 9, in module [Tue Jan 04 16:00:22 2011] [error] from reviewboard.diffviewer.diffutils import DEFAULT_DIFF_COMPAT_VERSION [Tue Jan 04 16:00:22 2011] [error] File C:\\Python27\\lib\\site- packages\\reviewboard-1.5.1-py2.7.egg\\reviewboard\\diffviewer\ \diffutils.py, line 30, in module [Tue Jan 04 16:00:22 2011] [error] from reviewboard.scmtools.core import PRE_CREATION, HEAD [Tue Jan 04 16:00:22 2011] [error] File C:\\Python27\\lib\\site- packages\\reviewboard-1.5.1-py2.7.egg\\reviewboard\\scmtools\ \core.py, line 5, in module [Tue Jan 04 16:00:22 2011] [error] from reviewboard.scmtools import sshutils [Tue Jan 04 16:00:22 2011] [error] File C:\\Python27\\lib\\site- packages\\reviewboard-1.5.1-py2.7.egg\\reviewboard\\scmtools\ \sshutils.py, line 5, in module [Tue Jan 04 16:00:22 2011] [error] import paramiko [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \paramiko\\__init__.py, line 69, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \paramiko\\transport.py, line 32, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \paramiko\\util.py, line 32, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \paramiko\\common.py, line 98, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \paramiko\\rng.py, line 23, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \Crypto\\Util\\randpool.py, line 30, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \Crypto\\Random\\__init__.py, line 28, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \Crypto\\Random\\OSRNG\\__init__.py, line 34, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \Crypto\\Random\\OSRNG\\nt.py, line 28, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \Crypto\\Random\\OSRNG\\winrandom.py, line 7, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \Crypto\\Random\\OSRNG\\winrandom.py, line 6, in __bootstrap__ [Tue Jan 04 16:00:22 2011] [error] ImportError: DLL load failed: The specified module could not be found. I will try to find out more.. On 12 Dec 2010, 12:50, Dan birb...@gmail.com wrote: Have you found solution to this problem, I have the same problem now. Could anyone give some hints? Any help will be highly appreciated. On Dec 1, 3:59 am, Travis dahlke.tra...@gmail.com wrote: Trying to install Reviewboard 1.5.1 on Windows XP SP3 with Apache 2.2 and mod_wsgi. Below is my apache error log. In my browser I get stuck on Review Board is taking a nap. Any idea what's going on? How do I tell which DLL failed? [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] mod_wsgi (pid=14184): Exception occurred processing WSGI script 'C:/reviewboard/ htdocs/reviewboard.wsgi'. [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] Traceback (most recent call last): [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] File C:\ \Python27\\lib\\site-packages\\django-1.2.3-py2.7.egg\\django\\core\ \handlers\\wsgi.py, line 230, in __call__ [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] self.load_middleware() [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] File C:\ \Python27\\lib\\site-packages\\django-1.2.3-py2.7.egg\\django\\core\ \handlers\\base.py, line 42, in load_middleware [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] raise exceptions.ImproperlyConfigured('Error importing middleware %s: %s' % (mw_module, e)) [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] ImproperlyConfigured: Error importing middleware reviewboard.admin.middleware: DLL load failed: The specified module could not be found. --
Re: django.core.exceptions.ImproperlyConfigured: MySQLdb-1.2.1p2 or newer is required; you have 1.2.1
I am sorry I didn't reply back. I didn't place the correct group email settings. I know this is 1 year too late :) But it might help others searching for a solution. Basically, if you have installed MySQL-python from the yum like this: yum install MySQL-python That installs a really old version (nothing out of the ordinary with RHEL), you would need to install the package from easy_install as stated in the docs: easy_install mysql-python You will still have a problem doing that on a recent RHEL server with the following error: Searching for mysql-python Reading http://pypi.python.org/simple/mysql-python/ Reading http://sourceforge.net/projects/mysql-python/ Reading http://sourceforge.net/projects/mysql-python Best match: MySQL-python 1.2.3 Downloading http://download.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.3.tar.gz Processing MySQL-python-1.2.3.tar.gz Running MySQL-python-1.2.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-JSe0sC/MySQL-python-1.2.3/e gg-dist-tmp-oEFDWM warning: no files found matching 'MANIFEST' warning: no files found matching 'ChangeLog' warning: no files found matching 'GPL' _mysql.c:36:23: error: my_config.h: No such file or directory _mysql.c:38:19: error: mysql.h: No such file or directory _mysql.c:39:26: error: mysqld_error.h: No such file or directory _mysql.c:40:20: error: errmsg.h: No such file or directory ... ... _mysql.c:2422: error: initializer element is not constant _mysql.c:2422: error: (near initialization for â_mysql_ResultObject_memberlist[0].offsetâ) _mysql.c: In function â_mysql_ConnectionObject_getattrâ: _mysql.c:2444: error: â_mysql_ConnectionObjectâ has no member named âopenâ error: Setup script exited with error: command 'gcc' failed with exit status 1 You should quickly realize that it requires the MySQL headers since at the beginning stated missing files, so if you install it: yum install mysql-devel It will work perfectly. I hope this will help other people who are running Review Board on RHEL. Maybe worth adding to the docs that mysql-devel is needed t install mysql-python correctly. Thanks, Mohamed Mansour -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: django.core.exceptions.ImproperlyConfigured: MySQLdb-1.2.1p2 or newer is required; you have 1.2.1
https://bugzilla.redhat.com/show_bug.cgi?id=555868 I opened a bug a while ago to have the version of MySQL-python in RHEL5 brought up to a usable level. So hopefully it will be resolved in the near future. In the meantime, it's off to RHEL 6 for me :) Also, if you don't want to self-manage ReviewBoard in RHEL 5, I maintain the EPEL RPMs for it, so you don't have to deal with easy_install upgrading your python packages to unsupported versions. On Jan 4, 3:26 pm, Mohamed Mansour m0.interact...@gmail.com wrote: I am sorry I didn't reply back. I didn't place the correct group email settings. I know this is 1 year too late :) But it might help others searching for a solution. Basically, if you have installed MySQL-python from the yum like this: yum install MySQL-python That installs a really old version (nothing out of the ordinary with RHEL), you would need to install the package from easy_install as stated in the docs: easy_install mysql-python You will still have a problem doing that on a recent RHEL server with the following error: Searching for mysql-python Readinghttp://pypi.python.org/simple/mysql-python/ Readinghttp://sourceforge.net/projects/mysql-python/ Readinghttp://sourceforge.net/projects/mysql-python Best match: MySQL-python 1.2.3 Downloadinghttp://download.sourceforge.net/sourceforge/mysql-python/MySQL-python... Processing MySQL-python-1.2.3.tar.gz Running MySQL-python-1.2.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-JSe0sC/MySQL-python-1.2.3/e gg-dist-tmp-oEFDWM warning: no files found matching 'MANIFEST' warning: no files found matching 'ChangeLog' warning: no files found matching 'GPL' _mysql.c:36:23: error: my_config.h: No such file or directory _mysql.c:38:19: error: mysql.h: No such file or directory _mysql.c:39:26: error: mysqld_error.h: No such file or directory _mysql.c:40:20: error: errmsg.h: No such file or directory ... ... _mysql.c:2422: error: initializer element is not constant _mysql.c:2422: error: (near initialization for â_mysql_ResultObject_memberlist[0].offsetâ) _mysql.c: In function â_mysql_ConnectionObject_getattrâ: _mysql.c:2444: error: â_mysql_ConnectionObjectâ has no member named âopenâ error: Setup script exited with error: command 'gcc' failed with exit status 1 You should quickly realize that it requires the MySQL headers since at the beginning stated missing files, so if you install it: yum install mysql-devel It will work perfectly. I hope this will help other people who are running Review Board on RHEL. Maybe worth adding to the docs that mysql-devel is needed t install mysql-python correctly. Thanks, Mohamed Mansour -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: ImproperlyConfigured: Error importing middleware reviewboard.admin.middleware: DLL load failed: The specified module could not be found.
There is definitely a problem involving mod_wsgi, Python, and extensions built with MSVC. See the question Why do no Python DLLs built with MSVC load with mod_wsgi? that's on Stack Overflow: http://stackoverflow.com/questions/3706293/why-do-no-python-dlls-built-with-msvc-load-with-mod-wsgi The author there worked around by installing a pycrypto built with MinGW. On Jan 4, 10:38 am, mandrake mt02c...@gmail.com wrote: Ok, I reinstalled the cryptolibrary and ran the tests using setup.py test, ALL OK. I ran the tests with lowest trust level as well, no diff (runas /trustlevel:0x2 ...). So I figured it might be a user privilege thing, so I tried running the apache service as administrator, but there was no difference. This is seriously annoying. On 4 Jan, 16:10, mandrake mt02c...@gmail.com wrote: Ok, I've traced the problem to the Crypto library: [Tue Jan 04 16:00:22 2011] [error] File C:\\Python27\\lib\\site- packages\\reviewboard-1.5.1-py2.7.egg\\reviewboard\\diffviewer\ \forms.py, line 9, in module [Tue Jan 04 16:00:22 2011] [error] from reviewboard.diffviewer.diffutils import DEFAULT_DIFF_COMPAT_VERSION [Tue Jan 04 16:00:22 2011] [error] File C:\\Python27\\lib\\site- packages\\reviewboard-1.5.1-py2.7.egg\\reviewboard\\diffviewer\ \diffutils.py, line 30, in module [Tue Jan 04 16:00:22 2011] [error] from reviewboard.scmtools.core import PRE_CREATION, HEAD [Tue Jan 04 16:00:22 2011] [error] File C:\\Python27\\lib\\site- packages\\reviewboard-1.5.1-py2.7.egg\\reviewboard\\scmtools\ \core.py, line 5, in module [Tue Jan 04 16:00:22 2011] [error] from reviewboard.scmtools import sshutils [Tue Jan 04 16:00:22 2011] [error] File C:\\Python27\\lib\\site- packages\\reviewboard-1.5.1-py2.7.egg\\reviewboard\\scmtools\ \sshutils.py, line 5, in module [Tue Jan 04 16:00:22 2011] [error] import paramiko [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \paramiko\\__init__.py, line 69, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \paramiko\\transport.py, line 32, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \paramiko\\util.py, line 32, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \paramiko\\common.py, line 98, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \paramiko\\rng.py, line 23, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \Crypto\\Util\\randpool.py, line 30, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \Crypto\\Random\\__init__.py, line 28, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \Crypto\\Random\\OSRNG\\__init__.py, line 34, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \Crypto\\Random\\OSRNG\\nt.py, line 28, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \Crypto\\Random\\OSRNG\\winrandom.py, line 7, in module [Tue Jan 04 16:00:22 2011] [error] File build\\bdist.win32\\egg\ \Crypto\\Random\\OSRNG\\winrandom.py, line 6, in __bootstrap__ [Tue Jan 04 16:00:22 2011] [error] ImportError: DLL load failed: The specified module could not be found. I will try to find out more.. On 12 Dec 2010, 12:50, Dan birb...@gmail.com wrote: Have you found solution to this problem, I have the same problem now. Could anyone give some hints? Any help will be highly appreciated. On Dec 1, 3:59 am, Travis dahlke.tra...@gmail.com wrote: Trying to install Reviewboard 1.5.1 on Windows XP SP3 with Apache 2.2 and mod_wsgi. Below is my apache error log. In my browser I get stuck on Review Board is taking a nap. Any idea what's going on? How do I tell which DLL failed? [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] mod_wsgi (pid=14184): Exception occurred processing WSGI script 'C:/reviewboard/ htdocs/reviewboard.wsgi'. [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] Traceback (most recent call last): [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] File C:\ \Python27\\lib\\site-packages\\django-1.2.3-py2.7.egg\\django\\core\ \handlers\\wsgi.py, line 230, in __call__ [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] self.load_middleware() [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] File C:\ \Python27\\lib\\site-packages\\django-1.2.3-py2.7.egg\\django\\core\ \handlers\\base.py, line 42, in load_middleware [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] raise exceptions.ImproperlyConfigured('Error importing middleware %s: %s' % (mw_module, e)) [Tue Nov 30 13:40:12 2010] [error] [client 127.0.0.1] ImproperlyConfigured: Error importing middleware reviewboard.admin.middleware: DLL load failed: The specified module could not be found.- Hide quoted text - -
Re: uploading a generated diff file from command line
I see. I was using the hg postreview which does not have the --diff-filename parameter. The post-review command does exist but it isn't set up (because we never use it) and so it can't find the mercurial repository: The repository path http://cm1/hg/sandbox/v01.0/int; is not in the list of known repositories on the server. Does the mercurial postreview extension need an enhancement? Perhaps a more generic enhancement is to allow different diff utilities to be declared for different filename extensions, e.g. something like this in the .hgrc: [reviewboard] server = http://myserver/reviews difftool = .xml/home/myuserid/bin/xmldiff difftool = .bob /is/your/uncle If the extension is not in the difftool list, the default mercurial diff is used. That way, I still use hg postreview and the correct diff utility is invoked automatically for me. No external files, no manual steps, etc. John On Tue, Jan 4, 2011 at 11:48 AM, Christian Hammond chip...@chipx86.comwrote: Hi John, You want to use plain post-review with the --diff-filename parameter, and specify the diff file. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Jan 3, 2011 at 5:09 PM, J Arrizza cppge...@gmail.com wrote: I've searched the archives and google with no luck. I have been able to get a mercurial extdiff called 'xmldiff' to generate a nice, clean diff of my xml file. Now I'd like to be able to post the same diff to RB. My preference would be to run the same diff script using hg postreview some-magic-occurs but I can live with a manual version: hg xmldiff -r nnn some.xml some.diff hg postreview some-magic-occurs some.diff Is there a way to do either of these? John -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Issue 1934 in reviewboard: Installation problem of reviewboard on windows
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 1934 by rajupunna: Installation problem of reviewboard on windows http://code.google.com/p/reviewboard/issues/detail?id=1934 *NOTE: Do not post confidential information in this bug report.* What version are you running? I have installed the python2.7 and installed the reviewboard with the instructions which are there in the http://www.reviewboard.org/docs/manual/dev/admin/installation/windows/ page. Installed mysql 5.5 version. while running the easy_install mysql-python command , I am getting the follwing exception . C:\Documents and Settings\FactsRnDeasy_install mysql-python Searching for mysql-python Reading http://pypi.python.org/simple/mysql-python/ Reading http://sourceforge.net/projects/mysql-python/ Reading http://sourceforge.net/projects/mysql-python Best match: MySQL-python 1.2.3 Downloading http://download.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.3.tar.gz Processing MySQL-python-1.2.3.tar.gz Running MySQL-python-1.2.3\setup.py -q bdist_egg --dist-dir c:\docume~1\factsrnd\locals~1\temp\easy_install-dsfadk\MySQL -python-1.2.3\egg-dist-tmp-jxvaoq error: The system cannot find the file specified What's the URL of the page containing the problem? What steps will reproduce the problem? 1. 2. 3. What is the expected output? What do you see instead? What operating system are you using? What browser? windows Please provide any additional information below. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-iss...@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.