PlotKit Widget not installing properly

1 view
Skip to first unread message

Code Penguin

unread,
Sep 22, 2006, 10:26:51 AM9/22/06
to TurboGears
I just recently easy_installed the PlotKit widget. Unfortunately, when
I open up the Widget Browser, it isn't in there. I have Python 2.4
with the latest TurboGears. I've tried it on two installations and
nothing works. I can manually import the model so I know it is there.
(ie: from plotkit import EasyPlot) but I still can't use it in my
projects because it doesn't seem to be registered as a TG Widget. Any
body else experiencing this problem or have similar ones? Thanks

Code Penguin

gasolin

unread,
Sep 22, 2006, 11:32:33 AM9/22/06
to TurboGears
I meet that problem, too :-P

Since to use PlotKit directly with javascript is a bit cumbersome, so I
made the PlotKit widget(and learned how to pack a widget as well). Both
PlotKit and PlotKit widget has their limit.

Currently I'd like to suggest you to try the XML/SWF Charts, for me
it's the most headacheless solution I've found currently.(Though its
not totally free)

I'd like to contribute something that really useful for people,
so if the widget is not that useful l'd consider to get rid of that
link.

--
Fred

Adam Jones

unread,
Sep 22, 2006, 11:40:26 AM9/22/06
to TurboGears
gasolin wrote:
>
> I'd like to contribute something that really useful for people,
> so if the widget is not that useful l'd consider to get rid of that
> link.
>

>From what I can tell a lot of people are interested in PlotKit, I think
it would be better to try and fix the widget. I'll try to take a look
at it today and see if there is anything obvious for why it isn't
working ... been meaning to take apart a widget and see how it works
anyways.

-Adam

gasolin

unread,
Sep 22, 2006, 12:32:43 PM9/22/06
to TurboGears


The strange thing is that while I bump the required version from
turbogears >=0.9.4 ->
turbogears >=0.9.6, it works again .....

So I'll check the link and update a new version soon

Thanks for your help :-)

Adam Jones

unread,
Sep 22, 2006, 12:53:56 PM9/22/06
to TurboGears

Sure, always glad to help ... especially when all I have to do is say
that I will take a look at something later. ;)

Code Penguin

unread,
Sep 23, 2006, 11:58:28 AM9/23/06
to TurboGears
I've tried the new version posted yesterday but it still doesn't work.
Is it working for anyone else? Thanks

Code Penguin

Maram

unread,
Sep 23, 2006, 4:51:32 PM9/23/06
to turbo...@googlegroups.com
Code Penguin escribió:

> I've tried the new version posted yesterday but it still doesn't work.
> Is it working for anyone else? Thanks
>
> Code Penguin
>

$ easy_install plotkit doesn't work.

this the log:

marcelo@margus:~/workspace/wgtest$ sudo easy_install -U plotkit
Searching for plotkit
Reading http://www.python.org/pypi/plotkit/
Couldn't retrieve index page for 'plotkit'
Scanning index of all packages (this may take a while)
Reading http://www.python.org/pypi/
Reading http://www.python.org/pypi/PlotKit/0.9.1w2
Reading http://sourceforge.net/projects/tgwidgets
Reading http://sourceforge.net/project/showfiles.php?group_id=169297
Best match: PlotKit 0.9.1w2
Downloading
http://dl.sourceforge.net/sourceforge/tgwidgets/PlotKit-0.9.1w2-py2.4.egg
error: Unexpected HTML page found at
http://dl.sourceforge.net/sourceforge/tgwidgets/PlotKit-0.9.1w2-py2.4.egg

the downloaded file PlotKit-0.9.1w2-py2.4.egg, is a html file.
The file in host "puzzle" is corrupted.

I download and install the egg manuality of host optusnet at
http://optusnet.dl.sourceforge.net/sourceforge/tgwidgets/PlotKit-0.9.1w2-py2.4.egg

That .egg file work ok, but there isn't in toolbox.

--
maram
http://maram.com.ar - http://geine.maram.com.ar
Ubuntu Linux User - TurboGears User

gasolin

unread,
Sep 24, 2006, 2:40:10 AM9/24/06
to TurboGears
Hi:

I installed from .egg file and found it isn't in toolbox, too.
But strangly it works by extracting the source and type "setup.py
install".


I've uploaded the source to CheeseShop, Since I always incounter an 400
msg while uploading egg to CheeseShop,

> Submitting dist\PlotKit-0.9.1w2-py2.4.egg to http://www.python.org/pypi
> Upload failed (400): Bad Request

You could have it by checking out sourceforge/tgwidget svn repository
as well.

--
Fred

Reply all
Reply to author
Forward
0 new messages