cppcms-users Mailing List for CppCMS C++ Web Framework (Page 88)
Brought to you by:
artyom-beilis
You can subscribe to this list here.
2009 |
Jan
|
Feb
(22) |
Mar
|
Apr
(3) |
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
(15) |
Nov
(16) |
Dec
(13) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2010 |
Jan
(4) |
Feb
|
Mar
(8) |
Apr
(8) |
May
(8) |
Jun
(36) |
Jul
(63) |
Aug
(126) |
Sep
(47) |
Oct
(66) |
Nov
(46) |
Dec
(42) |
2011 |
Jan
(87) |
Feb
(24) |
Mar
(54) |
Apr
(21) |
May
(22) |
Jun
(18) |
Jul
(22) |
Aug
(101) |
Sep
(57) |
Oct
(33) |
Nov
(34) |
Dec
(66) |
2012 |
Jan
(64) |
Feb
(76) |
Mar
(73) |
Apr
(105) |
May
(93) |
Jun
(83) |
Jul
(84) |
Aug
(88) |
Sep
(57) |
Oct
(59) |
Nov
(35) |
Dec
(49) |
2013 |
Jan
(67) |
Feb
(17) |
Mar
(49) |
Apr
(64) |
May
(87) |
Jun
(64) |
Jul
(93) |
Aug
(23) |
Sep
(15) |
Oct
(16) |
Nov
(62) |
Dec
(73) |
2014 |
Jan
(5) |
Feb
(23) |
Mar
(21) |
Apr
(11) |
May
(1) |
Jun
(19) |
Jul
(27) |
Aug
(16) |
Sep
(5) |
Oct
(37) |
Nov
(12) |
Dec
(9) |
2015 |
Jan
(7) |
Feb
(7) |
Mar
(44) |
Apr
(28) |
May
(5) |
Jun
(12) |
Jul
(8) |
Aug
|
Sep
(39) |
Oct
(34) |
Nov
(30) |
Dec
(34) |
2016 |
Jan
(66) |
Feb
(23) |
Mar
(33) |
Apr
(15) |
May
(11) |
Jun
(15) |
Jul
(26) |
Aug
(4) |
Sep
(1) |
Oct
(30) |
Nov
(10) |
Dec
|
2017 |
Jan
(52) |
Feb
(9) |
Mar
(24) |
Apr
(16) |
May
(9) |
Jun
(12) |
Jul
(33) |
Aug
(8) |
Sep
|
Oct
(1) |
Nov
(2) |
Dec
(6) |
2018 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
(14) |
Jun
(1) |
Jul
(9) |
Aug
(1) |
Sep
(13) |
Oct
(8) |
Nov
(2) |
Dec
(2) |
2019 |
Jan
(1) |
Feb
(1) |
Mar
(3) |
Apr
(3) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2020 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(9) |
Jul
(6) |
Aug
(25) |
Sep
(10) |
Oct
(10) |
Nov
(6) |
Dec
|
2021 |
Jan
|
Feb
|
Mar
(7) |
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(9) |
Oct
(1) |
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: doug l. <bi...@gm...> - 2012-04-24 19:28:32
|
Yeah, that's what I guessed -- thanks for having a look. I'll create a form in cppcms to upload the file from & see if that works. If it does, is there an easy way to inspect the request data, to try to work out what is different? & thanks again, Doug. On 24 April 2012 19:15, Artyom Beilis <art...@ya...> wrote: > > > > > Instead doing this all over again start from there: > > > > http://cppcms.com/cppcms_ref/latest/ex_uploads.html > > > I don't know what is your problem, most likely you don't send files > properly > > > > Artyom Beilis > -------------- > CppCMS - C++ Web Framework: http://cppcms.com/ > CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > > > > > > >>________________________________ > >> From: doug livesey <bi...@gm...> > >>To: Artyom Beilis <art...@ya...>; > cpp...@li... > >>Sent: Tuesday, April 24, 2012 8:33 PM > >>Subject: Re: [Cppcms-users] Advice on debugging file upload > >> > >> > >>Ah, that got rid of that error, thankyou! > >>Unfortunately, I'm still not getting any content for the file, and when > I try to output the value of the form's key widget, I'm getting an empty > string, even though the call to cURL explicitly sets the value. > >>Could this be because I'm using cURL? > >>& sorry to be spamming the list with this -- I'll be good & quiet when > I've got the hang of everything, honest. ;) > >> Doug. > >> > >> > >>On 23 April 2012 20:57, Artyom Beilis <art...@ya...> wrote: > >> > >>Read: http://cppcms.com/wikipp/en/page/cppcms_1x_forms > >>> > >>> > >>>Your widgets are not registered withing the form > >>> > >>>Artyom Beilis > >>>-------------- > >>>CppCMS - C++ Web Framework: http://cppcms.com/ > >>>CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > >>> > >>> > >>> > >>>>________________________________ > >>>> From: doug livesey <bi...@gm...> > >>>> > >>>>To: Artyom Beilis <art...@ya...>; > cpp...@li... > >>>>Sent: Monday, April 23, 2012 10:13 PM > >>>> > >>>>Subject: Re: [Cppcms-users] Advice on debugging file upload > >>>> > >>>> > >>>>Ah, so it looks like my issue is something else -- my form isn't even > getting loaded. > >>>>For completeness, I have a simple context object: > https://github.com/biot023/improc/blob/master/content.h > >>>>And I have a simple server: > https://github.com/biot023/improc/blob/master/imageserver.cpp#L32 > >>>>And I'm testing the server with this call to cURL: > >>>> $ curl localhost:8080/imageserver/abc -F > file=@features/fixtures/img01.jpg -F key=def > >>>> > >>>> > >>>>The response is a 500, and the error that cppcms logs to cerr is this: > >>>> 2012-04-23 20:07:57; cppcms, error: Caught exception [Value was not > loaded] > >>>> 0x10653d2b3: cppcms::cppcms_error::cppcms_error(std::string const&) > + 0x63 in /usr/local/lib/libcppcms.1.dylib > >>>> (http_context.cpp:139) > >>>> > >>>> > >>>>The error is caused by the highlighted line in the imageserver.cpp > file. > >>>>From my reading of the tutorials, the create() member function should > be loading the form from the context(), but obviously it isn't, so > obviously I'm missing something. > >>>>Can anyone maybe see where I'm going wrong / what I'm failing to do? > >>>>& thanks again for all the help, it's really appreciated. > >>>> Doug. > >>>> > >>>> > >>>> > > >>>>------------------------------------------------------------------------------ > >>>>For Developers, A Lot Can Happen In A Second. > >>>>Boundary is the first to Know...and Tell You. > >>>>Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > >>>>http://p.sf.net/sfu/Boundary-d2dvs2 > >>>> > >>>>_______________________________________________ > >>>>Cppcms-users mailing list > >>>>Cpp...@li... > >>>>https://lists.sourceforge.net/lists/listinfo/cppcms-users > >>>> > >>>> > >>>> > > >>>------------------------------------------------------------------------------ > >>>For Developers, A Lot Can Happen In A Second. > >>>Boundary is the first to Know...and Tell You. > >>>Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > >>>http://p.sf.net/sfu/Boundary-d2dvs2 > >>> > >>>_______________________________________________ > >>>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 > >> > >> > >> > > > > > > > ------------------------------------------------------------------------------ > 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: Lee E. <lee...@gm...> - 2012-04-24 19:01:39
|
how about make a certain maintanance page/jspn rpc then call that page from cron or whatever other scheduling mechanism you want as an external call into your cppcms application On Tue, Apr 24, 2012 at 8:30 PM, Marcel Hellwig <ke...@co...> wrote: > Hi everyone, > > my web application uses some background processes for time based things, > e.g. "crons", but I need access to the content itself. What is the best > way to do this? My first thought was to mount a backgroundprocess as > async process and make async_waits, but if I try to access to the > context it says: "Assertion `px != 0' failed." > Next thought was to mount it via sync mount point, but that fails too > and is not what i want. > So, how to implement it? > Make a own program and access via cppcms_scale? > > Regards > > > > ------------------------------------------------------------------------------ > 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 > -- -- lee Lee Elenbaas lee...@gm... |
From: Artyom B. <art...@ya...> - 2012-04-24 18:15:30
|
Instead doing this all over again start from there: http://cppcms.com/cppcms_ref/latest/ex_uploads.html I don't know what is your problem, most likely you don't send files properly Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > > >>________________________________ >> From: doug livesey <bi...@gm...> >>To: Artyom Beilis <art...@ya...>; cpp...@li... >>Sent: Tuesday, April 24, 2012 8:33 PM >>Subject: Re: [Cppcms-users] Advice on debugging file upload >> >> >>Ah, that got rid of that error, thankyou! >>Unfortunately, I'm still not getting any content for the file, and when I try to output the value of the form's key widget, I'm getting an empty string, even though the call to cURL explicitly sets the value. >>Could this be because I'm using cURL? >>& sorry to be spamming the list with this -- I'll be good & quiet when I've got the hang of everything, honest. ;) >> Doug. >> >> >>On 23 April 2012 20:57, Artyom Beilis <art...@ya...> wrote: >> >>Read: http://cppcms.com/wikipp/en/page/cppcms_1x_forms >>> >>> >>>Your widgets are not registered withing the form >>> >>>Artyom Beilis >>>-------------- >>>CppCMS - C++ Web Framework: http://cppcms.com/ >>>CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >>> >>> >>> >>>>________________________________ >>>> From: doug livesey <bi...@gm...> >>>> >>>>To: Artyom Beilis <art...@ya...>; cpp...@li... >>>>Sent: Monday, April 23, 2012 10:13 PM >>>> >>>>Subject: Re: [Cppcms-users] Advice on debugging file upload >>>> >>>> >>>>Ah, so it looks like my issue is something else -- my form isn't even getting loaded. >>>>For completeness, I have a simple context object: https://github.com/biot023/improc/blob/master/content.h >>>>And I have a simple server: https://github.com/biot023/improc/blob/master/imageserver.cpp#L32 >>>>And I'm testing the server with this call to cURL: >>>> $ curl localhost:8080/imageserver/abc -F file=@features/fixtures/img01.jpg -F key=def >>>> >>>> >>>>The response is a 500, and the error that cppcms logs to cerr is this: >>>> 2012-04-23 20:07:57; cppcms, error: Caught exception [Value was not loaded] >>>> 0x10653d2b3: cppcms::cppcms_error::cppcms_error(std::string const&) + 0x63 in /usr/local/lib/libcppcms.1.dylib >>>> (http_context.cpp:139) >>>> >>>> >>>>The error is caused by the highlighted line in the imageserver.cpp file. >>>>From my reading of the tutorials, the create() member function should be loading the form from the context(), but obviously it isn't, so obviously I'm missing something. >>>>Can anyone maybe see where I'm going wrong / what I'm failing to do? >>>>& thanks again for all the help, it's really appreciated. >>>> Doug. >>>> >>>> >>>> >>>>------------------------------------------------------------------------------ >>>>For Developers, A Lot Can Happen In A Second. >>>>Boundary is the first to Know...and Tell You. >>>>Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >>>>http://p.sf.net/sfu/Boundary-d2dvs2 >>>> >>>>_______________________________________________ >>>>Cppcms-users mailing list >>>>Cpp...@li... >>>>https://lists.sourceforge.net/lists/listinfo/cppcms-users >>>> >>>> >>>> >>>------------------------------------------------------------------------------ >>>For Developers, A Lot Can Happen In A Second. >>>Boundary is the first to Know...and Tell You. >>>Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >>>http://p.sf.net/sfu/Boundary-d2dvs2 >>> >>>_______________________________________________ >>>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: doug l. <bi...@gm...> - 2012-04-24 17:33:43
|
Ah, that got rid of that error, thankyou! Unfortunately, I'm still not getting any content for the file, and when I try to output the value of the form's key widget, I'm getting an empty string, even though the call to cURL explicitly sets the value. Could this be because I'm using cURL? & sorry to be spamming the list with this -- I'll be good & quiet when I've got the hang of everything, honest. ;) Doug. On 23 April 2012 20:57, Artyom Beilis <art...@ya...> wrote: > Read: http://cppcms.com/wikipp/en/page/cppcms_1x_forms > > Your widgets are not registered withing the form > > Artyom Beilis > -------------- > CppCMS - C++ Web Framework: http://cppcms.com/ > CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > > ------------------------------ > *From:* doug livesey <bi...@gm...> > *To:* Artyom Beilis <art...@ya...>; > cpp...@li... > *Sent:* Monday, April 23, 2012 10:13 PM > > *Subject:* Re: [Cppcms-users] Advice on debugging file upload > > Ah, so it looks like my issue is something else -- my form isn't even > getting loaded. > For completeness, I have a simple context object: > https://github.com/biot023/improc/blob/master/content.h > And I have a simple server: > https://github.com/biot023/improc/blob/master/imageserver.cpp#L32 > And I'm testing the server with this call to cURL: > $ curl localhost:8080/imageserver/abc -F > file=@features/fixtures/img01.jpg -F key=def > > The response is a 500, and the error that cppcms logs to cerr is this: > 2012-04-23 20:07:57; cppcms, error: Caught exception [Value was not > loaded] > 0x10653d2b3: cppcms::cppcms_error::cppcms_error(std::string const&) + > 0x63 in /usr/local/lib/libcppcms.1.dylib > (http_context.cpp:139) > > The error is caused by the highlighted line in the imageserver.cpp file. > From my reading of the tutorials, the create() member function should be > loading the form from the context(), but obviously it isn't, so obviously > I'm missing something. > Can anyone maybe see where I'm going wrong / what I'm failing to do? > & thanks again for all the help, it's really appreciated. > Doug. > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > |
From: Marcel H. <ke...@co...> - 2012-04-24 17:31:01
|
Hi everyone, my web application uses some background processes for time based things, e.g. "crons", but I need access to the content itself. What is the best way to do this? My first thought was to mount a backgroundprocess as async process and make async_waits, but if I try to access to the context it says: "Assertion `px != 0' failed." Next thought was to mount it via sync mount point, but that fails too and is not what i want. So, how to implement it? Make a own program and access via cppcms_scale? Regards |
From: Artyom B. <art...@ya...> - 2012-04-24 12:57:17
|
Take it. If it moves to Clang than probably I'll be able to add it. However I don't know if clang uses "omit-frame-pointer" optimization. See if it works for you, also don't forget that you need -rdynamic option for the code then compile. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ ----- Original Message ----- > From: "ele...@ex..." <ele...@ex...> > To: Artyom Beilis <art...@ya...>; cpp...@li... > Cc: > Sent: Tuesday, April 24, 2012 3:21 PM > Subject: Re: [Cppcms-users] Advice on debugging file upload > >T hat would be great. Do you know what's the defaults on clang as FreeBSD > is moving away from GCC slowly? > > >> If you want I can send you a patch (I prepared it as I seen that many >> programs actually use libexecinfo) but I don't think I >> want it in the mainstream. >> >> >> Artyom >> > > > ------------------------------------------------------------------------------ > 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-04-24 12:51:19
|
>Am 24.04.2012 13:49, schrieb Artyom Beilis: >settings() return cppcms::json::value as const reference- you can't modify >>it with set() >> > oh, my fault. (: > Any way to have a global access-able json value? Create one on your own? Note, that modifying cppcms::json::value object from multiple threads is not safe... So you would have to protect it. > > >>Artyom Beilis >>-------------- >>CppCMS - C++ Web Framework: http://cppcms.com/ >>CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >> >> >> >>>________________________________ >>> From: Marcel Hellwig <ke...@co...> >>>To: cpp...@li... >>>Sent: Tuesday, April 24, 2012 12:25 PM >>>Subject: [Cppcms-users] json settings get and set >>> >>>Hi everyone, >>> >>>I have a strange error when I try to do the following: >>> >>>if (hours <= 6 || hours >= 20) { //time between 20 and 6 >>>if (settings().get("internal.isDay", false) == true) { >>>cache().rise("TimeChange"); >>>settings().set("internal.isDay", false); >>>} >>>} else { //time between 7 and 19 >>>if (settings().get("internal.isDay", true) == false) { >>>cache().rise("TimeChange"); >>>settings().set("internal.isDay", true); >>>} >>>} >>> >>>I tried it at first with set<bool> but it does not work either. >>>The error is: >>> >>>/home/marcel/projects/cppcms/BrowserGame/src/backgroundprocessor.cpp: In >>>member function ‘void BackGroundProcessor::TimeToBackground()’: >>>/home/marcel/projects/cppcms/BrowserGame/src/backgroundprocessor.cpp:36:42: >>>error: no matching function for call to ‘cppcms::json::value::set(const >>>char [15], bool) const’ >>>/home/marcel/projects/cppcms/BrowserGame/src/backgroundprocessor.cpp:36:42: >>>note: candidates are: >>>In file included from /usr/local/include/cppcms/service.h:18:0, >>>from /home/marcel/projects/cppcms/BrowserGame/src/backgroundprocessor.cpp:7: >>>/usr/local/include/cppcms/json.h:342:8: note: void >>>cppcms::json::value::set(const string&, const T&) [with T = bool; >>>std::string = std::basic_string<char>] <near match> >>>/usr/local/include/cppcms/json.h:342:8: note: no known conversion for >>>implicit ‘this’ parameter from ‘const cppcms::json::value*’ to >>>‘cppcms::json::value*’ >>>/usr/local/include/cppcms/json.h:350:8: note: void >>>cppcms::json::value::set(const char*, const T&) [with T = bool] <near match> >>>/usr/local/include/cppcms/json.h:350:8: note: no known conversion for >>>implicit ‘this’ parameter from ‘const cppcms::json::value*’ to >>>‘cppcms::json::value*’ >>>make[2]: *** [CMakeFiles/bg.dir/src/backgroundprocessor.cpp.o] Error 1 >>> >>>Any suggestions? >>> >>>Regards, >>> >>>Marcel >>> >>>------------------------------------------------------------------------------ >>>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 > >------------------------------------------------------------------------------ >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: Marcel H. <ke...@co...> - 2012-04-24 12:28:31
|
Am 24.04.2012 13:49, schrieb Artyom Beilis: > settings() return cppcms::json::value as const reference- you can't modify > it with set() oh, my fault. (: Any way to have a global access-able json value? > Artyom Beilis > -------------- > CppCMS - C++ Web Framework: http://cppcms.com/ > CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > > ------------------------------------------------------------------------ > *From:* Marcel Hellwig <ke...@co...> > *To:* cpp...@li... > *Sent:* Tuesday, April 24, 2012 12:25 PM > *Subject:* [Cppcms-users] json settings get and set > > Hi everyone, > > I have a strange error when I try to do the following: > > if (hours <= 6 || hours >= 20) { //time between 20 and 6 > if (settings().get("internal.isDay", false) == true) { > cache().rise("TimeChange"); > settings().set("internal.isDay", false); > } > } else { //time between 7 and 19 > if (settings().get("internal.isDay", true) == false) { > cache().rise("TimeChange"); > settings().set("internal.isDay", true); > } > } > > I tried it at first with set<bool> but it does not work either. > The error is: > > /home/marcel/projects/cppcms/BrowserGame/src/backgroundprocessor.cpp: > In > member function 'void BackGroundProcessor::TimeToBackground()': > /home/marcel/projects/cppcms/BrowserGame/src/backgroundprocessor.cpp:36:42: > > error: no matching function for call to > 'cppcms::json::value::set(const > char [15], bool) const' > /home/marcel/projects/cppcms/BrowserGame/src/backgroundprocessor.cpp:36:42: > > note: candidates are: > In file included from /usr/local/include/cppcms/service.h:18:0, > from > /home/marcel/projects/cppcms/BrowserGame/src/backgroundprocessor.cpp:7: > /usr/local/include/cppcms/json.h:342:8: note: void > cppcms::json::value::set(const string&, const T&) [with T = bool; > std::string = std::basic_string<char>] <near match> > /usr/local/include/cppcms/json.h:342:8: note: no known conversion for > implicit 'this' parameter from 'const cppcms::json::value*' to > 'cppcms::json::value*' > /usr/local/include/cppcms/json.h:350:8: note: void > cppcms::json::value::set(const char*, const T&) [with T = bool] > <near match> > /usr/local/include/cppcms/json.h:350:8: note: no known conversion for > implicit 'this' parameter from 'const cppcms::json::value*' to > 'cppcms::json::value*' > make[2]: *** [CMakeFiles/bg.dir/src/backgroundprocessor.cpp.o] Error 1 > > Any suggestions? > > Regards, > > Marcel > > ------------------------------------------------------------------------------ > 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... > <mailto: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: <ele...@ex...> - 2012-04-24 12:21:53
|
That would be great. Do you know what's the defaults on clang as FreeBSD is moving away from GCC slowly? > If you want I can send you a patch (I prepared it as I seen that many > programs actually use libexecinfo) but I don't think I > want it in the mainstream. > > > Artyom > |
From: Artyom B. <art...@ya...> - 2012-04-24 11:49:33
|
settings() return cppcms::json::value as const reference- you can't modify it with set() Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >________________________________ > From: Marcel Hellwig <ke...@co...> >To: cpp...@li... >Sent: Tuesday, April 24, 2012 12:25 PM >Subject: [Cppcms-users] json settings get and set > >Hi everyone, > >I have a strange error when I try to do the following: > >if (hours <= 6 || hours >= 20) { //time between 20 and 6 >if (settings().get("internal.isDay", false) == true) { >cache().rise("TimeChange"); >settings().set("internal.isDay", false); >} >} else { //time between 7 and 19 >if (settings().get("internal.isDay", true) == false) { >cache().rise("TimeChange"); >settings().set("internal.isDay", true); >} >} > >I tried it at first with set<bool> but it does not work either. >The error is: > >/home/marcel/projects/cppcms/BrowserGame/src/backgroundprocessor.cpp: In >member function ‘void BackGroundProcessor::TimeToBackground()’: >/home/marcel/projects/cppcms/BrowserGame/src/backgroundprocessor.cpp:36:42: >error: no matching function for call to ‘cppcms::json::value::set(const >char [15], bool) const’ >/home/marcel/projects/cppcms/BrowserGame/src/backgroundprocessor.cpp:36:42: >note: candidates are: >In file included from /usr/local/include/cppcms/service.h:18:0, >from /home/marcel/projects/cppcms/BrowserGame/src/backgroundprocessor.cpp:7: >/usr/local/include/cppcms/json.h:342:8: note: void >cppcms::json::value::set(const string&, const T&) [with T = bool; >std::string = std::basic_string<char>] <near match> >/usr/local/include/cppcms/json.h:342:8: note: no known conversion for >implicit ‘this’ parameter from ‘const cppcms::json::value*’ to >‘cppcms::json::value*’ >/usr/local/include/cppcms/json.h:350:8: note: void >cppcms::json::value::set(const char*, const T&) [with T = bool] <near match> >/usr/local/include/cppcms/json.h:350:8: note: no known conversion for >implicit ‘this’ parameter from ‘const cppcms::json::value*’ to >‘cppcms::json::value*’ >make[2]: *** [CMakeFiles/bg.dir/src/backgroundprocessor.cpp.o] Error 1 > >Any suggestions? > >Regards, > >Marcel > >------------------------------------------------------------------------------ >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-04-24 11:35:40
|
>> Yes... >> >> It uses __builtin_return_address and __builtin_frame_address >> and they are not really safe functions >> >> >> http://gcc.gnu.org/onlinedocs/gcc/Return-Address.html > > >What kind of results/problems can I expect if I modify booster::backtrace >to compile against libexecinfo from FreeBSD? > I actually did it once we talked (may be I missed something). Once the program is compiled with -fomit-frame-pointer you do not get stack trace at all, and this is default at optimization levels -O1 and above starting from gcc-4.6 So once I changed it actually worked - got stack trace (with gcc-4.2) but once gcc is upgraded it would be usless and I assume it may also be dangerous. If you want I can send you a patch (I prepared it as I seen that many programs actually use libexecinfo) but I don't think I want it in the mainstream. Artyom |
From: <ele...@ex...> - 2012-04-24 11:06:02
|
> Yes... > > It uses __builtin_return_address and __builtin_frame_address > and they are not really safe functions > > > http://gcc.gnu.org/onlinedocs/gcc/Return-Address.html What kind of results/problems can I expect if I modify booster::backtrace to compile against libexecinfo from FreeBSD? Petr |
From: Николай Ш. <n.s...@gm...> - 2012-04-24 09:42:15
|
Hello. Does CppCMS support virtual hosts? Where can I find perfomance tests in comparison with Wt? Best regards, Nick. |
From: Marcel H. <ke...@co...> - 2012-04-24 09:25:19
|
Hi everyone, I have a strange error when I try to do the following: if (hours <= 6 || hours >= 20) { //time between 20 and 6 if (settings().get("internal.isDay", false) == true) { cache().rise("TimeChange"); settings().set("internal.isDay", false); } } else { //time between 7 and 19 if (settings().get("internal.isDay", true) == false) { cache().rise("TimeChange"); settings().set("internal.isDay", true); } } I tried it at first with set<bool> but it does not work either. The error is: /home/marcel/projects/cppcms/BrowserGame/src/backgroundprocessor.cpp: In member function ‘void BackGroundProcessor::TimeToBackground()’: /home/marcel/projects/cppcms/BrowserGame/src/backgroundprocessor.cpp:36:42: error: no matching function for call to ‘cppcms::json::value::set(const char [15], bool) const’ /home/marcel/projects/cppcms/BrowserGame/src/backgroundprocessor.cpp:36:42: note: candidates are: In file included from /usr/local/include/cppcms/service.h:18:0, from /home/marcel/projects/cppcms/BrowserGame/src/backgroundprocessor.cpp:7: /usr/local/include/cppcms/json.h:342:8: note: void cppcms::json::value::set(const string&, const T&) [with T = bool; std::string = std::basic_string<char>] <near match> /usr/local/include/cppcms/json.h:342:8: note: no known conversion for implicit ‘this’ parameter from ‘const cppcms::json::value*’ to ‘cppcms::json::value*’ /usr/local/include/cppcms/json.h:350:8: note: void cppcms::json::value::set(const char*, const T&) [with T = bool] <near match> /usr/local/include/cppcms/json.h:350:8: note: no known conversion for implicit ‘this’ parameter from ‘const cppcms::json::value*’ to ‘cppcms::json::value*’ make[2]: *** [CMakeFiles/bg.dir/src/backgroundprocessor.cpp.o] Error 1 Any suggestions? Regards, Marcel |
From: Artyom B. <art...@ya...> - 2012-04-23 19:58:06
|
Read: http://cppcms.com/wikipp/en/page/cppcms_1x_forms Your widgets are not registered withing the form Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >________________________________ > From: doug livesey <bi...@gm...> >To: Artyom Beilis <art...@ya...>; cpp...@li... >Sent: Monday, April 23, 2012 10:13 PM >Subject: Re: [Cppcms-users] Advice on debugging file upload > > >Ah, so it looks like my issue is something else -- my form isn't even getting loaded. >For completeness, I have a simple context object: https://github.com/biot023/improc/blob/master/content.h >And I have a simple server: https://github.com/biot023/improc/blob/master/imageserver.cpp#L32 >And I'm testing the server with this call to cURL: > $ curl localhost:8080/imageserver/abc -F file=@features/fixtures/img01.jpg -F key=def > > >The response is a 500, and the error that cppcms logs to cerr is this: > 2012-04-23 20:07:57; cppcms, error: Caught exception [Value was not loaded] > 0x10653d2b3: cppcms::cppcms_error::cppcms_error(std::string const&) + 0x63 in /usr/local/lib/libcppcms.1.dylib > (http_context.cpp:139) > > >The error is caused by the highlighted line in the imageserver.cpp file. >From my reading of the tutorials, the create() member function should be loading the form from the context(), but obviously it isn't, so obviously I'm missing something. >Can anyone maybe see where I'm going wrong / what I'm failing to do? >& thanks again for all the help, it's really appreciated. > Doug. > > >------------------------------------------------------------------------------ >For Developers, A Lot Can Happen In A Second. >Boundary is the first to Know...and Tell You. >Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >http://p.sf.net/sfu/Boundary-d2dvs2 > >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |
From: doug l. <bi...@gm...> - 2012-04-23 19:14:01
|
Ah, so it looks like my issue is something else -- my form isn't even getting loaded. For completeness, I have a simple context object: https://github.com/biot023/improc/blob/master/content.h And I have a simple server: https://github.com/biot023/improc/blob/master/imageserver.cpp#L32 And I'm testing the server with this call to cURL: $ curl localhost:8080/imageserver/abc -F file=@features/fixtures/img01.jpg -F key=def The response is a 500, and the error that cppcms logs to cerr is this: 2012-04-23 20:07:57; cppcms, error: Caught exception [Value was not loaded] 0x10653d2b3: cppcms::cppcms_error::cppcms_error(std::string const&) + 0x63 in /usr/local/lib/libcppcms.1.dylib (http_context.cpp:139) The error is caused by the highlighted line in the imageserver.cpp file. >From my reading of the tutorials, the create() member function should be loading the form from the context(), but obviously it isn't, so obviously I'm missing something. Can anyone maybe see where I'm going wrong / what I'm failing to do? & thanks again for all the help, it's really appreciated. Doug. |
From: Artyom B. <art...@ya...> - 2012-04-23 13:21:26
|
Yes... It uses __builtin_return_address and __builtin_frame_address and they are not really safe functions http://gcc.gnu.org/onlinedocs/gcc/Return-Address.html So for this reason I really prefer to not use libexecinfo under FreeBSD. Other implementations (like GNU Libc for example) use an information about the stack bottom to prevent running out of the stack frame and creating access violation. So unless it would be proven otherwise libexecinfo is not in use under FreeBSD. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ ----- Original Message ----- > From: "ele...@ex..." <ele...@ex...> > To: Artyom Beilis <art...@ya...>; cpp...@li... > Cc: > Sent: Monday, April 23, 2012 3:59 PM > Subject: Re: [Cppcms-users] Advice on debugging file upload > > Are you referring to this library? > > http://www.freebsd.org/cgi/url.cgi?ports/devel/libexecinfo/pkg-descr > >> Unfortunately FreeBSD does not provide such API, so it is not possible >> to create safe backtrace - the existing execinfo.h library that >> comes with FreeBSD is not safe when using with > "omit-frame-pointer" >> optimization. >> >> If you find any other suitable way to create a backtrace (at least >> backtrace - not backtrace_symbols) >> it would be possible to provide stack tracing for FreeBSD as well. > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |
From: <ele...@ex...> - 2012-04-23 12:59:56
|
Are you referring to this library? http://www.freebsd.org/cgi/url.cgi?ports/devel/libexecinfo/pkg-descr > Unfortunately FreeBSD does not provide such API, so it is not possible > to create safe backtrace - the existing execinfo.h library that > comes with FreeBSD is not safe when using with "omit-frame-pointer" > optimization. > > If you find any other suitable way to create a backtrace (at least > backtrace - not backtrace_symbols) > it would be possible to provide stack tracing for FreeBSD as well. |
From: Artyom B. <art...@ya...> - 2012-04-23 12:36:47
|
The backtrace support requires some API in the standard C library. Linux, Mac OS X, Solaris: Getting trace: execinfo.h + backtrace() Getting symbols: dladdr Windows: Getting trace: RtlCaptureStackBackTrace Getting symbols: SymFromAddr (MSVC Only) Unfortunately FreeBSD does not provide such API, so it is not possible to create safe backtrace - the existing execinfo.h library that comes with FreeBSD is not safe when using with "omit-frame-pointer" optimization. If you find any other suitable way to create a backtrace (at least backtrace - not backtrace_symbols) it would be possible to provide stack tracing for FreeBSD as well. For example, backtrace would not work on Linux with uclibc as well and it is not possible to print symbols using Windows+GCC. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ ----- Original Message ----- > From: "ele...@ex..." <ele...@ex...> > To: Artyom Beilis <art...@ya...>; cpp...@li... > Cc: > Sent: Monday, April 23, 2012 3:20 PM > Subject: Re: [Cppcms-users] Advice on debugging file upload > > I've been following this discussion and I ran the same test on FreeBSD 8 > and it only prints "My Error", but no trace. > > Petr > >>> ~/src/cppcms-1.0.1/mybuild$ ./a.out >>> My Error >>> 0x107963102: booster::backtrace::backtrace(unsigned long) + 0x76 in >>> /Users/douglivesey/src/cppcms-1.0.1/mybuild/./a.out >>> 0x1079632c9: booster::runtime_error::runtime_error(std::string > const&) + >>> 0x39 in /Users/douglivesey/src/cppcms-1.0.1/mybuild/./a.out >>> 0x107962eda: foo() + 0x4a in >>> /Users/douglivesey/src/cppcms-1.0.1/mybuild/./a.out >>> 0x107962f4a: bar() + 0x9 in >>> /Users/douglivesey/src/cppcms-1.0.1/mybuild/./a.out >>> 0x107962f5d: main + 0xe in >>> /Users/douglivesey/src/cppcms-1.0.1/mybuild/./a.out >>> 0x107962e88: start + 0x34 in >>> /Users/douglivesey/src/cppcms-1.0.1/mybuild/./a.out >> >> >> Ok, the stack backtrace works on Mac OS X. >> >> >> If so you should probably see where exactly the exception comes from in >> the >> log - including cppcms::widgers::file::value() in the stack trace. >> >> Use it, it is very powerful tool. >> >> (Don't forget -dynamic options) >> >> Artyom >> >> >> > ------------------------------------------------------------------------------ >> For Developers, A Lot Can Happen In A Second. >> Boundary is the first to Know...and Tell You. >> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >> http://p.sf.net/sfu/Boundary-d2dvs2 >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |
From: <ele...@ex...> - 2012-04-23 12:20:58
|
I've been following this discussion and I ran the same test on FreeBSD 8 and it only prints "My Error", but no trace. Petr >>~/src/cppcms-1.0.1/mybuild$ ./a.out >>My Error >>0x107963102: booster::backtrace::backtrace(unsigned long) + 0x76 in >> /Users/douglivesey/src/cppcms-1.0.1/mybuild/./a.out >>0x1079632c9: booster::runtime_error::runtime_error(std::string const&) + >> 0x39 in /Users/douglivesey/src/cppcms-1.0.1/mybuild/./a.out >>0x107962eda: foo() + 0x4a in >> /Users/douglivesey/src/cppcms-1.0.1/mybuild/./a.out >>0x107962f4a: bar() + 0x9 in >> /Users/douglivesey/src/cppcms-1.0.1/mybuild/./a.out >>0x107962f5d: main + 0xe in >> /Users/douglivesey/src/cppcms-1.0.1/mybuild/./a.out >>0x107962e88: start + 0x34 in >> /Users/douglivesey/src/cppcms-1.0.1/mybuild/./a.out > > > Ok, the stack backtrace works on Mac OS X. > > > If so you should probably see where exactly the exception comes from in > the > log - including cppcms::widgers::file::value() in the stack trace. > > Use it, it is very powerful tool. > > (Don't forget -dynamic options) > > Artyom > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |
From: Artyom B. <art...@ya...> - 2012-04-23 12:18:42
|
There is no ORM as C++ is non-reflective language. But there is very good SQL library CppDB http://cppcms.com/sql/cppdb/ Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ ----- Original Message ----- > From: Tero Mäntyvaara <te...@gm...> > To: "cpp...@li..." <cpp...@li...> > Cc: > Sent: Monday, April 23, 2012 9:52 AM > Subject: [Cppcms-users] Object Relation Mapping library > > Hi, > > what Object Relation Mapping (ORM) library should I choose for my CppCMS > application? > > > Tero > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |
From: Artyom B. <art...@ya...> - 2012-04-23 12:17:52
|
> > >Ah, right, sorry -- well, the program complies, but then throws this error when it runs: > >~/src/cppcms-1.0.1/mybuild$ ./a.out >My Error >0x107963102: booster::backtrace::backtrace(unsigned long) + 0x76 in /Users/douglivesey/src/cppcms-1.0.1/mybuild/./a.out >0x1079632c9: booster::runtime_error::runtime_error(std::string const&) + 0x39 in /Users/douglivesey/src/cppcms-1.0.1/mybuild/./a.out >0x107962eda: foo() + 0x4a in /Users/douglivesey/src/cppcms-1.0.1/mybuild/./a.out >0x107962f4a: bar() + 0x9 in /Users/douglivesey/src/cppcms-1.0.1/mybuild/./a.out >0x107962f5d: main + 0xe in /Users/douglivesey/src/cppcms-1.0.1/mybuild/./a.out >0x107962e88: start + 0x34 in /Users/douglivesey/src/cppcms-1.0.1/mybuild/./a.out Ok, the stack backtrace works on Mac OS X. If so you should probably see where exactly the exception comes from in the log - including cppcms::widgers::file::value() in the stack trace. Use it, it is very powerful tool. (Don't forget -dynamic options) Artyom |
From: doug l. <bi...@gm...> - 2012-04-23 12:05:11
|
Ah, right, sorry -- well, the program complies, but then throws this error when it runs: ~/src/cppcms-1.0.1/mybuild$ ./a.out My Error 0x107963102: booster::backtrace::backtrace(unsigned long) + 0x76 in /Users/douglivesey/src/cppcms-1.0.1/mybuild/./a.out 0x1079632c9: booster::runtime_error::runtime_error(std::string const&) + 0x39 in /Users/douglivesey/src/cppcms-1.0.1/mybuild/./a.out 0x107962eda: foo() + 0x4a in /Users/douglivesey/src/cppcms-1.0.1/mybuild/./a.out 0x107962f4a: bar() + 0x9 in /Users/douglivesey/src/cppcms-1.0.1/mybuild/./a.out 0x107962f5d: main + 0xe in /Users/douglivesey/src/cppcms-1.0.1/mybuild/./a.out 0x107962e88: start + 0x34 in /Users/douglivesey/src/cppcms-1.0.1/mybuild/./a.out |
From: Artyom B. <art...@ya...> - 2012-04-23 11:30:11
|
>Thanks for your reply, there. >I'm a little unsure about the backtrace, though, sorry -- > I haven't explicitly setup any logging (I'm still finding my way, really), so there won't be anything there. What you see is already log, if logging is not defined it goes to stderr >Do you mean that I should include the test_backtrace compilation you suggest into my project compilation? >& sorry if I'm being dense. :) No, I do not have latest Mac OS X, only Darwin 8 (~Mac OS X 10.4) so I could not test backtrace feature that should be available in latest versions of Mac OS X. Generally you should be able to see a stack bactrace for exceptions thrown by CppCMS in the log (if this feature works) It would be nice if you could check it with the test program I had pointed to. By compilation and running this program you can see if you actually getting any stack trace or not. So if you could compile and run the program with the parameters I had shown it could answer on the question whether backtrace works on Mac OS X or not. Thats it. > Doug. > > Artyom |
From: doug l. <bi...@gm...> - 2012-04-23 11:25:26
|
Thanks for your reply, there. I'm a little unsure about the backtrace, though, sorry -- I haven't explicitly setup any logging (I'm still finding my way, really), so there won't be anything there. Do you mean that I should include the test_backtrace compilation you suggest into my project compilation? & sorry if I'm being dense. :) Doug. |