-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with debugfile() in version >= 3.3.0 #8776
Comments
Thanks for reporting. We'll take a look at this in our next release. |
I can't reproduce this problem but you can help me to fix it. Please locate this file in your installation then go to this line: and add the second entry that appears below : patterns = [r'^/usr/lib.*',
r'^/home/.*/.local/lib.*',
r'^/usr/local/lib.*',
r'^/usr/.*/dist-packages/.*',
r'^/Library/.*'
] That should fix your problem. |
Correct !
thanks Charly !
El dom., 17 de feb. de 2019 a la(s) 10:52, Carlos Cordoba (
notifications@github.com) escribió:
… I can't reproduce this problem but you can help me to fix it.
Please locate this file in your installation
https://github.com/spyder-ide/spyder-kernels/blob/v0.4.2/spyder_kernels/customize/spydercustomize.py
then go to this line:
https://github.com/spyder-ide/spyder-kernels/blob/v0.4.2/spyder_kernels/customize/spydercustomize.py#L604
and add the second entry that appears below :
patterns = [r'^/usr/lib.*',
r'^/home/.*/.local/lib.*',
r'^/usr/local/lib.*',
r'^/usr/.*/dist-packages/.*',
r'^/Library/.*'
]
That should fix your problem.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8776 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEMWNLVEKeC-gqtBWG4ZCRxNlpdSGJRVks5vOV6ygaJpZM4a9oK4>
.
|
Ok, no problem, thanks for the confirmation! 👍 We'll fix this problem in our next version (3.3.4). |
Having the same exact issue here. But I should probably use a different pattern string to fix the issue, right?
|
I also confirm that it helps with the problem (local pip user installed library)! |
@obbe79, we'll cover the Windows case too when fixing this issue. |
I realize that this is an old, closed issue, but I wanted to follow up on obbe79's question regarding Windows, as I'm currently having the same exact problem and was wondering if there was any resolution since this post. I'm happy to create a new issue post if that's appropriate. Thanks! |
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Problem Description
When updated to version 3.3.3 a problem with ZMQ appeared when trying simple debugging. Not sure if ZMQ produces the problem, but the traceback ends in ZMQ. Further testing indicates that this problem started with version 3.3.0. Version 3.2.8 is ok:
debugfile('/home/mariano/mariano/misc/pytest/qrs_test.py', args='/home/mariano/mariano/dbs/ mitdb', wdir='/home/mariano/mariano/misc/pytest')
Reloaded modules: ipykernel, ipykernel._version, ipykernel.connect, jupyter_client, jupyter_client._version, jupyter_client.connect, zmq, zmq.backend, zmq.backend.select, zmq.backend.cython, zmq.backend.cython.constants, zmq.backend.cython.error, zmq.backend.cython.message, zmq.error, zmq.backend.cython.context, zmq.backend.cython.socket, zmq.backend.cython.utils, zmq.backend.cython._poll, zmq.backend.cython._version, zmq.backend.cython._device, zmq.sugar, zmq.sugar.constants, zmq.utils, zmq.utils.constant_names, zmq.sugar.context, zmq.sugar.attrsettr, zmq.sugar.socket, zmq.sugar.poll, zmq.utils.jsonapi, zmq.utils.strtypes, zmq.sugar.frame, zmq.sugar.tracker, zmq.sugar.version, zmq.sugar.stopwatch, jupyter_client.localinterfaces, jupyter_core, jupyter_core.version, jupyter_core.paths, jupyter_client.launcher, traitlets.log, jupyter_client.client, jupyter_client.channels, jupyter_client.channelsabc, jupyter_client.clientabc, jupyter_client.manager, jupyter_client.kernelspec, jupyter_client.managerabc, jupyter_client.blocking, jupyter_client.blocking.client, jupyter_client.blocking.channels, jupyter_client.multikernelmanager, ipykernel.kernelapp, tornado, tornado.ioloop, tornado.concurrent, tornado.log, tornado.escape, tornado.util, tornado.speedups, tornado.stack_context, mp_main, tornado.platform, tornado.platform.auto, tornado.platform.posix, tornado.platform.common, tornado.platform.interface, zmq.eventloop, zmq.eventloop.ioloop, tornado.platform.asyncio, tornado.gen, zmq.eventloop.zmqstream, ipykernel.iostream, jupyter_client.session, jupyter_client.jsonutil, jupyter_client.adapter, ipykernel.heartbeat, ipykernel.ipkernel, IPython.utils.tokenutil, ipykernel.comm, ipykernel.comm.manager, ipykernel.comm.comm, ipykernel.kernelbase, ipykernel.jsonutil, ipykernel.zmqshell, IPython.core.payloadpage, ipykernel.displayhook, ipykernel.parentpoller, ipykernel.datapub, ipykernel.serialize, ipykernel.pickleutil, ipykernel.codeutil, IPython.core.completerlib, storemagic, autoreload, wurlitzer, kiwisolver, cffi, cffi.api, cffi.lock, cffi.error, cffi.model, ipykernel.pylab, ipykernel.pylab.backend_inline, ipykernel.pylab.config, ipykernel.eventloops, zmq.utils.garbage, spyder, spyder.pil_patch
Traceback (most recent call last):
[ ... omitted here ]
What steps reproduce the problem?
What is the expected output? What do you see instead?
If downgrade to version 3.2.8 the problem solves automatically with this output:
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
Type "copyright", "credits" or "license" for more information.
IPython 6.5.0 -- An enhanced Interactive Python.
In [1]: debugfile('/home/mariano/mariano/misc/pytest/qrs_test.py', args='/home/mariano/mariano/dbs/ mitdb', wdir='/home/mariano/mariano/misc/pytest')
ipdb>
Paste Traceback/Error Below (if applicable)
Versions
Dependencies
qrs_test.py.zip
The text was updated successfully, but these errors were encountered: