igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Python's Graph.write_x producing empty files


From: Tamás Nepusz
Subject: Re: [igraph] Python's Graph.write_x producing empty files
Date: Tue, 14 Aug 2012 15:54:46 +0200

Hmm, this is weird, but at least it gives me a clue about where to look for 
bugs in my code. I'm still trying to find a RHEL machine where I could 
reproduce the issue.  

--  
T.


On Tuesday, 14 August 2012 at 15:53, Alacast wrote:

> Good idea!
>  
> > > > g.write_pajek(sys.stdout)
> *Vertices 3
> *Edges
> 1 2
> 2 3
> > > > g.write(sys.stdout, format='net')
> > >  
> >  
>  
> *Vertices 3
> *Edges
> 1 2
> 2 3
> > > > g.write(sys.stdout, format='graphml')
> > >  
> >  
>  
> <?xml version="1.0" encoding="UTF-8"?>
> <graphml xmlns="http://graphml.graphdrawing.org/xmlns";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
> http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd";>
> <!-- Created by igraph -->
> <graph id="G" edgedefault="undirected">
> <node id="n0">
> </node>
> <node id="n1">
> </node>
> <node id="n2">
> </node>
> <edge source="n0" target="n1">
> </edge>
> <edge source="n1" target="n2">
> </edge>
> </graph>
> </graphml>
>  
>  
> Thanks!
> On Mon, Aug 13, 2012 at 3:25 PM, Tamás Nepusz <address@hidden 
> (mailto:address@hidden)> wrote:
> > Hi,
> >  
> > Just out of curiosity: can you try whether g.write_pajek(sys.stdout) works 
> > or not?
> >  
> > --
> > T.
> >  
> >  
> > On Monday, 13 August 2012 at 16:21, Alacast wrote:
> >  
> > > Hi again, all. Does anyone have thoughts on what could be causing these 
> > > files to be written without actually including any data on the network?
> > >  
> > > Thanks!
> > >  
> > > On Mon, Aug 6, 2012 at 11:14 PM, Alacast <address@hidden 
> > > (mailto:address@hidden) (mailto:address@hidden)> wrote:
> > > > This is a Red Hat Linux 4.1.2-51 server, 64 bit. The examples I gave 
> > > > were on ipython with the -pylab setting. I've retested with plain 
> > > > Python, and it's the same story. The python versions I've tested are:
> > > > 2.7.2
> > > > 2.7.4 (Enthought distribution, version 7.3-1)
> > > >  
> > > > Thanks!
> > > >  
> > > > On Mon, Aug 6, 2012 at 8:34 PM, Tamás Nepusz <address@hidden 
> > > > (mailto:address@hidden) (mailto:address@hidden)> wrote:
> > > > > Dear Jeff,
> > > > >  
> > > > > > All of these produce empty files, instead of something with 
> > > > > > information on the graph g. What am I doing wrong?
> > > > > Theoretically you are doing everything right, so I'm guessing that 
> > > > > this is a platform-specific issue. What operating system are you 
> > > > > using and which version of Python? Is it a 32-bit or a 64-bit machine?
> > > > >  
> > > > > Best,
> > > > > Tamas
> > > > >  
> > > > >  
> > > > >  
> > > > > _______________________________________________
> > > > > igraph-help mailing list
> > > > > address@hidden (mailto:address@hidden) (mailto:address@hidden)
> > > > > https://lists.nongnu.org/mailman/listinfo/igraph-help
> > > >  
> > >  
> > >  
> > >  
> > > _______________________________________________
> > > igraph-help mailing list
> > > address@hidden (mailto:address@hidden) (mailto:address@hidden)
> > > https://lists.nongnu.org/mailman/listinfo/igraph-help
> >  
> >  
> >  
> >  
> >  
> > _______________________________________________
> > igraph-help mailing list
> > address@hidden (mailto:address@hidden)
> > https://lists.nongnu.org/mailman/listinfo/igraph-help
>  
>  
> _______________________________________________
> igraph-help mailing list
> address@hidden (mailto:address@hidden)
> https://lists.nongnu.org/mailman/listinfo/igraph-help






reply via email to

[Prev in Thread] Current Thread [Next in Thread]