Using Sed to Patch when building AURs

Im all very new to arch and sed and while im learning fast my understanding of SED isnt good.
how would i use some sed lines if i wanted to patch something?
Im sure there's another post about this somewhere but i either cant find it or dont understand it.
an example i was using to try to teach myself was the unofficial patch to fix the firefox-kde-opensuse AUR.
so far ive sort of figured out how to use sed to edit text files but how to apply that to the AUR has me stumped.
Last edited by MeiMei (2012-04-16 17:15:52)

Oh, thank you. Would it go in the 1st, 2nd, or 3rd place ive listed in that code or somewhere else?
build() {
HERE?(1)
cd "${srcdir}/mozilla-release"
HERE?(2)
patch -Np1 -i "${srcdir}/mozilla-firefox-1.0-lang.patch"
patch -Np1 -i "${srcdir}/firefox-install-dir.patch"
HERE?(3)
Edit: Actually perhaps thats something the wiki can help with.
Last edited by MeiMei (2012-04-16 17:26:21)

Similar Messages

  • [SOLVED] Transient prob, can't resolve host when building AUR packages

    I'm building xscreensaver-arch-logo from the AUR. I downloaded the PKGBUILD into an empty directory, ran
    makepkg -s
    , but I get this error:
    ==> Making package: xscreensaver-arch-logo 5.15-3 (Sat May 12 03:13:31 CDT 2012)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Downloading xscreensaver-5.15.tar.gz...
    Warning: Transient problem: timeout Will retry in 3 seconds. 3 retries left.
    Warning: Transient problem: timeout Will retry in 3 seconds. 2 retries left.
    Warning: Transient problem: timeout Will retry in 3 seconds. 1 retries left.
    curl: (6) Could not resolve host: www.jwz.org; No address associated with hostname
    ==> ERROR: Failure while downloading xscreensaver-5.15.tar.gz
    Aborting...
    My internet connection is working at the moment. I can download the tarball from the AUR (this link: https://aur.archlinux.org/packages.php?ID=26586), but if I place it in the same directory as the PKGBUILD file, I get this error when I run makepkg -s:
    ==> Making package: xscreensaver-arch-logo 5.15-3 (Sat May 12 03:18:59 CDT 2012)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Found xscreensaver-5.15.tar.gz
    ==> ERROR: add-electricsheep.diff was not found in the build directory and is not a URL.
    Any help here? I've read of the benefits of using this package over the one in the official repositories, so I'd prefer to use the AUR version if at all possible.
    Last edited by pythonscript (2012-05-27 16:05:26)

    I believe I did download the wrong source package for xscreensaver, but if I download the package from this link: https://aur.archlinux.org/packages/xs/x … ogo.tar.gz and extract it, these are the files I see.
    add-electricsheep.diff logo-180.png logo-50.png PKGBUILD
    LICENSE logo-180.xpm logo-50.xpm xscreensaver.pam
    That all appears correct. However, running makepkg -s in that directory yields the same error as the original post:
    ==> Making package: xscreensaver-arch-logo 5.15-3 (Fri May 11 23:11:01 CDT 2012)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Downloading xscreensaver-5.15.tar.gz...
    Warning: Transient problem: timeout Will retry in 3 seconds. 3 retries left.
    Warning: Transient problem: timeout Will retry in 3 seconds. 2 retries left.
    Warning: Transient problem: timeout Will retry in 3 seconds. 1 retries left.
    curl: (6) Could not resolve host: www.jwz.org; No address associated with hostname
    ==> ERROR: Failure while downloading xscreensaver-5.15.tar.gz
    Aborting...
    Also, I receive a highly similar error when building the dropbox package from the AUR, which hints to me that this is a wider problem than simply the xscreensaver package. When downloading the dropbox tar file (link to file: https://aur.archlinux.org/packages/dr/d … ox.tar.gz), extracting it and listing the directory yields this:
    dropbox.desktop dropbox.png PKGBUILD terms.txt
    However, the error upon running makepkg -s is similar.
    ==> Making package: dropbox 1.4.3-1 (Fri May 11 23:13:01 CDT 2012)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Downloading dropbox-lnx.x86-1.4.3.tar.gz...
    Warning: Transient problem: timeout Will retry in 3 seconds. 3 retries left.
    Warning: Transient problem: timeout Will retry in 3 seconds. 2 retries left.
    Warning: Transient problem: timeout Will retry in 3 seconds. 1 retries left.
    curl: (6) Could not resolve host: dl-web.dropbox.com; No address associated with hostname
    ==> ERROR: Failure while downloading dropbox-lnx.x86-1.4.3.tar.gz
    Aborting...

  • Why use ojdeploy when building ViewController jar/war?

    Hi,
    It is known that ojdeploy is the recommended way to go when building/deploying an ADF app. The advantages are stated in many blog posts in the web.
    IMHO the most important reason for using ojdeploy instead of javac when creating an EAR is that javac CANNOT validate your BC. This means for example that if you refactor-rename an attribute of a VO and then commit only xml and not the related View Row Impl class, the build in your CI server will succeed if using only javac and fail if using ojdeploy (as it should be). So ojdeploy is the only way when building jars of Model projects if you want to be 100% sure the you have valid ADF code.
    The question is if the is a similar reason for using ojdeploy when building ViewController jars/wars??
    Thanx in advance for any feedback.
    Spyros Doulgeridis
    adfhowto.blogspot.com
    Edited by: spido on Jul 6, 2011 10:04 AM

    ojdeploy makes changes to your descriptors javac or jar does not know about. Actually nobody knows about the changes as you have to look into the war to see them. I'm not even sure that they are documented.
    Timo

  • Using Eclipse project definitions to build the Flex SDK

    It would be great if someone from Adobe could post on the recommended usage of the Eclipse project definitions in the development/eclipse/ subdirectory of the 3.0.x trunk distribution. I would like to debug some compiler modifications that I am working on.
    I saw Peter Farland demo this setup at 360Flex, but was unable to capture all the details of the Eclipse configuration that he discussed in his talk.
    thanks!

    If you go to the framework project’s properties, there is a section called Flex Library Compiler, you want to use a specific flex sdk (add a new sdk which points to the trunk, and use that) — you are probably building /against/ the wrong sdk, right code, wrong compiler.
    - Jono
    From: Ben Clinkinbeard <[email protected]>
    Reply-To: <[email protected]>
    Date: Thu, 3 Apr 2008 12:56:01 -0700
    To: <[email protected]>
    Subject: Re: Using Eclipse project definitions to build the Flex SDK
    A new message was posted by Ben Clinkinbeard in
    Developers --
      Using Eclipse project definitions to build the Flex SDK
    Sorry, I'm not following. My SDK project is from the trunk.
    Thanks,
    Ben
    On Thu, Apr 3, 2008 at 3:32 PM, Jono Spiro <[email protected]> wrote:
    A new message was posted by Jono Spiro in
    Developers --
      Using Eclipse project definitions to build the Flex SDK
    Try changing the sdk for the framework lib project to trunk (you'll need to add a new flex sdk, name it whatever you want) -- it's in the project properties. It's using the wrong compiler.
    - Jono
    From: Ben Clinkinbeard <[email protected]>
    Reply-To: <[email protected]>
    Date: Thu, 3 Apr 2008 05:13:43 -0700
    To: <[email protected]>
    Subject: Re: Using Eclipse project definitions to build the Flex SDK
    A new message was posted by Ben Clinkinbeard in
    Developers --
      Using Eclipse project definitions to build the Flex SDK
    I am running FB on top of Eclipse 3.3.2.
    <http://3.3.2.>  <
    <http://3.3.2.>
    http://3.3.2.>  I checked out the whole SDK trunk and can build the main ant task with no errors. I used the instructions mentioned above to create a Flex framework library project and thats where the error comes in. (I had tried to manually build a framework project a few times and it was a nightmare.) I would probably prefer to work on the 3.0.x branch/tag as I hope to submit a patch or two but saw Joe mention that the project defs only existed in the trunk.
    Searching Google for the oem error turns up lots of links about projects that had assets deleted and the build got confused but following the instructions on how to fix proved unsuccessful.
    Thanks,
    Ben
    On Thu, Apr 3, 2008 at 1:45 AM, Jono Spiro <[email protected]> wrote:
    A new message was posted by Jono Spiro in
    Developers --
      Using Eclipse project definitions to build the Flex SDK
    I always forget what that error means when it comes up -- though it's been ages since I've seen it last, literally.
    Joe: Since you mention Java 1.5, I'm guessing the errors are in the asdoc package? Those should be turned off (read: turned into a warning) -- Eclipse is a little too persnickety about that particular error. There's a preference for this in the Java section under warnings and errors. It's turned off in the trunk dev projects. Otherwise, you should be able to run the compiler directly with no problems (okay, one more caveat: there's a class loader issue with the OEM, fixed in trunk if you look for my Java 1.5 checkin).
    Ben: What is your setup? What are you building (Ryan mentions trunk, Joe mentions 30x), which Eclipse, which dev projects, did you build the sdk from the commandline first, etc.?
    Cheers,
    Jono
    View/reply at Using Eclipse project definitions to build the Flex SDK <
    <http://www.adobeforums.com/webx?13@@.59b4a9d4/3>
    http://www.adobeforums.com/webx?13@@.59b4a9d4/3>
    Replies by email are OK.
    Use the unsubscribe <
    <http://www.adobeforums.com/webx?280@@.59b4a9d4%21folder=.3c060fa3>
    http://www.adobeforums.com/webx?280@@.59b4a9d4%21folder=.3c060fa3>  form to cancel your email subscription.
    View/reply at Using Eclipse project definitions to build the Flex SDK <
    <http://www.adobeforums.com/webx?13@@.59b4a9d4/5>
    http://www.adobeforums.com/webx?13@@.59b4a9d4/5>
    Replies by email are OK.
    Use the unsubscribe <
    <http://www.adobeforums.com/webx?280@@.59b4a9d4%21folder=.3c060fa3>
    http://www.adobeforums.com/webx?280@@.59b4a9d4!folder=.3c060fa3
    <http://www.adobeforums.com/webx?280@@.59b4a9d4%21folder=.3c060fa3> >  form to cancel your email subscription.
    View/reply at Using Eclipse project definitions to build the Flex SDK
    <http://www.adobeforums.com/webx?13@@.59b4a9d4/6>
    Replies by email are OK.
    Use the unsubscribe
    <http://www.adobeforums.com/webx?280@@.59b4a9d4%21folder=.3c060fa3>  form to cancel your email subscription.
    View/reply at Using Eclipse project definitions to build the Flex SDK
    <http://www.adobeforums.com/webx?13@@.59b4a9d4/7>
    Replies by email are OK.
    Use the unsubscribe
    <http://www.adobeforums.com/webx?280@@.59b4a9d4!folder=.3c060fa3>  form to cancel your email subscription.

  • Ora-00922 when building a model with Oracle Data Miner

    Hi,
    i'm using Oracle Data Miner 10.1.0.2 with Database 10.1.0.3.0 under Linux x86.
    The specific patch 10.1.0.3.1 for Data Mining was applied because i didn't manage to execute the models in the tutorial.
    So all were fine, and i succeded creating my own models and i executed them.
    But few months later, i.e now, i'm trying to build som other models but when building i have again the ora - 00922 : missing or invalid option
    I tried applying once again the patch but no effect !
    Is anyone ever faced this problem !?
    Eric

    Hi Xiafang,
    the database were not upgraded but used to build some ETL mappings.
    Here are the results of the SQL statements u gave me
    SQL> connect / as sysdba
    Connected.
    SQL> select value from v$option where parameter like '%Data Minin%';
    VALUE
    TRUE
    FALSE
    SQL> select comp_id, version, status from dba_registry;
    COMP_ID VERSION STATUS
    WK 10.1.0.3.0 VALID
    EM 10.1.0.3.0 VALID
    XDB 10.1.0.3.0 VALID
    AMD 10.1.0.3.0 VALID
    CONTEXT 10.1.0.3.0 VALID
    SDO 10.1.0.3.0 VALID
    ORDIM 10.1.0.3.0 VALID
    EXF 10.1.0.3.0 VALID
    OWM 10.1.0.2.0 VALID
    ODM 10.1.0.3.1 VALID
    CATALOG 10.1.0.3.0 VALID
    COMP_ID VERSION STATUS
    CATPROC 10.1.0.3.0 VALID
    JAVAVM 10.1.0.3.0 VALID
    XML 10.1.0.3.0 VALID
    CATJAVA 10.1.0.3.0 VALID
    APS 10.1.0.3.0 VALID
    XOQ 10.1.0.3.0 VALID
    Is the DM option enabled, i think yes but the SQL answer TRUE and FALSE.
    So, should i enable DM with the commands u gave me ?
    Eric

  • Sedname - Batch rename files using sed

    Renaming files using sed is nothing new, but this script makes the process a little more friendly and adds a few features, including insertion of sequential numbers and a simulation mode.  The output of any find command can also be piped through sedname.
    sedname version 1.0.0
    Batch-renames files using a sed script
    Usage: sedname [OPTIONS] SEDSCRIPT FILE ...
    Usage: find [...] | sedname [OPTIONS] SEDSCRIPT
    Example: sedname 's/\(.*\)\.jpg/\1.jpeg/' *.jpg
    Example: find /mypics | sedname 's/\(.*\)\.jpg/\1.jpeg/'
    OPTIONS:
    --sim simulate only
    --dir rename directories too
    Use #D to insert a number with D digits forming a unique filename
    Example: sedname 's/thisname.*/thatname#3/' *
    ( changes thisname* to thatname001, thatname002, ... )
    Use #0 in replacement name to insert a number if needed
    Example: sedname 's/thisname.*/thatname#0/' *
    ( changes thisname* to thatname, thatname1, thatname2, ... )
    http://igurublog.wordpress.com/download … t-sedname/
    http://aur.archlinux.org/packages.php?ID=37707

    What does it have over zsh's zmv:
    # Remove illegal characters in a fat32 file system. Illegal characters are
    # / : ; * ? " < > |
    # NOTE: ``-Q'' and (D) is to include hidden files.
    $ unwanted='[:;*?\"<>|]'
    $ zmv -Q "(**/)(*$~unwanted*)(D)" '$1${2//$~unwanted/}'
    # Changing part of a filename (i. e. "file-hell.name" -> "file-heaven.name")
    $ zmv '(*)hell(*)' '${1}heaven${2}'
    # or
    $ zmv '*' '$f:s/hell/heaven/'
    # remove round bracket within filenames
    # i. e. foo-(bar).avi -> foo-bar.avi
    $ zmv '*' '${f//[()]/}'
    # serially all files (foo.foo > 1.foo, fnord.foo > 2.foo, ..)
    $ ls *
    1.c asd.foo bla.foo fnord.foo foo.fnord foo.foo
    $ c=1 zmv '*.foo' '$((c++)).foo'
    $ ls *
    1.c 1.foo 2.foo 3.foo 4.foo foo.fnord
    # Rename "file.with.many.dots.txt" by substituting dots (exept for the last
    # one!) with a space
    $ touch {1..20}-file.with.many.dots.txt
    $ zmv '(*.*)(.*)' '${1//./ }$2'
    # Remove the first 4 chars from a filename
    $ zmv -n '*' '$f[5,-1]' # NOTE: The "5" is NOT a mistake in writing!
    # Rename names of all files under the current Dir to lower case, but keep
    # dirnames as-is.
    $ zmv -Qv '(**/)(*)(.D)' '$1${(L)2}'
    # replace all 4th character, which is "1", with "2" and so on
    $ zmv '(???)1(???[1-4].txt)' '${1}2${2}'
    # Remove the first 15 characters from a string
    $ touch 111111111111111{a-z}
    $ zmv '*' '$f[16,-1]'
    # Replace spaces (any number of them) with a single dash in file names
    $ zmv -n '(**/)(* *)' '$1${2//( #-## #| ##)/-}'
    # or - with Bash
    $ find . -depth -name '* *' -exec bash -c '
    > shopt -s extglob
    > file=$1
    > dir=${file%/*}
    > name=${file##*/}
    > newname=${name//*([ -]) *([ -])/-}
    > mv -i -- "$file" "$Dir/$newname"' {} {} \;
    # Clean up file names and remove special characters
    $ zmv -n '(**/)(*)' '$1${2//[^A-Za-z0-9._]/_}'
    # Add *.py to a bunch of python scripts in a directory (some of them end
    # in *.py and give them all a proper extension
    $ zmv -n '(**/)(con*)(#qe,file $REPLY | grep "python script",)' '$1$2.py'
    # lowercase all extensions (i. e. *.JPG) incl. subfolders
    $ zmv '(**/)(*).(#i)jpg' '$1$2.jpg'
    # Or - without Zsh
    $ find Dir -name '*.[jJ][pP][gG]' -print | while read f
    > do
    > case $f in
    > *.jpg) ;
    > *) mv "$f" "${f%.*}.jpg" ;
    > esac
    > done
    # remove leading zeros from file extension
    $ ls
    filename.001 filename.003 filename.005 filename.007 filename.009
    filename.002 filename.004 filename.006 filename.008 filename.010
    $ zmv '(filename.)0##(?*)' '$1$2'
    $ ls
    filename.1 filename.10 filename.2 filename.3 filename.4 filename.5 ..
    # renumber files.
    $ ls *
    foo_10.jpg foo_2.jpg foo_3.jpg foo_4.jpg foo_5.jpg foo_6.jpg ..
    $ zmv -fQ 'foo_(<0->).jpg(.nOn)' 'foo_$(($1 + 1)).jpg'
    $ ls *
    foo_10.jpg foo_11.jpg foo_3.jpg foo_4.jpg foo_5.jpg ...
    # adding leading zeros to a filename (1.jpg -> 001.jpg, ..
    $ zmv '(<1->).jpg' '${(l:3::0:)1}.jpg'
    # See above, but now only files with a filename >= 30 chars
    $ c=1 zmv "${(l:30-4::?:)}*.foo" '$((c++)).foo'
    # Replace spaces in filenames with a underline
    $ zmv '* *' '$f:gs/ /_'
    # Change the suffix from *.sh to *.pl
    $ zmv -W '*.sh' '*.pl'
    # Add a "".txt" extension to all the files within ${HOME}
    # ``-.'' is to only rename regular files or symlinks to regular files,
    # ``D'' is to also rename hidden files (dotfiles))
    $ zmv -Q '/home/**/*(D-.)' '$f.txt'
    # Or to only rename files that don't have an extension:
    $ zmv -Q '/home/**/^?*.*(D-.)' '$f.txt'
    # Recursively change filenames with characters ? [ ] / = + < > ; : " , - *
    $ chars='[][?=+<>;",*-]'
    $ zmv '(**/)(*)' '$1${2//$~chars/%}'
    # Removing single quote from filenames (recursively)
    $ zmv -Q "(**/)(*'*)(D)" "\$1\${2//'/}"
    # When a new file arrives (named file.txt) rename all files in order to
    # get (e. g. file119.txt becomes file120.txt, file118.txt becomes
    # file119.txt and so on ending with file.txt becoming file1.txt
    $ zmv -fQ 'file([0-9]##).txt(On)' 'file$(($1 + 1)).txt'
    # lowercase/uppercase all files/directories
    $ zmv '(*)' '${(L)1}' # lowercase
    $ zmv '(*)' '${(U)1}' # uppercase
    # Remove the suffix *.c from all C-Files
    $ zmv '(*).c' '$1'
    # Uppercase only the first letter of all *.mp3 - files
    $ zmv '([a-z])(*).mp3' '${(C)1}$2.mp3'
    # Copy the target `README' in same directory as each `Makefile'
    $ zmv -C '(**/)Makefile' '${1}README'
    # Removing single quote from filenames (recursively)
    $ zmv -Q "(**/)(*'*)(D)" "\$1\${2//'/}"
    # Rename pic1.jpg, pic2.jpg, .. to pic0001.jpg, pic0002.jpg, ..
    $ zmv 'pic(*).jpg' 'pic${(l:4::0:)1}.jpg'
    $ zmv '(**/)pic(*).jpg' '$1/pic${(l:4::0:)2}.jpg' # recursively
    (from zsh-lovers)
    Edit: tried it now, and had to remove this silly block to make it let me use alternate delimiters:
    if [ "${sedscript:0:2}" != "s/" ]; then
    echo "Invalid sed script: $sedscript" > /dev/stderr
    exit 1
    fi
    Last edited by JohannesSM64 (2010-05-31 15:29:44)

  • Bridge crashes when building cache

    I am trying to index a folder with many images in it. I start Bridge CS4, point it at the folder, and build the cache (with subfolders, with 100% previews), and after a few hours I return to my computer to find that Bridge has crashed. Console messages are below.
    Questions:
    1) Is there any way to pinpoint which file Bridge was working on when it crashed?
    2) Is there any way to build a cache for my disk other than selecting every folder and building a cache separately for that folder? (hours of mindless work)
    3) Anyone else seeing this.
    A note for Adobe, just in case someone is reading this: other programs, like FoxTrot, note which file caused the crash, and skip that file on the next build, which allows you to complete building the cache after multiple invocations of the process--which is much better than Bridge's behavior!
    Console log says the following: What I think it means is that Bridge has a programming error and is using a freed object--which is always a good way to get a segmentation fault!
    12/31/09 3:33:19 PM SubmitDiagInfo[750] Submitted crash report: /Users/alan/Library/Logs/DiagnosticReports/Adobe Bridge CS4_2009-12-23-233429_Ctenophore-2.crash
    12/31/09 3:33:20 PM SubmitDiagInfo[750] Submitted crash report: /Users/alan/Library/Logs/DiagnosticReports/Adobe Bridge CS4_2009-12-27-141729_Ctenophore-2.crash
    1/1/10 1:42:18 PM com.apple.launchd.peruser.501[100] ([0x0-0x225225].com.adobe.bridge3[8965]) Job appears to have crashed: Segmentation fault
    1/1/10 1:42:19 PM ReportCrash[13340] Saved crash report for Adobe Bridge CS4[8965] version 3.0.0.464 (3.0.0.464) to /Users/alan/Library/Logs/DiagnosticReports/Adobe Bridge CS4_2010-01-01-134219_Ctenophore-2.crash
    1/1/10 11:12:40 PM [0x0-0x12012].com.adobe.bridge3[144] Adobe Bridge CS4(144,0xb0e44000) malloc: *** error for object 0x2216fbd0: pointer being freed was not allocated
    1/1/10 11:12:40 PM [0x0-0x12012].com.adobe.bridge3[144] *** set a breakpoint in malloc_error_break to debug
    1/1/10 11:12:40 PM [0x0-0x12012].com.adobe.bridge3[144] Adobe Bridge CS4(144,0xb0e44000) malloc: *** error for object 0x21538b10: pointer being freed was not allocated
    1/1/10 11:12:40 PM [0x0-0x12012].com.adobe.bridge3[144] *** set a breakpoint in malloc_error_break to debug
    1/1/10 11:12:40 PM [0x0-0x12012].com.adobe.bridge3[144] Adobe Bridge CS4(144,0xb1361000) malloc: *** error for object 0x21538b14: incorrect checksum for freed object - object was probably modified after being freed.
    1/1/10 11:12:40 PM [0x0-0x12012].com.adobe.bridge3[144] *** set a breakpoint in malloc_error_break to debug
    1/1/10 11:25:48 PM [0x0-0x12012].com.adobe.bridge3[144] Adobe Bridge CS4(144,0xb0e44000) malloc: *** error for object 0x216ebf90: pointer being freed was not allocated
    1/1/10 11:25:48 PM [0x0-0x12012].com.adobe.bridge3[144] *** set a breakpoint in malloc_error_break to debug
    1/1/10 11:25:48 PM [0x0-0x12012].com.adobe.bridge3[144] Adobe Bridge CS4(144,0xb0e44000) malloc: *** error for object 0x216d81a0: pointer being freed was not allocated
    1/1/10 11:25:48 PM [0x0-0x12012].com.adobe.bridge3[144] *** set a breakpoint in malloc_error_break to debug
    1/1/10 11:25:48 PM [0x0-0x12012].com.adobe.bridge3[144] Adobe Bridge CS4(144,0xb12df000) malloc: *** error for object 0x216d81a4: incorrect checksum for freed object - object was probably modified after being freed.
    1/1/10 11:25:48 PM [0x0-0x12012].com.adobe.bridge3[144] *** set a breakpoint in malloc_error_break to debug
    1/1/10 11:25:49 PM [0x0-0x12012].com.adobe.bridge3[144] Adobe Bridge CS4(144,0xb0dc2000) malloc: *** error for object 0x216ebfb4: incorrect checksum for freed object - object was probably modified after being freed.
    1/1/10 11:25:49 PM [0x0-0x12012].com.adobe.bridge3[144] *** set a breakpoint in malloc_error_break to debug
    1/1/10 11:25:49 PM [0x0-0x12012].com.adobe.bridge3[144] Adobe Bridge CS4(144,0xb0dc2000) malloc: *** error for object 0x216ebfd4: incorrect checksum for freed object - object was probably modified after being freed.
    1/1/10 11:25:49 PM [0x0-0x12012].com.adobe.bridge3[144] *** set a breakpoint in malloc_error_break to debug
    1/1/10 11:25:49 PM [0x0-0x12012].com.adobe.bridge3[144] Adobe Bridge CS4(144,0xb0dc2000) malloc: *** error for object 0x216d81a4: incorrect checksum for freed object - object was probably modified after being freed.
    1/1/10 11:25:49 PM [0x0-0x12012].com.adobe.bridge3[144] *** set a breakpoint in malloc_error_break to debug
    1/1/10 11:25:49 PM [0x0-0x12012].com.adobe.bridge3[144] Adobe Bridge CS4(144,0xb0dc2000) malloc: *** error for object 0x216d81a0: pointer being freed was not allocated
    1/1/10 11:25:49 PM [0x0-0x12012].com.adobe.bridge3[144] *** set a breakpoint in malloc_error_break to debug
    1/1/10 11:26:01 PM ReportCrash[275] Saved crash report for Adobe Bridge CS4[144] version 3.0.0.464 (3.0.0.464) to /Users/alan/Library/Logs/DiagnosticReports/Adobe Bridge CS4_2010-01-01-232600_Ctenophore-2.crash
    1/1/10 11:26:47 PM com.apple.launchd.peruser.501[105] ([0x0-0x12012].com.adobe.bridge3[144]) Job appears to have crashed: Segmentation fault
    A

    Not many here are capable of reading crash reports, neither can I.
    It still isn't a good idea to use Bridge for caching large amount of files
    in a variety of subfolders to use it for Digital Asset Management. Bridge is
    a very fine application for ingestion files, sorting, rating renaming,
    adding metadata and developing using ACR.
    But with the current use of cache management I'm afraid it is not reliable
    for use as DAM. For this you should look at typical DAM apps like Canto
    Cumulus, Media Expression or Extensis Portfolio.
    I have tried several times to cache large amounts but after many
    disappointments I stopped using it for this purpose, still I advocate the
    use of Bridge for the before mentioned purposes!
    The easiest way to use the build cache for subfolders is to select the main
    folder containing all the subfolders in Bridge and then use the menu:
    tools-cache-build cache.
    Then again, it would not be my choice to use the generate 100% previews.
    This will take a lot of disk space (just look for the cache folder for
    Bridge (user lib-caches-Adobe-BridgeCS4-cache) point to this last cache
    folder and use info to calculate the total size of this folder, with this
    settings it can grow to very huge proportions.
    When Bridge is caching and having a crash it might have also an other reason
    then a wrong file (remember that with your settings it needs a lot of disk
    space and takes a great deal of your processor activity.
    But the most easy (but not fast) way to look for a corrupted file is to
    divide the problem folder in half and every time you have a problem again
    divide this one in half until you reach the problem file.
    Questions:
    1) Is there any way to pinpoint which file Bridge was working on when it
    crashed?
    2) Is there any way to build a cache for my disk other than selecting every
    folder and building a cache separately for that folder? (hours of mindless
    work)
    3) Anyone else seeing this.

  • Error 1073 (on Clear Errors.vi) When Building Applicatio​n in LV 8.2

    I have seen numerous posts about this problem when building an application without a block diagram in LV 7.x, however, I am recieving this error on LV 8.2.  Whats most disturbing about it, is that it always hangs when processing Clear Errors.vi.  I have tried my source on two different machines, to no avail.  Also I tried to do a mass recompile of the entire vi.lib again no help.  It is very important that this program compiles, however I cannot get past this error.  Any suggestions?
    My specific error message is here:
    Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
    Error 1073 occurred at ABAPI Dist disconnect td-poly.vi -> ABAPI Dist Chg and Save VIs.vi -> ABAPI Dist Build LLB Image.vi -> ABAPI Copy Files and Apply Settings.vi -> EBEP_Invoke_Build_Engine.vi -> EBUIP_Build_Invoke.vi -> EBUIP_Build_Invoke.vi.ProxyCaller
    Possible reason(s):
    LabVIEW:  This property is writable only when the VI is in edit mode, or this method is available only when the VI is in edit mode.
    -Paul

    Hello Paul,
    I am sorry for not elaborating previously.  This issue has been documented previously for further investigation to our R&D group (# 3ZK9LGP2).  In the report I found that this error, though vague in the description, is fixed by enabling MathScript Support. 
    To enable MathScript support, check the checkbox in the application properties for the 'Enable MathScript support' option.
    -Bob
    -Bob

  • Flex 2 charting trial watermark appears when building via Ant

    The trial watermark appears when building with the flex Ant
    tasks, but not via Flex Builder 2. I believe the Ant tasks set up
    the compiler options with the same arguments in FB, and the build
    library path is also the same, but the trial watermark still
    appears.
    The charting source has been extracted into the Flex SDK 2
    directory, and the license key appears in the
    frameworks/license.properties file. As far as I know, these are the
    only steps needed to install the paid version of the charting
    tools. If I missed something, please let me know.
    Thanks in advance,
    KaJun

    Just an update on this issue:
    If I run the mxmlc compiler from the command line, I found
    that the output .swf does not have the watermark. It seems to be a
    bug in the Adobe Flex Ant tasks. I've changed the build script to
    use an exec call to the compiler instead.
    Thanks,
    KaJun

  • All of a sudden only 4x and 8 x write speeds are available when building DVD

    I have been using Encore successfully for several months to burn my indie film onto DVD for grant proposals . I found if I used a 1x write speed my DVDs played on most DVD players and computers.
    As of yesterday all of a sudden and for no reason (I made no chances to my computer that day) the only write speeds available to choose from when building a DVD were 4x and 8X and when I burn a DVD at these speeds it does not play well enough to watch.
    I rebooted my computer and even tried restored my computer to the states it was in a few days ago but nothing worked...in terms of getting back the broader choice of write speeds.
    I called adobe Technical support and they said that I would need to pay for support to fix the problem...does any one know how I can fix this without having to pay adobe lots of money for tech support
    Kathleen

    a) The drive's lifecycle counter has kicked in. If so, it would prevent non-optimal software-controlled modes and only allow burning at its native speeds to extend life expectancy.
    b) Some other tool that accessed the disc drive and reset its config data.
    c) Windows itself has for some reason initiated a new hardware detection and reset driver config.
    In any case, it would seem that you will have to re-initialize manually. Remove the drive from your device manager and have Windows scan for new hardware. Do so with admin privileges. Windows should automatically re-install the required drivers, but with default settings. Also check this: http://support.microsoft.com/kb/314060. even though Encore doesn't give any error, the case listed under 1) may apply - if the driver is not installed correctly, it would report incorrect burn speeds.
    Mylenium

  • Error when  building a report from 2 different subject areas

    Hello Experts,
    I am using obiee 11.1.1.5.
    I have 5 dimension D1,D2,D3,D4,D5 connected to fact1 and 4 dimension connected to fact2 such as D1,D2,D6,D7.
    where D1,D2 is common to both the facts.
    Fact1 Is in subject area 1 and Fact2 is in subject area2.
    I need to create a report by adding columns of  subject area 1 and 2 with columns from all the dimensions D1,D2....D7.
    As of now i am getting error stating "No fact table exists at the requested level of detail " when i try to add columns from 2 different subject areas.
    Can anyone help me in solving the above problem.
    Is there any prerequisite to be taken care when  building a report from 2 different subject areas.
    Regards,
    NN

    Hello Nagireddy,
    So kind of you, for your quick reply
    I was able to solve the error by doing below steps in additional what you have specified
    -->For the fact table LTSs, set the logical level in the Content tab to the dimension's lowest level for each conforming dimension (leave the non-conforming dimensions level blank).
    Now I have another requirement i,e
    I need to have non measure columns such as Date into the newly created fact in BMM layer.
    I tried doing the steps which I followed for measure column, but it is throwing the same error which I get earlier.
    Below is the error
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 14025] No fact table exists at the requested level of detail:
    Let me know if have any suggestions

  • How to use "do shell script" when Terminal replies with a prompt?

    Hey all,
    I'm wondering how to properly use "do shell script" when Terminal replies with a question? In this example, I'm building a small tool in AppleScript that will auto-update the Android SDK via command line prompts. The problem is when I tell it to update all ("update sdk --no-ui"), I need to accept licence agreements before it continues, and the amount of licence agreements brought up is different every time.
    So, basically, I'm wondering how to handle a case where "do shell script" encounters a case where Terminal would normally need a user's response to?
    Thanks,
    Behn

    If it is variable number of prompts that is a problem.  Look around hd and figure out how many prompts there will be. Ask around android forum for a bash solution. There are some test case apps that will let you put conditionals on output from running programs.
    # traditional way.  Pipe output to command.
    do script "echo 'ok' | update sdk --no-u"
    Here is the preferred way of getting administrator privileges.
    It is easier to diagnose problems with debug information. I suggest adding log statements to your script to see what is going on.  Here is an example.
        Author: rccharles
        For testing, run in the Script Editor.
          1) Click on the Event Log tab to see the output from the log statement
          2) Click on Run
        For running shell commands see:
        http://developer.apple.com/mac/library/technotes/tn2002/tn2065.html
    on run
        -- Write a message into the event log.
        log "  --- Starting on " & ((current date) as string) & " --- "
        --  debug lines
        set unixDesktopPath to POSIX path of "/System/Library/User Template/"
        log "unixDesktopPath = " & unixDesktopPath
        set quotedUnixDesktopPath to quoted form of unixDesktopPath
        log "quoted form is " & quotedUnixDesktopPath
        try
            set fromUnix to do shell script "sudo ls -l  " & quotedUnixDesktopPath with administrator privileges
            display dialog "ls -l of " & quotedUnixDesktopPath & return & fromUnix
        on error errMsg
            log "ls -l error..." & errMsg
        end try
    end run

  • NoClassdefFoundError on the third-party jar's classes when building APK

    I am building a native extension for Android.
    For the android library, I create a android project and add several third-party jar files to build path.
    I extract a jar file from a android project and merge it and third-party jar files into a single jar file.
    I package ANE using a merged jar file and build a APK.
    When I install a APK and launch it, NoClassdefFoundError on the third-party class occurs.
    I use Flash Builder 4.6 and set sdk version to the Flex SDK 4.6.0 + AIR SDK 15.0.0.356.
    I decompile APK and check the classes.dex.
    Strangely a certain jar's classes are missing in the classes.dex.
    I tried googling and found a similar case.
    The following is the link :
    http://stackoverflow.com/questions/24777394/noclassdeffounderror-on-thirdparty-class-files -when-building-adobe-native-extens
    I try to follow the answer in this link.
    Did dx.jar in the AIR SDK really strip out some classes of third-party jar file??
    I inquired the java version of the third-party related with NoClassdefFoundError.
    Now I am waiting for the reply.
    Is anybody else know about this?

    The android-support-v4.jar is same.
    I check android-support-v4.jar's classes in ANE.
    But they are missing in APK after release build.
    I don't know why.
    I use Flash Builder 4.6 and Flex SDK 4.6.0 + AIR SDK 15.0.0.356.
    Is there anyone else know about this???

  • Error when building application with Excel included

    Hi All !
    I've read several post on problems with Report Generation Toolkit when building applications that uses Excel or Word interactivity.
    I've included both _Excel Dynamic VIs.vi and _Word Dynamic VIs.vi in my project and added them to the dynamic vis and support files.
    When building I get the error :
    The VI is broken. Open the VI in LabVIEW and fix the errors.
    C:\Programmer\National Instruments\LabVIEW 8.2\vi.lib\addons\_office\_exclsub.llb\_Excel Dynamic VIs.vi
    When opening that VI there is no broken arrow and all the vi's included in this is not broken either.
    I've tried mass compiling and so on but so far luck.
    Regards Morten Kahr
    Regards Kahr
    Certified LabVIEW Architect
    CIM A/S

    If you do a search on this forum you will find this to be a common and vexing problem. I myself had this same exact problem about a year ago, and it took me the better part of a day to track it down. As you will find by reading the various threads on this problem, there seems to be no specific cause for this, and it remains a mystery, and the solutions are no better than chanting voodoo, and probably just as effective.
    One thing you can try is to force a recompile of your VI hierarchy. Open you top-level VI. If it's set up to run when opened, stop it. Hold down the Control key and click the run button. This will force a recompile of the application. Sometimes this works, sometimes it doesn't. Like I said, voodoo.
    Another thing to look for is to check if you are using any diagram disable structures or case structures with a constant wired, as in trying to use the case structure to comment out code.
    Are you using classes and passing by reference? There was a mention of this here.

  • Adding Booking Type Field When Building Teams via Resource Plans

    Question for the Project Server 2010 experts out there...
    When building a team for a Resource Plan via PWA, the Booking Type field does not display on the right side of the page (PWA/RM/BuildResPlanTeam.aspx) which makes it difficult to change the resource from Committed (our default) to Proposed. 
    Is there any way to add the field? 
    I do realize that after building your team you can drill into each resource and change the Booking Type using the "Edit Cutom Fields" function, however, the Booking Type field displays when building your team for Project so it seems odd
    that the field does not diplay when building a team for Resource Plans.
    Thanks!

    jebrabazon2,
    1) When you are changing the Booking Type using the "Edit Custom Fields:, you are actually changing the Resource's Default Booking Type across PWA, and not just for that Resource Plan.
    2) I agree that it would be intutive to have the  "Build Team"
    within the Projects vs. Resource Plans be the same, and I am not sure why there is a discrepancy, but here is a solution. You can display the booking type field within the "Resource Plan" view, so that users do not have to drill down into
    each resource. Please see the image below (from 2013, but applies to 2010).
    Cheers,
    Prasanna Adavi, Project MVP
    Blog:
      Podcast:
       Twitter:   
    LinkedIn:
      

Maybe you are looking for