Aperture Script - Can't replicate problem
I wrote this script to rename and File Aperture projects by date : http://www.johneday.com/9/rename-and-file-aperture-projects-by-date .
A Mountain Lion user has given me this feedback:
OK, so I get the error that the EXIF tag does not have capture year. I'm on Mountain Lion, and recall that it worked on one project the very first time I ran the script after downloading and installing it... it's almost as if some flag gets set to true or false and it needs to be reset.
Can anyone running Mountain Lion replicate this problem for me? Any insights about what is going wrong for him would be appreciated.
set yourFolder to "Imported by Date" -- Name your folder here
set appendParent to false -- If true, the selected parent's name will be appended to the new project name
set makeSubfolders to false -- If true, new projects will be created in year/month/ folders.
property delimiter : "-"
try
tell application "Aperture"
activate
-- Wait until Aperture is finished processing other tasks
repeat
set taskCount to count of tasks
if taskCount is 1 then
display alert "Aperture is processing another task" message "Please wait for the task to complete and try again" buttons {"Try again", "Cancel"} default button {"Try again"} cancel button {"Cancel"}
else if taskCount > 1 then
display alert "Aperture is processing " & taskCount & " tasks" message "Please wait for the tasks to complete and try again" buttons {"Try again", "Cancel"} default button {"Try again"} cancel button {"Cancel"}
else
exit repeat
end if
end repeat
-- Verify that at least one item is selected
if selection is {} then display alert "The selection {} is empty" message "Please select ONE Project, Folder or Album from the Library tab in the sidebar and try again." buttons {"OK"} cancel button {"OK"}
-- Get the selected Parent ID
tell item 1 of (selection as list) to set theParent to parent
set {parentClass, parentName} to {class, name} of theParent
if parentClass is album then display dialog "Albums may contain images from multiple projects. Are you sure you want to move these images from their projects?"
-- Get date of every image in the selected Parent
tell theParent to set dateList to every image version's (value of EXIF tag "ImageDate")
tell library 1
-- Create your folder if it does not exist
if not (exists folder yourFolder) then make new folder with properties {name:yourFolder}
-- Assign name of every project in your folder to a list for the Create project command below
-- (exists project isoImageDate) command is too slow to be included in the loop
if not makeSubfolders then tell folder yourFolder to set parentList to name of every project
set dateTest to {}
repeat with aDate in my dateList
-- Test each date to avoid processing duplicates
set shortDate to short date string of aDate
if dateTest does not contain shortDate then
set end of dateTest to shortDate
-- Convert the image date to YYYY-MM-DD format
set projectYear to year of aDate as string
set projectMonth to (month of aDate as integer) as string
if length of projectMonth is 1 then set projectMonth to "0" & projectMonth
set projectDay to (day of aDate as integer) as string
if length of projectDay is 1 then set projectDay to "0" & projectDay
set isoImageDate to projectYear & delimiter & projectMonth & delimiter & projectDay as string
if appendParent then set isoImageDate to isoImageDate & space & parentName
tell folder yourFolder
if makeSubfolders then
--Create year and month folders if year folder does not exist
if not (exists folder projectYear) then make new folder with properties {name:projectYear}
tell folder projectYear
if not (exists folder projectMonth) then make new folder with properties {name:projectMonth}
end tell
--Create project if it does not exist
if ((name of every project of folder projectMonth of folder projectYear) does not contain isoImageDate) then tell folder projectMonth of folder projectYear to make new project with properties {name:isoImageDate}
-- Move the images into the project
move (every image version of theParent whose value of EXIF tag "CaptureYear" is year of aDate and value of EXIF tag "CaptureMonthOfYear" is month of aDate as integer and value of EXIF tag "CaptureDayOfMonth" is day of aDate) to project isoImageDate of folder projectMonth of folder projectYear
else -- If not makeSubfolders
--Create project if it does not exist
if parentList does not contain isoImageDate then make new project with properties {name:isoImageDate}
-- Move the images into the project
move (every image version of theParent whose value of EXIF tag "CaptureYear" is year of aDate and value of EXIF tag "CaptureMonthOfYear" is month of aDate as integer and value of EXIF tag "CaptureDayOfMonth" is day of aDate) to project isoImageDate
end if
end tell
end if
end repeat
-- Move the initial container to the Trash if no images remain or if it is an album
if parentClass is album then
delete theParent
else if (count of image versions of theParent) is 0 then
delete theParent
end if
beep
end tell
end tell
on error errMsg number errNum
tell me
activate
display alert errMsg & return & return & "Error number" & errNum buttons "Cancel"
end tell
end try
EXIF Tag Name Mapping
The following table provides a mapping between EXIF tag names found in the Aperture 3 interface and EXIF tag names that appear in AppleScript.
Well, the obvious answer to your question is that Aperture in not seeing a 'CaptureYear' EXIF tag on an image. The way you have your try block set up, that amounts to a fatal error in your script. why it's not seeing a capture year is a different question. you might try asking the user with the problem to log the EXIF names for the images s/he's working on:
get name of every EXIF tag of image versions of theParent
you might also try breaking the complex command down into two simpler commands, in case ML has introduced a race condition:
set movables to get (image versions of theParent whose (value of EXIF tag "CaptureYear" is year of aDate) and (value of EXIF tag "CaptureMonthOfYear" is (month of aDate as integer)) and (value of EXIF tag "CaptureDayOfMonth" is day of aDate))
move movables to project isoImageDate of folder projectMonth of folder projectYear
Of course, it could just be goofy user error as well - trying to run the script on an empty album or somesuch.
Sorry I can't test this myself; my copy of aperture is an expired demo I keep around so I have access to the scripting dictionary (aperture questions are common enough to make that worthwhile), so I can't actually use it for anything.
Similar Messages
-
Genius Bar Can't Replicate Problem - What Now?
Hi,
I have had an issue with my iMac where it freezes and there are consistently 3 loud beeps over and over or sometimes a very loud screeching noise. I have seen a few people saying this is a RAM issue but the problem i have is the Genius Bar couldn't replicate my problem and within 2 hours of me dropping it off they said i need to come and colelct it again.
What can i do now? When i contact Apple it always says i have to take it to the nearest Genius Bar so if they can't do anything what are my options?
Also, is there anyway perhaps static/ overheating/ interference from other devices could be the sole problem? The reason i ask is that is my iMac at home has this problem and then the other day my girlfriends brand new Macbook Pro started doing the same thing... however, in other places (e.g Genius Bar) this does not seem to happen and is very hard to replicate.
Therefore could there be an external factor influencing it?
Thanks,
MartynI'd try running memtest to test the RAM. The "Geniuses" may not have had the patience or interest in testing the RAM long enough. Finding RAM errors can be very tricky. The next time it freezes, see if there are any messages in Console in Utilities from around the time of the freezes. Look in system.log and scroll through elsewhere to find anything under "Diagnostic." Copy them if they exist and and show them those.
To test the memory, get memtest and run it in single user mode, where it will test as much memory as possible, more than with the OS loaded.
You can get memtest + directions from the link below. However, ignore running it from Terminal. Instead, boot into SU Mode, Cmd-s at the startup chime. (Best to startup from a full shutdown.)
At the prompt, simply type /usr/bin/memtest all 3 -L Observe case and spaces.(From this link It will be installed in /usr/bin/) Then hit return. This will run three loops of memtest and create a log in Console in Utilties.
If you want to run memtest longer, which may be advisable, since RAM errors can be very elusive, just remove the "all 3" which will give you /usr/bin/memtest -L and hit return. It will keep testing until you quit it.
If you want to quit the test, just hit control-c
When finished, you can just type in "reboot" and hit return.
http://osxdaily.com/2011/05/03/memtest-mac-ram-test/
Direct link for the download.
http://cdn.command-tab.com/2008/memtest_422.zip -
Can anyone replicate this JSTL problem?
The following code fails in tomcat 6:
<c:if test="${not empty requestScope.form && not empty requestScope.form.result}">
</c:if>but this one works fine:
<c:if test="${not empty requestScope['form'] && not empty requestScope['form.result']}">
</c:if>I can't replicate the problem easily.
The tiles exception is potentially hiding the real exception. Check your logs for a root cause.
I presume "result" is actually an attribute of your "form" object which is an attribute in request scope?
Here is a test page that I threw together. It should compile and run as is.
All three scenarios work - where both form and result are present, when just form is present and result is null, and when both are null.
I would probably go looking into your Form and Result objects.
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Eclipse Java Test Page</title>
</head>
<body>
<h1>Test page</h1>
<h2> Server Info </h2>
Server info = <%= application.getServerInfo() %> <br>
Servlet engine version = <%= application.getMajorVersion() %>.<%= application.getMinorVersion() %><br>
JSP version = <%= JspFactory.getDefaultFactory().getEngineInfo().getSpecificationVersion() %> <br>
Java version = <%= System.getProperty("java.vm.version") %><br>
Java home = <%= System.getProperty("java.home") %><br>
Session id = <%= session.getId() %><br>
<%!
public class Wrapper{
String result = null;;
public String getResult(){
return result;
public void setResult(String result) {
this.result = result;
%>
<%
Wrapper form = new Wrapper();
form.setResult("Hello!");
Wrapper form2 = new Wrapper();
request.setAttribute("form", form);
request.setAttribute("form2", form2);
%>
<h2>form</h2>
<c:out value="${not empty requestScope.form }"/><br>
<c:out value="${not empty requestScope.form.result }"/><br>
<c:if test="${not empty requestScope.form && not empty requestScope.form.result }">And == true</c:if><br>
<h2>form2</h2>
<c:out value="${not empty requestScope.form2 }"/><br>
<c:out value="${not empty requestScope.form2.result }"/><br>
<c:if test="${not empty requestScope.form2 && not empty requestScope.form2.result }">And == true</c:if><br>
<h2>form3</h2>
<c:out value="${not empty requestScope.form3 }"/><br>
<c:out value="${not empty requestScope.form3.result }"/><br>
<c:if test="${not empty requestScope.form3 && not empty requestScope.form3.result }">And == true</c:if><br>
</body>
</html> -
BLOB can not replicate on Network.
Can not replicate BLOB on the Network.
Here is my table script and Trigger Code.
create table StoredImages
( imageid number,
imagecontainer blob);
create table copy_StoredImages
as select * from StoredImages;
CREATE OR REPLACE TRIGGER "REPLICATE_storedImage"
AFTER INSERT OR DELETE OR UPDATE
OF imageid ON StoredImages
REFERENCING NEW AS N OLD AS O
FOR EACH ROW
BEGIN
IF INSERTING THEN
INSERT INTO COPY_StoredImages@DB_LINK (imageid, imagecontainer)
VALUES (:N.imageid, :N.imagecontainer);
ELSIF UPDATING THEN
UPDATE COPY_StoredImages@DB_LINK
SET imageid = :N.imageid,
imagecontainer = :N.imagecontainer
WHERE imageid = :O.imageid;
ELSIF DELETING THEN
DELETE FROM COPY_StoredImages@DB_LILNK
WHERE imageid = :O.imageid;
END IF;
END;
I want to replicate BLOB (Picture) Data on the network. Through is database trigger i am trying to replicate the data in another database on the network.All data is replicated but picture data is not replicated. How can i do replicate picture data on the network.
Thanks.thanks...but, HP was NO help. I am now thinking that the problem is Bonjour and not the printer. I have tried to open safari and bonjour to see my network devices and i can not connect to my tivo either. If you have any ideas, i would appreciate it. I will now see if there is a Bonjour discussion for more help. Thanks!!!
-
Aperture 3.2.1 Import problems.
Aperture 3.2.1 Import problems. I can not import. Complete system hang when I try. Have to force reboot. I made a new user and everything seems to work fine under that user. I must have something conflicting in my admin user but I have had no luck finding it. I have tried rebuilding the library (all three options) but to no avail. Aperture will run fine as long as I do not try to import. This is very frustrating, any help would be greatly appreciated.
27" imac 3.06 intel core 2 duo 12 GB RamHello Tim,
If a problem only occurs when working from one account, then very often faulty user preferences or presets are the cause. Try to remove your user preference file, and if that should not suffice, move your presets to the desktop, as described in the Aperture 3: Trouble Shooting Basics:
(Caution: I see, you are running Lion: Because of Lion's non-preemptive Process Management you can never be sure if an application really has quit, even if it looks in the Dock as if the Application has finished. So it is very important to log off, before you launch Aperture again, after you changed something in the libraries like described below.)
Delete the user preferences
You can resolve many issues by restoring Aperture back to its original settings. This will not impact your image files or your library. To reset your Aperture user preference settings to their original state, do the following:
Quit Aperture.
In the Finder choose Go to folder from the Go menu.
Type~/Library/Preferences in the "Go to the folder" field. Press the Go button.
Remove the "com.apple.Aperture.plist" file from the Preferences folder. (and log off and log in again!)
Move the user created presets, keyword lists, and so on...
Quit Aperture.
In the Finder choose Go to folder from the Go menu.
Type~/Library/Application Support/Aperture in the "Go to the folder" field. Press the Go button.
Move the contents of this folder to your Desktop (and log off and log in again!)
Start Aperture and see if the issue is resolved. Note: Permanently removing these files will delete presets, metadata sets, keyword sets, and so on. If moving these files to the Desktop does not resolve the issue, move them back to their original location to restore the presets, adjustment chain presets, and metadata sets. In no case will removing these files affect metadata, keywords, or adjustments already applied to images.
If none of this should help, try to boot into safe mode (hold down shift after the start up chime), to see if you have conflicting plugins or video drivers etc. installed in your admin library.
HTH
Léonie -
Aperture 3 can't export pictures on Yosemite.
Aperture 3 can't export picture on Yosemite.
Anyone can help me to fix this problem?
Now I don't understand why I updated to Yosemite.
ThanksJest kot jabolko wrote:
It's very easy but time consuming: I just open every folder and simply count it.
Use Finder to search for JPGs. Select the top-most Finder folder, press "{Command}+f". Count of matching files in shown the bottom border of the window (in this example, click "ptgOther" (the name of a folder) instead of "This Mac"): -
Help: Running iTunes U perl script: Can't locate Digest/SHA.pm
We are using IIS 6.0 on Windows Server 2003.
We have installed v5.008008 of Active Perl.
We changed the sample iTunesU.pl script with our school data
When we run the script from the command prompt we get the following error:
Can't locate Digest/SHA.pm in @INC (@INC contains: E:/Perl/site/lib E:/Perl/lib
.) at E:\Webapps\ajula\CGI\ITunesU.pl line 87.
BEGIN failed--compilation aborted at E:\Webapps\ajula\CGI\ITunesU.pl line 87.
How can fix this problem
Thanks
Moshe AJULA.EDUI followed the instructions in the sample files.
On the server I ran perl -MCPAN -e shell
It showed errors and problem for when installing Digest::SHA and Crypt::SSLeay
Here is a copy of the restults.
Can you help me figuring out what is wrong?
Thanks
-------------------------- Resutls of install --------------------
In the cpan> prompt
cpan shell -- CPAN exploration and modules installation (v1.9102)
ReadLine support enabled
cpan> install URI::Escape
CPAN: Storable loaded ok (v2.16)
Going to read E:\Perl\cpan\Metadata
Database was generated on Mon, 26 Nov 2007 10:36:39 GMT
URI::Escape is up to date (3.28).
cpan> install Digest::SHA
Running install for module 'Digest::SHA'
Running make for M/MS/MSHELOR/Digest-SHA-5.45.tar.gz
CPAN: checksum security checks disabled because Digest::SHA not installed.
Please consider installing the Digest::SHA module.
CPAN: Time::HiRes loaded ok (v1.9707)
Scanning cache E:\Perl/cpan/build for sizes
............................................................................DONE
CPAN: Compress::Zlib loaded ok (v1.4201)
CPAN: Archive::Tar loaded ok (v1.3201)
Digest-SHA-5.45/
Digest-SHA-5.45/README
Digest-SHA-5.45/src/
Digest-SHA-5.45/src/hmac.h
Digest-SHA-5.45/src/hmacxtra.c
Digest-SHA-5.45/src/sha.h
Digest-SHA-5.45/src/shaxtra.c
Digest-SHA-5.45/src/sha64bit.h
Digest-SHA-5.45/src/sha64bit.c
Digest-SHA-5.45/src/hmac.c
Digest-SHA-5.45/src/sha.c
Digest-SHA-5.45/Makefile.PL
Digest-SHA-5.45/examples/
Digest-SHA-5.45/examples/dups
Digest-SHA-5.45/META.yml
Digest-SHA-5.45/Changes
Digest-SHA-5.45/shasum
Digest-SHA-5.45/typemap
Digest-SHA-5.45/MANIFEST
Digest-SHA-5.45/SHA.pm
Digest-SHA-5.45/t/
Digest-SHA-5.45/t/nistbyte.t
Digest-SHA-5.45/t/nistbit.t
Digest-SHA-5.45/t/rfc2202.t
Digest-SHA-5.45/t/bitbuf.t
Digest-SHA-5.45/t/hmacsha.t
Digest-SHA-5.45/t/podcover.t
Digest-SHA-5.45/t/methods.t
Digest-SHA-5.45/t/sha224.t
Digest-SHA-5.45/t/dumpload.t
Digest-SHA-5.45/t/sha384.t
Digest-SHA-5.45/t/sha1.t
Digest-SHA-5.45/t/sha512.t
Digest-SHA-5.45/t/gg.t
Digest-SHA-5.45/t/allfcns.t
Digest-SHA-5.45/t/gglong.t
Digest-SHA-5.45/t/pod.t
Digest-SHA-5.45/t/woodbury.t
Digest-SHA-5.45/t/fips198.t
Digest-SHA-5.45/t/ireland.t
Digest-SHA-5.45/t/base64.t
Digest-SHA-5.45/t/sha256.t
Digest-SHA-5.45/SHA.xs
CPAN: File::Temp loaded ok (v0.18)
CPAN.pm: Going to build M/MS/MSHELOR/Digest-SHA-5.45.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Digest::SHA
Could not read 'E:\Perl\cpan\build\Digest-SHA-5.45-KfEI5d\META.yml'. Falling bac
k to other methods to determine prerequisites
'nmake' is not recognized as an internal or external command,
operable program or batch file.
MSHELOR/Digest-SHA-5.45.tar.gz
nmake -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store persistent stat
e
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
MSHELOR/Digest-SHA-5.45.tar.gz : make NO
cpan> install LWP::UserAgent
LWP::UserAgent is up to date (2.036).
cpan> install Crypt::SSLeay
Running install for module 'Crypt::SSLeay'
Running make for D/DL/DLAND/Crypt-SSLeay-0.57.tar.gz
CPAN: LWP::UserAgent loaded ok (v2.036)
Fetching with LWP:
http://ppm.activestate.com/CPAN/authors/id/D/DL/DLAND/Crypt-SSLeay-0.57.tar.gz
CPAN: checksum security checks disabled because Digest::SHA not installed.
Crypt-SSLeay-0.57
Crypt-SSLeay-0.57/t
Crypt-SSLeay-0.57/Changes
Crypt-SSLeay-0.57/lib
Crypt-SSLeay-0.57/certs
Crypt-SSLeay-0.57/MANIFEST
Crypt-SSLeay-0.57/TODO
Crypt-SSLeay-0.57/typemap
Crypt-SSLeay-0.57/MANIFEST.SKIP
Crypt-SSLeay-0.57/eg
Crypt-SSLeay-0.57/SSLeay.pm
Crypt-SSLeay-0.57/SSLeay.xs
Crypt-SSLeay-0.57/README
Crypt-SSLeay-0.57/Makefile.PL
Crypt-SSLeay-0.57/META.yml
Crypt-SSLeay-0.57/eg/lwp-ssl-test
Crypt-SSLeay-0.57/eg/net-ssl-test
Crypt-SSLeay-0.57/certs/ca-bundle.crt
Crypt-SSLeay-0.57/certs/notacakeynopass.pem
Crypt-SSLeay-0.57/certs/notacacert.pem
Crypt-SSLeay-0.57/lib/Crypt
Crypt-SSLeay-0.57/lib/Net
Crypt-SSLeay-0.57/lib/Net/SSL.pm
Crypt-SSLeay-0.57/lib/Crypt/SSLeay
Crypt-SSLeay-0.57/lib/Crypt/SSLeay/MainContext.pm
Crypt-SSLeay-0.57/lib/Crypt/SSLeay/Conn.pm
Crypt-SSLeay-0.57/lib/Crypt/SSLeay/X509.pm
Crypt-SSLeay-0.57/lib/Crypt/SSLeay/Err.pm
Crypt-SSLeay-0.57/lib/Crypt/SSLeay/CTX.pm
Crypt-SSLeay-0.57/t/00-basic.t
Crypt-SSLeay-0.57/t/02-live.t
Crypt-SSLeay-0.57/t/01-connect.t
CPAN.pm: Going to build D/DL/DLAND/Crypt-SSLeay-0.57.tar.gz
========================================================================
No installed SSL libraries found in any of the following places.
c:\openssl
You will have to either specify a directory location at the following
prompt, or rerun the Makefile.PL program and use the --lib switch
to specify the path. If the path in question is considered standard
on your platform, please consider filing a bug report in order to
have it taken into account in a subsequent version of Crypt::SSLeay.
Which SSL install path do you want to use? c:\openssl
c:\openssl does not appear to be an SSL library installation, since
the required header files were not found. The build cannot proceed.
Warning: No success on command[E:\Perl\bin\perl.exe Makefile.PL]
Warning (usually harmless): 'YAML' not installed, will not store persistent stat
e
DLAND/Crypt-SSLeay-0.57.tar.gz
E:\Perl\bin\perl.exe Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Could not read 'E:\Perl\cpan\build\Crypt-SSLeay-0.57-5QWh9O\META.yml'. Falling b
ack to other methods to determine prerequisites
Failed during this command:
DLAND/Crypt-SSLeay-0.57.tar.gz : writemakefile NO 'E:\Perl\bin\pe
rl.exe Makefile.PL' returned status 512 -
When I switch libraries I "lose" the majority of the material in my main library (or at least I can't see it) and can only restore it by repairing the database. Can anyone tell me why this is happening and how I can resolve the problem? Thanks
I seem to have found a way around it. Rather than switching libraries by going into files/switch libraries I used Aperture Preferences to change them. I've done it a couple of times and it appears to work OK.
That is an interesting finding. It suggests, that your "Preferences" file "com.apple.Aperture.plist" may have been corrupted and you fixed it this way. Can you now switch between libraries the usual way? If not, I'd try to remove the "preferences" file from the user library to the Desktop and relaunch Aperture.
The Aperture 3: Troubleshooting Basics:http://support.apple.com/kb/HT3805
describe how to remove the user preferences. -
Automatic backup failed
I have enough capacity but its constantly give me this failure
I cannot safe photo when i see them on a site
What can be the problem ?You say you have enough capacity (on icloud), but it could be that the device's memory is near full (for a backup, the device needs a certain amount of free memory for working files).
Go to
Settings>General>Usage. This tells how much storage is used on both iCloud and on the device.
As for photos - do not use icloud as a storage location for them. First of all, only photos in the camera roll are backed up. Even then, many user have reported that when they have performed a restore of an icloud backup, the photos were not synced and ended up being gone.
IMPORTANT...
Photos should be regularly synced to a computer (like you store photos from a digital camera) using either USB via iTunes (on a mac use iPhoto or Aperture to move them to an album) or using photo stream. If you have been doing that, then you can sync those photos back to your device if ever they get erased on the device.
If you haven't been saving photos except relying on iCloud to store them in a backup, then that is risky, as many users have discovered.
Now - about backups failing...
If you get the error "Backup not successful" and you've tried deleting the last backup and trying to back up manually without luck, try the following test: Go to...
Settings>iCloud>Storage & Backup>manage Storage, tap your device name in the Backups section, then look under Backup options. Turn off all apps from backup and then do a manual backup. If that doesn't work, then this post will not help. If the backup works, then go back to the app list and turn some on and try another backup. If successful, keep repeating these steps. If it fails at some point, then try to zero in on the one app that seems to make the backup fail. (I had this problem and found one app failing, probably due to a corrupt data file.)
This process will take time, but if a backup works with no app data being used but clearly fails with the original settings, then somewhere in the mix of apps is a "bad" one. -
Hi All,
Is there any possibility that, forte can bring
up two replicates of a partition, though it's not load
balanced? Sometimes, When, we bring up the
application, there are 2 active partitions, though we
desire only one. Its not happening regularly, but
sometimes. I killed all the non-ftexec processes and
tried as well, no use so far. Any idea, whats going
wrong there?
Thanks,
Babu
Send instant messages & get email alerts with Yahoo! Messenger.Guys,
As far as I know, it's all very simple. The Autostart feature is used at the
moment an SO is referenced that lives inside a partition that hasn't been
started yet. The first reference to this SO fails, blocks and waits for the
partition to start. All following requests will immediately use this newly
created SO. If a second request is issued while the partition is being
started, then it will block as well and wait for the partition.
However, when the partition is being started by another job, then the
Autostart gets confused. Appearantly, it doesn't know the partition is
already being started and doesn't wait for that to complete, but starts
another instance of the same partition.
So, you start a batchjob that starts partition 1, 2 and 3. But, partition 1
references an SO that lives inside partition 3. Then, the Autostart feature
doesn't know you're busy starting partition 2 and 3 and starts its own
partition 3. Now, you have 2 times partition 3.
So, either
1) Don't use autostart and start everything yourself
2) Rely on autostart and never start anything yourself
3) Start all partitions bottom-up, so all SO-references are only to SO's
that already exist.
4) Individually disable Autostart for partitions that still keep causing
problems.
Pascal Rottier
Origin Nederland (BAS/West End User Computing)
Tel. +31 (0)10-2661223
Fax. +31 (0)10-2661199
E-mail: Pascal.Rottiernl.origin-it.com
++++++++++++++++++++++++++++
Philip Morris (Afd. MIS)
Tel. +31 (0)164-295149
Fax. +31 (0)164-294444
E-mail: Rottier.Pascalpmintl.ch
-----Original Message-----
From: Babu Raj [mailto:ibcsmartboyyahoo.com]
Sent: Tuesday, September 26, 2000 4:30 AM
To: Amin, Kamran; 'Steve Barnes'; Forte-userslists.xpedior.com
Subject: RE: (forte-users) Partition replicate problem
Amin,
If i depend on the AutoStart, then only these
keep alive settings comes into play. But, in my case,
i tried manually bringing up the entire server
partitions, even that time, it creates 2 replicates
sometimes. As theory says that, when we initiate start
up command on the application, rather than individual
partition, forte brings up the partitions, in order,
meaning 1 to 10 ascending order, so how come that
time, it starts at the first instance itself.
I can make here 2 assumptions:
1. It starts order 1 partition, then before it comes
into active partition, node manager starts second one,
which inturn refers 1st one, and environment manager
is not finding the actual partition 1, though it
hasn't registered still, which inturn causes issuing
another startup command for partition 1.
2. Nodemanager have some timing issues like sort of
bug in forte.
Anyway, i greatly appreciate your input.
Thanks,
Babu
--- "Amin, Kamran" <kamran.aminlendware.com> wrote:
We had the same problem with was solved by playing
with the keep alive
setting. I would never turn of Failover and
autostart from my production
environment... It takes a little playing around
with the keep alive setting
but will solve the problem when you get it right.
ka
-----Original Message-----
From: Steve Barnes [mailto:DHS9126dhs.state.il.us]
Sent: Monday, September 25, 2000 11:18 AM
To: Forte-userslists.xpedior.com;
ibcsmartboyyahoo.com
Subject: Re: (forte-users) Partition replicate
problem
We had a problem when our Production environment had
"Autostart" turned on.
What would happen is (for whatever reason) a client
would "lose sight" of
the AIX server (in particular the partition that
holds our EventMgrSO). We
had code to detect this RemoteAccessEvent and
de-register the dead events
and re-register on the new SO (at the time we had
this partition setup for
failover, so there would be another SO "waiting in
the wings").
Well, when we stopped setting that SO up for
failover, the code was still in
place. The PC would lose sight of the partition and
try to connect to the
replicate (which wasn't there). Since AutoStart was
on, the environment
happily started up a new EventMgrSO partition. Now
some clients pointed to
#1, and some to #2. Very bad when everyone needs to
hear the same events.
We've cleaned most of this up, but have learned that
Failover and Autostart
DO NOT belong in a production environment. (maybe
our WAN is just to
unstable!).
Steven Barnes
Babu Raj <ibcsmartboyyahoo.com> 09/24/0012:12PM >>>
Hi All,
Is there any possibility that, forte can bring
up two replicates of a partition, though it's not
load
balanced? Sometimes, When, we bring up the
application, there are 2 active partitions, though
we
desire only one. Its not happening regularly, but
sometimes. I killed all the non-ftexec processes and
tried as well, no use so far. Any idea, whats going
wrong there?
Thanks,
Babu
Send instant messages & get email alerts with Yahoo!
Messenger.
For the archives, go to:
http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To
unsubscribe, send in a new
email the word: 'Unsubscribe' to:
forte-users-requestlists.xpedior.com
For the archives, go to:
http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To
unsubscribe, send in a new
email the word: 'Unsubscribe' to:
forte-users-requestlists.xpedior.com
For the archives, go to:
http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To
unsubscribe, send in a new
email the word: 'Unsubscribe' to:
forte-users-requestlists.xpedior.com
Send instant messages & get email alerts with Yahoo! Messenger.
For the archives, go to: http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com -
hi,
I see that I have a particulier abonnee of my ISP , which has closed all the ports for security reason and they don't want to open any of it 80,443 ect.
suppose If I want to use Essential server 2012 how I can solve this problem , essential wants domain name whith A record.
I asked DDNS service provider if I lease from them a domain name whith A record would that help to open or manipulate the port 80,443 they said that I have to solve this problem myself . they lease only domain names with dynamic dns records.
so what can be a solution the ISP provider won't open this ports , how I can solve this problem . domain name with ip adres is not helping so what it's go to help?
thanks
johan
h.davidThe domain name in this instance is only used for remote access, and is seperate from the active directory domain name.
If your ISP blocks port 80 and 443, and you dont intend to use remote access anyway, the wizard will likely not complete successfully whether you have a valid domain name or not.
Robert Pearman SBS MVP
itauthority.co.uk |
Title(Required)
Facebook |
Twitter |
Linked in |
Google+ -
hello all .. i have a big problem in my ipad version 5.1.1 that is when i connect the ipad with my computer the i tunes give me this message ( itunes couldnt connect to this ipad .an unknown error occurred (0xE8000012).) how i can solve this problem please
and this is an pic for the problemThere is some troubleshooting for 0xE8 error codes on this page : http://support.apple.com/kb/TS3221 - you could see if anything on that page fixes it
-
I can not buy the gem in the "clash of clans" game, It says "My purchase could not be completed". How I can solved this problem?
If you are also getting a message to contact iTunes Support then you can do so via this link and ask them for help (we are fellow users here on these forums, we won't know why the message is appearing) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
-
Hello, my sister her macbook pro cannot connect to our wireless internet. My imac however can, so the problem has to do with her laptop. We were wondering how we could solve this problem? Thank you very much in advance!
We did that, but it just doesn't seem to be able to connect. So basically we tried to connect to our network and insert the password, but afterwards it does nothing. Weird thing is also that the network symbol (top right of the screen) says that it has been connected, but when I go look at the system preferences --> network, it states that it has not been connected
-
When I close my iPhone and I want to open it to use it again, the opening process takes more than an hour, I regretted to buy the iPhone because of this problem that you do not suffer at all with Nokia,how I can solve this problem?
mostafa182 wrote:
... how I can solve this problem?
The Basic Troubleshooting Steps are:
Restart... Reset... Restore from Backup... Restore as New...
Restart / Reset
http://support.apple.com/kb/ht1430
Backing up, Updating and Restoring
http://support.apple.com/kb/HT1414
If you try all these steps and you still have issues... Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step...
Be sure to make an appointment first...
Maybe you are looking for
-
Can i transfer purchases from one account to another?
My son has an iCloud account for his iPod Touch that he has purchased many apps and songs on. His school has assigned new iPads (that us parents have to buy out of pocket) and he was assigned to create a new iCloud account for that iPad that he will
-
An error occurred in the source system when running infopackage
Hello, I am using 0CO_PC_PCP_03 (Product Cost Planning: Itemizations Costing) and cube 0COPC_C10 (Exploded Itemization) in BI. RSA3 extractor checker shows that there is data if you put in a period.But as soon as I run the infopackage I get error
-
Create guides in Illustrator CS4 JS
Hi, I need to create 4 guides in Illustrator page 3/16 inch from each edge of the artboard using javascript. Could someone help me. Thank you very much. Yulia
-
I think I have a file association issue. I have a piece of paper and pencil for a quicktime x icon and quicktime will not open. I have tried to look for ways to uninstall and reinstall quicktime x but I am new to the Macbook Pro so I'm not familiar o
-
I used media encoder to convert my 3 minute widescreen 856x480 video to a 428x240 flv. It plays OK on my computer but after I embed it in a webpage in Dreamweaver and upload it, it plays jittery on the internet. How can I get it play smoothly like al