Installing existing purchase module with different name - OpenErp - python

I'm trying to install the purchase app module from OpenErp with a different folder name, in order to edit code views as a different app and not modifying the existing one.
Client Traceback (most recent call last):
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\openerp\addons\web\http.py", line 203, in dispatch
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\openerp\addons\web\controllers\main.py", line 1133, in call_button
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\openerp\addons\web\controllers\main.py", line 1121, in _call_kw
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\openerp\addons\web\session.py", line 43, in proxy
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\openerp\addons\web\session.py", line 31, in proxy_method
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\openerp\addons\web\session.py", line 104, in send
Server Traceback (most recent call last):
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\openerp\addons\web\session.py", line 90, in send
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\netsvc.py", line 293, in dispatch_rpc
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\service\web_services.py", line 626, in dispatch
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\osv\osv.py", line 188, in execute_kw
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\osv\osv.py", line 131, in wrapper
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\osv\osv.py", line 197, in execute
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\osv\osv.py", line 185, in execute_cr
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\openerp\addons\base\module\module.py", line 424, in button_immediate_install
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\openerp\addons\base\module\module.py", line 475, in _button_immediate_function
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\pooler.py", line 39, in restart_pool
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\modules\registry.py", line 218, in new
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\modules\loading.py", line 348, in load_modules
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\modules\loading.py", line 259, in load_marked_modules
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\modules\loading.py", line 162, in load_module_graph
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\modules\module.py", line 405, in load_openerp_module
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\modules\module.py", line 133, in load_module
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\openerp\addons\compra\__init__.py", line 26, in <module>
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\openerp\addons\compra\report\__init__.py", line 22, in <module>
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\openerp\addons\compra\report\order.py", line 32, in <module>
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\report\report_sxw.py", line 392, in __init__
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\report\interface.py", line 65, in __init__
File "C:\Program Files\OpenERP 7.0-20130321-002353\Server\server\.\openerp\report\interface.py", line 45, in __init__
AssertionError: The report "report.purchase.order" already exists!
It throws me this error, could it be it's not possible to just change folder name and create new database without the existing purchase app installed to install it as another one?

This is not the good way of customization. If you do so OpenERP will give you error about report already exists. You should make your own module for customization.
If you really don't want to make your own module then either you should remove remove all the reports or you should change the name of report in py and xml as well.
This will resolve your error.
Thank you.

Related

how to resolve this Flask application run.py Error

