Thread: [Cppcms-users] cppblog not work
Brought to you by:
artyom-beilis
From: Vyacheslav B. <ma...@ch...> - 2012-08-31 14:43:46
|
Hello FreeBSD 8.3-RELEASE-p4 i386 cppblog_0.1.0 cppcms-1.0.2 and cppcms-1.0.0 cppdb-0.3.1 Python 2.7.3 cmake version 2.8.8 PCRE version 8.31 2012-07-06 gcc (GCC) 4.2.2 20070831 prerelease [FreeBSD] icu-4.8.1.1_1 after the configuration to any request I get the following error: 2012-08-31 13:42:40; cppcms, error: Caught exception [cppcms::views::generator: an attempt to use content if invalid type] (http_context.cpp:139) What's the problem? Where to look? What to do? -- Best regards, magic |
From: Artyom B. <art...@ya...> - 2012-09-01 06:46:26
|
You either misconfigured the location of the skins (views.paths) or the cppblog code was build without -rdynamic/--export-dynamic build option by default. I think this is the second (I hadn't tested cppblog of freebsd). Try to add -DCMAKE_CXX_LINK_FLAGS=-rdynamic Option to cmake command and than run make once again. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ ----- Original Message ----- > From: Vyacheslav Biruk <ma...@ch...> > To: cpp...@li... > Cc: > Sent: Friday, August 31, 2012 5:17 PM > Subject: [Cppcms-users] cppblog not work > > Hello > > FreeBSD 8.3-RELEASE-p4 i386 > cppblog_0.1.0 > cppcms-1.0.2 and cppcms-1.0.0 > cppdb-0.3.1 > Python 2.7.3 > cmake version 2.8.8 > PCRE version 8.31 2012-07-06 > gcc (GCC) 4.2.2 20070831 prerelease [FreeBSD] > icu-4.8.1.1_1 > > after the configuration to any request I get the following error: > 2012-08-31 13:42:40; cppcms, error: Caught exception > [cppcms::views::generator: an attempt to use content if invalid type] > (http_context.cpp:139) > > What's the problem? > Where to look? > What to do? > > -- > Best regards, > magic > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |
From: Artyom B. <art...@ya...> - 2012-09-01 06:52:43
|
Also don't forget to register to the list so I do not have to moderate it. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ ----- Original Message ----- > From: Artyom Beilis <art...@ya...> > To: "cpp...@li..." <cpp...@li...> > Cc: > Sent: Saturday, September 1, 2012 9:46 AM > Subject: Re: [Cppcms-users] cppblog not work > > You either misconfigured the location of the skins (views.paths) > or the cppblog code was build without -rdynamic/--export-dynamic build option > by default. > > I think this is the second (I hadn't tested cppblog of freebsd). > > Try to add > > > -DCMAKE_CXX_LINK_FLAGS=-rdynamic > > Option to cmake command and than run make once again. > > > Artyom Beilis > -------------- > CppCMS - C++ Web Framework: http://cppcms.com/ > CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > > > > ----- Original Message ----- >> From: Vyacheslav Biruk <ma...@ch...> >> To: cpp...@li... >> Cc: >> Sent: Friday, August 31, 2012 5:17 PM >> Subject: [Cppcms-users] cppblog not work >> >> Hello >> >> FreeBSD 8.3-RELEASE-p4 i386 >> cppblog_0.1.0 >> cppcms-1.0.2 and cppcms-1.0.0 >> cppdb-0.3.1 >> Python 2.7.3 >> cmake version 2.8.8 >> PCRE version 8.31 2012-07-06 >> gcc (GCC) 4.2.2 20070831 prerelease [FreeBSD] >> icu-4.8.1.1_1 >> >> after the configuration to any request I get the following error: >> 2012-08-31 13:42:40; cppcms, error: Caught exception >> [cppcms::views::generator: an attempt to use content if invalid type] >> (http_context.cpp:139) >> >> What's the problem? >> Where to look? >> What to do? >> >> -- >> Best regards, >> magic >> >> > ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |
From: Vyacheslav B. <cp...@ma...> - 2012-09-01 18:15:50
|
recompiled cppcms and cppblog with -DCMAKE_CXX_LINK_FLAGS=-rdynamic and all work fine thank you. On Fri, Aug 31, 2012 at 11:46:19PM -0700, Artyom Beilis wrote: > You either misconfigured the location of the skins (views.paths) > or the cppblog code was build without -rdynamic/--export-dynamic build option > by default. > > I think this is the second (I hadn't tested cppblog of freebsd). > > Try to add > > > -DCMAKE_CXX_LINK_FLAGS=-rdynamic > > Option to cmake command and than run make once again. > > > Artyom Beilis > -------------- > CppCMS - C++ Web Framework: http://cppcms.com/ > CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > > > > ----- Original Message ----- > > From: Vyacheslav Biruk <ma...@ch...> > > To: cpp...@li... > > Cc: > > Sent: Friday, August 31, 2012 5:17 PM > > Subject: [Cppcms-users] cppblog not work > > > > Hello > > > > FreeBSD 8.3-RELEASE-p4 i386 > > cppblog_0.1.0 > > cppcms-1.0.2 and cppcms-1.0.0 > > cppdb-0.3.1 > > Python 2.7.3 > > cmake version 2.8.8 > > PCRE version 8.31 2012-07-06 > > gcc (GCC) 4.2.2 20070831 prerelease [FreeBSD] > > icu-4.8.1.1_1 > > > > after the configuration to any request I get the following error: > > 2012-08-31 13:42:40; cppcms, error: Caught exception > > [cppcms::views::generator: an attempt to use content if invalid type] > > (http_context.cpp:139) > > > > What's the problem? > > Where to look? > > What to do? > > > > -- > > Best regards, > > magic > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Cppcms-users mailing list > > Cpp...@li... > > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users -- Best regards, magic |
From: Artyom B. <art...@ya...> - 2012-09-01 19:03:14
|
----- Original Message ----- > From: Vyacheslav Biruk <cp...@ma...> > To: cpp...@li... > Cc: > Sent: Saturday, September 1, 2012 8:49 PM > Subject: Re: [Cppcms-users] cppblog not work > > recompiled cppcms and cppblog with -DCMAKE_CXX_LINK_FLAGS=-rdynamic and all work > fine > > thank you. > It actually required for cppblog only, CppCMS build scripts automatically define this option Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ |