Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #42744

RE : Gnuplot

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <karthik.murugesan@delphi.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'argument': 0.05; 'received:169.254.1': 0.05; 'root': 0.05; 'exec': 0.09; 'gnuplot': 0.09; "'\\n')": 0.16; '36,': 0.16; 'from:addr:delphi.com': 0.16; 'ioerror:': 0.16; 'problem).': 0.16; 'received:delphi.com': 0.16; 'received:mgd.msft.net': 0.16; 'received:msft.net': 0.16; 'skip:* 80': 0.16; 'skip:f 60': 0.16; 'skip:f 80': 0.16; 'skip:f 30': 0.19; 'reset': 0.22; 'to:name :python-list@python.org': 0.22; 'this?': 0.23; 'error': 0.23; 'subject: : ': 0.26; 'received:bigfish.com': 0.30; "skip:' 10": 0.31; 'file': 0.32; 'received:169.254': 0.32; 'run': 0.32; '(most': 0.33; 'computer.': 0.33; 'header:Received:9': 0.33; 'reader': 0.33; 'skip:? 10': 0.33; 'copying': 0.34; 'skip:_ 10': 0.34; 'message.': 0.35; 'charset:us-ascii': 0.36; 'thanks': 0.36; 'responsible': 0.36; 'similar': 0.36; 'employee': 0.37; 'received:169': 0.37; 'received:10': 0.37; 'skip:& 10': 0.38; 'thank': 0.38; 'to:addr:python-list': 0.38; 'recent': 0.39; 'to:addr:python.org': 0.39; 'users': 0.40; 'how': 0.40; 'deleting': 0.60; 'solve': 0.60; 'strictly': 0.61; 'you.': 0.62; 'notified': 0.63; 'skip:f 50': 0.65; 'note:': 0.66; 'believe': 0.68; 'invalid': 0.68; '366,': 0.84; 'messages:': 0.91
X-Forefront-Antispam-Report CIP:65.52.41.30; KIP:(null); UIP:(null); (null); H:017d.mgd.msft.net; R:internal; EFV:INT
X-SpamScore 5
X-BigFish VPS5(zzc85fhzz1f42h1fc6h1ee6h1de0h1fdah1202h1e76h1d1ah1d2ahzz18c673hb412mz2dh2a8h668h839hd25hf0ah1288h12a5h12bdh137ah1441h1504h1537h153bh15d0h162dh1631h1758h18e1h1946h19b5h1ad9h1b0ah1bceh1155h)
From "Murugesan, Karthik" <karthik.murugesan@delphi.com>
To "python-list@python.org" <python-list@python.org>
Subject RE : Gnuplot
Thread-Topic RE : Gnuplot
Thread-Index Ac4xEx5RGbBkVnikQ0SfHKdRn06nYQ==
Date Thu, 4 Apr 2013 09:05:56 +0000
Accept-Language en-US
Content-Language en-US
X-MS-Has-Attach
X-MS-TNEF-Correlator
x-originating-ip [10.234.184.114]
Content-Type multipart/alternative; boundary="_000_520A0D56671AE442AB2E81CC326608620A9FCCCD017CH1MPN206101_"
MIME-Version 1.0
X-OriginatorOrg delphi.com
X-FOPE-CONNECTOR Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR Id%26580$Dn%PYTHON.ORG$RO%2$TLS%6$FQDN%dlp-982575.customer.frontbridge.com$TlsDn%
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.92.1365066550.3114.python-list@python.org> (permalink)
Lines 138
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1365066550 news.xs4all.nl 6946 [2001:888:2000:d::a6]:36467
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:42744

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello, I am having a few issues interfacing gnuplot with python. When I try to run the demo.py file I get the following error messages:


Traceback (most recent call last):
  File "C:\Program Files\Common Files\dSPACE\Python25\lib\site-packages\Pythonwin\pywin\framework\scriptutils.py", line 310, in RunScript
    exec codeObject in __main__.__dict__
  File "C:\Program Files\Common Files\dSPACE\Python25\Lib\site-packages\Gnuplot\demo.py", line 110, in <module>
    demo()
  File "C:\Program Files\Common Files\dSPACE\Python25\Lib\site-packages\Gnuplot\demo.py", line 36, in demo
    g.reset()
  File "C:\Program Files\Common Files\dSPACE\Python25\Lib\site-packages\Gnuplot\_Gnuplot.py", line 366, in reset
    self('reset')
  File "C:\Program Files\Common Files\dSPACE\Python25\Lib\site-packages\Gnuplot\_Gnuplot.py", line 210, in __call__
    self.gnuplot(s)
  File "C:\Program Files\Common Files\dSPACE\Python25\lib\site-packages\Gnuplot\gp_win32.py", line 130, in __call__
    self.write(s + '\n')
IOError: [Errno 22] Invalid argument

After reading other users having similar problems, I altered the 'gnuplot_command' line in gp_win32.py to 'gnuplot_command = "c:\Program Files\wgnuplot\bin\pgnuplot.exe", in an attempt to directly get the pgnuplot.exe(which I believe is the root of the problem). However, I still get the same error message. Any ideas on how to solve this?

Thanks
**************************************************************************************** Note: If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. ****************************************************************************************

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

RE : Gnuplot "Murugesan, Karthik" <karthik.murugesan@delphi.com> - 2013-04-04 09:05 +0000

csiph-web