[issue46145] List reference not working properly

2021-12-21 Thread Antara


Antara  added the comment:

Not an issue

--
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46145] List reference not working properly

2021-12-21 Thread Antara


New submission from Antara :

o= [1,2,3,3]
print('o:',id(o))
d= o
print('d:',id(d))
d= [1,2,3,4]
dd= o
print('dd:',id(dd))
dd[3]= 5

print('o:',o)
print('d:',d)
print('dd:',dd)

===
Output:
o: 1976210449032
d: 1976210449032
dd: 1976210449032
o: [1, 2, 3, 5]
d: [1, 2, 3, 4]
dd: [1, 2, 3, 5]

Though o,d and dd points to the same memory pointer but d has different value. 
How can same memory location points to 2 different values?

--
messages: 408998
nosy: antarab
priority: normal
severity: normal
status: open
title: List reference not working properly
type: behavior

___
Python tracker 
<https://bugs.python.org/issue46145>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46135] Changing a label's text is not working properly on transparent widgets

2021-12-19 Thread Ned Deily


Ned Deily  added the comment:

PyQT is a third-party product and not part of Python or the Python Standard 
Library. Suggest you contact that project and/or ask on one of the general 
assistance forums, like Stack Overflow. Good luck!

https://riverbankcomputing.com/software/pyqt/
https://www.python.org/about/help/

--
resolution:  -> third party
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46135] Changing a label's text is not working properly on transparent widgets

2021-12-19 Thread MB SANTALU


New submission from MB SANTALU :

Updating a label's text on a transparent widget in MacOS behaves strangely, 
previous text remains partially visible (see screenshot)

System Specs: MacOS Monterey 12.0.1 and Python 3.10

Code:

import sys
from PyQt6 import QtWidgets, QtCore
from PyQt6.QtCore import QTimer
from PyQt6.QtGui import QFont
from PyQt6.QtWidgets import QLabel, QFrame
def update_label():
l1.setText("Bye!")
l1.update()
window.repaint()
app = QtWidgets.QApplication(sys.argv)
window = QtWidgets.QWidget()
window.setAttribute(QtCore.Qt.WidgetAttribute.WA_TranslucentBackground)
window.setWindowFlag(QtCore.Qt.WindowType.FramelessWindowHint)
window.setFixedSize(800, 600)
font = QFont()
font.setPointSize(72)
l1 = QLabel(window)
l1.setText("Hello World")
l1.setFont(font)
l1.setStyleSheet("color:red")
window.show()
timer = QTimer()
timer.setInterval(1000)
timer.timeout.connect(update_label)
timer.start()
app.exec()

--
components: macOS
files: sof.png
messages: 408931
nosy: mbsantalu, ned.deily, ronaldoussoren
priority: normal
severity: normal
status: open
title: Changing a label's text is not working properly on transparent widgets
type: behavior
versions: Python 3.10
Added file: https://bugs.python.org/file50503/sof.png

___
Python tracker 
<https://bugs.python.org/issue46135>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44681] time.sleep(0.001) not working properly

2021-07-28 Thread Eryk Sun


Eryk Sun  added the comment:

> It certainly wouldn't be worth the power and CPU usage 
> impact that people would inevitable get tricked into 
> causing

To clarify, only short waits such as time.sleep(0.001) would busy loop. Waits 
longer than say 50 ms would call WaitForSingleObjectEx() or Sleep() with the 
wait time minus 50, and then busy loop until the deadline. So  time.sleep(1) 
would wait the thread for 95% of the interval.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44681] time.sleep(0.001) not working properly

2021-07-27 Thread Steve Dower


Steve Dower  added the comment:

> Maybe it would be useful to implement something like this in time.sleep() 
> itself, but I don't know whether the need in a few cases warrants the 
> increased complexity and cost in general.

It certainly wouldn't be worth the power and CPU usage impact that people would 
inevitable get tricked into causing ("why is Python always using 100% of my 
CPU!?").

So as long as I'm around, feel free to consider that idea rejected ;) We'll 
improve the resolution of sleep when the operating system does.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44681] time.sleep(0.001) not working properly

2021-07-20 Thread Eryk Sun


Eryk Sun  added the comment:

The implementation of time.sleep() uses WaitForSingleObjectEx() on the main 
thread. It waits for an event object that gets signaled by Ctrl+C. On other 
threads it simply calls Sleep(). 

Thread wait functions such as WaitForSingleObjectEx() and Sleep() are based on 
the system interrupt time. By default the clock interrupt runs at 64 cycles per 
second, i.e. the interrupt time is about 15.6 ms. The interrupt time can be 
programmatically lowered to about 0.5 ms, but this should only be changed 
temporarily for timing critical applications. Lowering the interrupt time for 
general use can shorten the battery life on portable devices, since servicing 
the interrupt prevents the CPU from entering a low-power state. 

Even with a lowered interrupt time, in my experience thread dispatching in 
Windows simply is not implemented to support precise timing. If the wait time 
needs to be precise, I suggest using a loop based on time.perf_counter_ns(). 
Calculate a deadline based on the current counter value plus the desired wait 
time in nanoseconds, and loop until the current value equals or exceeds the 
deadline. Maybe it would be useful to implement something like this in 
time.sleep() itself, but I don't know whether the need in a few cases warrants 
the increased complexity and cost in general.

--
nosy: +eryksun
resolution:  -> third party
type:  -> behavior

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44681] time.sleep(0.001) not working properly

2021-07-20 Thread Thereisfood


Thereisfood  added the comment:

I think this is Windows 10 issue after build 1909. Because I tested on Windows 
10 build 1909 is about 0.001 - 0.002 and tested on 20H2 is the attached results.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44681] time.sleep(0.001) not working properly

2021-07-20 Thread Steven D'Aprano


Steven D'Aprano  added the comment:

Jack, Thereisfood is using Windows, which I understand has a clock with  
millisecond accuracy. So a sleep of a millisecond should, I think, work on 
Windows even if it doesn't work on Linux.

Could a Windows expert clarify please?

--
nosy: +steven.daprano

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44681] time.sleep(0.001) not working properly

2021-07-19 Thread Thereisfood


Change by Thereisfood :


--
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44681] time.sleep(0.001) not working properly

2021-07-19 Thread Jack DeVries

Jack DeVries  added the comment:

This is not a bug. See the docs:

The precision of the various real-time functions may be less than suggested by 
the units in which their value or argument is expressed. E.g. on most Unix 
systems, the clock “ticks” only 50 or 100 times a second.

On the other hand, the precision of time() and sleep() is better than their 
Unix equivalents: times are expressed as floating point numbers, time() returns 
the most accurate time available (using Unix gettimeofday() where available), 
and sleep() will accept a time with a nonzero fraction (Unix select() is used 
to implement this, where available).



Assuming a clock speed of 50x/second as the documentation names, the cpu only 
cycles every 0.02 seconds.

--
nosy: +jack__d

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44681] time.sleep(0.001) not working properly

2021-07-19 Thread Thereisfood


Change by Thereisfood :


Added file: https://bugs.python.org/file50162/Capture.PNG

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44681] time.sleep(0.001) not working properly

2021-07-19 Thread Thereisfood


Change by Thereisfood :


Removed file: https://bugs.python.org/file50161/Capture.PNG

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44681] time.sleep(0.001) not working properly

2021-07-19 Thread Thereisfood


New submission from Thereisfood :

time.sleep(0.001) sleeps for 0.014 - 0.016 instead of 0.001.

--
components: Windows
files: Capture.PNG
messages: 397850
nosy: paul.moore, steve.dower, therenoisfood, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: time.sleep(0.001) not working properly
versions: Python 3.9
Added file: https://bugs.python.org/file50161/Capture.PNG

___
Python tracker 
<https://bugs.python.org/issue44681>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



Re: The if is not working properly

2019-05-19 Thread MRAB

On 2019-05-19 11:29, Cameron Simpson wrote:

On 18May2019 13:22, nobelio  wrote:
When you print the variable “a” it appears as True, but the program is 
it is not getting in the if a==True:


It may be that "a" is not the Boolean value True but something else. But
that is just a guess. Please reply and paste in a small example
programme showing this problem.


My guess is that it's the string 'True'.
--
https://mail.python.org/mailman/listinfo/python-list


Re: The if is not working properly

2019-05-19 Thread Alister via Python-list
On Sun, 19 May 2019 20:29:35 +1000, Cameron Simpson wrote:

> On 18May2019 13:22, nobelio  wrote:
>>When you print the variable “a” it appears as True, but the program is
>>it is not getting in the if a==True:
> 
> It may be that "a" is not the Boolean value True but something else. But
> that is just a guess. Please reply and paste in a small example
> programme showing this problem.
> 
> Cheers,
> Cameron Simpson 

