<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<br><br>I am running ERP5 on a LINUX virtual machine and access it from FIRE FOX on a windows machine. When I select a png image from windows file system in Person Object --> Details Tab--- > Upload --> Browser button and then save, I got no error on UI but logtail shows some error which may helps you to find the problem. Error is attached as bmp file, please have a look on it.<br><br>Thanks and Regards<br>Danny<br><br>> Date: Tue, 30 Dec 2008 21:05:39 +0100<br>> From: bartek@gorny.edu.pl<br>> To: erp5-dev@erp5.org<br>> Subject: Re: [Erp5-dev] Scheduling a a script and some more queries<br>> <br>> 2008/12/30 Danny Admin <dannywork1@hotmail.com>:<br>> > Hi,<br>> ><br>> > Thanks for your valuable support and time.<br>> ><br>> > Can anyone also help me regarding question 3 about image upload in person<br>> > module.<br>> ><br>> <br>> Please attach a complete traceback - it is hard to say what is wrong<br>> without knowing what file is reported as missing, which line of code<br>> throws the exception etc.<br>> <br>> B.<br>> <br>> > Also I have the following query:<br>> ><br>> > I want to send email and attach a PDF report that should be generated at<br>> > runtime.<br>> ><br>> > Currently what I achive is that I run email successfully and generate PDF.<br>> > But I want to some how attach the generated PDF document with the email.<br>> > Can anyone help me in this regard?<br>> ><br>> > Warm Regards<br>> > Danny<br>> ><br>> >> Date: Sun, 28 Dec 2008 23:16:32 +0100<br>> >> From: bartek@gorny.edu.pl<br>> >> To: erp5-dev@erp5.org<br>> >> Subject: Re: [Erp5-dev] Scheduling a a script and some more queries<br>> >><br>> >> 2008/12/27 Danny Admin <dannywork1@hotmail.com>:<br>> >> > Hi,<br>> >> ><br>> >> > Thanks for your valuable answer.<br>> >> ><br>> >> > I have tried to search about portal_alarm but i did not find any<br>> >> > material.<br>> >> ><br>> >> > Can you give me some material/l inks about how to use portal_alarm.<br>> >><br>> >> You're right, it needs a how-to. I think I'll write something soon,<br>> >> but generally alarms are pretty straightorward - you create an alam,<br>> >> set periodicity, type in a name of the script you want to run, tick<br>> >> the "active" checkbox and this is it. The script will be run in the<br>> >> context of the alarm. If you install erp5_forge bt5 you'll see a<br>> >> working example - this bt5 installs an "open bugs alarm".<br>> >><br>> >> > Some more queries:<br>> >> > -------------------<br>> >> > 1. Can i use portal_activities for this? If yes then how i start an<br>> >> > activity<br>> >> > that will run at a particular time each day?<br>> >><br>> >> You can't. Portal activities serve an entirely different purpose.<br>> >><br>> >> > 2. I want to make a search functionality for my module. Let say i have a<br>> >> > search form, from which user can enter different fields of an object and<br>> >> > e nter it, I have to search all the objects matching entered fields and<br>> >> > show<br>> >> > them in a list. Now how i can implement this functionality?<br>> >><br>> >> Again, the best way is to look at a working example - e.g.<br>> >> erp5_accounting has a very nice search in accounting_module. You have<br>> >> to create a form for search parameters and add an action to the<br>> >> module's portal type. The action category should be object_search.<br>> >> This is pretty much it.<br>> >><br>> >> > 3. In Person object Details tab when i browse and select png image from<br>> >> > my<br>> >> > hard disk and save the person object, the image is not shown. When i see<br>> >> > the<br>> >> > logtail of zope it says "OSError: [Error 2] No such file or directory"<br>> >> > at<br>> >> > last log line. Can any one help in this regard?<br>> >> ><br>> >> > 4. How can i set an Organisation object in Default Site Preferences?<br>> >><br>> >> What do you mean? If you mean accounting preferences, then yo u have to<br>> >> create some categories under "group" base category and choose a group<br>> >> for your organisation. Then in preferences you select a group first,<br>> >> and then the organisation dropdown is filled with organisation from<br>> >> that group.<br>> >><br>> >> Bartek<br>> >><br>> >> > Thanks & Regards<br>> >> > Danny<br>> >> ><br>> >> >> Date: Sat, 27 Dec 2008 16:00:24 +0100<br>> >> >> From: jp@nexedi.com<br>> >> >> To: erp5-dev@erp5.org<br>> >> >> Subject: Re: [Erp5-dev] Scheduling a a script<br>> >> >><br>> >> >> Hi,<br>> >> >><br>> >> >> You can use alarms (portal_alarms).<br>> >> >><br>> >> >> Regards,<br>> >> >><br>> >> >> JPS.<br>> >> >><br>> >> >> Danny Admin a écrit :<br>> >> >> > Hi,<br>> >> >> ><br>> >> >> > Can anyone tell me how can i schedule a script to run at a particular<br>> >> >> > time? Also run a script per iodically at some interval say 5 seconds<br>> >> >> > ?<br>> >> >> ><br>> >> >> > Thanks & Regards<br>> >> >> > Danny<br>> >> >> ><br>> >> >> ><br>> >> >> > ------------------------------------------------------------------------<br>> >> >> > check out the rest of the Windows Live™. More than mail–Windows Live™<br>> >> >> > goes way beyond your inbox. More than messages<br>> >> >> > <http://www.microsoft.com/windows/windowslive/><br>> >> >> > -----------<br>> >> >> > -------------------------------------------------------------<br>> >> >> ><br>> >> >> > _______________________________________________<br>> >> >> > Erp5-dev mailing list<br>> >> >> > Erp5-dev@erp5.org<br>> >> >> > http://mail.nexedi.com/mailman/listinfo/erp5-dev<br>> >> >> ><br>> >> >><br>> >> >><br>> >> >> --<br>> >> >> Jean-Paul Smets-Solanes, Nexedi CEO - Tel . +33(0)6 62 05 76 14<br>> >> >> ERP5 Enterprise: Free / Open Source ERP for Critical Applications<br>> >> >> http://www.erp5.com<br>> >> >> ERP5 Express: Hosted Open Source ERP for small companies<br>> >> >> http://www.myerp5.com<br>> >> >> Nexedi: Consulting and Development of Free / Open Source Software<br>> >> >> http://www.nexedi.com<br>> >> >><br>> >> >> _______________________________________________<br>> >> >> Erp5-dev mailing list<br>> >> >> Erp5-dev@erp5.org<br>> >> >> http://mail.nexedi.com/mailman/listinfo/erp5-dev<br>> >> ><br>> >> > ________________________________<br>> >> > Get news, entertainment and everything you care about at Live.com. Check<br>> >> > it<br>> >> > out!<br>> >> > _______________________________________________<br>> >> > Erp5-dev mailing list<br>> >> > Erp5-dev@erp5.org<br>> >> > http://mail.nexedi.com/mailman/listinfo/erp5-dev<br>> >> ><br>> >> ><br>> >> < br>><br>> >><br>> >> --<br>> >> "Software is largely a service industry operating under the persistent<br>> >> but unfounded delusion that it is a manufacturing industry."<br>> >> Eric S.Raymond, "The Magic Cauldron"<br>> >> _______________________________________________<br>> >> Erp5-dev mailing list<br>> >> Erp5-dev@erp5.org<br>> >> http://mail.nexedi.com/mailman/listinfo/erp5-dev<br>> ><br>> > ________________________________<br>> > Get easy photo sharing with Windows Live™ Photos. Drag n' drop<br>> > _______________________________________________<br>> > Erp5-dev mailing list<br>> > Erp5-dev@erp5.org<br>> > http://mail.nexedi.com/mailman/listinfo/erp5-dev<br>> ><br>> ><br>> <br>> <br>> <br>> -- <br>> "Software is largely a service industry operating under the persistent<br>> but unfounded delusion that it is a manufacturing industry."<br>> Eric S.Raymond, "The Magic Cauldron"<br>> _______________________________________________<br>> Erp5-dev mailing list<br>> Erp5-dev@erp5.org<br>> http://mail.nexedi.com/mailman/listinfo/erp5-dev<br><br /><hr />check out the rest of the Windows Live™.
More than mail–Windows Live™ goes way beyond your inbox.
<a href='http://www.microsoft.com/windows/windowslive/' target='_new'>More than messages</a></body>
</html>