Modify

Opened 8 years ago

Closed 2 years ago

#6897 closed defect (moved_to_github)

python-mini package should include the termios module

Reported by: cory@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Kamikaze trunk
Keywords: Cc:

Description

The package pyserial only requires the python-mini package rather than the full python package. Pyserial requires the python termios module, which is not included in the python-mini package. This prevents pyserial from being usable without the full python package. The termios module should be included in python-mini so that pyserial will be able to work without requiring the full python package.

Steps to reproduce:

  1. Install python-mini and pyserial
  2. Start the python interpreter and type "import serial"

Attachments (0)

Change History (6)

comment:1 Changed 7 years ago by anonymous

This has been a problem for me too.

comment:2 Changed 6 years ago by anonymous

There is a simple fix:

Install the full python package temporarily (to RAM or external storage) and copy the file /usr/lib/python2.6/lib-dynload/termios.so from the temporary root to your real root.

import pyserial should now work.

I hope one of the developers will add this single file to the pyserial or the python-mini package.

comment:3 Changed 5 years ago by adam@…

+1

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:5 Changed 3 years ago by neryba

Same problem for me. BB14.07

comment:6 Changed 2 years ago by nbd

  • Resolution set to moved_to_github
  • Status changed from new to closed

python is maintained here: https://github.com/openwrt/packages

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.