also if a==True is unnecessarily verbose
if a: would suffice
(unless you explicitly want True & not just a truthy value in which case 
use
if a is True:
 
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: The if is not working properly

2019-05-19 Thread Cameron Simpson

On 18May2019 13:22, nobelio  wrote:
When you print the variable “a” it appears as True, but the program is 
it is not getting in the if a==True:


It may be that "a" is not the Boolean value True but something else. But 
that is just a guess. Please reply and paste in a small example 
programme showing this problem.


Cheers,
Cameron Simpson 
--
https://mail.python.org/mailman/listinfo/python-list


The if is not working properly

2019-05-19 Thread nobelio
When you print the variable “a” it appears as True, but the program is it is 
not getting in the if a==True:  

Enviado do Email para Windows 10



---
Este e-mail foi verificado quanto a vírus pelo AVG.
http://www.avg.com
-- 
https://mail.python.org/mailman/listinfo/python-list


[issue33243] nltk is not working properly

2018-04-09 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

nltk is not a part of the stdlib, it a third-party library.

But in this case seems the problem is in your code or configuration. Your 
"C:\Users\Ali Abbas\Desktop\token\token.py" file hides the standard token 
module.

--
nosy: +serhiy.storchaka
resolution:  -> third party
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33243] nltk is not working properly

2018-04-08 Thread Ali Abbas

New submission from Ali Abbas <aliabbas...@gmail.com>:

nltk is not working properly, showing this error

Traceback (most recent call last):
  File "token.py", line 1, in 
from nltk.tokenize import word_tokenize, sent_tokenize
  File "D:\PYTHON36\lib\site-packages\nltk\__init__.py", line 89, in 
from nltk.internals import config_java
  File "D:\PYTHON36\lib\site-packages\nltk\internals.py", line 11, in 
import subprocess
  File "D:\PYTHON36\lib\subprocess.py", line 126, in 
import threading
  File "D:\PYTHON36\lib\threading.py", line 7, in 
from traceback import format_exc as _format_exc
  File "D:\PYTHON36\lib\traceback.py", line 5, in 
import linecache
  File "D:\PYTHON36\lib\linecache.py", line 11, in 
import tokenize
  File "D:\PYTHON36\lib\tokenize.py", line 35, in 
from token import *
  File "C:\Users\Ali Abbas\Desktop\token\token.py", line 1, in 
from nltk.tokenize import word_tokenize, sent_tokenize
  File "D:\PYTHON36\lib\site-packages\nltk\tokenize\__init__.py", line 67, in 
from nltk.tokenize.mwe  import MWETokenizer
  File "D:\PYTHON36\lib\site-packages\nltk\tokenize\mwe.py", line 31, in 
from nltk.util import Trie
  File "D:\PYTHON36\lib\site-packages\nltk\util.py", line 15, in 
import pydoc
  File "D:\PYTHON36\lib\pydoc.py", line 72, in 
from traceback import format_exception_only
ImportError: cannot import name 'format_exception_only'

--
components: Library (Lib)
files: error.txt
messages: 315106
nosy: Ali Abbas
priority: normal
severity: normal
status: open
title: nltk is not working properly
type: compile error
versions: Python 3.6
Added file: https://bugs.python.org/file47524/error.txt

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33243>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33094] dataclasses: ClassVar attributes are not working properly

2018-03-20 Thread Eric V. Smith

Change by Eric V. Smith :


--
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33094] dataclasses: ClassVar attributes are not working properly

2018-03-20 Thread Adrian Stachlewski

Adrian Stachlewski  added the comment:

There's nothing to do, thanks for help one more again.

--
status: pending -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33094] dataclasses: ClassVar attributes are not working properly

2018-03-19 Thread Eric V. Smith

Eric V. Smith  added the comment:

Are there any remaining issues here? If not, I'm going to close this issue.

--
status: open -> pending

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33094] dataclasses: ClassVar attributes are not working properly

2018-03-19 Thread Adrian Stachlewski

Adrian Stachlewski  added the comment:

Once more same mistake. 

'x' should be declared as: 
- x: ClassVar[set] = set()
- x: ClassVar[Set[Any]] = set()

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33094] dataclasses: ClassVar attributes are not working properly

2018-03-18 Thread Adrian Stachlewski

Adrian Stachlewski  added the comment:

Thanks for explaining. I was trying to do something like

@dataclass
class A:
  x: ClassVar = set()

and thanks to you I know it should be 

@dataclass
class A:
  x: ClassVar[Set] = set()

If you are looking for improved error message, it's probably should be somehow 
connected to not proper usage of annotation. I've ended with default_factory 
because x: ClassVar = set() wasn't working and there was no error with 
default_factory and without slots.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33094] dataclasses: ClassVar attributes are not working properly

2018-03-18 Thread Eric V. Smith

Change by Eric V. Smith :


--
versions: +Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33094] dataclasses: ClassVar attributes are not working properly

2018-03-18 Thread Eric V. Smith

Eric V. Smith  added the comment:

There are a couple of problems here. You're using ClassVar incorrectly. It 
should be:

>>> @dataclass
... class C:
...   __slots__=()
...   x: ClassVar[int] = field(default=3)
... 
>>> C()
C()
>>> C.x
3


And you cannot have a ClassVar with a default_factory, since it would never get 
called:

>>> @dataclass
... class C:
...   __slots__=()
...   x: ClassVar[int] = field(default_factory=set)
... 

raise TypeError(f'field {f.name} cannot have a '
TypeError: field x cannot have a default factory

Although this error message could be improved. Neither InitVars or ClassVars 
can have default factories.

I'm not exactly sure how to improve the error message that you're seeing.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33094] dataclasses: ClassVar attributes are not working properly

2018-03-17 Thread Raymond Hettinger

Change by Raymond Hettinger :


--
assignee:  -> eric.smith
nosy: +eric.smith

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33094] dataclasses: ClassVar attributes are not working properly

2018-03-17 Thread Adrian Stachlewski

New submission from Adrian Stachlewski <adrian.stachlew...@gmail.com>:

Class variables should behave in the same way whether with or without ClassVar 
annotation. Unfortunately there are not.

class A:
__slots__ = ()
x: ClassVar = set()

A()  # it's ok

@dataclass
class B:
__slots__ = ()
x = set()

B()  # ok too

@dataclass
class C:
__slots__ = ()
# cannot use set() because of error
x: ClassVar = field(default_factory=set) 

C()  # AttributeError: 'C' object has no attribute 'x'

Exception is raised from __init__ method, with flag init=False nothing changes. 

Python version: 3.7.0b2

--
components: Library (Lib)
messages: 314017
nosy: stachel
priority: normal
severity: normal
status: open
title: dataclasses: ClassVar attributes are not working properly
type: behavior
versions: Python 3.7

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33094>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25979] String functions lstrip are not working properly when you have escape sequence

2015-12-29 Thread Kiran Kotari

New submission from Kiran Kotari:

In this python code I am collecting list of folders present in the given 
location path with parent folder and print the folder names (output went wrong 
due to escape sequence values with lstrip.)
Note :
"\a \b \f \r \v \0 \1" are working fine. 
"\c \e \n \ne \t \te" went wrong.

Folder Structure : 
parent ->
  cat
  eat
  east
  next
  nest
  test

Wrong Output :
Path: .\parent\, List:  ['cat', 'st', '', 'st', 'xt', 'st']

--
components: 2to3 (2.x to 3.x conversion tool)
files: string_fun_error.py
messages: 257223
nosy: Kiran Kotari
priority: normal
severity: normal
status: open
title: String functions lstrip are not working properly when you have escape 
sequence
type: behavior
versions: Python 3.5
Added file: http://bugs.python.org/file41450/string_fun_error.py

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25979>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25979] String functions lstrip are not working properly when you have escape sequence

2015-12-29 Thread Kiran Kotari

Changes by Kiran Kotari :


Removed file: http://bugs.python.org/file41450/string_fun_error.py

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25979] String functions lstrip are not working properly when you have escape sequence

2015-12-29 Thread Kiran Kotari

Kiran Kotari added the comment:

In this python code I am collecting list of folders present in the given 
location path with parent folder and print the folder names (output went wrong 
due to escape sequence values with lstrip.)
Note :
"\a \b \f \r \v \0 \1" are working fine. 
"\c \e \n \ne \t \te" went wrong.

Python Code :
import glob as g

class Folders:
def __init__(self, path, parent_folder_name):
self.path = path + parent_folder_name + '\\'
self.parent_folder_name = parent_folder_name

def showFolders(self):
folders = [lst.lstrip(self.path) for lst in  g.glob(self.path + '*')]
print('Path: '+self.path+ ', List: ',folders)
pass

if __name__ == "__main__":
obj = Folders(path='.\\', parent_folder_name='parent')
obj.showFolders()

Folder Structure : 
parent ->
  cat
  eat
  east
  next
  nest
  test

Wrong Output :
Path: .\parent\, List:  ['cat', 'st', '', 'st', 'xt', 'st']

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25979] String functions lstrip are not working properly when you have escape sequence