C:\Users\Home\Desktop\CSS3\harward\files\src2\variables0>flask run
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
Traceback (most recent call last):
File "c:\program files\python38\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,`enter code here`
File "c:\program files\python38\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Program Files\Python38\Scripts\flask.exe\__main__.py", line 9, in <module>
File "c:\program files\python38\lib\site-packages\flask\cli.py", line 967, in main
cli.main(args=sys.argv[1:], prog_name="python -m flask" if as_module else None)
File "c:\program files\python38\lib\site-packages\flask\cli.py", line 586, in main
return super(FlaskGroup, self).main(*args, **kwargs)
File "c:\program files\python38\lib\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "c:\program files\python38\lib\site-packages\click\core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\program files\python38\lib\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\program files\python38\lib\site-packages\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "c:\program files\python38\lib\site-packages\click\decorators.py", line 73, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "c:\program files\python38\lib\site-packages\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "c:\program files\python38\lib\site-packages\flask\cli.py", line 852, in run_command
run_simple(
File "c:\program files\python38\lib\site-packages\werkzeug\serving.py", line 1052, in run_simple
inner()
File "c:\program files\python38\lib\site-packages\werkzeug\serving.py", line 996, in inner
srv = make_server(
File "c:\program files\python38\lib\site-packages\werkzeug\serving.py", line 847, in make_server
return ThreadedWSGIServer(
File "c:\program files\python38\lib\site-packages\werkzeug\serving.py", line 740, in __init__
HTTPServer.__init__(self, server_address, handler)
File "c:\program files\python38\lib\socketserver.py", line 452, in __init__
self.server_bind()
File "c:\program files\python38\lib\http\server.py", line 138, in server_bind
socketserver.TCPServer.server_bind(self)
File "c:\program files\python38\lib\socketserver.py", line 466, in server_bind
self.socket.bind(self.server_address)
OSError: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions
I faced this issue in the virtual environment, so this is what I did:
I deactivated virtualenv and installed flask there
I activated the virtualenv and installed flask again and it worked.
I faced this on windows10

streamlit installation error on windows 7 64 bit

I run pip install streamlit and succesfully install streamlit.
However, when I run streamlit hello or streamlit run app.py where app.py is a python app where I import streamlit, I get the following error.
$ streamlit hello
Traceback (most recent call last):
File "c:\program files (x86)\python37-32\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:\program files (x86)\python37-32\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Program Files (x86)\Python37-32\Scripts\streamlit.exe\__main__.py", line 7, in <module>
File "c:\program files (x86)\python37-32\lib\site-packages\click\core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "c:\program files (x86)\python37-32\lib\site-packages\click\core.py", line 717, in main
rv = self.invoke(ctx)
File "c:\program files (x86)\python37-32\lib\site-packages\click\core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\program files (x86)\python37-32\lib\site-packages\click\core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\program files (x86)\python37-32\lib\site-packages\click\core.py", line 555, in invoke
return callback(*args, **kwargs)
File "c:\program files (x86)\python37-32\lib\site-packages\streamlit\cli.py", line 192, in main_hello
_main_run(filename)
File "c:\program files (x86)\python37-32\lib\site-packages\streamlit\cli.py", line 251, in _main_run
bootstrap.run(file, command_line, args)
File "c:\program files (x86)\python37-32\lib\site-packages\streamlit\bootstrap.py", line 221, in run
server.start(_on_server_start)
File "c:\program files (x86)\python37-32\lib\site-packages\streamlit\server\Server.py", line 213, in start
start_listening(app)
File "c:\program files (x86)\python37-32\lib\site-packages\streamlit\server\Server.py", line 122, in start_listening
app.listen(port)
File "c:\program files (x86)\python37-32\lib\site-packages\tornado\web.py", line 2042, in listen
server.listen(port, address)
File "c:\program files (x86)\python37-32\lib\site-packages\tornado\tcpserver.py", line 143, in listen
sockets = bind_sockets(port, address=address)
File "c:\program files (x86)\python37-32\lib\site-packages\tornado\netutil.py", line 168, in bind_sockets
sock.bind(sockaddr)
OSError: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions
I have tried to disable firewall but still got the error persists. I have also tried running streamlit run app.py --browser.serverPort 3000 and still got the same error.
I think the option is not --browser.serverPort but --server.port:
streamlit run your_script.py --server.port 3000

Unable to do pipenv install on Windows 10

pipenv install gives me an error on Windows 10 on empty folder:
Traceback (most recent call last):
File "c:\python27\lib\runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "c:\python27\lib\runpy.py", line 72, in _run_code
exec code in run_globals
File "C:\Users\ext.thipier1\AppData\Roaming\Python\Scripts\pipenv.exe\__main__.py", line 9, in <module>
File "C:\Users\ext.thipier1\AppData\Roaming\Python\Python27\site-packages\pipenv\vendor\click\core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "C:\Users\ext.thipier1\AppData\Roaming\Python\Python27\site-packages\pipenv\vendor\click\core.py", line 697, in main
rv = self.invoke(ctx)
File "C:\Users\ext.thipier1\AppData\Roaming\Python\Python27\site-packages\pipenv\vendor\click\core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Users\ext.thipier1\AppData\Roaming\Python\Python27\site-packages\pipenv\vendor\click\core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\ext.thipier1\AppData\Roaming\Python\Python27\site-packages\pipenv\vendor\click\core.py", line 535, in invoke
return callback(*args, **kwargs)
File "C:\Users\ext.thipier1\AppData\Roaming\Python\Python27\site-packages\pipenv\cli.py", line 366, in install
selective_upgrade=selective_upgrade,
File "C:\Users\ext.thipier1\AppData\Roaming\Python\Python27\site-packages\pipenv\core.py", line 1730, in do_install
skip_requirements=skip_requirements,
File "C:\Users\ext.thipier1\AppData\Roaming\Python\Python27\site-packages\pipenv\core.py", line 604, in ensure_project
three=three, python=python, site_packages=site_packages
File "C:\Users\ext.thipier1\AppData\Roaming\Python\Python27\site-packages\pipenv\core.py", line 537, in ensure_virtualenv
if not project.virtualenv_exists:
File "C:\Users\ext.thipier1\AppData\Roaming\Python\Python27\site-packages\pipenv\project.py", line 207, in virtualenv_exists
if self.pipfile_exists and os.path.exists(self.virtualenv_location):
File "C:\Users\ext.thipier1\AppData\Roaming\Python\Python27\site-packages\pipenv\project.py", line 299, in virtualenv_location
loc = self._get_virtualenv_location(self.virtualenv_name)
File "C:\Users\ext.thipier1\AppData\Roaming\Python\Python27\site-packages\pipenv\project.py", line 279, in virtualenv_name
sanitized, encoded_hash = self._get_virtualenv_hash(self.name)
File "C:\Users\ext.thipier1\AppData\Roaming\Python\Python27\site-packages\pipenv\project.py", line 267, in _get_virtualenv_hash
if not (env[-9] != '-' and
IndexError: string index out of range
It only works if I activate a virtual env before running the command.
I tried on macOS the same procedure and I don't have this problem.
I followed the installation instructions.
What can I do to make it work?

Odoo Server Error: ValueError: Invalid Field 'Validator_user_ids' in leaf

we are using Odoo 8.0 on Windows2012 Server platform, once windows server restarted our Odoo stat giving the following Odoo Server Error:
Traceback (most recent call last):
File "C:\Program Files (x86)\Odoo 8.0-20151102\server.\openerp\http.py", line 537, in _handle_exception
File "C:\Program Files (x86)\Odoo 8.0-20151102\server.\openerp\http.py", line 574, in dispatch
File "C:\Program Files (x86)\Odoo 8.0-20151102\server.\openerp\http.py", line 310, in _call_function
File "C:\Program Files (x86)\Odoo 8.0-20151102\server.\openerp\service\model.py", line 118, in wrapper
File "C:\Program Files (x86)\Odoo 8.0-20151102\server.\openerp\http.py", line 307, in checked_call
File "C:\Program Files (x86)\Odoo 8.0-20151102\server.\openerp\http.py", line 803, in call
File "C:\Program Files (x86)\Odoo 8.0-20151102\server.\openerp\http.py", line 403, in response_wrap
File "C:\Program Files (x86)\Odoo 8.0-20151102\server\openerp\addons\web\controllers\main.py", line 878, in load_needaction
File "C:\Program Files (x86)\Odoo 8.0-20151102\server.\openerp\http.py", line 908, in proxy
File "C:\Program Files (x86)\Odoo 8.0-20151102\server.\openerp\api.py", line 250, in wrapper
File "C:\Program Files (x86)\Odoo 8.0-20151102\server\openerp\addons\base\ir\ir_ui_menu.py", line 345, in get_needaction_data
File "C:\Program Files (x86)\Odoo 8.0-20151102\server.\openerp\api.py", line 250, in wrapper
File "C:\Program Files (x86)\Odoo 8.0-20151102\server\openerp\addons\base\ir\ir_needaction.py", line 64, in _needaction_count
File "C:\Program Files (x86)\Odoo 8.0-20151102\server.\openerp\api.py", line 250, in wrapper
File "C:\Program Files (x86)\Odoo 8.0-20151102\server.\openerp\models.py", line 1645, in search
File "C:\Program Files (x86)\Odoo 8.0-20151102\server.\openerp\api.py", line 250, in wrapper
File "C:\Program Files (x86)\Odoo 8.0-20151102\server.\openerp\models.py", line 4672, in _search
File "C:\Program Files (x86)\Odoo 8.0-20151102\server.\openerp\api.py", line 250, in wrapper
File "C:\Program Files (x86)\Odoo 8.0-20151102\server.\openerp\models.py", line 4483, in _where_calc
File "C:\Program Files (x86)\Odoo 8.0-20151102\server.\openerp\osv\expression.py", line 657, in init
File "C:\Program Files (x86)\Odoo 8.0-20151102\server.\openerp\osv\expression.py", line 823, in parse
ValueError: Invalid field 'validator_user_ids' in leaf "
I will appreciate any guidance to resolve this issue.
Thanks
One of your domain is not properly written (the field may not exist, not a field that you can perform a query on, etc.). Of course we can't know which one because we do not have access to your code. It happened after the server restart because python files are re-processed when you do so. So it is a domain that is in a python file.

pip install requirement fails

I am facing an issue while trying to install the requirements for my django project.
I am unable to figure out why I'm getting this error.
Can someone lead me in the right direction?
>Running setup.py egg_info for package django-staticfiles
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/Users/glosseyvilly/Desktop/Workspace/chris_dev/mysite-env/build/django-staticfiles/setup.py", line 128, in <module>
'versiontools >= 1.6',
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", line 113, in setup
_setup_distribution = dist = klass(attrs)
File "build/bdist.linux-i686/egg/setuptools/dist.py", line 260, in __init__
File "build/bdist.linux-i686/egg/setuptools/dist.py", line 284, in fetch_build_eggs
File "build/bdist.linux-i686/egg/pkg_resources.py", line 563, in resolve
plugin_projects = list(plugin_env)
File "build/bdist.linux-i686/egg/pkg_resources.py", line 799, in best_match
File "build/bdist.linux-i686/egg/pkg_resources.py", line 811, in obtain
File "build/bdist.linux-i686/egg/setuptools/dist.py", line 327, in fetch_build_egg
File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 446, in easy_install
File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 476, in install_item
File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 655, in install_eggs
File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 930, in build_and_install
File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 919, in run_setup
File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 62, in run_setup
File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 105, in run
File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 64, in <lambda>
File "setup.py", line 29, in <module>
in a distutils ``setup.py`` file.
File "/var/folders/zm/zmC41KkWH5ObUL0cyVjWL++++TI/-Tmp-/easy_install-wsSHXC/versiontools-1.8.1/versiontools/__init__.py", line 354, in format_version
File "/var/folders/zm/zmC41KkWH5ObUL0cyVjWL++++TI/-Tmp-/easy_install-wsSHXC/versiontools-1.8.1/versiontools/__init__.py", line 183, in from_tuple
File "/var/folders/zm/zmC41KkWH5ObUL0cyVjWL++++TI/-Tmp-/easy_install-wsSHXC/versiontools-1.8.1/versiontools/__init__.py", line 126, in __new__
File "/var/folders/zm/zmC41KkWH5ObUL0cyVjWL++++TI/-Tmp-/easy_install-wsSHXC/versiontools-1.8.1/versiontools/__init__.py", line 279, in _find_source_tree
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/inspect.py", line 936, in getouterframes
framelist.append((frame,) + getframeinfo(frame, context))
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/inspect.py", line 911, in getframeinfo
lines, lnum = findsource(frame)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/inspect.py", line 573, in findsource
if pat.match(lines[lnum]): break
IndexError: list index out of range
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/Users/glosseyvilly/Desktop/Workspace/chris_dev/mysite-env/build/django-staticfiles/setup.py", line 128, in <module>
'versiontools >= 1.6',
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", line 113, in setup
_setup_distribution = dist = klass(attrs)
File "build/bdist.linux-i686/egg/setuptools/dist.py", line 260, in __init__
File "build/bdist.linux-i686/egg/setuptools/dist.py", line 284, in fetch_build_eggs
File "build/bdist.linux-i686/egg/pkg_resources.py", line 563, in resolve
plugin_projects = list(plugin_env)
File "build/bdist.linux-i686/egg/pkg_resources.py", line 799, in best_match
File "build/bdist.linux-i686/egg/pkg_resources.py", line 811, in obtain
File "build/bdist.linux-i686/egg/setuptools/dist.py", line 327, in fetch_build_egg
File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 446, in easy_install
File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 476, in install_item
File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 655, in install_eggs
File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 930, in build_and_install
File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 919, in run_setup
File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 62, in run_setup
File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 105, in run
File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 64, in <lambda>
File "setup.py", line 29, in <module>
in a distutils ``setup.py`` file.
File "/var/folders/zm/zmC41KkWH5ObUL0cyVjWL++++TI/-Tmp-/easy_install-wsSHXC/versiontools-1.8.1/versiontools/__init__.py", line 354, in format_version
File "/var/folders/zm/zmC41KkWH5ObUL0cyVjWL++++TI/-Tmp-/easy_install-wsSHXC/versiontools-1.8.1/versiontools/__init__.py", line 183, in from_tuple
File "/var/folders/zm/zmC41KkWH5ObUL0cyVjWL++++TI/-Tmp-/easy_install-wsSHXC/versiontools-1.8.1/versiontools/__init__.py", line 126, in __new__
File "/var/folders/zm/zmC41KkWH5ObUL0cyVjWL++++TI/-Tmp-/easy_install-wsSHXC/versiontools-1.8.1/versiontools/__init__.py", line 279, in _find_source_tree
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/inspect.py", line 936, in getouterframes
framelist.append((frame,) + getframeinfo(frame, context))
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/inspect.py", line 911, in getframeinfo
lines, lnum = findsource(frame)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/inspect.py", line 573, in findsource
if pat.match(lines[lnum]): break
IndexError: list index out of range
----------------------------------------
Command python setup.py egg_info failed with error code 1
Exception information:
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/pip-1.0.2-py2.6.egg/pip/basecommand.py", line 126, in main
self.run(options, args)
File "/Library/Python/2.6/site-packages/pip-1.0.2-py2.6.egg/pip/commands/install.py", line 223, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/Library/Python/2.6/site-packages/pip-1.0.2-py2.6.egg/pip/req.py", line 986, in prepare_files
req_to_install.run_egg_info()
File "/Library/Python/2.6/site-packages/pip-1.0.2-py2.6.egg/pip/req.py", line 222, in run_egg_info
command_desc='python setup.py egg_info')
File "/Library/Python/2.6/site-packages/pip-1.0.2-py2.6.egg/pip/__init__.py", line 255, in call_subprocess
% (command_desc, proc.returncode))
InstallationError: Command python setup.py egg_info failed with error code 1
I ran into this same error while using the native Python 2.6.1 on Mac OS X 10.6 to install django-imagekit. Some googling revealed this:
https://github.com/jezdez/django_compressor/issues/181
which suggested this:
pip install versiontools
and then I was able to install django-imagekit.
Same issue when I try to install MySQL-python
apt-get install libmysqlclient-dev python-dev
solved my problem.
I think you need to install the python-dev version. Hope that helps
From this error
framelist.append((frame,) + getframeinfo(frame, context))
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/inspect.py", line 911, in getframeinfo
lines, lnum = findsource(frame)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/inspect.py", line 573, in findsource
if pat.match(lines[lnum]): break
IndexError: list index out of range
it appears that findsource(frame) is unable to find a legal lnum for frame. Are you sure that all the programs are aligned to known compatible versions (python, django, pip, etc)?
Before risking to pollute your system installation of python, I suggest that you use virtualenv to isolate the python environment from the one shipped with the OS.

Categories