Opened 9 years ago

Closed 9 years ago

#49739 closed defect (duplicate)

python interpreter disappearing command prompt and terminal issue after exit

Reported by: nathanfriday@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: jyrkiwahlstedt
Port: python27

Description (last modified by ryandesign (Ryan Carsten Schmidt))

The python interpreter has a disappear command prompt issue. Upon exiting, the terminal no longer displays what is being typed, but does indeed run the commands. After entering the python interpreter again the command prompt still disappears, but upon exiting the second time, the terminal issue is gone.

I did uninstall MacPorts and all it's ports after upgrading the OS to Yosemite. The issue occurs with python27 but not the apple python27. I have tried uninstalling all ports and reinstalling, but the issue persists. There seems to be no issue with running python scripts.

Posted below you will find an example of my dilemma.

nathan@Nat-Hon:~$ python
Python 2.7.10 (default, Oct 28 2015, 23:29:19) 
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.1.76)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 3+4
>>> 7
3+4
>>> 7

>>> a=4
>>> a
>>> 4
a
>>> 4
a=4
>>> a=4
>>> 3+4
>>> 7

>>> exit()
>>> nathan@Nat-Hon:~$ Adlm                     Downloads                Music                    StuffIt                  program
Applications             Dropbox                  MyPorts                  Transmission             requested.txt
Applications (Parallels) Gabedit                  Pictures                 bash-fix                 restore_ports.tcl
Conduit                  Library                  Polfer_Website           bin                      tmp
Desktop                  MacPorts-2.3.4           Public                   cfg
Documents                Movies                   Sites                    key.sh
nathan@Nat-Hon:~$ nathan@Nat-Hon:~$ nathan@Nat-Hon:~$ nathan@Nat-Hon:~$ Python 2.7.10 (default, Oct 28 2015, 23:29:19) 
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.1.76)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 3+4
 7
>>> 
>>> exit()
>>> nathan@Nat-Hon:~$ ls
Adlm                     Downloads                Music                    StuffIt                  program
Applications             Dropbox                  MyPorts                  Transmission             requested.txt
Applications (Parallels) Gabedit                  Pictures                 bash-fix                 restore_ports.tcl
Conduit                  Library                  Polfer_Website           bin                      tmp
Desktop                  MacPorts-2.3.4           Public                   cfg
Documents                Movies                   Sites                    key.sh
nathan@Nat-Hon:~$ 

Attachments (1)

Python27 Issue.rtf (2.1 KB) - added by nathanfriday@… 9 years ago.
Python27 Interpreter Issue

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by nathanfriday@…

Attachment: Python27 Issue.rtf added

Python27 Interpreter Issue

comment:1 Changed 9 years ago by nathanfriday@…

The python interpreter has a disappear command prompt issue. Upon exiting, the terminal no longer displays what is being typed, but does indeed run the commands. After entering the python interpreter again the command prompt still disappears, but upon exiting the second time, the terminal issue is gone.

I did uninstall MacPorts and all it's ports after upgrading the OS to Yosemite. The issue occurs with python27 but not the apple python27. I have tried uninstalling all ports and reinstalling, but the issue persists. There seems to be no issue with running python scripts.

Attached below you will find an example of my dilemma.

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: openmaintainer@… removed
Description: modified (diff)
Keywords: python interpreter removed
Resolution: duplicate
Status: newclosed

Duplicate of #48807.

Note: See TracTickets for help on using tickets.