2015-12-29 Thread Ethan Furman

Ethan Furman added the comment:

lstrip() works by removing any of the characters in its argument, in any order; 
for example:

'catchy'.lstrip('cat')
# 'hy'

'actchy'.lstrip('tac')
# 'hy'

is stripping, from the left, all 'c's and all 'a's and all 't's -- not just the 
first three, and order does not matter.

The docs: 
https://docs.python.org/3/library/stdtypes.html?highlight=lstrip#str.lstrip

--
nosy: +ethan.furman
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25673] unittest assertLessEqual not working properly with lists

2015-11-19 Thread kehlert

New submission from kehlert:

I attached a file that explains the issue. Basically, assertLessEqual only 
seems to compare the first elements of the two lists and ignores the others. 
Thus a test can pass when it shouldn't.

--
files: example.py
messages: 254920
nosy: kehlert
priority: normal
severity: normal
status: open
title: unittest assertLessEqual not working properly with lists
versions: Python 3.4
Added file: http://bugs.python.org/file41081/example.py

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25673>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25673] unittest assertLessEqual not working properly with lists

2015-11-19 Thread Ezio Melotti

Ezio Melotti added the comment:

This is how comparison works for sequences and it's not a bug:

>>> a = [1, 2]
>>> b = [2, 1]
>>> a <= b
True
>>> a = [2, 1]
>>> b = [1, 2]
>>> a <= b
False

See 
https://docs.python.org/3/tutorial/datastructures.html#comparing-sequences-and-other-types

--
nosy: +ezio.melotti
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
type:  -> behavior

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



VTK Quadratic - vtkContourFilter - vtkSliderRepresentation2D in Python not working properly

2015-02-18 Thread Shalini Ravishankar
Hello Everyone,

I am new to VTK. I am trying to extract isosurfaces(Contour) from a quadratic 
function with a Slider to change the iso surfaces.


#!/usr/bin/env python

# First, we need to import vtk package in order to access VTK 
classes/functions. 
import vtk 

# create a data source...an implicit function. 
quadric = vtk.vtkQuadric() 
quadric.SetCoefficients(.5, 1, .2, 0, .1, 0, 0, .2, 0, 0) 


def vtkSliderCallback2(obj, event):
sliderRepres = obj.GetRepresentation()
pos = sliderRepres.GetValue()
print Position ,pos
isosurface.SetValue(0, pos)

# create a filter...a sampling function, which samples an implicit function 
over the x-y-z range 
# although this object is not called filter it takes an input and do 
something to/with it 
# and produce an output. 
sample = vtk.vtkSampleFunction() 
sample.SetSampleDimensions(100, 100, 100) 
sample.SetImplicitFunction(quadric) 



outline = vtk.vtkOutlineFilter() 
outline.SetInput( sample.GetOutput() ) 
outlineMapper = vtk.vtkPolyDataMapper() 
outlineMapper.SetInput( outline.GetOutput() )
outlineActor = vtk.vtkActor() 
outlineActor.SetMapper( outlineMapper ) 
outlineActor.GetProperty().SetColor(0.0,0.0,1.0)

# create another filter...computing a contour of an input data. 
isosurface = vtk.vtkContourFilter() 
isosurface.SetInputConnection(sample.GetOutputPort()) 
isosurface.GenerateValues(15, 0.0, 4.2) 

# create a mapper, which mapps data to visualizable data structure. 
contMapper = vtk.vtkPolyDataMapper() 
contMapper.SetInputConnection(isosurface.GetOutputPort()) 
contMapper.SetScalarRange(0.0, 1.2) 

# create an actor, which can be displayed. 
contActor = vtk.vtkActor() 
contActor.SetMapper(contMapper) 



# create a window with a renderer. 
ren = vtk.vtkRenderer() 
renWin = vtk.vtkRenderWindow() 
renWin.AddRenderer(ren) 
iren = vtk.vtkRenderWindowInteractor() 
iren.SetRenderWindow(renWin) 
ren.SetBackground(0.95, 0.95, 1.0)
ren.AddActor(contActor) 
renWin.SetSize( 500, 500 ) 


SliderRepres = vtk.vtkSliderRepresentation2D()
min = 0 #ImageViewer.GetSliceMin()
max = 256 #ImageViewer.GetSliceMax()
SliderRepres.SetMinimumValue(min)
SliderRepres.SetMaximumValue(max)
SliderRepres.SetValue((min + max) / 2)
SliderRepres.SetTitleText(Slider)
SliderRepres.GetPoint1Coordinate().SetCoordinateSystemToNormalizedDisplay()
SliderRepres.GetPoint1Coordinate().SetValue(0.2, 0.9)
SliderRepres.GetPoint2Coordinate().SetCoordinateSystemToNormalizedDisplay()
SliderRepres.GetPoint2Coordinate().SetValue(0.8, 0.9)

SliderRepres.SetSliderLength(0.02)
SliderRepres.SetSliderWidth(0.03)
SliderRepres.SetEndCapLength(0.01)
SliderRepres.SetEndCapWidth(0.03)
SliderRepres.SetTubeWidth(0.005)
SliderRepres.SetLabelFormat(%3.0lf)
SliderRepres.SetTitleHeight(0.02)
SliderRepres.SetLabelHeight(0.02)

SliderWidget = vtk.vtkSliderWidget()
SliderWidget.SetInteractor(iren)
SliderWidget.SetRepresentation(SliderRepres)
SliderWidget.KeyPressActivationOff()
SliderWidget.SetAnimationModeToAnimate()
SliderWidget.SetEnabled(True)
SliderWidget.AddObserver(EndInteractionEvent, vtkSliderCallback2)

# this causes the pipeline to execute
renWin.Render() 

# initialize and start the interactor 
iren.Initialize() 
iren.Start() 




This is my code. It gives me output for the quadratic fucntion but when I 
change the contour values using slider I couldn't see the changes. Can Someone 
tell me What I am doing wrong here??
-- 
https://mail.python.org/mailman/listinfo/python-list


[issue20061] pdb through separate terminal not working properly

2013-12-24 Thread Chiel ten Brinke

New submission from Chiel ten Brinke:

There are several reasons why one would need to debug in a terminal window 
other than the debuggee terminal window, for instance when we have a curses 
application.
The pdb doesn't support a tty command like gdb, which would allow this.
Instead, it is possible to manually create a Pdb object with the stdin/stdout 
set to the terminal you want to use (e.g. /dev/pts/6). However, this is quite 
cumbersome, as command history, autocompletion etc don't work this way. Also, 
it seems that post mortem debugging cannot easily be done this way, like when 
running `python3.3 -m pdb myscript.py`. 

There should be an easy way to debug properly through a second terminal window.

--
messages: 206895
nosy: Chiel92
priority: normal
severity: normal
status: open
title: pdb through separate terminal not working properly
type: behavior
versions: Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20061
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20061] pdb through separate terminal not working properly

2013-12-24 Thread R. David Murray

R. David Murray added the comment:

Sounds like a good idea to me, but it would be a new feature, not a bug fix.

--
components: +Library (Lib)
nosy: +r.david.murray
stage:  - needs patch
type: behavior - enhancement
versions: +Python 3.5 -Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20061
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20061] pdb through separate terminal not working properly

2013-12-24 Thread R. David Murray

R. David Murray added the comment:

To clarify: remote debugging is not a new feature, but enabling command history 
c should probably be considered a new feature, and making the interface for 
doing all this more convenient (which would be cool) certainly would be.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20061
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



Re: TextWrangler run command not working properly

2011-04-17 Thread Fabio
In article mailman.371.1302815698.9059.python-l...@python.org,
 Ernest Obusek ern...@willowfalls.net wrote:

 I'm not a python expert, but you might trying running 'print sys.path' inside 
 your script and run that from TextWrangler to see where it's looking for 
 modules.
 
 - Ernest




Hi Ernst, Hi Brian,
Thank you for your answers!
With the #!/usr/bin/env python shebang line now it works!
I also had more insights running print sys.path.

I still have to understand how comes, even with this env trick 
TextWrangler isn't able to find the libraries if I run a script in 
TextWrangler. It only works fine if I use the Run in Terminal method.
Do you have more details about how TextWrangler manages these commands?
Which are its defalut locations?

Cheers,

