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