python 2.5.2 slackware 12.2 compatible IDLE GUI

Stuff that has yet to be sorted into a category.
Message
Author
soulfall
Posts: 1
Joined: Sat 06 Dec 2008, 08:41

#21 Post by soulfall »

I can't down the python
did they remove your file?
do you have another download place?

gronos04
Posts: 54
Joined: Sun 31 Dec 2006, 00:54
Location: Radfordia QLD

#22 Post by gronos04 »


User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

Re: python 2.5.2 slackware 12 compatible IDLE GUI

#23 Post by charlie6 »

Hi Big Bass,
on toutou4.1.2 (french translation of Puppy4.1.2), k2.6.25.16, I tried to install those 3 files
I also got for each one a
( green light for dependencies)
with warning that an
entry wad created in the menu
Utility
Graphic
Internet
Multimedia
Fun
Fun' with the text
"
However you have to restart the window manager
...blablibla...
I restarted the PC
but I got not any entry in the menu.

Typing python in a console gives:

Code: Select all

# python
Python 2.5.2 (r252:60911, Mar  1 2008, 13:52:45) 
[GCC 4.2.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> quit()
# 
How can I get an icon in the menu?
Or do I have to install the retro-k2.6.21.7...instead?

Cheers, Charlie

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

reporting to you

#24 Post by big_bass »

Charlie
I restarted the PC
but I got not any entry in the menu.

Typing python in a console gives:

I hope you meant MENU>Shutdown>Restart JWM

also open a console and type idle

this is not needed if you have a menu entry
just a check to see if you have the GUI idle also

it should look like the fifth post on this thread
http://www.murga-linux.com/puppy/viewtopic.php?t=35180



I suggest you just reinstall the python pet
I know it takes a while to install

but that should fix the problem if it doesnt
I'll have to check the pet for errors when we switched servers
it may have gotten corrupted

thanks for reporting this

I checked the pet its ok
but anyway this "patch" would fix it if everything else works
and only you are missing a menu entry


big_bass
Attachments
python_menu_entry.pet
(3.43 KiB) Downloaded 533 times

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#25 Post by charlie6 »

Hi Big Bass,
many thanks for your quick answer!
I hope you meant MENU>Shutdown>Restart JWM
I usually stop and restart the PC afterwards having the .pet installed...did'nt I?
also open a console and type idle
I did not do that; I straight uninstalled pyhton2.5.2 instead.
Before reinstall I check the md5sum of the formerly downloaded python-2.5.2.pet; it was OK.
While restarting the PC I have surely done something wrong (I let a data CD disk in the cd-reader with bios-boot set on cd-drive first. I got some error messages at boot-up...removing the data cd did not change anything at next boot-up...so I choose to reinstall Toutou4.1.2.Retro with kernel 2.6.21.7).
Afterwards I installed python2.5.2 as documented in the previous posts. And it works. Idle command gives the shell.
I also installed wxPython which is also working.

All this in order to run GanttPV which is a scheduling software like MS-Project (I already got it installed and working - as also -required - python and wxPython on Toutou-3.1.4 a few month ago after much trials and forums posts -; but I would have tried first the .pets you wrote for Python ans wxPython).

(Many)^n thanks !

Cheers, charlie

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#26 Post by big_bass »

I usually stop and restart the PC afterwards having the .pet installed...did'nt I?

do this instead MENU>Shutdown>Restart JWM

what takes place is the menu gets updated so that you can see the
newly created menu icon this is a quirk with JWM

side note :just an example if you installed on a distro with KDE
that is all automatically done for you




and must be done *linux is smarter than windows you dont need to reboot
after an install with almost all apps (there are a few exceptions )
old habits are hard to forget : D



but the most important thing is it is working for you now
that's good news
thanks for the update of your progress
and why not pet package the app GanttPV you got working ?
so we have more options for python

big_bass

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#27 Post by charlie6 »

Hi Big Bass,
my rig: toutoulinux (french translated Puppy)4.1.2frugal

Code: Select all

and why not pet package the app GanttPV you got working ?
so we have more options for python 
Yes! why not. That a nice tiny scheduling software that could be used at factory or elsewhere.
see here for downloading it + documentation
http://www.pureviolet.net/ganttpv/
I take this back as I was occupied elsewhere for a while.
I have a difficulty with GanttPV and till yet I do not get answer from its forum.
It gets installed OK. But when having created a file and "saving it as" at first time, the save dialog box opens but is no longer editable.
an error message pops up telling:
the content of this file cannot be displayed
So I have to kill the process to take over the system again.

I wonder where the problem could take place: Puppy or GanttPV. (I used it a few months ago on Toutou3.1.4 and could save files).
So I cannot use GanttPV as yet.
I am rather newbie about how programs are working so I could not find a solution from myselve.

Many thanks in advance for any idea?

Charlie

User avatar
moogsydodong
Posts: 81
Joined: Mon 16 Mar 2009, 10:35
Location: Tagum City, Davao del Norte, Mindanao, Philippines

this works in NOP 413

#28 Post by moogsydodong »

hey bigbass thanks for the .pets

this works with NOP 413

I used python in NOP 413 alongside blender

hehe

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#29 Post by big_bass »

moogsydodong


thanks moogsydodong for letting me know

thank you's seem to be a rare thing nowadays
glad to see one of your total of two posts was a thank you 8)

