First attempt at a package - rstudio-desktop-preview

Hi all - I've been interested in providing a package for the preview release of RStudio for quite some time now and I figured that I might as well just give it a shot - what's the worst that could happen.  I read through some of the threads but I guess I just want some feedback on if everything looks alright and if it would be reasonable to submit this to the AUR.  It builds for me and works great on my system.  However I feel like I cheated a little because I just modified the PKGBUILD of rstudio-desktop-bin so that it would work with the preview release; this seems sensible to me but I'm not sure if I need to give the maintainer of that package any credit somewhere.
PKGBUILD:
# Contributor: dasonk < dasonk at gmail dot com >
pkgname=rstudio-desktop-preview
pkgver=0.98.788
pkgrel=1
pkgdesc="A new integrated development environment (IDE) for R (binary version from RStudio official website)"
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.rstudio.org/ide/download/preview"
depends=('r>=2.11.1' 'qtwebkit')
conflicts=('rstudio-desktop' 'rstudio-desktop-git' 'rstudio-desktop-bin')
provides=("rstudio-desktop=${pkgver}")
options=(!strip)
_x86md5=be7da6269c6499770957f478f4eeaf2f
_x64md5=db2fc2ce37dc4d16e12bc95c85eaa731
case "$CARCH" in
'i686')
_arch=i386
md5sums=($_x86md5)
'x86_64')
_arch=amd64
md5sums=($_x64md5)
esac
source=("https://s3.amazonaws.com/rstudio-dailybuilds/rstudio-${pkgver}-${_arch}.deb")
install="$pkgname".install
package() {
msg "Converting debian package..."
cd "$srcdir"
tar zxpf data.tar.gz -C "$pkgdir"
install -dm755 "$pkgdir/usr/bin"
cd "$pkgdir/usr/lib/rstudio/bin"
rm lib*.so.*
cd "$pkgdir/usr/bin"
ln -s -f ../lib/rstudio/bin/rstudio rstudio-bin
rstudio-desktop-preview.install:
post_install() {
[ -e $(which xdg-icon-resource) ] && xdg-icon-resource forceupdate --theme hicolor
update-mime-database /usr/share/mime &>/dev/null
post_upgrade() {
post_install
post_remove() {
post_install
Now I've read that just converting debian packages isn't best practice but it seems reasonable here.  I also read that you really should only provide PKGBUILD for architectures that you've personally tested on - I only tested on amd64 so should I get rid of the i386 (even though I'm pretty sure it'll work just fine)?
Thanks for any feedback.

Trilby wrote:There are already two (redundant) -git packages in the AUR for rstudio - what's different about this one?
Good question!
rstudio-desktop is built from the sources (not the binaries) but it out of date and I'm not interested in the official release
rstudio-desktop-bin is what I based my PKGBUILD off of.  This is using the debian binaries from the official releases to install.  These only get updated every so often (not quite often enough for my liking with how quick Rstudio has been adding new features).
rstudio-desktop-git is the git version of rstudio.  I can't get this to build at the moment and is a little too unstable for my liking.
Rstudio provides 'preview' releases which offer a decent compromise between stability and getting the newest features.  This is what I want to offer.  Honestly if you think that this would just clutter the AUR with something that is unnecessary then I don't need to upload it to the AUR but figured that if I was interested in it then somebody else might be as well.
Lone_Wolf wrote:
dasonk wrote:However I feel like I cheated a little because I just modified the PKGBUILD of rstudio-desktop-bin so that it would work with the preview release; this seems sensible to me but I'm not sure if I need to give the maintainer of that package any credit somewhere.this seems sensible to me but I'm not sure if I need to give the maintainer of that package any credit somewhere.
In these cases it's common practice to add them as contributor.
Note that you should put yourself as maintainer.
i386 : you could comment those lines, and add that they may work but haven't been tested.
you should add -bin to the name of the package.
Thanks for the feedback! I changed the name to rstudio-desktop-preview-bin.  I added Meow as a contributor and changed myself to be the maintainer.  And actually since yesterday they updated the preview release so I upped the version and updated the md5sums. Here is the updated PKGBUILD
# Maintainer: dasonk < dasonk at gmail dot com >
# Contributor: Meow < meow at linux dot cn >
pkgname=rstudio-desktop-preview-bin
pkgver=0.98.792
pkgrel=1
pkgdesc="A new integrated development environment (IDE) for R (The preview binary from the website)."
arch=('x86_64') # May work for i686 but hasn't been tested
license=('GPL')
url="http://www.rstudio.org/ide/download/preview"
depends=('r>=2.11.1' 'qtwebkit')
conflicts=('rstudio-desktop' 'rstudio-desktop-git' 'rstudio-desktop-bin')
provides=("rstudio-desktop=${pkgver}")
options=(!strip)
#_x86md5=13afc95d4d28198a401863418b5b6113
_x64md5=8e2c6a94bc79f8183600d5a480463f19
case "$CARCH" in
# 'i686')
#_arch=i386
#md5sums=($_x86md5)
'x86_64')
_arch=amd64
md5sums=($_x64md5)
esac
source=("https://s3.amazonaws.com/rstudio-dailybuilds/rstudio-${pkgver}-${_arch}.deb")
install="$pkgname".install
package() {
msg "Converting debian package..."
cd "$srcdir"
tar zxpf data.tar.gz -C "$pkgdir"
install -dm755 "$pkgdir/usr/bin"
cd "$pkgdir/usr/lib/rstudio/bin"
rm lib*.so.*
cd "$pkgdir/usr/bin"
ln -s -f ../lib/rstudio/bin/rstudio rstudio-bin
Is that how you envisioned me commenting out the i686 stuff?  Is there anything glaringly wrong with this? Thanks for the feedback and do you think it would be worth it to upload to AUR or should I just keep this to myself...

Similar Messages

  • Horizontal refresh lines appearing on Desktop Preview since 10.6 upgrade

    I just recently upgraded my system to Snow Leopard, and unfortunately I am now getting TERRIBLE horizontal refresh lines during full screen playback in FCP 7 on my 2nd monitor. It is so bad it is unusable.
    When I play back video on with Desktop Preview full screen on my main monitor, the video looks great. I've even plugged the monitors into opposite ports to test and it's definitely not my monitors. The same thing happens on my opposite monitor if it is plugged into the second jack.
    I tried playing back the same footage in Quicktime Pro on both monitors. NO ARTIFACTS.
    I've also reset PRAM, trashed prefs, etc.
    It seems that 10.6 has broken an nVidea video driver and caused a bug in FCP 7 and is causing a terrible refresh line that pokes out in transitions and during bright scenes and contrasty imagery. PLEASE FIX THIS APPLE. I would hate to have to reinstall 10.5 just to use FCP.

    I have tried a few things listed here to correct this problem, I think I have figured it out. The steps I took to get rid of the lines that randomly appeared across the screen (desk top) and with in open windows are as follows:
    First I ran apple jack on auto mode. You have to start up in single user mode. I did this three times as recommend in another forum that I can't remember the site now.
    Second, I freed up some memory. I used appDelete.app and rid my computer of all applications I haven't used or no longer needed.
    After the above steps, I reset the PRAM by restarting while holding the option, command, P & R key down, until the start up chime sounded three times.
    I did this over a week ago and not only is my system running faster, I haven't had one line appear in any open windows or across the display.
    Side note, I recall that the time I started noticing these lines, was shortly after downloading internet explorer, I needed that browser for a job related site that didn't or wouldn't work with Safari or Firefox. After I used that browser for my employer, I never used it again. Shortly after that install, is when I started noticing the lines. I removed that application using appDelete.app and again no lines ever since.
    I hope this helps others.

  • How to restore package contents for preview.app after Mac OS X Lion upgrade

    since installing Mac OS X Lion I have been totally unable to run Preview.app. After having attempted to troubleshoot the problem I discovered that the package contents for the Preview application no longer existds on my hard drive. Does anyone know where I can obtain a another copy of the preview application? or how I might go about restoring the package contents for Preview in order to run Preview.app?

    Use Pacifist to extract it from the InstallESD.dmg residing inside the Install Mac OS X Lion.app.

  • I can copy and paste from mozilla to word in second attempt only first attempt fails and paste a zero sized dot on the word document

    i can copy and paste from Mozilla to word in second attempt only first attempt fails and paste a zero sized dot on the word document.more ever i can not drag fevicon from address bar to my desktop.

    Maybe:<br />
    Dafizilla Table2Clipboard: https://addons.mozilla.org/firefox/addon/1852

  • [Solved] Gnome can't log in on first attempt

    Hi all,
    When I log on to Gnome from GDM, the first attempt gives me the "Oh no, something has gone wrong" screen. The second attempt works.
    I've tried the various things suggested in the relevant forum threads (notably fixing the locale with localectl and reinstalling gdk2-pixbuf), to no avail.
    Here is what I think is the relevant part of the logs:
    Jun 29 12:10:36 mouton gnome-session[598]: (gnome-settings-daemon:643): color-plugin-WARNING **: failed to obtain org.freedesktop.color-manager.create-profile auth
    Jun 29 12:10:36 mouton gnome-session[598]: (gnome-settings-daemon:643): color-plugin-WARNING **: failed to obtain org.freedesktop.color-manager.create-profile auth
    Jun 29 12:10:36 mouton gnome-session[598]: (gnome-settings-daemon:643): color-plugin-WARNING **: failed to obtain org.freedesktop.color-manager.create-profile auth
    Jun 29 12:10:37 mouton gdm-Xorg-:0[321]: The XKEYBOARD keymap compiler (xkbcomp) reports:
    Jun 29 12:10:37 mouton gdm-Xorg-:0[321]: > Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
    Jun 29 12:10:37 mouton gdm-Xorg-:0[321]: > Ignoring extra symbols
    Jun 29 12:10:37 mouton gdm-Xorg-:0[321]: Errors from xkbcomp are not fatal to the X server
    Jun 29 12:10:38 mouton gnome-session[598]: (gnome-shell:686): Gjs-WARNING **: JS ERROR: Error: Argument 'string' (type utf8) may not be null
    Jun 29 12:10:38 mouton gnome-session[598]: _pack_variant@resource:///org/gnome/gjs/modules/overrides/GLib.js:104
    Jun 29 12:10:38 mouton gnome-session[598]: _pack_variant@resource:///org/gnome/gjs/modules/overrides/GLib.js:151
    Jun 29 12:10:38 mouton gnome-session[598]: @resource:///org/gnome/gjs/modules/overrides/GLib.js:261
    Jun 29 12:10:38 mouton gnome-session[598]: _proxyInvoker@resource:///org/gnome/gjs/modules/overrides/Gio.js:78
    Jun 29 12:10:38 mouton gnome-session[598]: _makeProxyMethod/<@resource:///org/gnome/gjs/modules/overrides/Gio.js:124
    Jun 29 12:10:38 mouton gnome-session[598]: LoginManagerSystemd<.getCurrentSessionProxy@resource:///org/gnome/shell/misc/loginManager.js:149
    Jun 29 12:10:38 mouton gnome-session[598]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
    Jun 29 12:10:38 mouton gnome-session[598]: ScreenShield<._init@resource:///org/gnome/shell/ui/screenShield.js:560
    Jun 29 12:10:38 mouton gnome-session[598]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
    Jun 29 12:10:38 mouton gnome-session[598]: _Base.prototype._construct@resource:///org/gnome/gjs/modules/lang.js:110
    Jun 29 12:10:38 mouton gnome-session[598]: Class.prototype._construct/newClass@resource:///org/gnome/gjs/modules/lang.js:204
    Jun 29 12:10:38 mouton gnome-session[598]: _initializeUI@resource:///org/gnome/shell/ui/main.js:166
    Jun 29 12:10:38 mouton gnome-session[598]: start@resource:///org/gnome/shell/ui/main.js:117
    Jun 29 12:10:38 mouton gnome-session[598]: @<main>:1
    Jun 29 12:10:38 mouton gnome-session[598]: Window manager warning: Log level 32: Execution of main.js threw exception: JS_EvaluateScript() failed
    Jun 29 12:10:38 mouton gnome-session[598]: WARNING: App 'gnome-shell.desktop' exited with code 1
    Jun 29 12:10:38 mouton gnome-session[598]: gnome-session[598]: WARNING: App 'gnome-shell.desktop' exited with code 1
    Jun 29 12:10:39 mouton gnome-session[598]: (gnome-shell:703): Gjs-WARNING **: JS ERROR: Error: Argument 'string' (type utf8) may not be null
    Jun 29 12:10:39 mouton gnome-session[598]: _pack_variant@resource:///org/gnome/gjs/modules/overrides/GLib.js:104
    Jun 29 12:10:39 mouton gnome-session[598]: _pack_variant@resource:///org/gnome/gjs/modules/overrides/GLib.js:151
    Jun 29 12:10:39 mouton gnome-session[598]: @resource:///org/gnome/gjs/modules/overrides/GLib.js:261
    Jun 29 12:10:39 mouton gnome-session[598]: _proxyInvoker@resource:///org/gnome/gjs/modules/overrides/Gio.js:78
    Jun 29 12:10:39 mouton gnome-session[598]: _makeProxyMethod/<@resource:///org/gnome/gjs/modules/overrides/Gio.js:124
    Jun 29 12:10:39 mouton gnome-session[598]: LoginManagerSystemd<.getCurrentSessionProxy@resource:///org/gnome/shell/misc/loginManager.js:149
    Jun 29 12:10:39 mouton gnome-session[598]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
    Jun 29 12:10:39 mouton gnome-session[598]: ScreenShield<._init@resource:///org/gnome/shell/ui/screenShield.js:560
    Jun 29 12:10:39 mouton gnome-session[598]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
    Jun 29 12:10:39 mouton gnome-session[598]: _Base.prototype._construct@resource:///org/gnome/gjs/modules/lang.js:110
    Jun 29 12:10:39 mouton gnome-session[598]: Class.prototype._construct/newClass@resource:///org/gnome/gjs/modules/lang.js:204
    Jun 29 12:10:39 mouton gnome-session[598]: _initializeUI@resource:///org/gnome/shell/ui/main.js:166
    Jun 29 12:10:39 mouton gnome-session[598]: start@resource:///org/gnome/shell/ui/main.js:117
    Jun 29 12:10:39 mouton gnome-session[598]: @<main>:1
    Jun 29 12:10:39 mouton gnome-session[598]: Window manager warning: Log level 32: Execution of main.js threw exception: JS_EvaluateScript() failed
    Jun 29 12:10:39 mouton gnome-session[598]: gnome-session[598]: WARNING: App 'gnome-shell.desktop' exited with code 1
    Jun 29 12:10:39 mouton gnome-session[598]: WARNING: App 'gnome-shell.desktop' exited with code 1
    Jun 29 12:10:39 mouton gnome-session[598]: gnome-session[598]: WARNING: App 'gnome-shell.desktop' respawning too quickly
    Jun 29 12:10:39 mouton gnome-session[598]: WARNING: App 'gnome-shell.desktop' respawning too quickly
    Jun 29 12:10:39 mouton gnome-session[598]: Unrecoverable failure in required component gnome-shell.desktop
    Any ideas?
    Last edited by lardon (2014-10-24 13:06:40)

    sorry, no idea. having the same problem here:
    okt 03 17:42:45 olivia gdm-Xorg-:0[715]: Errors from xkbcomp are not fatal to the X server
    okt 03 17:42:45 olivia gnome-session[3379]: (gnome-shell:3528): Gjs-WARNING **: JS ERROR: Error: Argument 'string' (type utf8) may not be null
    okt 03 17:42:45 olivia gnome-session[3379]: _pack_variant@resource:///org/gnome/gjs/modules/overrides/GLib.js:104
    okt 03 17:42:45 olivia gnome-session[3379]: _pack_variant@resource:///org/gnome/gjs/modules/overrides/GLib.js:151
    okt 03 17:42:45 olivia gnome-session[3379]: @resource:///org/gnome/gjs/modules/overrides/GLib.js:261
    okt 03 17:42:45 olivia gnome-session[3379]: _proxyInvoker@resource:///org/gnome/gjs/modules/overrides/Gio.js:78
    okt 03 17:42:45 olivia gnome-session[3379]: _makeProxyMethod/<@resource:///org/gnome/gjs/modules/overrides/Gio.js:124
    okt 03 17:42:45 olivia gnome-session[3379]: LoginManagerSystemd<.getCurrentSessionProxy@resource:///org/gnome/shell/misc/loginManager.js:149
    okt 03 17:42:45 olivia gnome-session[3379]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
    okt 03 17:42:45 olivia gnome-session[3379]: ScreenShield<._init@resource:///org/gnome/shell/ui/screenShield.js:560
    okt 03 17:42:45 olivia gnome-session[3379]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
    okt 03 17:42:45 olivia gnome-session[3379]: _Base.prototype._construct@resource:///org/gnome/gjs/modules/lang.js:110
    okt 03 17:42:45 olivia gnome-session[3379]: Class.prototype._construct/newClass@resource:///org/gnome/gjs/modules/lang.js:204
    okt 03 17:42:45 olivia gnome-session[3379]: _initializeUI@resource:///org/gnome/shell/ui/main.js:166
    okt 03 17:42:45 olivia gnome-session[3379]: start@resource:///org/gnome/shell/ui/main.js:117
    okt 03 17:42:45 olivia gnome-session[3379]: @<main>:1
    okt 03 17:42:45 olivia gnome-session[3379]: Window manager warning: Log level 32: Execution of main.js threw exception: JS_EvaluateScript() failed
    okt 03 17:42:45 olivia gnome-session[3379]: gnome-session[3379]: WARNING: App 'gnome-shell.desktop' exited with code 1
    okt 03 17:42:45 olivia gnome-session[3379]: WARNING: App 'gnome-shell.desktop' exited with code 1
    okt 03 17:42:45 olivia gnome-session[3379]: WARNING: App 'gnome-shell.desktop' respawning too quickly
    okt 03 17:42:45 olivia gnome-session[3379]: gnome-session[3379]: WARNING: App 'gnome-shell.desktop' respawning too quickly
    okt 03 17:42:45 olivia gnome-session[3379]: Unrecoverable failure in required component gnome-shell.desktop
    systemctl restart gdm helps. nvidia 750ti & 3 monitor-setup.

  • FCP6 Digital Cinama Desktop Preview not working

    I've just upgraded from FCP 5.1 to 6.0 and now I can't seem to get desktop preview to work. When I press cmd F12, all I get is audio and a still frame.
    Are others having problems? Have I forgotten a setting?
    Motion, etc preview without any problem - it's just Final Cut that seems stuck.
    Any suggestions welcome.
    17" iMac 2.0ghz, 2gb RAM   Mac OS X (10.4.9)  

    OK - nothing like some embarrassing user stupidity for my first post
    For anyone else newish to FCP who can't figure it out - setting the "Mirror on Desktop" option fixes it all.
    Cheers
    Jeff K

  • Error with first attempts at exporting flash

    The first thing I tried when with CS3 is exporting a project to flash... I got an error with this first attempt which was a CS2 project so I made an all new project just to see it...same message - here it is.
    a DOS window message...
    "OMP abort: Initializing libguide.lib, but found libguide40.lib already initialized.
    This can cause performance degradation.
    Set environment variable KMP_DUPLICATE_LIB_OK=TRUE if you want your program to continue in this case."
    and an error message pop up window that reads...
    "The instruction at '0x186925ab' referenced memory at '0x00000008'. The memory could not be 'reead'. Click on OK to terminate the program"
    Oh I get it! Yeah no I don't. Anybody familiar?

    I called adobe customer support, they are clueless. It is now December (4 months after the first post) This is a linking problem, and the developers are at fault. This is a true bug and not a problem with your computer.
    The fix is as follows (windows xp)
    Add the environment variable KMP_DUPLICATE_LIB_OK=TRUE to windows to fix it. In other words, do what it says.
    1. On the Desktop, Right click on My computer and choose properties
    2. Go to the Advanced Tab and click on the environment variables button
    3. for the top window (user variables) click New.
    4. In variable name enter KMP_DUPLICATE_LIB_OK (all uppercase and include the underscores)
    5. In the Variable value enter TRUE (all uppercase)
    6. Click ok
    7. Do the same thing for second window (system variables)
    8. You should not need to restart your computer, just restart encore.
    If this does not work for you, you either misspelled the variables, or did not capitalize. If it still does not work for you, you may be out of luck.

  • Digital Cinema Desktop Preview (RAW) - sometimes reverses fields playback

    I am running FCP 5.1.1 on Intel and monitoring the video on a broadcast CRT monitor via the Apple DVI to S-Video adapter. The control panel's external monitor settings are set up to standard PAL configuration, so one would assume that in the RAW mode of Digital Cinema Desktop Preview, I should always see a standard PAL output.
    However, somtimes FCP reverses the field order when outputting interlaced footage on the external monitor. This happens randomly. When I stop the sequence and start it again, the fields are reversed again to their correct order.
    I have to use teh RAW preview mode because the other preview modes won't display interlaced footage on a video monitor, but play it as progressive instead.
    Any help with this is appreciated.
    MacBook Pro 17" 2.16GHz   Mac OS X (10.4.7)  

    Jeff,
    First thank you for responding. It is nice to know you're not alone in this world when FCP let you down.
    I looked at the other post. I don't have the space which you are talking about. It's just the same as your screen shot. No line spaces.
    Maybe this additional info will be of any help:
    When I installed FCP 5 I got an error message the first time I started FCP 5. Missing Digital Cinema Desktop Preview. It was the same message you get when you forget to switch on your camera. It tells you that the Fire Wire device is missing. You can either click "check again" or choose "continue".
    After I choose continue I never got the message again.
    I checked if the /Library/QuickTime/DesktopVideoOut.component was missing. I found out that there is absolutely nothing in the folder /Library/QuickTime/ not the folder which is in the library directly under the root directory of the hard disk nor in the library which is situated under "user/library/QuickTime/
    Could that be the problem not only missing 1 file, but missing maybe lots of files.
    Maarten

  • Digital Cinema Desktop Preview is missing

    I'm trying to solve this problem for about 7 days. I can't find anything about this topic. Lots of problems about capturing in FCP 4. I had this problem as well but fixed it, thanks too this forum.
    What's the problem now?
    I upgraded my Mac to Tiger 10.4.3 and I worked for about 2 weeks with FCP HD. Then I upgraded FCP HD to FCP 5. Now FCP only sees the Fire Wire external video when I go to the menu "View" and click "Video Playback". I used to see the Digital Cinema Desktop Preview-Main and Digital Cinema Desktop Preview-RAW options.
    I thought it was the same problem with Quicktime 7 automatic install again. So I manually installed Quicktime 7 without any success.
    I removed the preferences out of the ~/library/preferences/.
    My 2 screens are on the AGP-bus, because that is necessary I read on this forum.
    Can anybody give me a tip how solve this problem. If you need more info just tell me.
    Thanx in advance
    Maarten

    Jeff,
    First thank you for responding. It is nice to know you're not alone in this world when FCP let you down.
    I looked at the other post. I don't have the space which you are talking about. It's just the same as your screen shot. No line spaces.
    Maybe this additional info will be of any help:
    When I installed FCP 5 I got an error message the first time I started FCP 5. Missing Digital Cinema Desktop Preview. It was the same message you get when you forget to switch on your camera. It tells you that the Fire Wire device is missing. You can either click "check again" or choose "continue".
    After I choose continue I never got the message again.
    I checked if the /Library/QuickTime/DesktopVideoOut.component was missing. I found out that there is absolutely nothing in the folder /Library/QuickTime/ not the folder which is in the library directly under the root directory of the hard disk nor in the library which is situated under "user/library/QuickTime/
    Could that be the problem not only missing 1 file, but missing maybe lots of files.
    Maarten

  • Missing Cinema Desktop Preview

    I get the warning: [missing] Cinema Desktop Preview.
    How can I get it back?
    I use FCP 4.5

    Do you have two displays connected to your Radeon 9800 graphics card? I think Cinema Desktop Preview is for the second display, whereas Cinema Desktop Preview - Main is for the first display.

  • Desktop preview is de-interlacing or down-resing and fc hates m2v files

    So, I'm new to FC. I've been using Avid and compositing packages for my video over the last few years.
    I have a second monitor hooked up to my DVI port on my mac book pro. I have its resolution set to a reasonable 1280x800.
    I want to set it to be a full screen preview monitor, so I have the "Digital Cinema Desktop Preview - Full Screen" option selected. I have it set to "Mirror" and I have it set to "All Frames" as per the various posts on this forum suggest.
    I have the following problems:
    If my source file is a m2v (mpeg2) the Viewer and the external monitor lock together. Both scrubbing and playing display each frame identically and in sync with one another (exactly what I want). The only problem, is that FC seems to hate m2v files. Opening a project with over 100 m2v files prompts a 15 minute delay while FC does something with the m2v files. I've tried futzing with the tumbnail cache as other posts on the forum suggest, with no success. Importing m2v files individually prompt a delay of 10 - 20 seconds each (that mov files of the same content do not). That delay appears to be duplicated en-mass when opening a project with m2v sources. So I've given in to transcoding off of m2v and moved on.
    If my source file is a mp4 file or mov file (converted from the m2v, using either mpeg stream clip or compressor), the image on the external display appears to be downres'd, or possibly de-interlaced (and therefore, line doubled, a kind of downres). The viewer however, displays the image at full res. If I make sure to adjust the clip in FC to a field dominance of "none" then cutting the clip into a progressive timeline results in a perfectly fine image. It considers it progressive when it renders to the timeline's codec (btw, leaving the field dominance as something that implies interlacing results in a deinterlace at render, and therefore a loss of resolution). I am however, left with the problem that I even though FC clearly understands that the footage is progressive due to its proper render, the preview on the external monitor will dinterlace it no matter what I do. If I change it to "raw" rather than "full screen" it does infact display it without deinterlacing or downres'ing. However, its small and centered as the source footage in this case is SD in size.
    Beyond the deinerlace/downres issue, when using a mov or mp4 source, the viewer and external monitor do no lock even though I have "mirror" selected and both the viewer and the canvas are set to "Fit to Window" as many posts in this forum have suggested. What I get, is a split of behavior. Playing a source clip plays it on the external monitor but the viewer stays frozen. Scrubbing moves the viewer but the external monitor plays catchup (only updating once a second or so).
    I have tried a bazillion codecs, from h264 to pixlet to photojpeg. They all behave the same with regard to deinterlacing and syncing.
    So, can anyone comment on the behaviors I'm seeing here? They're driving me nuts. All I want is to have a nice fullscreen output on my external display thats the same as on my viewer. Clearly its possible, as the m2v files do it. But as stated, m2vs can't be used for other reasons.
    HELP!?!?!
    -brad

    I can tell the difference between SD footage that has been blown up vs SD footage that has been downres'd and then blown up. This is a case of the latter. The change from full screen to raw very clearly changes the decoded image prior to a scale to the monitor (or in the case of a raw, no scale for the monitor). Its different decoding behavior.
    Again, the image quality and behavior on the m2v files is different and correct. Same source material. Same resolution. Different wrapper format and codec. But for reasons stated prior, not usable due to a FC slowdown with that wrapper format (unless someone knows of a way to overcome that).
    Yes I have opened the manuals. I would not be posting here if the manuals had answered my question. And yes, I've searched the forums for similar issues, and have made note of the solutions and suggestions I've tried. I'm trying to be a good forum citizen here but the tone and caliber or responses are troubling and patronizing.
    Your suggestion is noted but I will turn to other solutions before buying the thousands (if not tens of thousands) of dollars worth of storage required to keep all this footage as DV. That being said, I have transcoded a test clip to DV to check it out and it behaved no differently than the codecs listed prior. I did however, discover some new behavior that may be useful in figuring this out.
    When I make sure to set the footage to "none" for field dominance, and put it in the timeline, as stated, it renders correctly, without a downres. However, when I double click the clip in the timeline, bringing it back into the source viewer window, it starts acting correctly. It is full res, blown up to full screen in the external monitor. It operates in lock step between the viewer and the external monitor. This problem only shows itself when viewing a source clip from a bin that has not been in the timeline yet. I can even drag the clip back into the bin, making a subclip, and the subclip acts correctly. Though, the new sourceclip does have an emtpy filter stack and a inactive motion tab on it now, perhaps indicating why its acting differently.
    I have a functioning xml importer script so I'll take a look and see if there is an element I can add to a clip in a bin that will result in the same "fix" without having to subclip. However, if anyone has any other ideas as to why the viewer and desktop preview is acting so very different playing a directly imported file versus a subclipped but otherwise unaffected file, specifically with regard to resolution or interlacing, I'd be interested to hear them.

  • Why is my Apple ID being locked out every time I go to use it?  I haven't even attempted to log in for about 4 or 5 days, but today on my first attempt to do so, it said my account had been locked for security reasons.  This is the third time.

    I only sign in to iTunes' store about once a week or so.  But during each of my last 3 attempts (on different days, several days apart) on my first attempt to enter my password and hit submit, I am immediately told that my Apple account has been locked for security reasons and it wants to take me to a page to reset my 'forgotten' password.  I am using the CORRECT password.
    Perhaps someone else is trying to break into my account or is mis-entering theirs but my account should not be getting locked like this.  It is very frustrating to have to go through the reset password procedure each and every time I want to go into the store.  It seems to me that Apple really doesn't want me to buy any more apps from them as they keep refusing me entry into my own account, each and every time I have tried to use it, for the past few weeks.  I am not their best customer, but they aren't giving me much of a welcome invitation to become one, if I'm going to be treated like this.
    I just bought my iPhone 4 less than 2 months ago.  I paid extra money to upgrade early, just to get this phone because it was so highly recommended by everyone I spoke with in different stores (BestBuy and Verizon).  I even bought the 2 year upgrade to my Apple services in case I needed to ever call them, and so far I haven't had to, yet.  But I definitely will call them if this isn't straightened out.
    It looks like this other user could be tracked and an email could be sent to them from Apple to let them know what they are doing - trying to sign into the wrong account, and are locking somebody else out of their own account because of their error....and to remind them of their correct information or how to get it and to write it down or save it somewhere so they don't keep on doing this.
    I have seen literally DOZENS of other people in these discussions with exactly the same issue that I'm having so it is NOT an isolated incident, and it seems to be a growing problem as Apple's sales and user base continues to grow, so this problem is seriously needing to be addressed in some way, and soon, before they start losing new customers because of it.  If I was still within my original 14 day return period with this phone, I would definitely be returning it and buying an Android model because of how frustrating this is to me.  If my bank was doing this to me, I'd have already switched banks by now if they hadn't fixed it - just to give an example of how I feel about this.

    For what it's worth, you posted this in 2011, and here in 2014 I am still having this same issue. Over the last two days, I have had to unlock my apple account 8 times. I didn't get any new devices. I haven't initiated a password reset. I didn't forget my password. I set up two factor authentication and have been able to do the unlocking with the key and using a code sent to one of my devices. 
    That all works.
    It's this having to unlock my account every time I go to use any of my devices. And I have many: iMac, iPad, iPad2, iPad mini, iPhone 5s, iPod touch (daughter), and my old iPhone 4 being used as an ipod touch now.  They are all synced, and all was working just fine.
    I have initiated an incident with Apple (again) but I know they are just going to suggest I change my Apple ID. It's a simple one, and one that I am sure others think is theirs. I don't want to change it. I shouldn't have to. Apple should be able to tell me who is trying to use it, or at least from where.
    Thanks for listening,
    Melissa

  • Can I allow two attempts and after the first attempt have a new window open to a url?

    I would like to allow the user two attempts to answer a question. However, after the first attempt, if they get it wrong, I would like a new window to open that takes them to a tutorial Web site we have, where they can find the answer. Then I would like them to be able to close that window and return to the question for the second attempt?
    Is this possible?
    Right now, I have designed a very clunky version of this. I have one question slide with one attempt and if they answer wrong, they go to the next slide, which has a button to the tutorial page. Then the same question slide is repeated, again with one attempt. In this same scenario, if the person got the question right the first time, they moved on to a new question slide. This works, but is bad for scoring and eliminates the possibility of using question pools and putting questions in random order.
    Thanks,
    Carrie

    100 feet would normally not be a problem......if the AirPorts have line-of-sight with each other......but if there are obstructions like walls, ceilings or furniture in the direct signal path between the AirPorts, little if any of the signal will even reach the extending AirPort.
    Try locating the extending AirPort at about 50-60 feet away to see if can pick up a stronger signal to extend.
    It would be much better if you connect the AirPorts using an Ethernet cable, as there is no signal loss in an Ethernet cable up to 300+ feet.

  • First attempt at Producer Consumer Architectu​re: continuous read and dynamicall​y update parameters​.

    Hello,
    I am currently working with two instruments; an Agilent E3646A and an NI 6212 BNC. My objective is to have the 6212 to be continuously taking measurements according to predefined parameters while the E3646A's parameters can be continuously updated. This simple instrument combination is intended to help me learn the necessarry achitecture; continuous measurement, dynamic output control, and more instruments will be added in the future.
    I've previously posted on a similar, but more complicated, setup (http://forums.ni.com/t5/Instrument-Control-GPIB-Se​rial/Split-second-lag-when-controlling-two-instrum​... and was advised to try the Producer Consumer Architecture. I've found relevant literature on the site (http://www.ni.com/white-paper/3023/en/, https://decibel.ni.com/content/docs/DOC-2431), searched the forums and constructed my own VI. While my first attempt at a Producer Consumer Architecture has resolved some of the issues I was having when I first posted on the subject, however, new issues have arisen with regard to reading and stopping the VI.
    I am currently able to run the VI and update the device parameters. Previously, I would get a freeze while the instrument was being updated and could not toggle parameters until it was done. This has been resolved although the read only updates when a parameter has been updated although it is outside of the event structure. Furthermore the Stop button does not work in any context. I've also gotten occasional errors regarding the Deqeue Element but the bulk of the trouble is Error -200279 "Attempted to read samples that are no longer available" at DAQmx Read. I realize that there is a problem in my Producer Loop but haven't been able to figure out how to resolve it.
    This is my first attempt at a Producer Consumer Architecture and already I can see that it is a powerful tool. I read as much as I could and looked at the relevant examples but expected to have some issues in the beginning. Would really appreciate any advice so I can take full advantage of the architecture.
    Hope to hear from you,
    Yusif Nurizade
    Solved!
    Go to Solution.
    Attachments:
    DCe3646A_DAQ6212_Prod_Con_4_13a_2014.vi ‏89 KB

    Jon,
    Thank you for the response and the suggestions.
    I created the Local Variable for the Stop Button and moved the original into its own Event Case. It is now able to stop VI execution although I get Warning -1073676294 which I understand to be the buffer issue. The warning says that this was incurred on VISA Open for the E3646A's Initialize VI which is outside both loops, however, which I don't understand.
    I tried increasing buffer size by decreasing the Number of Samples as per suggestions I found on NI forum threads. I've brought it down as low as 1 but the graph still only updates when an Event occurs and I keep getting the same buffer error. You suggested that the problem could be that they are in the same loop; does this mean that the DAQmx read should be outside both Producer and Consumer Loops or moved into the Consumer Loop? I found a couple of links ( http://forums.ni.com/t5/LabVIEW/Producer-Consumer-​Design-Pattern-DAQmx-Event-Structure/td-p/2744450 ,  http://forums.ni.com/t5/LabVIEW/Producer-Consumer-​Architecture/td-p/494883 -first response) on dealing with an Event Structure that my own VI is based. Alternatively, I found another link ( http://forums.ni.com/t5/LabVIEW/Producer-Consumer-​Design-Pattern-DAQmx-Event-Structure/td-p/2744450 - first response) on a DAQmx Read with an Event Structure that places the graph in the Consumer Loop.
    The core of my purpose in setting up this Producer Consumer Architecture is so that I could read continuously while the instrument parameters are updated dynamically so it's very important that I understand how this works. I am particularly struggling with how the Event Structure is controlling the While Loop's Execution.
    Hope to hear form you,
    Yusif Nurizade
    Attachments:
    DCe3646A_DAQ6212_Prod_Con_4_14a_2014_Edit_I.vi ‏90 KB

  • How do you change the drive that my Iphone backs-up to on my computer?  My first attempt to back-up and i received a pop-up stating that I do not have sufficient memory/space, knowing that I have over 120GB of free space...any ideas? thanks

    How do you change the drive that my Iphone backs-up to on my computer?  My first attempt to back-up and i received a pop-up stating that I do not have sufficient memory/space, knowing that I have over 120GB of free space...any ideas? thanks

    dave0915,
    iTunes stores your iPhone backups in the Library folder in your Home folder.
    iTunes places the backup files in these places:
    Mac: ~/Library/Application Support/MobileSync/Backup/
    Create and delete iPhone, iPad, and iPod touch backups in iTunes
    http://support.apple.com/en-us/HT4946
    Regards,
    Allen

Maybe you are looking for