Fabio

 
 
 On Apr 14, 2011, at 5:01 PM, Jon Clements wrote:
 
  On Apr 14, 9:52 pm, Fabio oakw...@email.it wrote:
  Hi to all,
  I have troubles with TextWrangler run command in the shebang (#!)
  menu.
  I am on MacOSX 10.6.7.
  I have the built-in Python2.5 which comes installed by mother Apple.
  Then I installed Python2.6, and left 2.5 untouched (I was suggested to
  leave it on the system, since something might need it).
  
  I ran the Update Shell Profile.command, and now if I launch python
  in the terminal it happily launches the 2.6 version.
  Then I installed some libraries (scipy and matplotlib) on this newer 2.6
  version.
  They work, and everything is fine.
  
  Then, I started to use TexWrangler, and I wanted to use the shebang
  menu, and run command.
  I have the #! first line pointing to the 2.6 version.
  It works fine, as long as I don't import the libraries, in which case it
  casts an error saying:
  
  ImportError: No module named scipy
  
  Maybe for some reason it points to the old 2.5 version.
  But I might be wrong and the problem is another...
  
  I copy here the first lines in the terminal window if i give the run in
  terminal command
  
  Last login: Thu Apr 14 22:38:26 on ttys000
  Fabio-Mac:~ fabio$
  /var/folders/BS/BSS71XvjFKiJPH3Wqtx90k+++TM/-Tmp-/Cleanup\ At\
  Startup/untitled\ text-324506443.860.command ; exit;
  Traceback (most recent call last):
File /Users/fabio/Desktop/test.py, line 3, in module
  import scipy as sp
  ImportError: No module named scipy
  logout
  
  [Process completed]
  
  where the source (test.py) contains just:
  
  #!/usr/bin/python2.6
  
  import scipy as sp
  
  print hello world
  
  Any clue?
  
  Thanks
  
  Fabio
  
  http://www.velocityreviews.com/forums/t570137-textwrangler-and-new-python-ve
  rsion-mac.html
  ?
  -- 
  http://mail.python.org/mailman/listinfo/python-list
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: TextWrangler run command not working properly

2011-04-15 Thread Fabio
In article 
382709dd-5e3f-4b07-a642-4ce141ef4...@18g2000prd.googlegroups.com,
 Jon Clements jon...@googlemail.com wrote:

 http://www.velocityreviews.com/forums/t570137-textwrangler-and-new-python-vers
 ion-mac.html

Thank you for the reply Jon.
I saw the post in velocityreviews. Unfortunately it doesn't solve my 
problem.

Cheers
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: TextWrangler run command not working properly

2011-04-15 Thread Brian Blais
Hello Fabio You have two versions of 2.6 on your system.  

On Apr 15, 2011, at 4:51 AM, Fabio wrote:
 I have the built-in Python2.5 which comes installed by mother Apple.


My OSX comes with 2.3, 2.5, and 2.6.  :)  These are under:

/System/Library/Frameworks/Python.framework/Versions/
^

the ones you installed are under:

/Library/Frameworks/Python.framework/Versions/

I can reproduce this problem on my system, because /usr/bin/python2.6 points to 
the system version.  There is an easy solution:

#!/usr/bin/env python

will work, or, 

#!/usr/local/bin/python

it's better to use the former, as it will work even as you change versions, 
etc...  You should avoid using the shebang with a *specific* python version.  
just use #!/usr/bin/env python



bb


-- 
Brian Blais
bbl...@bryant.edu
http://web.bryant.edu/~bblais
http://bblais.blogspot.com/



-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [Mac OSX] TextWrangler run command not working properly

2011-04-15 Thread Jason Swails
On Thu, Apr 14, 2011 at 1:52 PM, Fabio oakw...@email.it wrote:

 Then, I started to use TexWrangler, and I wanted to use the shebang
 menu, and run command.
 I have the #! first line pointing to the 2.6 version.
 It works fine, as long as I don't import the libraries, in which case it
 casts an error saying:

 ImportError: No module named scipy

 Maybe for some reason it points to the old 2.5 version.
 But I might be wrong and the problem is another...


TextWrangler doesn't launch a shell session that sources your typical
resource files (i.e. .bashrc, etc.), so any changes you make in an
interactive terminal session probably WON'T be loaded in TextWrangler.

See this website about setting environment variables for native Mac OS X
applications to see them:
http://www.astro.washington.edu/users/rowen/AquaEnvVar.html

Maybe if you prepend your Python 2.6 (MacPorts?) location to your PATH,
it'll find it.

--Jason
-- 
http://mail.python.org/mailman/listinfo/python-list


[Mac OSX] TextWrangler run command not working properly