welcome to puppy
big_bass

User avatar
neurino
Posts: 362
Joined: Thu 15 Oct 2009, 13:08

Re: python 2.5.2 slackware 12 compatible IDLE GUI

#30 Post by neurino »

Hi,
I'm new on (Puppy) Linux, I finely hd installed the latest Puppy 4.3.0 on a Pentium4.
I'm a Python developer so I'd like to have the same packages I have on Windows. I tried the pet above but only the python-2.5.2 installed (and works from console) the other 2 failed.

Like many I also often use WX, PIL, lxml and reportlab packages and I'd like to know how can I make my own builds / pets using the great Puppy

Thanks for your support
Renzo

User avatar
moogsydodong
Posts: 81
Joined: Mon 16 Mar 2009, 10:35
Location: Tagum City, Davao del Norte, Mindanao, Philippines

#31 Post by moogsydodong »

hi there neurino,

welcome to puppy...
for compiling apps in puppy see this:
http://www.puppylinux.com/development/compileapps.htm

hope it helps...if you can manage to compile python 2.6.x or python 3.x please post the pet for it I,m learning python and I want to try the latest build
...SHUT UP AND LISTEN!!!...In a battle there is only ONE COMMANDER!!!

User avatar
neurino
Posts: 362
Joined: Thu 15 Oct 2009, 13:08

#32 Post by neurino »

Thank, I'll give a try but consider I'm a total newbie in Linux enviornment...

Where can I find devx_430.sfs ???
Not here:
http://distro.ibiblio.org/pub/linux/dis ... modules-4/

the last is devx_421.sfs is it valid anyway?

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

Re: python 2.5.2 slackware 12 compatible IDLE GUI

#33 Post by big_bass »

neurino wrote:

I'm a Python developer so I'd like to have the same packages I have on Windows. I tried the pet above but only the python-2.5.2 installed (and works from console) the other 2 failed.

Thanks for your support
Renzo
the other 2 failed.
Hey Renzo

welcome, there's always a lot of work for developers

failed how? were you missing dependencies?

I first built this on puppy 3.01 then tested on 4.00 and 4.12 versions of puppy

if you are missing any depends let me know you could post the list


if you need a development environment ASAP
you could install an official puppy 4.12 or derivative of 4.12

I just downloaded the three packages and installed them on slaxer-pup 4.12
note: the python pet takes a long time to install because of the dependency checking in petget so be patient but it works


keep me posted I'll be glad to help


Joe
Attachments
python on slaxer-pup.png
(15.72 KiB) Downloaded 2680 times
Last edited by big_bass on Fri 16 Oct 2009, 14:43, edited 2 times in total.

User avatar
neurino
Posts: 362
Joined: Thu 15 Oct 2009, 13:08

#34 Post by neurino »

Hi Joe,

thanks for your support,

when I try to install TclTk and libdb I both get the same error from Package Manager:

"Error, package (name of the package) failed to install".
_____________

I have no real urge to use Linux since I already use Windows on my desktop pc for all.
But I put hands on a 256MB ram P4 notebook and was delighted how powerful is Puppy! (and linux in a general meaning)

So I wish I could have a free development station also when I (rarely) travel or to test my apps on linux too.

