My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Older

  • Sep 04, 2009
    issue 20 (Error why handling unicode chars) commented on by ngn...@gmail.com   -   change codefinder.py ,lines 487 to : tree = compiler.parse(replacedSource.encode('ascii', 'ignore'))
    change codefinder.py ,lines 487 to : tree = compiler.parse(replacedSource.encode('ascii', 'ignore'))
  • Sep 04, 2009
    issue 20 (Error why handling unicode chars) commented on by ngn...@gmail.com   -   if the .py file has multi-byte character , pysmell doesn't work! just like this : pymacs-report-error: Python: Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/Pymacs/pymacs.py", line 147, in loop value = eval(text) File "<string>", line 1, in <module> File "/usr/lib/python2.5/site-packages/pysmell/emacshelper.py", line 24, in get_completions options = idehelper.detectCompletionType(fullPath, origSource, lineNo, origCol, base, PYSMELLDICT) File "/usr/lib/python2.5/site-packages/pysmell/idehelper.py", line 216, in detectCompletionType AST = getSafeTree(origSource, lineNo) File "/usr/lib/python2.5/site-packages/pysmell/codefinder.py", line 487, in getSafeTree tree = compiler.parse(replacedSource) File "/usr/lib/python2.5/compiler/transformer.py", line 52, in parse return Transformer().parsesuite(buf) File "/usr/lib/python2.5/compiler/transformer.py", line 129, in parsesuite return self.transform(parser.suite(text)) UnicodeEncodeError: 'ascii' codec can't encode characters in position 103-107: ordinal not in range(128)
    if the .py file has multi-byte character , pysmell doesn't work! just like this : pymacs-report-error: Python: Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/Pymacs/pymacs.py", line 147, in loop value = eval(text) File "<string>", line 1, in <module> File "/usr/lib/python2.5/site-packages/pysmell/emacshelper.py", line 24, in get_completions options = idehelper.detectCompletionType(fullPath, origSource, lineNo, origCol, base, PYSMELLDICT) File "/usr/lib/python2.5/site-packages/pysmell/idehelper.py", line 216, in detectCompletionType AST = getSafeTree(origSource, lineNo) File "/usr/lib/python2.5/site-packages/pysmell/codefinder.py", line 487, in getSafeTree tree = compiler.parse(replacedSource) File "/usr/lib/python2.5/compiler/transformer.py", line 52, in parse return Transformer().parsesuite(buf) File "/usr/lib/python2.5/compiler/transformer.py", line 129, in parsesuite return self.transform(parser.suite(text)) UnicodeEncodeError: 'ascii' codec can't encode characters in position 103-107: ordinal not in range(128)
  • Sep 03, 2009
    issue 20 (Error why handling unicode chars) commented on by ngn...@gmail.com   -   i have this problem, too. when I use emacs. M-x pysmell-make-tags RET this step is OK. then M-/ can't work, appear this problem. debian lenny, python 2.5, Pymacs 0.24 beta1, pysmell 0.7.3
    i have this problem, too. when I use emacs. M-x pysmell-make-tags RET this step is OK. then M-/ can't work, appear this problem. debian lenny, python 2.5, Pymacs 0.24 beta1, pysmell 0.7.3
  • Aug 17, 2009
    issue 31 (Pysmell error when invoking completion in Vim (^X^O)) reported by john2x   -   What steps will reproduce the problem? 1. invoke omnicompletion by ^X ^O in Vim What is the expected output? What do you see instead? I expected to see Omnicompletion options. I instead get a lot of errors in Vim. I'm attaching a screenshot of the error. What version of the product are you using? On what operating system? Pysmell v.0.7.3, Python 2.6.2, Vim 7.2, Vista Home Premium SP1 Please provide any additional information below. I am attaching a screenshot of the error in Vim since I can't copy/paste it.
    What steps will reproduce the problem? 1. invoke omnicompletion by ^X ^O in Vim What is the expected output? What do you see instead? I expected to see Omnicompletion options. I instead get a lot of errors in Vim. I'm attaching a screenshot of the error. What version of the product are you using? On what operating system? Pysmell v.0.7.3, Python 2.6.2, Vim 7.2, Vista Home Premium SP1 Please provide any additional information below. I am attaching a screenshot of the error in Vim since I can't copy/paste it.
  • Aug 17, 2009
    issue 30 (ImportError: No module named pkg_resources) commented on by john2x   -   I fixed this by installing setup_tools properly.
    I fixed this by installing setup_tools properly.
  • Aug 15, 2009
    issue 30 (ImportError: No module named pkg_resources) reported by john2x   -   What steps will reproduce the problem? 1. run pysmell on cmd line What is the expected output? PYSMELL tags on current directory What do you see instead? ImportError: No module named pkg_resources What version of the product are you using? On what operating system? Pysmell v.0.7.3 on Vista Home Premium 64-bit using Python 2.6.2 Please provide any additional information below. I think I've installed everything correctly. I did do a little hack on downloading the Python setuptools module. The latest version on PyPi was 0.6c9, but Pysmell was looking for 0.6c8. So, I renamed the file to 0.6c8. Also, this is a clean install, I just reformatted my laptop. PS: Sorry if posting this here is inappropriate.. I was going to post on your blog post, but comments were disabled.
    What steps will reproduce the problem? 1. run pysmell on cmd line What is the expected output? PYSMELL tags on current directory What do you see instead? ImportError: No module named pkg_resources What version of the product are you using? On what operating system? Pysmell v.0.7.3 on Vista Home Premium 64-bit using Python 2.6.2 Please provide any additional information below. I think I've installed everything correctly. I did do a little hack on downloading the Python setuptools module. The latest version on PyPi was 0.6c9, but Pysmell was looking for 0.6c8. So, I renamed the file to 0.6c8. Also, this is a clean install, I just reformatted my laptop. PS: Sorry if posting this here is inappropriate.. I was going to post on your blog post, but comments were disabled.
  • Aug 08, 2009
    issue 29 ([Feature Request] Preview for omnicompletion using DocString...) commented on by dmitrykichenko   -   The generated PYSMELLTAGS file already contains docstrings so it's a matter of showing them now, I'm guessing. I would very much like to see this implemented as well.
    The generated PYSMELLTAGS file already contains docstrings so it's a matter of showing them now, I'm guessing. I would very much like to see this implemented as well.
  • Jul 12, 2009
    issue 29 ([Feature Request] Preview for omnicompletion using DocString...) reported by mikelikespie   -   I'm using vim-app for mac and it seems that preview doesn't work It would be nice if it did, and also used docstrings and whatnot. Thanks, Mike
    I'm using vim-app for mac and it seems that preview doesn't work It would be nice if it did, and also used docstrings and whatnot. Thanks, Mike
  • Jul 04, 2009
    issue 24 (Traceback on trying a completion) commented on by entequak   -   Is there any progress on this bug? It's kinda annoying since pysmell is totally unusable due to this bug.
    Is there any progress on this bug? It's kinda annoying since pysmell is totally unusable due to this bug.
  • Jun 29, 2009
    issue 28 ('-bash: pysmell: command not found' after installation on Ma...) reported by Roman.Vorushin   -   1. I downloaded pysmell 0.7.3 from PyPI 2. Extracted and typed python setup.py build, python setup.py install 3. Typed pysmell in Terminal and got output '-bash: pysmell: command not found' I use Mac OS X 10.5 and python 2.6 from MacPorts "python import pysmell" does work, I just can't find pysmell.sh or some other executable file - there is no such file in 'build' subdirectory or in some /bin/ folder Do I do something wrong?
    1. I downloaded pysmell 0.7.3 from PyPI 2. Extracted and typed python setup.py build, python setup.py install 3. Typed pysmell in Terminal and got output '-bash: pysmell: command not found' I use Mac OS X 10.5 and python 2.6 from MacPorts "python import pysmell" does work, I just can't find pysmell.sh or some other executable file - there is no such file in 'build' subdirectory or in some /bin/ folder Do I do something wrong?
  • May 07, 2009
    issue 27 (Completion candidates are pulled from every module in PYSMEL...) reported by a...@swapoff.org   -   What steps will reproduce the problem? 1. Normal completion. What is the expected output? What do you see instead? When I complete a bare word using pysmell, it seems to complete from every symbol in PYSMELLTAGS*. eg. Typing "op<X-O>" shows every single open() function from every module in the Python stdlib, regardless of what's been imported. Preferably it would only complete symbols from imported modules, and ideally only explicit symbol imports (from X import Y) or imported modules (import X). What version of the product are you using? On what operating system? 0.7.3
    What steps will reproduce the problem? 1. Normal completion. What is the expected output? What do you see instead? When I complete a bare word using pysmell, it seems to complete from every symbol in PYSMELLTAGS*. eg. Typing "op<X-O>" shows every single open() function from every module in the Python stdlib, regardless of what's been imported. Preferably it would only complete symbols from imported modules, and ideally only explicit symbol imports (from X import Y) or imported modules (import X). What version of the product are you using? On what operating system? 0.7.3
  • Apr 29, 2009
    issue 26 (Invalid Syntax Error in ipython trying to create tags) reported by roscoedesign   -   1. start up ipython and import pysmell 2. cd into my python project 3. run pysmell . I expect it to create the PYSMELLTAGS file, but instead it says: In [3]: pysmell . ------------------------------------------------------------ File "<ipython console>", line 1 pysmell . ^ SyntaxError: invalid syntax I'm running MacOS X Leopard using pysmell 0.7.3 from the tar I got off GitHub.
    1. start up ipython and import pysmell 2. cd into my python project 3. run pysmell . I expect it to create the PYSMELLTAGS file, but instead it says: In [3]: pysmell . ------------------------------------------------------------ File "<ipython console>", line 1 pysmell . ^ SyntaxError: invalid syntax I'm running MacOS X Leopard using pysmell 0.7.3 from the tar I got off GitHub.
  • Apr 29, 2009
    issue 25 (Can't use auto-compelte) reported by nusimow   -   What steps will reproduce the problem? 1. Try to autocomplete in textmate on OSX 2. 3. What is the expected output? What do you see instead? I expect to see the PySmell autocomplete dialog What version of the product are you using? On what operating system? OSX latest version of pysmell from github copied on 4/29 11:30am Please provide any additional information below. Error output is: Traceback (most recent call last): File "<string>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pysmell/textmate.py", line 5, in <module> from pysmell import tm_dialog File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pysmell/tm_dialog.py", line 12, in <module> dialog = os.environ["DIALOG"] File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/UserDict.py", line 22, in __getitem__ raise KeyError(key) KeyError: 'DIALOG' That text actually fills into my document.
    What steps will reproduce the problem? 1. Try to autocomplete in textmate on OSX 2. 3. What is the expected output? What do you see instead? I expect to see the PySmell autocomplete dialog What version of the product are you using? On what operating system? OSX latest version of pysmell from github copied on 4/29 11:30am Please provide any additional information below. Error output is: Traceback (most recent call last): File "<string>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pysmell/textmate.py", line 5, in <module> from pysmell import tm_dialog File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pysmell/tm_dialog.py", line 12, in <module> dialog = os.environ["DIALOG"] File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/UserDict.py", line 22, in __getitem__ raise KeyError(key) KeyError: 'DIALOG' That text actually fills into my document.
  • Apr 29, 2009
    issue 24 (Traceback on trying a completion) reported by ashemedai   -   What steps will reproduce the problem? 1. I have both a PYSMELLTAGS and PYSMELLTAGS.stdlib in the root directory of Trac trunk. 2. I vim trac/ticket/query.py 3. I do :setlocal omnifunc=pysmell#Complete 4. I go to the bottom of the window, add a new line and at the beginning I add 'Query.' and then press CTRL-x CTRL-o and get this traceback after a bit of 'searching'. Looks like I can reproduce this 100%. What is the expected output? What do you see instead? I expected an overview of completions. I got: Traceback (most recent call last): File "<string>", line 9, in vimcompletePYSMELL File "/usr/local/lib/python2.5/site-packages/pysmell-0.7.3-py2.5.egg/pysmell/idehelper.py", line 265, in detectCompletionType klass, parents = inferInstance(fullPath, AST, lineNo, var, PYSMELLDICT) File "/usr/local/lib/python2.5/site-packages/pysmell-0.7.3-py2.5.egg/pysmell/idehelper.py", line 105, in inferInstance names, klasses = getNames(AST) File "/usr/local/lib/python2.5/site-packages/pysmell-0.7.3-py2.5.egg/pysmell/codefinder.py", line 526, in getNames compiler.walk(tree, inferer) File "/usr/local/lib/python2.5/compiler/visitor.py", line 106, in walk walker.preorder(tree, visitor) File "/usr/local/lib/python2.5/compiler/visitor.py", line 63, in preorder self.dispatch(tree, *args) # XXX *args make sense? File "/usr/local/lib/python2.5/compiler/visitor.py", line 57, in dispatch return meth(node, *args) File "/usr/local/lib/python2.5/compiler/visitor.py", line 40, in default self.dispatch(child, *args) File "/usr/local/lib/python2.5/compiler/visitor.py", line 57, in dispatch return meth(node, *args) File "/usr/local/lib/python2.5/compiler/visitor.py", line 40, in default self.dispatch(child, *args) File "/usr/local/lib/python2.5/compiler/visitor.py", line 57, in dispatch return meth(node, *args) File "/usr/local/lib/python2.5/site-packages/pysmell-0.7.3-py2.5.egg/pysmell/codefinder.py", line 103, in decorated self.handleChildren(args[0]) File "/usr/local/lib/python2.5/site-packages/pysmell-0.7.3-py2.5.egg/pysmell/codefinder.py", line 504, in handleChildren BaseVisitor.handleChildren(self, node) File "/usr/local/lib/python2.5/site-packages/pysmell-0.7.3-py2.5.egg/pysmell/codefinder.py", line 115, in handleChildren self.visit(c) File "/usr/local/lib/python2.5/compiler/visitor.py", line 57, in dispatch return meth(node, *args) File "/usr/local/lib/python2.5/compiler/visitor.py", line 40, in default self.dispatch(child, *args) File "/usr/local/lib/python2.5/compiler/visitor.py", line 57, in dispatch return meth(node, *args) File "/usr/local/lib/python2.5/compiler/visitor.py", line 40, in default self.dispatch(child, *args) File "/usr/local/lib/python2.5/compiler/visitor.py", line 57, in dispatch return meth(node, *args) File "/usr/local/lib/python2.5/compiler/visitor.py", line 40, in default self.dispatch(child, *args) File "/usr/local/lib/python2.5/compiler/visitor.py", line 57, in dispatch return meth(node, *args) File "/usr/local/lib/python2.5/site-packages/pysmell-0.7.3-py2.5.egg/pysmell/codefinder.py", line 102, in decorated fun(self, *args, **kwargs) File "/usr/local/lib/python2.5/site-packages/pysmell-0.7.3-py2.5.egg/pysmell/codefinder.py", line 515, in visitAssign self.names[name] = getName(node.expr) File "/usr/local/lib/python2.5/site-packages/pysmell-0.7.3-py2.5.egg/pysmell/codefinder.py", line 296, in getName return getNameTwo('%s(%s)', notArgs, node.args, rightJ=', ') File "/usr/local/lib/python2.5/site-packages/pysmell-0.7.3-py2.5.egg/pysmell/codefinder.py", line 269, in getNameTwo rightJ.join(map(getName, right))) File "/usr/local/lib/python2.5/site-packages/pysmell-0.7.3-py2.5.egg/pysmell/codefinder.py", line 323, in getName return '%s %r' % (' '.join(map(getName, node.getChildren()[:-1])), rhs.value) AttributeError: Name instance has no attribute 'value' What version of the product are you using? On what operating system? 0.7.3 on Python 2.5 on FreeBSD 7
    What steps will reproduce the problem? 1. I have both a PYSMELLTAGS and PYSMELLTAGS.stdlib in the root directory of Trac trunk. 2. I vim trac/ticket/query.py 3. I do :setlocal omnifunc=pysmell#Complete 4. I go to the bottom of the window, add a new line and at the beginning I add 'Query.' and then press CTRL-x CTRL-o and get this traceback after a bit of 'searching'. Looks like I can reproduce this 100%. What is the expected output? What do you see instead? I expected an overview of completions. I got: Traceback (most recent call last): File "<string>", line 9, in vimcompletePYSMELL File "/usr/local/lib/python2.5/site-packages/pysmell-0.7.3-py2.5.egg/pysmell/idehelper.py", line 265, in detectCompletionType klass, parents = inferInstance(fullPath, AST, lineNo, var, PYSMELLDICT) File "/usr/local/lib/python2.5/site-packages/pysmell-0.7.3-py2.5.egg/pysmell/idehelper.py", line 105, in inferInstance names, klasses = getNames(AST) File "/usr/local/lib/python2.5/site-packages/pysmell-0.7.3-py2.5.egg/pysmell/codefinder.py", line 526, in getNames compiler.walk(tree, inferer) File "/usr/local/lib/python2.5/compiler/visitor.py", line 106, in walk walker.preorder(tree, visitor) File "/usr/local/lib/python2.5/compiler/visitor.py", line 63, in preorder self.dispatch(tree, *args) # XXX *args make sense? File "/usr/local/lib/python2.5/compiler/visitor.py", line 57, in dispatch return meth(node, *args) File "/usr/local/lib/python2.5/compiler/visitor.py", line 40, in default self.dispatch(child, *args) File "/usr/local/lib/python2.5/compiler/visitor.py", line 57, in dispatch return meth(node, *args) File "/usr/local/lib/python2.5/compiler/visitor.py", line 40, in default self.dispatch(child, *args) File "/usr/local/lib/python2.5/compiler/visitor.py", line 57, in dispatch return meth(node, *args) File "/usr/local/lib/python2.5/site-packages/pysmell-0.7.3-py2.5.egg/pysmell/codefinder.py", line 103, in decorated self.handleChildren(args[0]) File "/usr/local/lib/python2.5/site-packages/pysmell-0.7.3-py2.5.egg/pysmell/codefinder.py", line 504, in handleChildren BaseVisitor.handleChildren(self, node) File "/usr/local/lib/python2.5/site-packages/pysmell-0.7.3-py2.5.egg/pysmell/codefinder.py", line 115, in handleChildren self.visit(c) File "/usr/local/lib/python2.5/compiler/visitor.py", line 57, in dispatch return meth(node, *args) File "/usr/local/lib/python2.5/compiler/visitor.py", line 40, in default self.dispatch(child, *args) File "/usr/local/lib/python2.5/compiler/visitor.py", line 57, in dispatch return meth(node, *args) File "/usr/local/lib/python2.5/compiler/visitor.py", line 40, in default self.dispatch(child, *args) File "/usr/local/lib/python2.5/compiler/visitor.py", line 57, in dispatch return meth(node, *args) File "/usr/local/lib/python2.5/compiler/visitor.py", line 40, in default self.dispatch(child, *args) File "/usr/local/lib/python2.5/compiler/visitor.py", line 57, in dispatch return meth(node, *args) File "/usr/local/lib/python2.5/site-packages/pysmell-0.7.3-py2.5.egg/pysmell/codefinder.py", line 102, in decorated fun(self, *args, **kwargs) File "/usr/local/lib/python2.5/site-packages/pysmell-0.7.3-py2.5.egg/pysmell/codefinder.py", line 515, in visitAssign self.names[name] = getName(node.expr) File "/usr/local/lib/python2.5/site-packages/pysmell-0.7.3-py2.5.egg/pysmell/codefinder.py", line 296, in getName return getNameTwo('%s(%s)', notArgs, node.args, rightJ=', ') File "/usr/local/lib/python2.5/site-packages/pysmell-0.7.3-py2.5.egg/pysmell/codefinder.py", line 269, in getNameTwo rightJ.join(map(getName, right))) File "/usr/local/lib/python2.5/site-packages/pysmell-0.7.3-py2.5.egg/pysmell/codefinder.py", line 323, in getName return '%s %r' % (' '.join(map(getName, node.getChildren()[:-1])), rhs.value) AttributeError: Name instance has no attribute 'value' What version of the product are you using? On what operating system? 0.7.3 on Python 2.5 on FreeBSD 7
  • Feb 17, 2009
    issue 23 (Complete top level imports) reported by orestis   -   import som[completion] should complete to 'something', if 'something' is a known top-level module.
    import som[completion] should complete to 'something', if 'something' is a known top-level module.
  • Dec 08, 2008
    issue 21 (Import Error) commented on by totonixsame   -   There was a previous instalation in my PYTHONPATH, I removed that and it is running now. Thanks.
    There was a previous instalation in my PYTHONPATH, I removed that and it is running now. Thanks.
  • Dec 08, 2008
    issue 21 (Import Error) commented on by orestis   -   Also - did you upgrade a previous installation? There may be errant *.pyc files lying around complicating things.
    Also - did you upgrade a previous installation? There may be errant *.pyc files lying around complicating things.
  • Dec 08, 2008
    issue 21 (Import Error) commented on by orestis   -   Weird - could you try "from pysmell import tags"?
    Weird - could you try "from pysmell import tags"?
  • Dec 08, 2008
    issue 21 (Import Error) commented on by totonixsame   -   Ubuntu 8.10, python2.5.2. If I run "pysmell ." this error occurs, but if I run "pysmell.py" it doesn't occurs. And I installed downloading the source and "sudo python setup.py install"
    Ubuntu 8.10, python2.5.2. If I run "pysmell ." this error occurs, but if I run "pysmell.py" it doesn't occurs. And I installed downloading the source and "sudo python setup.py install"
  • Dec 08, 2008
    issue 21 (Import Error) commented on by orestis   -   OS/Python version please? Was pysmell installed with easy_installed or via the source distribution?
    OS/Python version please? Was pysmell installed with easy_installed or via the source distribution?
  • Dec 08, 2008
    issue 21 (Import Error) reported by totonixsame   -   When I run the command "pysmell ." I get this error: Traceback (most recent call last): File "/usr/bin/pysmell", line 8, in <module> load_entry_point('pysmell==0.7.2', 'console_scripts', 'pysmell')() File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 277, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2180, in load_entry_point return ep.load() File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1913, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) ImportError: No module named tags
    When I run the command "pysmell ." I get this error: Traceback (most recent call last): File "/usr/bin/pysmell", line 8, in <module> load_entry_point('pysmell==0.7.2', 'console_scripts', 'pysmell')() File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 277, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2180, in load_entry_point return ep.load() File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1913, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) ImportError: No module named tags
  • Nov 17, 2008
    issue 20 (Error why handling unicode chars) commented on by orestis   -   If you could provide the minimal file that introduces this, I can try to figure out what's happening.
    If you could provide the minimal file that introduces this, I can try to figure out what's happening.
  • Nov 17, 2008
    issue 20 (Error why handling unicode chars) commented on by czaber   -   After little investigation I can say that unfortunately I can't reproduce this sittuation :( It doesn't work only from particular file. What is more, I am unable to create test for this.
    After little investigation I can say that unfortunately I can't reproduce this sittuation :( It doesn't work only from particular file. What is more, I am unable to create test for this.
  • Nov 17, 2008
    issue 20 (Error why handling unicode chars) reported by czaber   -   What steps will reproduce the problem? 1. Create python class using utf-8 2. From another file create object of recently created class 3. Try to complete its methods What is the expected output? What do you see instead? Expected: method's list Instead we got a nice traceback, something like attached. What version of the product are you using? On what operating system? PySmell 0.7.1 on Gentoo Python 2.5 Please provide any additional information below. Solution to this problem was replacing str() with unicode() in codefinder.py at lines: 301, 314, 316 (I don't know why, but I had to change[remove '.value'] also lines 337 and 340 in codefinder.py, because of "object has no attribute 'value'". Is this another issue?)
    What steps will reproduce the problem? 1. Create python class using utf-8 2. From another file create object of recently created class 3. Try to complete its methods What is the expected output? What do you see instead? Expected: method's list Instead we got a nice traceback, something like attached. What version of the product are you using? On what operating system? PySmell 0.7.1 on Gentoo Python 2.5 Please provide any additional information below. Solution to this problem was replacing str() with unicode() in codefinder.py at lines: 301, 314, 316 (I don't know why, but I had to change[remove '.value'] also lines 337 and 340 in codefinder.py, because of "object has no attribute 'value'". Is this another issue?)
  • Nov 16, 2008
    issue 19 (Use build tool that builds bundles, uploads to google code, ...) reported by orestis   -   Paver is the serious contender, because of setuptools integration. Possibly I'm missing something. Perhaps setuptools integration isn't needed after all - I just need to automate some tasks...
    Paver is the serious contender, because of setuptools integration. Possibly I'm missing something. Perhaps setuptools integration isn't needed after all - I just need to automate some tasks...
  • Nov 16, 2008
    issue 17 (Generate and distribute TAGS for stdlib) Labels changed by orestis   -  
    Labels: Type-Enhancement Type-Defect
    Labels: Type-Enhancement Type-Defect
  • Nov 16, 2008
    issue 15 (Include ez_setup) Status changed by orestis   -   Fixed in git.
    Status: Fixed
    Fixed in git.
    Status: Fixed
  • Nov 16, 2008
    issue 18 (Indention error while editing file using tabs in vim) Status changed by orestis   -   Fix in github
    Status: Fixed
    Fix in github
    Status: Fixed
  • Nov 16, 2008
    issue 18 (Indention error while editing file using tabs in vim) reported by czaber   -   What steps will reproduce the problem? 1. Open python source file indented by tabs 2. Try to get list of methods eg. self.<prees ^X^O here> What is the expected output? What do you see instead? List of all method of this object What version of the product are you using? On what operating system? PySmell 0.7.1 Gentoo Linux, kernel 2.6.25 Please provide any additional information below. As a result I got error: (unindent does not match any outer indentation level', (None, 21, 7, ' pass\n')) I've found that problem is caused by one line in codefinder.py: 481. sourceLines[lineNo-1] = '%spass' % (' ' * indentation) after changing it into: sourceLines[lineNo-1] = '%spass' % ('\t' * indentation) problem's gone, and I can see all methods from current object as it should be.
    What steps will reproduce the problem? 1. Open python source file indented by tabs 2. Try to get list of methods eg. self.<prees ^X^O here> What is the expected output? What do you see instead? List of all method of this object What version of the product are you using? On what operating system? PySmell 0.7.1 Gentoo Linux, kernel 2.6.25 Please provide any additional information below. As a result I got error: (unindent does not match any outer indentation level', (None, 21, 7, ' pass\n')) I've found that problem is caused by one line in codefinder.py: 481. sourceLines[lineNo-1] = '%spass' % (' ' * indentation) after changing it into: sourceLines[lineNo-1] = '%spass' % ('\t' * indentation) problem's gone, and I can see all methods from current object as it should be.
  • Nov 11, 2008
    issue 10 (Bundle pysmell with TextMate bundle) commented on by matt.p.foster   -   orestis: I agree, I just wanted to play with pysmell. l3enhamin: Cool. I'm sure it won't be. I've only been using python for a bit, and it seems to be very writable. The same is true of TextMate bundle. I've made a google group: http://groups.google.com/group/ipython-tmbundle Please join the group so we can probably discuss this there!
    orestis: I agree, I just wanted to play with pysmell. l3enhamin: Cool. I'm sure it won't be. I've only been using python for a bit, and it seems to be very writable. The same is true of TextMate bundle. I've made a google group: http://groups.google.com/group/ipython-tmbundle Please join the group so we can probably discuss this there!
  • Nov 10, 2008
    issue 10 (Bundle pysmell with TextMate bundle) commented on by I3enhamin   -   Matt, I agree with the ipython/numpy/scipy comment. I am interested and willing, but not yet able to contribute. I don't expect my ramp-up time should be that bad once I can start working off of examples.
    Matt, I agree with the ipython/numpy/scipy comment. I am interested and willing, but not yet able to contribute. I don't expect my ramp-up time should be that bad once I can start working off of examples.
  • Nov 10, 2008
    issue 10 (Bundle pysmell with TextMate bundle) commented on by orestis   -   Thanks for the work! I'll have to run this again by the TM mailing lists to see what is the preferred way of doing things like that. The best solution would be to just bundle PySmell and to not depend on a specific python running. I think it would make things faster as well.
    Thanks for the work! I'll have to run this again by the TM mailing lists to see what is the preferred way of doing things like that. The best solution would be to just bundle PySmell and to not depend on a specific python running. I think it would make things faster as well.
  • Nov 10, 2008
    issue 10 (Bundle pysmell with TextMate bundle) commented on by matt.p.foster   -   Just a quick and shameless plug. I made a quick bundle based on the commands in the link above. You can find it at: http://github.com/mattfoster/ipython-tmbundle/tree/master Feel free to fork and contribute! (sorry for spamming this thread, I'll go now)
    Just a quick and shameless plug. I made a quick bundle based on the commands in the link above. You can find it at: http://github.com/mattfoster/ipython-tmbundle/tree/master Feel free to fork and contribute! (sorry for spamming this thread, I'll go now)
  • Nov 10, 2008
    issue 10 (Bundle pysmell with TextMate bundle) commented on by matt.p.foster   -   I just forked pysmall in github and added my bundle defs in. The two files are here: http://github.com/mattfoster/pysmell/tree/matt/PySmell.tmbundle/Commands I'm not sure this is ideal, but it works for me. Basically, I have python -c "from pysmell import textmate;textmate.main() for complete, and python -c "import os; projectDir = os.environ.get('TM_PROJECT_DIRECTORY') or os.environ.get('TM_DIRECTORY');from pysmell import textmate;textmate.tags(projectDir)" for Tags. That link looks awesome! I'm thinking a dedicated IPython/numpy bundle might be needed!
    I just forked pysmall in github and added my bundle defs in. The two files are here: http://github.com/mattfoster/pysmell/tree/matt/PySmell.tmbundle/Commands I'm not sure this is ideal, but it works for me. Basically, I have python -c "from pysmell import textmate;textmate.main() for complete, and python -c "import os; projectDir = os.environ.get('TM_PROJECT_DIRECTORY') or os.environ.get('TM_DIRECTORY');from pysmell import textmate;textmate.tags(projectDir)" for Tags. That link looks awesome! I'm thinking a dedicated IPython/numpy bundle might be needed!
  • Nov 09, 2008
    issue 10 (Bundle pysmell with TextMate bundle) commented on by I3enhamin   -   Matt, is there any chance that you can provide the bundle definitions... I am still new to textmate, epd, and mac os x... Have you seen the ability to run, set breakpoints, etc... at: http://ipython.scipy.org/moin/Cookbook/UsingIPythonWithTextMate
    Matt, is there any chance that you can provide the bundle definitions... I am still new to textmate, epd, and mac os x... Have you seen the ability to run, set breakpoints, etc... at: http://ipython.scipy.org/moin/Cookbook/UsingIPythonWithTextMate
  • Nov 09, 2008
    issue 17 (Generate and distribute TAGS for stdlib) reported by orestis   -   Including the built-in, C-implemented stuff.
    Including the built-in, C-implemented stuff.
  • Nov 05, 2008
    issue 16 (NameVisitor is not picking up Classes defined in the source) Status changed by orestis   -   Fixed in github
    Status: Fixed
    Fixed in github
    Status: Fixed
  • Nov 05, 2008
    issue 14 (Analyze the current file when requesting completions) Status changed by orestis   -   First part in github - second part needs more thought.
    Status: Started
    First part in github - second part needs more thought.
    Status: Started
  • Nov 05, 2008
    issue 16 (NameVisitor is not picking up Classes defined in the source) reported by orestis   -   Define a class like so: {{{ class New(object): def method(self): pass }}} then try to complete like so: {{{ a = New() a. }}} Names visitor doesn't pick up it, so it doesn't recognise a as an instance of New.
    Define a class like so: {{{ class New(object): def method(self): pass }}} then try to complete like so: {{{ a = New() a. }}} Names visitor doesn't pick up it, so it doesn't recognise a as an instance of New.
  • Nov 05, 2008
    issue 15 (Include ez_setup) reported by orestis   -   Make it easier for people who don't have setuptools installed.
    Make it easier for people who don't have setuptools installed.
  • Nov 05, 2008
    issue 10 (Bundle pysmell with TextMate bundle) commented on by matt.p.foster   -   Thanks for the speedy reply. I tried something similar, and what surprised me was that I get different results depending on where I run it. I'm using EPD, instead of the normal apple install, which is probably the cause of the problem. If I run it from within TM, i get what I expect. If I make a bundle command, and run python -c '…' I also get what I expect. If I use /usr/bin/env python, from within a bundle command, I find that apple's python interpreter is running, and the path is totally wrong. So, I've worked around it by wrapping the bundle commands in python -c "…", and now it work.
    Thanks for the speedy reply. I tried something similar, and what surprised me was that I get different results depending on where I run it. I'm using EPD, instead of the normal apple install, which is probably the cause of the problem. If I run it from within TM, i get what I expect. If I make a bundle command, and run python -c '…' I also get what I expect. If I use /usr/bin/env python, from within a bundle command, I find that apple's python interpreter is running, and the path is totally wrong. So, I've worked around it by wrapping the bundle commands in python -c "…", and now it work.
  • Nov 04, 2008
    issue 14 (Analyze the current file when requesting completions) reported by orestis   -   The current file is almost certainly stale when requesting completion; It should be analysed using codefinder on-the-fly. Also, to enhance the first use experience, a PYSMELLTAGS should not be required to do local completions.
    The current file is almost certainly stale when requesting completion; It should be analysed using codefinder on-the-fly. Also, to enhance the first use experience, a PYSMELLTAGS should not be required to do local completions.
  • Nov 04, 2008
    issue 3 (See if we can get Vim to recreate the PYSMELLTAGS file on ev...) Labels changed by orestis   -   See notes on issue 1
    Labels: Type-Enhancement Type-Defect
    See notes on issue 1
    Labels: Type-Enhancement Type-Defect
  • Nov 04, 2008
    issue 2 (Provide a way to mutate the PYSMELLTAGS file, when a single ...) Labels changed by orestis   -  
    Labels: Type-Enhancement Type-Defect
    Labels: Type-Enhancement Type-Defect
  • Nov 04, 2008
    issue 1 (Keep PYSMELLDICT in memory - Change whenever filestamp chang...) Labels changed by orestis   -   This is doable with Vim and Emacs, but not so easy with TextMate. A fiddly but potentially very powerful solution is to have a background server that will keep the dict in memory, and monitor the filesystem for changes and update it too. This will make it easier to add this to all editors, not just Vim.
    Labels: Type-Enhancement Type-Defect
    This is doable with Vim and Emacs, but not so easy with TextMate. A fiddly but potentially very powerful solution is to have a background server that will keep the dict in memory, and monitor the filesystem for changes and update it too. This will make it easier to add this to all editors, not just Vim.
    Labels: Type-Enhancement Type-Defect
  • Nov 04, 2008
    issue 6 (Separate vim specific stuff) Status changed by orestis   -   Marking as WontFix since Emacs and TextMate support are there and haven't needed anything like this.
    Status: WontFix
    Marking as WontFix since Emacs and TextMate support are there and haven't needed anything like this.
    Status: WontFix
  • Nov 04, 2008
    issue 2 (Provide a way to mutate the PYSMELLTAGS file, when a single ...) Status changed by orestis   -   Preliminary support is in Git in the form of an --input switch. Needs more real-world testing before deemed fixed.
    Status: Started
    Preliminary support is in Git in the form of an --input switch. Needs more real-world testing before deemed fixed.
    Status: Started
  • Nov 04, 2008
    issue 10 (Bundle pysmell with TextMate bundle) commented on by orestis   -   That's the plan; I'm afraid it has to wait for v0.8 when I'm going to introduce a build tool to do it for me. BTW, as a workaround, type: python -c "import sys;print sys.path" and hit ^R - it will send the output in your buffer, and you can see which python is TextMate using.
    That's the plan; I'm afraid it has to wait for v0.8 when I'm going to introduce a build tool to do it for me. BTW, as a workaround, type: python -c "import sys;print sys.path" and hit ^R - it will send the output in your buffer, and you can see which python is TextMate using.
  • Nov 04, 2008
    issue 10 (Bundle pysmell with TextMate bundle) commented on by matt.p.foster   -   Sounds like a good plan to me. I'm having trouble getting it working in TextMate since the paths are different. This is despite setting my PATH in tm. Maybe you can install in in TM_BUNDLE_SUPPORT/lib?
    Sounds like a good plan to me. I'm having trouble getting it working in TextMate since the paths are different. This is despite setting my PATH in tm. Maybe you can install in in TM_BUNDLE_SUPPORT/lib?
  • Nov 03, 2008
    issue 13 (Stack with command not found when running w/ tmbundle) Status changed by orestis   -   This is fixed in just released 0.7.1 - it was actually a textmate helper bug.
    Status: Fixed
    This is fixed in just released 0.7.1 - it was actually a textmate helper bug.
    Status: Fixed
 
Hosted by Google Code