2011-04-14 Thread Fabio
Hi to all,
I have troubles with TextWrangler run command in the shebang (#!) 
menu.
I am on MacOSX 10.6.7.
I have the built-in Python2.5 which comes installed by mother Apple.
Then I installed Python2.6, and left 2.5 untouched (I was suggested to 
leave it on the system, since something might need it).

I ran the Update Shell Profile.command, and now if I launch python 
in the terminal it happily launches the 2.6 version.
Then I installed some libraries (scipy and matplotlib) on this newer 2.6 
version.
They work, and everything is fine.

Then, I started to use TexWrangler, and I wanted to use the shebang 
menu, and run command.
I have the #! first line pointing to the 2.6 version.
It works fine, as long as I don't import the libraries, in which case it 
casts an error saying:

ImportError: No module named scipy

Maybe for some reason it points to the old 2.5 version. 
But I might be wrong and the problem is another...

I copy here the first lines in the terminal window if i give the run in 
terminal command


Last login: Thu Apr 14 22:38:26 on ttys000
Fabio-Mac:~ fabio$ 
/var/folders/BS/BSS71XvjFKiJPH3Wqtx90k+++TM/-Tmp-/Cleanup\ At\ 
Startup/untitled\ text-324506443.860.command ; exit;
Traceback (most recent call last):
  File /Users/fabio/Desktop/test.py, line 3, in module
import scipy as sp
ImportError: No module named scipy
logout

[Process completed]

where the source (test.py) contains just:

#!/usr/bin/python2.6

import scipy as sp

print hello world


Any clue?

Thanks

Fabio
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: TextWrangler run command not working properly

2011-04-14 Thread Jon Clements
On Apr 14, 9:52 pm, Fabio oakw...@email.it wrote:
 Hi to all,
 I have troubles with TextWrangler run command in the shebang (#!)
 menu.
 I am on MacOSX 10.6.7.
 I have the built-in Python2.5 which comes installed by mother Apple.
 Then I installed Python2.6, and left 2.5 untouched (I was suggested to
 leave it on the system, since something might need it).

 I ran the Update Shell Profile.command, and now if I launch python
 in the terminal it happily launches the 2.6 version.
 Then I installed some libraries (scipy and matplotlib) on this newer 2.6
 version.
 They work, and everything is fine.

 Then, I started to use TexWrangler, and I wanted to use the shebang
 menu, and run command.
 I have the #! first line pointing to the 2.6 version.
 It works fine, as long as I don't import the libraries, in which case it
 casts an error saying:

 ImportError: No module named scipy

 Maybe for some reason it points to the old 2.5 version.
 But I might be wrong and the problem is another...

 I copy here the first lines in the terminal window if i give the run in
 terminal command

 Last login: Thu Apr 14 22:38:26 on ttys000
 Fabio-Mac:~ fabio$
 /var/folders/BS/BSS71XvjFKiJPH3Wqtx90k+++TM/-Tmp-/Cleanup\ At\
 Startup/untitled\ text-324506443.860.command ; exit;
 Traceback (most recent call last):
   File /Users/fabio/Desktop/test.py, line 3, in module
     import scipy as sp
 ImportError: No module named scipy
 logout

 [Process completed]

 where the source (test.py) contains just:

 #!/usr/bin/python2.6

 import scipy as sp

 print hello world

 Any clue?

 Thanks

 Fabio

http://www.velocityreviews.com/forums/t570137-textwrangler-and-new-python-version-mac.html
?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: TextWrangler run command not working properly

2011-04-14 Thread Ernest Obusek
I'm not a python expert, but you might trying running 'print sys.path' inside 
your script and run that from TextWrangler to see where it's looking for 
modules.

- Ernest


On Apr 14, 2011, at 5:01 PM, Jon Clements wrote:

 On Apr 14, 9:52 pm, Fabio oakw...@email.it wrote:
 Hi to all,
 I have troubles with TextWrangler run command in the shebang (#!)
 menu.
 I am on MacOSX 10.6.7.
 I have the built-in Python2.5 which comes installed by mother Apple.
 Then I installed Python2.6, and left 2.5 untouched (I was suggested to
 leave it on the system, since something might need it).
 
 I ran the Update Shell Profile.command, and now if I launch python
 in the terminal it happily launches the 2.6 version.
 Then I installed some libraries (scipy and matplotlib) on this newer 2.6
 version.
 They work, and everything is fine.
 
 Then, I started to use TexWrangler, and I wanted to use the shebang
 menu, and run command.
 I have the #! first line pointing to the 2.6 version.
 It works fine, as long as I don't import the libraries, in which case it
 casts an error saying:
 
 ImportError: No module named scipy
 
 Maybe for some reason it points to the old 2.5 version.
 But I might be wrong and the problem is another...
 
 I copy here the first lines in the terminal window if i give the run in
 terminal command
 
 Last login: Thu Apr 14 22:38:26 on ttys000
 Fabio-Mac:~ fabio$
 /var/folders/BS/BSS71XvjFKiJPH3Wqtx90k+++TM/-Tmp-/Cleanup\ At\
 Startup/untitled\ text-324506443.860.command ; exit;
 Traceback (most recent call last):
   File /Users/fabio/Desktop/test.py, line 3, in module
 import scipy as sp
 ImportError: No module named scipy
 logout
 
 [Process completed]
 
 where the source (test.py) contains just:
 
 #!/usr/bin/python2.6
 
 import scipy as sp
 
 print hello world
 
 Any clue?
 
 Thanks
 
 Fabio
 
 http://www.velocityreviews.com/forums/t570137-textwrangler-and-new-python-version-mac.html
 ?
 -- 
 http://mail.python.org/mailman/listinfo/python-list

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: PyQt imageViewer does not working properly...

2010-10-05 Thread Hans-Peter Jansen
On Tuesday 05 October 2010, 00:29:04 Polimeno wrote:
 Hello guys,

 I have been looking throughout the web for some PyQt Image Viewer :

 http://nullege.com/codes/show/src%40pyformex-0.8.2%40pyformex%40gui%40ima
geViewer.py/78/PyQt4.QtGui.QImage#


 Unfortunately, everytime I input any kind of image type
 (.jpeg, .tga, .png, whatver) It doesn´t show me the image inside the
 widget itself looks like it ignores the path I did pick...

 Even if I use a simple snippet like one below, I can´t get my display
 image...

 from PyQt4.QtGui import *
 from PyQt4.QtCore import *
 import sys

 class ImageViewer(QWidget):

 def __init__(self, imgFile):
 QWidget.__init__(self)
 self.image = QImage(imgFile)
 print self, file_Path, '\n'
 self.update()

 def paintEvent(self, event):
 self.painter = QPainter(self)
 self.painter.drawImage(0, 0, self.image)

 if __name__ == __main__:
 Qapp = QApplication(sys.argv)
 Iviewer = ImageViewer(imgFile='C:\\Users\\Administrador\\Desktop\
 \Img_001.jpg')
 Iviewer.show()
 Qapp.exec_()

 What am I missing ?

Hmm, first of all, a QLabel would be better suited for the task in question, 
since that one would display some image just fine without any painter, but 
anyway, here's a working example:

import sys
from PyQt4 import QtCore, QtGui

class Widget(QtGui.QWidget):
def __init__(self, imgFile, parent = None):
super(Widget, self).__init__(parent)
self.image = QtGui.QImage(imgFile)
self.resize(self.image.size())

def paintEvent(self, event):
p = QtGui.QPainter(self)
p.drawImage(event.rect(), self.image)

try:
imgFile = sys.argv[1]
except IndexError:
print  sys.stderr, %s: image % sys.argv[0]
sys.exit(1)
app = QtGui.QApplication(sys.argv)
iv = Widget(imgFile)
iv.show()
sys.exit(app.exec_())

Depending on the window frame size, the image might be distorted with small 
images, because the painter tries to fit the image into the window. On the 
plus side, this code is able to cope with all supported image formats, 
hence even svg files.

Hth,
Pete
-- 
http://mail.python.org/mailman/listinfo/python-list


PyQt imageViewer does not working properly...

2010-10-04 Thread Polimeno
Hello guys,

I have been looking throughout the web for some PyQt Image Viewer :

http://nullege.com/codes/show/src%40pyformex-0.8.2%40pyformex%40gui%40imageViewer.py/78/PyQt4.QtGui.QImage#


Unfortunately, everytime I input any kind of image type
(.jpeg, .tga, .png, whatver) It doesn´t show me the image inside the
widget itself looks like it ignores the path I did pick...

Even if I use a simple snippet like one below, I can´t get my display
image...

from PyQt4.QtGui import *
from PyQt4.QtCore import *
import sys

class ImageViewer(QWidget):

def __init__(self, imgFile):
QWidget.__init__(self)
self.image = QImage(imgFile)
print self, file_Path, '\n'
self.update()

def paintEvent(self, event):
self.painter = QPainter(self)
self.painter.drawImage(0, 0, self.image)

if __name__ == __main__:
Qapp = QApplication(sys.argv)
Iviewer = ImageViewer(imgFile='C:\\Users\\Administrador\\Desktop\
\Img_001.jpg')
Iviewer.show()
Qapp.exec_()

What am I missing ?
-- 
http://mail.python.org/mailman/listinfo/python-list


[ python-Bugs-1580563 ] make install for Python 2.4.4 not working properly

2006-11-29 Thread SourceForge.net
Bugs item #1580563, was opened at 2006-10-19 07:21
Message generated for change (Comment added) made by sf-robot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=105470aid=1580563group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.4
Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Andreas Jung (ajung)
Assigned to: Nobody/Anonymous (nobody)
Summary: make install for Python 2.4.4 not working properly

Initial Comment:
Running make install on Linux (Suse 10.1) won't
terminate properly:

Compiling /opt/python-2.4.4/lib/python2.4/user.py ...
Compiling /opt/python-2.4.4/lib/python2.4/uu.py ...
Compiling /opt/python-2.4.4/lib/python2.4/warnings.py ...
Compiling /opt/python-2.4.4/lib/python2.4/wave.py ...
Compiling /opt/python-2.4.4/lib/python2.4/weakref.py ...
Compiling /opt/python-2.4.4/lib/python2.4/webbrowser.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whichdb.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whrandom.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xdrlib.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/__init__.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/dom ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/NodeFilter.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/domreg.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/expatbuilder.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minicompat.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minidom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/pulldom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/xmlbuilder.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/parsers ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/expat.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/sax ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/_exceptions.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/handler.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/saxutils.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/xmlreader.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmllib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmlrpclib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/zipfile.py ...
make: *** [libinstall] Error 1


--

Comment By: SourceForge Robot (sf-robot)
Date: 2006-11-29 19:20

Message:
Logged In: YES 
user_id=1312539
Originator: NO

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

--

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-12 13:34

Message:
Logged In: YES 
user_id=21627

ajung: can you please report what environment settings you
are using? If you have set PYTHON* in your environment, make
sure to unset all these variables.

--

Comment By: Evan (erflynn)
Date: 2006-11-11 12:29

Message:
Logged In: YES 
user_id=1642549

I created a new bug report so I could attach a file.  See
#1594809

--

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-10 15:52

Message:
Logged In: YES 
user_id=21627

Can you please provide a *complete* log file (i.e. terminal
output) of the make install run? If SF rejects it because
it is too large, try compressing it.

--

Comment By: Evan (erflynn)
Date: 2006-11-10 12:55

Message:
Logged In: YES 
user_id=1642549

Hi,

I am having exactly the same issue on Python 2.5.  configure
arguments have nothing special.  This was on a Debian Woody
system on which I have an account but not root access. 
Please let me know what to do in order to supply more
information.

~Evan

--

Comment By: Martin v. Löwis (loewis)
Date: 2006-10-20 00:52

Message:
Logged In: YES 
user_id=21627

I can't reproduce this. It installs fine for me (although  I
try to install to /tmp/python-2.4.4, not opt), and also not
on SuSE, but Debian unstable.

Can you please debug through compileall, to find out whether
and how exit_status gets set to a non-zero value? For that
to happen, success should be set to 0 at some point

[ python-Bugs-1580563 ] make install for Python 2.4.4 not working properly

2006-11-15 Thread SourceForge.net
Bugs item #1580563, was opened at 2006-10-19 14:21
Message generated for change (Settings changed) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=105470aid=1580563group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.4
Status: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: Andreas Jung (ajung)
Assigned to: Nobody/Anonymous (nobody)
Summary: make install for Python 2.4.4 not working properly

Initial Comment:
Running make install on Linux (Suse 10.1) won't
terminate properly:

Compiling /opt/python-2.4.4/lib/python2.4/user.py ...
Compiling /opt/python-2.4.4/lib/python2.4/uu.py ...
Compiling /opt/python-2.4.4/lib/python2.4/warnings.py ...
Compiling /opt/python-2.4.4/lib/python2.4/wave.py ...
Compiling /opt/python-2.4.4/lib/python2.4/weakref.py ...
Compiling /opt/python-2.4.4/lib/python2.4/webbrowser.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whichdb.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whrandom.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xdrlib.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/__init__.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/dom ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/NodeFilter.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/domreg.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/expatbuilder.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minicompat.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minidom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/pulldom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/xmlbuilder.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/parsers ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/expat.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/sax ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/_exceptions.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/handler.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/saxutils.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/xmlreader.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmllib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmlrpclib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/zipfile.py ...
make: *** [libinstall] Error 1


--

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-12 21:34

Message:
Logged In: YES 
user_id=21627

ajung: can you please report what environment settings you
are using? If you have set PYTHON* in your environment, make
sure to unset all these variables.

--

Comment By: Evan (erflynn)
Date: 2006-11-11 20:29

Message:
Logged In: YES 
user_id=1642549

I created a new bug report so I could attach a file.  See
#1594809

--

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-10 23:52

Message:
Logged In: YES 
user_id=21627

Can you please provide a *complete* log file (i.e. terminal
output) of the make install run? If SF rejects it because
it is too large, try compressing it.

--

Comment By: Evan (erflynn)
Date: 2006-11-10 20:55

Message:
Logged In: YES 
user_id=1642549

Hi,

I am having exactly the same issue on Python 2.5.  configure
arguments have nothing special.  This was on a Debian Woody
system on which I have an account but not root access. 
Please let me know what to do in order to supply more
information.

~Evan

--

Comment By: Martin v. Löwis (loewis)
Date: 2006-10-20 07:52

Message:
Logged In: YES 
user_id=21627

I can't reproduce this. It installs fine for me (although  I
try to install to /tmp/python-2.4.4, not opt), and also not
on SuSE, but Debian unstable.

Can you please debug through compileall, to find out whether
and how exit_status gets set to a non-zero value? For that
to happen, success should be set to 0 at some point.

--

Comment By: Andreas Jung (ajung)
Date: 2006-10-19 18:00

Message:
Logged In: YES 
user_id=11084

On both system just configure --prefix=/opt/python-2.4.4

--

Comment By: Ronald Oussoren (ronaldoussoren)
Date: 2006-10-19 17:26

Message:
Logged In: YES 
user_id=580910

What

[ python-Bugs-1580563 ] make install for Python 2.4.4 not working properly

2006-11-12 Thread SourceForge.net
Bugs item #1580563, was opened at 2006-10-19 16:21
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=105470aid=1580563group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Andreas Jung (ajung)
Assigned to: Nobody/Anonymous (nobody)
Summary: make install for Python 2.4.4 not working properly

Initial Comment:
Running make install on Linux (Suse 10.1) won't
terminate properly:

Compiling /opt/python-2.4.4/lib/python2.4/user.py ...
Compiling /opt/python-2.4.4/lib/python2.4/uu.py ...
Compiling /opt/python-2.4.4/lib/python2.4/warnings.py ...
Compiling /opt/python-2.4.4/lib/python2.4/wave.py ...
Compiling /opt/python-2.4.4/lib/python2.4/weakref.py ...
Compiling /opt/python-2.4.4/lib/python2.4/webbrowser.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whichdb.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whrandom.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xdrlib.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/__init__.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/dom ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/NodeFilter.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/domreg.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/expatbuilder.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minicompat.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minidom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/pulldom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/xmlbuilder.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/parsers ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/expat.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/sax ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/_exceptions.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/handler.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/saxutils.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/xmlreader.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmllib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmlrpclib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/zipfile.py ...
make: *** [libinstall] Error 1


--

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-12 22:34

Message:
Logged In: YES 
user_id=21627

ajung: can you please report what environment settings you
are using? If you have set PYTHON* in your environment, make
sure to unset all these variables.

--

Comment By: Evan (erflynn)
Date: 2006-11-11 21:29

Message:
Logged In: YES 
user_id=1642549

I created a new bug report so I could attach a file.  See
#1594809

--

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-11 00:52

Message:
Logged In: YES 
user_id=21627

Can you please provide a *complete* log file (i.e. terminal
output) of the make install run? If SF rejects it because
it is too large, try compressing it.

--

Comment By: Evan (erflynn)
Date: 2006-11-10 21:55

Message:
Logged In: YES 
user_id=1642549

Hi,

I am having exactly the same issue on Python 2.5.  configure
arguments have nothing special.  This was on a Debian Woody
system on which I have an account but not root access. 
Please let me know what to do in order to supply more
information.

~Evan

--

Comment By: Martin v. Löwis (loewis)
Date: 2006-10-20 09:52

Message:
Logged In: YES 
user_id=21627

I can't reproduce this. It installs fine for me (although  I
try to install to /tmp/python-2.4.4, not opt), and also not
on SuSE, but Debian unstable.

