incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sonny Heer <sonnyh...@gmail.com>
Subject Re: chiton
Date Sun, 16 May 2010 18:29:09 GMT
it doesn't like the the int(port) call.  somehow the port # isn't
getting through?

I hardcoded the port to 9160, and it works.

Does chiton handle all the column types for display?

I'm assuming it doesn't show mixed type column names (e.g. first x
bits are a long, and the rest is a text utf-8)?

Thanks

On Sun, May 16, 2010 at 11:00 AM, Sonny Heer <sonnyheer@gmail.com> wrote:
> thanks for the help.  I had two versions of python, it was using the wrong one.
>
> I got the GUI to show up, but when i connect by going to file/connect
> and enter localhost/9160... i get the following in the output:
>
>
>
>
> chiton/bin/chiton-client
> 2010-05-16 10:59:45-0700 [-] Log opened.
> 2010-05-16 10:59:45-0700 [-]
> /home/blackdiamond/dev/chiton/bin/chiton/viewer.py:32: gtk.GtkWarning:
> gtk_widget_grab_default: assertion `gtk_widget_get_can_default
> (widget)' failed
> 2010-05-16 10:59:55-0700 [-] connecting...
> 2010-05-16 10:59:55-0700 [-]
> /home/blackdiamond/dev/chiton/bin/chiton/viewer.py:138:
> gtk.GtkWarning: Ignoring the separator setting
>
> (chiton-client:12238): libglade-WARNING **: could not find a parent
> that handles internal children for `vbox'
> 2010-05-16 10:59:57-0700 [-] Unhandled error in Deferred:
> 2010-05-16 10:59:57-0700 [-] Unhandled Error
>        Traceback (most recent call last):
>          File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py",
> line 944, in unwindGenerator
>            return _inlineCallbacks(None, f(*args, **kwargs), Deferred())
>          File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py",
> line 823, in _inlineCallbacks
>            result = g.send(result)
>          File "/home/blackdiamond/dev/chiton/bin/chiton/viewer.py", line
> 170, in _connectDialog
>            yield self._connect(host, port)
>          File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py",
> line 944, in unwindGenerator
>            return _inlineCallbacks(None, f(*args, **kwargs), Deferred())
>        --- <exception caught here> ---
>          File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py",
> line 823, in _inlineCallbacks
>            result = g.send(result)
>          File "/home/blackdiamond/dev/chiton/bin/chiton/viewer.py", line
> 152, in _connect
>            reactor.connectTCP(host, int(port), self.cmanager)
>        exceptions.ValueError: invalid literal for int() with base 10: ''
>
>
> any ideas?
>
> On Fri, May 14, 2010 at 10:00 PM, K Wong <wongo888@gmail.com> wrote:
>> You have to make sure that you have got twisted on your Pythonpath.
>> Find where your site-packages are and ensure that it is in there:
>>
>> $ python -c "from distutils.sysconfig import get_python_lib; print
>> get_python_lib()"
>>
>> Ensure that there is a symbolic link or the module is in your
>> site-packages. You might have to do something like this if you're on
>> Windows.
>>
>> set PYTHONPATH=C:\path\to\twisted
>>
>> More at...
>>
>> http://docs.python.org/tutorial/modules.html#the-module-search-path
>>
>> K
>>
>>
>>
>> On Fri, May 14, 2010 at 9:18 PM, Sonny Heer <sonnyheer@gmail.com> wrote:
>>> hmm...I installed that already like so:
>>>
>>> sudo apt-get install python-twisted
>>>
>>> is there anything else i need to do after that?
>>>
>>> On Fri, May 14, 2010 at 9:14 PM, Jonathan Holloway
>>> <jonathan.holloway@gmail.com> wrote:
>>>> Sounds like you need to install the twisted module for Python:
>>>> See
>>>> http://twistedmatrix.com/trac/wiki/Downloads
>>>> for the Windows/Ubuntu binaries.
>>>> Hope that helps,
>>>> Jon.
>>>> On 14 May 2010 21:04, Sonny Heer <sonnyheer@gmail.com> wrote:
>>>>>
>>>>> I'm having problems installing chiton...
>>>>>
>>>>> on ubuntu 9.10 I'm getting the following:
>>>>> Traceback (most recent call last):
>>>>>  File "chiton/bin/chiton-client", line 2, in <module>
>>>>>    from twisted.internet import gtk2reactor
>>>>> ImportError: No module named twisted.internet
>>>>>
>>>>>
>>>>> does chiton
>>>>>  work on windows?
>>>
>>
>

Mime
View raw message