Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 22 Jan 2003.
Re: music video in text

Re: music video in text

On Tue, 21 Jan 2003 23:54:43 +0000, Faux_Pseudo wrote:

>  _.--- lament spoke in alt.ascii-art --------._ 
>> Source code follows:
>>     pause = 1.0 / sys.argv[2]
> 
> fixed
> 
> Here is the error I got while trying to run it as 
> $ scriptname animation
> 
> Traceback (most recent call last):
>   File "../asciiveiw.python", line 36, in ?
>     show(screen, filename, pause)
>   File "../asciiveiw.python", line 18, in show
>     screen.addstr(row,0,line)
> _curses.error: addstr() returned ERR

The program doesn't do any size checking. Make your terminal bigger.
Also set font to something tiny, or the animation won't fit on the screen.

> and here is the error I got when running it as 
> $ scriptname animation 100
> 
> Traceback (most recent call last):
>   File "../asciiveiw.python", line 31, in ?
>     pause = 1 / sys.argv[2]
> TypeError: unsupported operand type(s) for /: 'int' and 'str'

I already posted a fix to that one. Should be

    pause = 1 / float(sys.argv[2])

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,fa2576db468ca602
X-Google-Attributes: gidf996b,public
X-Google-ArrivalTime: 2003-01-21 18:02:56 PST
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!xmission!news-out.spamkiller.net!propagator2-maxim!news-in.spamkiller.net!feed.newsfeeds.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!news3.calgary.shaw.ca.POSTED!not-for-mail
X-Trace-PostClient-IP: 24.78.145.92
From: "lament" <ayz...@shaw.NOSPAM.ca>
Subject: Re: music video in text
User-Agent: Pan/0.13.2 (I wwwondeling why alla boppah ferra pushing in?)
Message-ID: <pan...@shaw.NOSPAM.ca>
Newsgroups: alt.ascii-art
References: <6bd...@posting.google.com> <slrnb2phui.ku6.Faux_Pseudo@fugozi.cx1209071-a> <slr...@servalan.ecs.soton.ac.uk> <pan...@shaw.NOSPAM.ca> <slrnb2rnhj.331.Faux_Pseudo@fugozi.cx1209071-a>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Lines: 32
Date: Wed, 22 Jan 2003 02:02:49 GMT
NNTP-Posting-Host: 24.69.255.232
X-Complaints-To: abu...@shaw.ca
X-Trace: news3.calgary.shaw.ca 1043200969 24.69.255.232 (Tue, 21 Jan 2003 19:02:49 MST)
NNTP-Posting-Date: Tue, 21 Jan 2003 19:02:49 MST
Organization: Shaw Residential Internet
Xref: archiver1.google.com alt.ascii-art:21542
About this message. This message was posted publicly to the newsgroup alt.ascii-art in 2003 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post