Can you please debug through compileall, to find out whether
and how exit_status gets set to a non-zero value? For that
to happen, success should be set to 0 at some point.

--

Comment By: Andreas Jung (ajung)
Date: 2006-10-19 20:00

Message:
Logged In: YES 
user_id=11084

On both system just configure --prefix=/opt/python-2.4.4

--

Comment By: Ronald Oussoren (ronaldoussoren)
Date: 2006-10-19 19:26

Message:
Logged In: YES 
user_id=580910

What

[ python-Bugs-1580563 ] make install for Python 2.4.4 not working properly

2006-11-11 Thread SourceForge.net
Bugs item #1580563, was opened at 2006-10-19 10:21
Message generated for change (Comment added) made by erflynn
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=105470aid=1580563group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Andreas Jung (ajung)
Assigned to: Nobody/Anonymous (nobody)
Summary: make install for Python 2.4.4 not working properly

Initial Comment:
Running make install on Linux (Suse 10.1) won't
terminate properly:

Compiling /opt/python-2.4.4/lib/python2.4/user.py ...
Compiling /opt/python-2.4.4/lib/python2.4/uu.py ...
Compiling /opt/python-2.4.4/lib/python2.4/warnings.py ...
Compiling /opt/python-2.4.4/lib/python2.4/wave.py ...
Compiling /opt/python-2.4.4/lib/python2.4/weakref.py ...
Compiling /opt/python-2.4.4/lib/python2.4/webbrowser.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whichdb.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whrandom.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xdrlib.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/__init__.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/dom ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/NodeFilter.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/domreg.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/expatbuilder.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minicompat.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minidom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/pulldom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/xmlbuilder.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/parsers ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/expat.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/sax ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/_exceptions.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/handler.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/saxutils.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/xmlreader.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmllib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmlrpclib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/zipfile.py ...
make: *** [libinstall] Error 1


--

Comment By: Evan (erflynn)
Date: 2006-11-11 15:29

Message:
Logged In: YES 
user_id=1642549

I created a new bug report so I could attach a file.  See
#1594809

--

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-10 18:52

Message:
Logged In: YES 
user_id=21627

Can you please provide a *complete* log file (i.e. terminal
output) of the make install run? If SF rejects it because
it is too large, try compressing it.

--

Comment By: Evan (erflynn)
Date: 2006-11-10 15:55

Message:
Logged In: YES 
user_id=1642549

Hi,

I am having exactly the same issue on Python 2.5.  configure
arguments have nothing special.  This was on a Debian Woody
system on which I have an account but not root access. 
Please let me know what to do in order to supply more
information.

~Evan

--

Comment By: Martin v. Löwis (loewis)
Date: 2006-10-20 03:52

Message:
Logged In: YES 
user_id=21627

I can't reproduce this. It installs fine for me (although  I
try to install to /tmp/python-2.4.4, not opt), and also not
on SuSE, but Debian unstable.

Can you please debug through compileall, to find out whether
and how exit_status gets set to a non-zero value? For that
to happen, success should be set to 0 at some point.

--

Comment By: Andreas Jung (ajung)
Date: 2006-10-19 14:00

Message:
Logged In: YES 
user_id=11084

On both system just configure --prefix=/opt/python-2.4.4

--

Comment By: Ronald Oussoren (ronaldoussoren)
Date: 2006-10-19 13:26

Message:
Logged In: YES 
user_id=580910

What are the configure arguments that you are using?

--

Comment By: Andreas Jung (ajung)
Date: 2006-10-19 10:33

Message:
Logged In: YES 
user_id=11084

Same issue on MacOSX

--

You can respond by visiting

[ python-Bugs-1580563 ] make install for Python 2.4.4 not working properly

2006-11-10 Thread SourceForge.net
Bugs item #1580563, was opened at 2006-10-19 10:21
Message generated for change (Comment added) made by erflynn
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=105470aid=1580563group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Andreas Jung (ajung)
Assigned to: Nobody/Anonymous (nobody)
Summary: make install for Python 2.4.4 not working properly

Initial Comment:
Running make install on Linux (Suse 10.1) won't
terminate properly:

Compiling /opt/python-2.4.4/lib/python2.4/user.py ...
Compiling /opt/python-2.4.4/lib/python2.4/uu.py ...
Compiling /opt/python-2.4.4/lib/python2.4/warnings.py ...
Compiling /opt/python-2.4.4/lib/python2.4/wave.py ...
Compiling /opt/python-2.4.4/lib/python2.4/weakref.py ...
Compiling /opt/python-2.4.4/lib/python2.4/webbrowser.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whichdb.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whrandom.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xdrlib.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/__init__.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/dom ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/NodeFilter.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/domreg.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/expatbuilder.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minicompat.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minidom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/pulldom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/xmlbuilder.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/parsers ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/expat.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/sax ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/_exceptions.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/handler.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/saxutils.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/xmlreader.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmllib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmlrpclib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/zipfile.py ...
make: *** [libinstall] Error 1


--

Comment By: Evan (erflynn)
Date: 2006-11-10 15:55

Message:
Logged In: YES 
user_id=1642549

