You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by "Flores, Paul A." <PA...@SAIC.COM> on 2016/03/07 21:29:41 UTC

QPID CPP 0.34: Qpid Management Framework - CMake - path or missing file? HELP

frustrating issue....



Any ideas?



-- Regenerating Qpid Management Framework sources
Traceback (most recent call last):
  File "/home/pflores/Shop/qpid-cpp-0.34/managementgen/qmf-gen", line 23, in <module>
    from qmfgen.schema   import SchemaPackage, SchemaClass
  File "/home/pflores/Shop/qpid-cpp-0.34/managementgen/qmfgen/schema.py", line 21, in <module>
    from cStringIO       import StringIO
ImportError: No module named cStringIO
CMake Error at src/CMakeLists.txt:142 (include):
  include could not find load file:

    /home/pflores/Shop/qpid-cpp-0.34/build08/src/managementgen.cmake





Re: QPID CPP 0.34: Qpid Management Framework - CMake - path or missing file? HELP

Posted by Ken Giusti <kg...@redhat.com>.

----- Original Message -----
> From: "Alan Conway" <ac...@redhat.com>
> To: users@qpid.apache.org
> Sent: Tuesday, March 8, 2016 1:57:24 PM
> Subject: Re: QPID CPP 0.34: Qpid Management Framework - CMake - path or missing file? HELP
> 
> On Mon, 2016-03-07 at 20:29 +0000, Flores, Paul A. wrote:
> > frustrating issue....
> > 
> > 
> > 
> > Any ideas?
> > 
> > 
> > 
> > -- Regenerating Qpid Management Framework sources
> > Traceback (most recent call last):
> >   File "/home/pflores/Shop/qpid-cpp-0.34/managementgen/qmf-gen", line
> > 23, in <module>
> >     from qmfgen.schema   import SchemaPackage, SchemaClass
> >   File "/home/pflores/Shop/qpid-cpp-
> > 0.34/managementgen/qmfgen/schema.py", line 21, in <module>
> >     from cStringIO       import StringIO
> > ImportError: No module named cStringIO
> > CMake Error at src/CMakeLists.txt:142 (include):
> >   include could not find load file:
> > 
> >     /home/pflores/Shop/qpid-cpp-0.34/build08/src/managementgen.cmake
> > 
> > 
> 
> This is a python problem, cStringIO is part of the python 2 standard
> library: https://docs.python.org/2/library/stringio.html
> 
> I'm not sure what the status of is with regard to python 3.
> 

It's been moved - see here:

http://stackoverflow.com/questions/28200366/python-3-4-0-email-package-install-importerror-no-module-named-cstringio

AFAIK - none of the qmf management stuff has been ported to python3.X

> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
> 
> 

-- 
-K

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


RE: QPID CPP 0.34: Qpid Management Framework - CMake - path or missing file? HELP

Posted by "Flores, Paul A." <PA...@SAIC.COM>.
Resolution to this issue is carefully setting ones PATH .

I used the following command to identify the folders I needed in my path.
python2.7 -v -c "import hashlib" 2> output.txt
It comes in handy whenever one encounters a missing module.

________________________________________
From: Alan Conway [aconway@redhat.com]
Sent: Tuesday, March 08, 2016 12:57 PM
To: users@qpid.apache.org
Subject: Re: QPID CPP 0.34: Qpid Management Framework - CMake - path or missing file? HELP

On Mon, 2016-03-07 at 20:29 +0000, Flores, Paul A. wrote:
> frustrating issue....
>
>
>
> Any ideas?
>
>
>
> -- Regenerating Qpid Management Framework sources
> Traceback (most recent call last):
>   File "/home/pflores/Shop/qpid-cpp-0.34/managementgen/qmf-gen", line
> 23, in <module>
>     from qmfgen.schema   import SchemaPackage, SchemaClass
>   File "/home/pflores/Shop/qpid-cpp-
> 0.34/managementgen/qmfgen/schema.py", line 21, in <module>
>     from cStringIO       import StringIO
> ImportError: No module named cStringIO
> CMake Error at src/CMakeLists.txt:142 (include):
>   include could not find load file:
>
>     /home/pflores/Shop/qpid-cpp-0.34/build08/src/managementgen.cmake
>
>

This is a python problem, cStringIO is part of the python 2 standard
library: https://docs.python.org/2/library/stringio.html

I'm not sure what the status of is with regard to python 3.




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Re: QPID CPP 0.34: Qpid Management Framework - CMake - path or missing file? HELP

Posted by Alan Conway <ac...@redhat.com>.
On Mon, 2016-03-07 at 20:29 +0000, Flores, Paul A. wrote:
> frustrating issue....
> 
> 
> 
> Any ideas?
> 
> 
> 
> -- Regenerating Qpid Management Framework sources
> Traceback (most recent call last):
>   File "/home/pflores/Shop/qpid-cpp-0.34/managementgen/qmf-gen", line
> 23, in <module>
>     from qmfgen.schema   import SchemaPackage, SchemaClass
>   File "/home/pflores/Shop/qpid-cpp-
> 0.34/managementgen/qmfgen/schema.py", line 21, in <module>
>     from cStringIO       import StringIO
> ImportError: No module named cStringIO
> CMake Error at src/CMakeLists.txt:142 (include):
>   include could not find load file:
> 
>     /home/pflores/Shop/qpid-cpp-0.34/build08/src/managementgen.cmake
> 
> 

This is a python problem, cStringIO is part of the python 2 standard
library: https://docs.python.org/2/library/stringio.html

I'm not sure what the status of is with regard to python 3. 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org