I posted some of the python packages I often use (forgot matplotlib too!) and I know I won't find 'em all in .pets so if devx_430.sfs is about to come in a week or 2 I'll wait, otherwise I'll consider passing to Puppy 4.12 (or 4.21???)

User avatar
neurino
Posts: 362
Joined: Thu 15 Oct 2009, 13:08

#35 Post by neurino »

Hey there,

I stumbled across this page: http://distro.ibiblio.org/pub/linux/dis ... ppy-4.3.1/ and saw pup-431.iso and devx_431.sfs so I'll try to compile python and his packages as soon as I can.

I'll keep you updated...

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#36 Post by big_bass »

neurino wrote:Hey there,

I stumbled across this page: http://distro.ibiblio.org/pub/linux/dis ... ppy-4.3.1/ and saw pup-431.iso and devx_431.sfs so I'll try to compile python and his packages as soon as I can.

I'll keep you updated...
Since you'll compile for a new build of puppy
recompile tcl/ tk to the latest version it will be easier than patching
trying to keep it compatible with the older versions
of puppy that have tcl/ tk pre installed


UPDATED
well, I recompiled everything with the newer versions and patches
I'll upload it tomorrow
Joe

krsmith28p
Posts: 6
Joined: Sat 22 Nov 2008, 16:50

#37 Post by krsmith28p »

I am having a similar problem to neutrino. I am pretty sure I have successfully installed libdb-4.4 and tk/tcl on earlier versions of Puppy, but am getting the same "failed to install this package" message, on 4.3, and on 4.3.1 . Is there a more command line method to do the install that might be more verbose in its error reporting?
Did you upload a newer version, yet bbass? - the directory still lists the date as Dec 08.

I have successfully installed python, wxpython, and also wxglade.
I may have a go at installing tcl/tk from sources, but I know it is a big package, and I am not a bright enough linux user to know what is required to patch it successfully for python.
In case it comes across otherwise - guys, I am really grateful your efforts mean I can get this far!
K

edit - ah, actually I think you are saying the latest version of tcl/tk wont need patching.

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#38 Post by big_bass »

krsmith28p wrote:
Did you upload a newer version, yet bbass? - the directory still lists the date as Dec 08.



edit - ah, actually I think you are saying the latest version of tcl/tk wont need patching.

I have recompiled everything from source this time



* I am still working on wxpython
its not needed for python to work but some apps need it
its an add on

the reason for the error is in the changes in petget to PPM
so the packages just need to be reformatted to the appease
the new package management

in fact I by passed all mis-haps with that and built all the latest packages as *tgz's the same format slackware uses
from there you shouldn't have problems I have not tested any of the packages on 430+ but if you want them they are already built here
keep me posted if you need something else


http://www.murga-linux.com/puppy/viewto ... &start=317
http://www.murga-linux.com/puppy/viewto ... &start=318

Joe

User avatar
neurino
Posts: 362
Joined: Thu 15 Oct 2009, 13:08

#39 Post by neurino »

I compiled wxPython from source a couple of days ago.

First as a standalone with --prefix in an external drive then, once it worked good, with --prefix=/usr, some trouble but it worked that way too.

Now I'm looking at the standalone folder: 282 MB!!!.

Looking into it I see the lib subfolder contains more than 275MB, I'm a noob but every file in it is repeated 3 times, with the same size and just some extra extension appended like this:

Code: Select all

libwx_gtk2ud-2.8.so           89403KB
libwx_gtk2ud-2.8.so.0        89403KB
libwx_gtk2ud-2.8.so.0.6.0   89403KB
Is it some I messed up in my (numerous) tries or is it normal?

Note: also I made python setup.py install both for python 2.5 and 2.6... double trouble, double the files?

Please help....

ITAmember
Posts: 167
Joined: Sun 13 Sep 2009, 18:50
Location: The middle of a cornfield

#40 Post by ITAmember »

Those first two files are supposed to be symbolic links to the third file. A symbolic link is the linux equivalent of a shortcut in windows. So the first two files should only be a handful of bytes in size. :) If you have no problems with recompiling cd to the source directory and run these commands

Code: Select all

make clean
./configure --prefix=/usr
make
make install DESTDIR=/path/to/some/dir/
/path/to/some/dir is where the installed files should go. In this case after the compile finished you would run

Code: Select all

dir2pet /path/to/some/dir/
to make a pet package.

Post Reply