On 06/11/16, dream master said the following...
dm> after i did python pip install textwrap i got a message saying something
dm> about no new version and since then i been getting errors like this
dm> C:\bbs>python ./dl.py
dm> Traceback (most recent call last):
dm> File "./dl.py", line 10, in <module>
dm> usock = urllib.urlopen('http://dreamlandbbs.org/feed')
dm> File "C:\PYTHON27\LIB\urllib.py", line 87, in urlopen
dm> return opener.open(url)
dm> File "C:\PYTHON27\LIB\urllib.py", line 213, in open
dm> return getattr(self, name)(url)
dm> File "C:\PYTHON27\LIB\urllib.py", line 297, in open_http
dm> import httplib
dm> File "C:\PYTHON27\LIB\httplib.py", line 1245, in <module>
dm> import ssl
dm> File "C:\PYTHON27\LIB\ssl.py", line 90, in <module>
dm> import textwrap
dm> File "C:\bbs\textwrap.py", line 21, in <module>
dm> cleanedExcerpt1 = textwrap.fill(rawExcerpt1, width=50)
dm> AttributeError: 'module' object has no attribute 'fill'
dm> any ideas?
I've had errors like that. It seems like some mystic-internal functions
don't work right, and when they are used in conjunction with standard python
function, it will report that the python library is faulty. What mystic-centric
functions are you using in your program?
"No matter where you go, there you are!" - Buckaroo Bonzai
--- Mystic BBS v1.12 A18 (Raspberry Pi)
* Origin: Cyberia BBS | Cyberia.Darktech.Org | Kingwood, TX (44:100/4)
|