Hi,

I am having exactly the same issue on Python 2.5.  configure
arguments have nothing special.  This was on a Debian Woody
system on which I have an account but not root access. 
Please let me know what to do in order to supply more
information.

~Evan

--

Comment By: Martin v. Löwis (loewis)
Date: 2006-10-20 03:52

Message:
Logged In: YES 
user_id=21627

I can't reproduce this. It installs fine for me (although  I
try to install to /tmp/python-2.4.4, not opt), and also not
on SuSE, but Debian unstable.

Can you please debug through compileall, to find out whether
and how exit_status gets set to a non-zero value? For that
to happen, success should be set to 0 at some point.

--

Comment By: Andreas Jung (ajung)
Date: 2006-10-19 14:00

Message:
Logged In: YES 
user_id=11084

On both system just configure --prefix=/opt/python-2.4.4

--

Comment By: Ronald Oussoren (ronaldoussoren)
Date: 2006-10-19 13:26

Message:
Logged In: YES 
user_id=580910

What are the configure arguments that you are using?

--

Comment By: Andreas Jung (ajung)
Date: 2006-10-19 10:33

Message:
Logged In: YES 
user_id=11084

Same issue on MacOSX

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=105470aid=1580563group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1580563 ] make install for Python 2.4.4 not working properly

2006-11-10 Thread SourceForge.net
Bugs item #1580563, was opened at 2006-10-19 16:21
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=105470aid=1580563group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Andreas Jung (ajung)
Assigned to: Nobody/Anonymous (nobody)
Summary: make install for Python 2.4.4 not working properly

Initial Comment:
Running make install on Linux (Suse 10.1) won't
terminate properly:

Compiling /opt/python-2.4.4/lib/python2.4/user.py ...
Compiling /opt/python-2.4.4/lib/python2.4/uu.py ...
Compiling /opt/python-2.4.4/lib/python2.4/warnings.py ...
Compiling /opt/python-2.4.4/lib/python2.4/wave.py ...
Compiling /opt/python-2.4.4/lib/python2.4/weakref.py ...
Compiling /opt/python-2.4.4/lib/python2.4/webbrowser.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whichdb.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whrandom.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xdrlib.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/__init__.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/dom ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/NodeFilter.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/domreg.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/expatbuilder.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minicompat.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minidom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/pulldom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/xmlbuilder.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/parsers ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/expat.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/sax ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/_exceptions.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/handler.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/saxutils.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/xmlreader.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmllib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmlrpclib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/zipfile.py ...
make: *** [libinstall] Error 1


--

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-11 00:52

Message:
Logged In: YES 
user_id=21627

Can you please provide a *complete* log file (i.e. terminal
output) of the make install run? If SF rejects it because
it is too large, try compressing it.

--

Comment By: Evan (erflynn)
Date: 2006-11-10 21:55

Message:
Logged In: YES 
user_id=1642549

Hi,

I am having exactly the same issue on Python 2.5.  configure
arguments have nothing special.  This was on a Debian Woody
system on which I have an account but not root access. 
Please let me know what to do in order to supply more
information.

~Evan

--

Comment By: Martin v. Löwis (loewis)
Date: 2006-10-20 09:52

Message:
Logged In: YES 
user_id=21627

I can't reproduce this. It installs fine for me (although  I
try to install to /tmp/python-2.4.4, not opt), and also not
on SuSE, but Debian unstable.

Can you please debug through compileall, to find out whether
and how exit_status gets set to a non-zero value? For that
to happen, success should be set to 0 at some point.

--

Comment By: Andreas Jung (ajung)
Date: 2006-10-19 20:00

Message:
Logged In: YES 
user_id=11084

On both system just configure --prefix=/opt/python-2.4.4

--

Comment By: Ronald Oussoren (ronaldoussoren)
Date: 2006-10-19 19:26

Message:
Logged In: YES 
user_id=580910

What are the configure arguments that you are using?

--

Comment By: Andreas Jung (ajung)
Date: 2006-10-19 16:33

Message:
Logged In: YES 
user_id=11084

Same issue on MacOSX

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=105470aid=1580563group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive

[ python-Bugs-1580563 ] make install for Python 2.4.4 not working properly

2006-10-20 Thread SourceForge.net
Bugs item #1580563, was opened at 2006-10-19 16:21
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=105470aid=1580563group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 7
Submitted By: Andreas Jung (ajung)
Assigned to: Nobody/Anonymous (nobody)
Summary: make install for Python 2.4.4 not working properly

Initial Comment:
Running make install on Linux (Suse 10.1) won't
terminate properly:

Compiling /opt/python-2.4.4/lib/python2.4/user.py ...
Compiling /opt/python-2.4.4/lib/python2.4/uu.py ...
Compiling /opt/python-2.4.4/lib/python2.4/warnings.py ...
Compiling /opt/python-2.4.4/lib/python2.4/wave.py ...
Compiling /opt/python-2.4.4/lib/python2.4/weakref.py ...
Compiling /opt/python-2.4.4/lib/python2.4/webbrowser.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whichdb.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whrandom.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xdrlib.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/__init__.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/dom ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/NodeFilter.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/domreg.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/expatbuilder.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minicompat.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minidom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/pulldom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/xmlbuilder.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/parsers ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/expat.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/sax ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/_exceptions.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/handler.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/saxutils.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/xmlreader.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmllib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmlrpclib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/zipfile.py ...
make: *** [libinstall] Error 1


--

Comment By: Martin v. Löwis (loewis)
Date: 2006-10-20 09:52

Message:
Logged In: YES 
user_id=21627

I can't reproduce this. It installs fine for me (although  I
try to install to /tmp/python-2.4.4, not opt), and also not
on SuSE, but Debian unstable.

Can you please debug through compileall, to find out whether
and how exit_status gets set to a non-zero value? For that
to happen, success should be set to 0 at some point.

--

Comment By: Andreas Jung (ajung)
Date: 2006-10-19 20:00

Message:
Logged In: YES 
user_id=11084

On both system just configure --prefix=/opt/python-2.4.4

--

Comment By: Ronald Oussoren (ronaldoussoren)
Date: 2006-10-19 19:26

Message:
Logged In: YES 
user_id=580910

What are the configure arguments that you are using?

--

Comment By: Andreas Jung (ajung)
Date: 2006-10-19 16:33

Message:
Logged In: YES 
user_id=11084

Same issue on MacOSX

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=105470aid=1580563group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1580563 ] make install for Python 2.4.4 not working properly

2006-10-20 Thread SourceForge.net
Bugs item #1580563, was opened at 2006-10-19 16:21
Message generated for change (Settings changed) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=105470aid=1580563group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Andreas Jung (ajung)
Assigned to: Nobody/Anonymous (nobody)
Summary: make install for Python 2.4.4 not working properly

Initial Comment:
Running make install on Linux (Suse 10.1) won't
terminate properly:

Compiling /opt/python-2.4.4/lib/python2.4/user.py ...
Compiling /opt/python-2.4.4/lib/python2.4/uu.py ...
Compiling /opt/python-2.4.4/lib/python2.4/warnings.py ...
Compiling /opt/python-2.4.4/lib/python2.4/wave.py ...
Compiling /opt/python-2.4.4/lib/python2.4/weakref.py ...
Compiling /opt/python-2.4.4/lib/python2.4/webbrowser.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whichdb.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whrandom.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xdrlib.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/__init__.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/dom ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/NodeFilter.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/domreg.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/expatbuilder.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minicompat.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minidom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/pulldom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/xmlbuilder.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/parsers ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/expat.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/sax ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/_exceptions.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/handler.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/saxutils.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/xmlreader.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmllib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmlrpclib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/zipfile.py ...
make: *** [libinstall] Error 1


--

Comment By: Martin v. Löwis (loewis)
Date: 2006-10-20 09:52

Message:
Logged In: YES 
user_id=21627

I can't reproduce this. It installs fine for me (although  I
try to install to /tmp/python-2.4.4, not opt), and also not
on SuSE, but Debian unstable.

Can you please debug through compileall, to find out whether
and how exit_status gets set to a non-zero value? For that
to happen, success should be set to 0 at some point.

--

Comment By: Andreas Jung (ajung)
Date: 2006-10-19 20:00

Message:
Logged In: YES 
user_id=11084

On both system just configure --prefix=/opt/python-2.4.4

--

Comment By: Ronald Oussoren (ronaldoussoren)
Date: 2006-10-19 19:26

Message:
Logged In: YES 
user_id=580910

What are the configure arguments that you are using?

--

Comment By: Andreas Jung (ajung)
Date: 2006-10-19 16:33

Message:
Logged In: YES 
user_id=11084

Same issue on MacOSX

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=105470aid=1580563group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1580563 ] make install for Python 2.4.4 not working properly

2006-10-19 Thread SourceForge.net
Bugs item #1580563, was opened at 2006-10-19 10:21
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=105470aid=1580563group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Andreas Jung (ajung)
Assigned to: Nobody/Anonymous (nobody)
Summary: make install for Python 2.4.4 not working properly

Initial Comment:
Running make install on Linux (Suse 10.1) won't
terminate properly:

Compiling /opt/python-2.4.4/lib/python2.4/user.py ...
Compiling /opt/python-2.4.4/lib/python2.4/uu.py ...
Compiling /opt/python-2.4.4/lib/python2.4/warnings.py ...
Compiling /opt/python-2.4.4/lib/python2.4/wave.py ...
Compiling /opt/python-2.4.4/lib/python2.4/weakref.py ...
Compiling /opt/python-2.4.4/lib/python2.4/webbrowser.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whichdb.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whrandom.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xdrlib.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/__init__.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/dom ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/NodeFilter.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/domreg.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/expatbuilder.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minicompat.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minidom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/pulldom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/xmlbuilder.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/parsers ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/expat.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/sax ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/_exceptions.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/handler.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/saxutils.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/xmlreader.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmllib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmlrpclib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/zipfile.py ...
make: *** [libinstall] Error 1


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=105470aid=1580563group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1580563 ] make install for Python 2.4.4 not working properly

2006-10-19 Thread SourceForge.net
Bugs item #1580563, was opened at 2006-10-19 10:21
Message generated for change (Comment added) made by ajung
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=105470aid=1580563group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Andreas Jung (ajung)
Assigned to: Nobody/Anonymous (nobody)
Summary: make install for Python 2.4.4 not working properly

Initial Comment:
Running make install on Linux (Suse 10.1) won't
terminate properly:

Compiling /opt/python-2.4.4/lib/python2.4/user.py ...
Compiling /opt/python-2.4.4/lib/python2.4/uu.py ...
Compiling /opt/python-2.4.4/lib/python2.4/warnings.py ...
Compiling /opt/python-2.4.4/lib/python2.4/wave.py ...
Compiling /opt/python-2.4.4/lib/python2.4/weakref.py ...
Compiling /opt/python-2.4.4/lib/python2.4/webbrowser.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whichdb.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whrandom.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xdrlib.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/__init__.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/dom ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/NodeFilter.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/domreg.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/expatbuilder.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minicompat.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minidom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/pulldom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/xmlbuilder.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/parsers ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/expat.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/sax ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/_exceptions.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/handler.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/saxutils.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/xmlreader.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmllib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmlrpclib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/zipfile.py ...
make: *** [libinstall] Error 1


--

Comment By: Andreas Jung (ajung)
Date: 2006-10-19 10:33

Message:
Logged In: YES 
user_id=11084

Same issue on MacOSX

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=105470aid=1580563group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1580563 ] make install for Python 2.4.4 not working properly

2006-10-19 Thread SourceForge.net
Bugs item #1580563, was opened at 2006-10-19 10:21
Message generated for change (Settings changed) made by ajung
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=105470aid=1580563group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 7
Submitted By: Andreas Jung (ajung)
Assigned to: Nobody/Anonymous (nobody)
Summary: make install for Python 2.4.4 not working properly

Initial Comment:
Running make install on Linux (Suse 10.1) won't
terminate properly:

Compiling /opt/python-2.4.4/lib/python2.4/user.py ...
Compiling /opt/python-2.4.4/lib/python2.4/uu.py ...
Compiling /opt/python-2.4.4/lib/python2.4/warnings.py ...
Compiling /opt/python-2.4.4/lib/python2.4/wave.py ...
Compiling /opt/python-2.4.4/lib/python2.4/weakref.py ...
Compiling /opt/python-2.4.4/lib/python2.4/webbrowser.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whichdb.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whrandom.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xdrlib.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/__init__.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/dom ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/NodeFilter.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/domreg.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/expatbuilder.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minicompat.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minidom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/pulldom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/xmlbuilder.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/parsers ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/expat.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/sax ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/_exceptions.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/handler.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/saxutils.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/xmlreader.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmllib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmlrpclib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/zipfile.py ...
make: *** [libinstall] Error 1


--

Comment By: Andreas Jung (ajung)
Date: 2006-10-19 10:33

Message:
Logged In: YES 
user_id=11084

Same issue on MacOSX

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=105470aid=1580563group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1580563 ] make install for Python 2.4.4 not working properly

2006-10-19 Thread SourceForge.net
Bugs item #1580563, was opened at 2006-10-19 16:21
Message generated for change (Comment added) made by ronaldoussoren
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=105470aid=1580563group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 7
Submitted By: Andreas Jung (ajung)
Assigned to: Nobody/Anonymous (nobody)
Summary: make install for Python 2.4.4 not working properly

Initial Comment:
Running make install on Linux (Suse 10.1) won't
terminate properly:

Compiling /opt/python-2.4.4/lib/python2.4/user.py ...
Compiling /opt/python-2.4.4/lib/python2.4/uu.py ...
Compiling /opt/python-2.4.4/lib/python2.4/warnings.py ...
Compiling /opt/python-2.4.4/lib/python2.4/wave.py ...
Compiling /opt/python-2.4.4/lib/python2.4/weakref.py ...
Compiling /opt/python-2.4.4/lib/python2.4/webbrowser.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whichdb.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whrandom.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xdrlib.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/__init__.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/dom ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/NodeFilter.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/domreg.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/expatbuilder.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minicompat.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minidom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/pulldom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/xmlbuilder.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/parsers ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/expat.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/sax ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/_exceptions.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/handler.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/saxutils.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/xmlreader.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmllib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmlrpclib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/zipfile.py ...
make: *** [libinstall] Error 1


--

Comment By: Ronald Oussoren (ronaldoussoren)
Date: 2006-10-19 19:26

Message:
Logged In: YES 
user_id=580910

What are the configure arguments that you are using?

--

Comment By: Andreas Jung (ajung)
Date: 2006-10-19 16:33

Message:
Logged In: YES 
user_id=11084

Same issue on MacOSX

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=105470aid=1580563group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1580563 ] make install for Python 2.4.4 not working properly

2006-10-19 Thread SourceForge.net
Bugs item #1580563, was opened at 2006-10-19 10:21
Message generated for change (Comment added) made by ajung
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=105470aid=1580563group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 7
Submitted By: Andreas Jung (ajung)
Assigned to: Nobody/Anonymous (nobody)
Summary: make install for Python 2.4.4 not working properly

Initial Comment:
Running make install on Linux (Suse 10.1) won't
terminate properly:

Compiling /opt/python-2.4.4/lib/python2.4/user.py ...
Compiling /opt/python-2.4.4/lib/python2.4/uu.py ...
Compiling /opt/python-2.4.4/lib/python2.4/warnings.py ...
Compiling /opt/python-2.4.4/lib/python2.4/wave.py ...
Compiling /opt/python-2.4.4/lib/python2.4/weakref.py ...
Compiling /opt/python-2.4.4/lib/python2.4/webbrowser.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whichdb.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whrandom.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xdrlib.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/__init__.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/dom ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/NodeFilter.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/domreg.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/expatbuilder.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minicompat.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minidom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/pulldom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/xmlbuilder.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/parsers ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/expat.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/sax ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/_exceptions.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/handler.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/saxutils.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/xmlreader.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmllib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmlrpclib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/zipfile.py ...
make: *** [libinstall] Error 1


--

Comment By: Andreas Jung (ajung)
Date: 2006-10-19 14:00

Message:
Logged In: YES 
user_id=11084

On both system just configure --prefix=/opt/python-2.4.4

--

Comment By: Ronald Oussoren (ronaldoussoren)
Date: 2006-10-19 13:26

Message:
Logged In: YES 
user_id=580910

What are the configure arguments that you are using?

--

Comment By: Andreas Jung (ajung)
Date: 2006-10-19 10:33

Message:
Logged In: YES 
user_id=11084

Same issue on MacOSX

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=105470aid=1580563group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



GTK progress bar not working properly with pulse()

2005-05-09 Thread lamthierry
My python file(progressbar.py) looks like the following:

pbar = gtk.ProgressBar()

def updateBar(percentage):
print percentage
pbar.pulse()

class ProgressBar:
def __init__(self):
# other gui codes

align.add(pbar)
pbar.show()

My C++ codes look like the following:

for ( int percent = 0; percent  100; percent++ )
{
PyObject* importModule = PyImport_ImportModule(progressbar);

if ( importModule == NULL )
printf(not good\n);
PyObject* callResult = PyObject_CallMethod(importModule,
updateBar, i, percent, NULL);
if ( callResult == NULL )
printf(not good enough\n);

Py_XDECREF(importModule);
}

I run the above C++ code from python by clicking a button. The problem
is that when I print the percentage from the python side, it works
fine, but when I call the pulse() method for ProgressBar, nothing gets
updated on my GUI. Do I have to do anything else with the pbar object
to make it display properly?

-- 
http://mail.python.org/mailman/listinfo/python-list