Ruby gem Psych::SyntaxError (no file specified) (SOLVED)
I'm trying to install some cool ruby gems, and at first it worked fine. Just installed ruby by with
sudo pacman -S ruby
and then I managed to install some gems with
gem install _random_gem_
When I tried to install another gem, shopify_theme, I started getting the famous "failed building native gem extension". I tried to fix it, I don't know if I did, but still I rebooted after a while and whop, it looked like it was installing as it should. I then tried to add the ruby gem to the PATH, and after that, everytime I type 'gem' I get:
[user@arch]$ /usr/bin/gem
/usr/lib/ruby/2.0.0/psych.rb:205:in `parse': (<unknown>): found character that cannot start any token while scanning for the next token at line 3 column 1 (Psych::SyntaxError)
from /usr/lib/ruby/2.0.0/psych.rb:205:in `parse_stream'
from /usr/lib/ruby/2.0.0/psych.rb:153:in `parse'
from /usr/lib/ruby/2.0.0/psych.rb:129:in `load'
from /usr/lib/ruby/2.0.0/rubygems/config_file.rb:318:in `load_file'
from /usr/lib/ruby/2.0.0/rubygems/config_file.rb:191:in `initialize'
from /usr/lib/ruby/2.0.0/rubygems/gem_runner.rb:66:in `new',
from /usr/lib/ruby/2.0.0/rubygems/gem_runner.rb:66:in `do_configuration'
from /usr/lib/ruby/2.0.0/rubygems/gem_runner.rb:46:in `run'
from /usr/bin/gem:21:in `<main>'
It doesn't even have to be a gem command, like gem list, or gem install. Whatever I type gives me the same error. I've tried uninstalling and reinstalling ruby, compiling it from source as well, but no luck. Since neither the bad character or the file in which the error occur isn't specified (maybe it is? I can't see it though), I'm having a hard time tracking it down and doing something about it.
Any bright minds with the same experience out there? I'd love any help I can get :)
Thanks in advance!
Last edited by kottmaskinen (2013-09-26 10:29:01)
AAAAAaaaahhhyeeeahh!!
My ~/.gemrc had the wrong gem path in it!
It had a dash and a new line in it, which wasn't cool, so I removed it and now it works Wow! I've been looking a week for how to solve this. This feels like christmas
Similar Messages
-
[SOLVED]Ruby Gem gtk3 Won't Install
I wrote a ruby program that uses gtk3, which I had installed from AUR using yaourt. Recently I noticed that the package has been orphaned, so I decided, possibly unwisely, to uninstall the AUR package and install the gem via 'gem install gtk3'. Unfortunately I get this result:
Building native extensions. This could take a while...
ERROR: Error installing gtk3:
ERROR: Failed to build gem native extension.
/usr/bin/ruby -r ./siteconf20150422-3325-14ntm49.rb extconf.rb
checking for --enable-debug-build option... no
checking for -Wall option to compiler... yes
checking for -Waggregate-return option to compiler... yes
checking for -Wcast-align option to compiler... yes
checking for -Wextra option to compiler... yes
checking for -Wformat=2 option to compiler... yes
checking for -Winit-self option to compiler... yes
checking for -Wlarger-than-65500 option to compiler... yes
checking for -Wmissing-declarations option to compiler... yes
checking for -Wmissing-format-attribute option to compiler... yes
checking for -Wmissing-include-dirs option to compiler... yes
checking for -Wmissing-noreturn option to compiler... yes
checking for -Wmissing-prototypes option to compiler... yes
checking for -Wnested-externs option to compiler... yes
checking for -Wold-style-definition option to compiler... yes
checking for -Wpacked option to compiler... yes
checking for -Wp,-D_FORTIFY_SOURCE=2 option to compiler... yes
checking for -Wpointer-arith option to compiler... yes
checking for -Wswitch-default option to compiler... yes
checking for -Wswitch-enum option to compiler... yes
checking for -Wundef option to compiler... yes
checking for -Wout-of-line-declaration option to compiler... no
checking for -Wunsafe-loop-optimizations option to compiler... yes
checking for -Wwrite-strings option to compiler... yes
checking for rb_define_alloc_func() in ruby.h... yes
checking for rb_block_proc() in ruby.h... yes
checking for new allocation framework... yes
checking for attribute assignment... no
checking for Windows... no
checking for gobject-2.0 version (>= 2.12.0)... yes
checking for gthread-2.0... yes
checking for unistd.h... yes
checking for io.h... no
checking for g_spawn_close_pid() in glib.h... yes
checking for g_thread_init() in glib.h... yes
checking for g_main_depth() in glib.h... yes
checking for g_listenv() in glib.h... yes
checking for rb_check_array_type() in ruby.h... yes
checking for rb_check_hash_type() in ruby.h... yes
checking for rb_exec_recursive() in ruby.h... yes
checking for rb_errinfo() in ruby.h... yes
checking for rb_sourcefile() in ruby.h... yes
checking for rb_sourceline() in ruby.h... yes
checking for ruby_set_current_source() in ruby.h... no
checking for rb_thread_call_without_gvl() in ruby.h... yes
checking for ruby_native_thread_p() in ruby.h... yes
checking for rb_thread_call_with_gvl() in ruby.h... yes
checking for rb_str_new_cstr() in ruby.h... yes
checking for rb_gc_register_mark_object() in ruby.h... yes
checking for rb_exc_new_str() in ruby.h... yes
checking for curr_thread in ruby.h,node.h... no
checking for rb_curr_thread in ruby.h,node.h... no
creating ruby-glib2.pc
creating glib-enum-types.c
creating glib-enum-types.h
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling rbglib_win32.c
compiling rbglib_ucs4.c
compiling glib-enum-types.c
glib-enum-types.c: In function 'g_win32_os_type_get_type':
glib-enum-types.c:85:9: error: 'G_WIN32_OS_ANY' undeclared (first use in this function)
{ G_WIN32_OS_ANY, "G_WIN32_OS_ANY", "any" },
^
glib-enum-types.c:85:9: note: each undeclared identifier is reported only once for each function it appears in
glib-enum-types.c:86:9: error: 'G_WIN32_OS_WORKSTATION' undeclared (first use in this function)
{ G_WIN32_OS_WORKSTATION, "G_WIN32_OS_WORKSTATION", "workstation" },
^
glib-enum-types.c:87:9: error: 'G_WIN32_OS_SERVER' undeclared (first use in this function)
{ G_WIN32_OS_SERVER, "G_WIN32_OS_SERVER", "server" },
^
Makefile:237: recipe for target 'glib-enum-types.o' failed
make: *** [glib-enum-types.o] Error 1
make failed, exit code 2
I found this bug report, but I can't tell if this is related or not.
I can successfully install other gems.
I tried going back to the AUR package, but now I get this error:
error: failed to commit transaction (conflicting files)
ruby-pkgconfig: /usr/lib/ruby/gems/2.2.0/cache/pkg-config-1.1.6.gem exists in filesystem
gem list produces this:
*** LOCAL GEMS ***
bigdecimal (1.2.7, 1.2.6)
io-console (0.4.3)
json (1.8.2, 1.8.1)
minitest (5.6.0, 5.4.3)
pkg-config (1.1.6)
power_assert (0.2.3, 0.2.2)
psych (2.0.13, 2.0.8)
rake (10.4.2)
rdoc (4.2.0)
test-unit (3.0.9, 3.0.8)
I ran 'gem uninstall pkg-config' and retried the AUR package install with the same result.
Last edited by deryl (2015-04-23 12:19:04)Your gem compilation hit known upstream bug https://github.com/ruby-gnome2/ruby-gnome2/issues/361 Here is a patch that fixes ruby-glib2 https://projects.archlinux.org/svntogit … ruby-glib2 I do not know if ruby-gtk3 should be patched or not (most likely not).
To fix "gem exists in filesystem" error you need to remove all the gems installed globally (to /usr/...). The best way is to use lostfiles package from AUR.
Last edited by anatolik (2015-04-23 02:53:08) -
Ruby gems installed from AUR leave files behind if removed again
Most Ruby gems in the AUR use the PKGBUILD snippet provided by http://wiki.archlinux.org/index.php/Rub … Guidelines – now I think that using "gem install" will avoid the sandbox and also make it impossible for yaourt/clyde/… to keep track of the installed files. As a result of this, removing an installed package again (with `{yaourt,clyde,…} -R <package>` will *not* uninstall the gem, at all.
A quick test demonstrates this:
$ gem list | grep hmac
$ yaourt -S ruby-hmac
$ gem list | grep hmac
ruby-hmac (0.4.0)
$ yaourt -R ruby-hmac
$ gem list | grep hmac
ruby-hmac (0.4.0)
As you can see, the gem is still there.
Doesn't that defeat the purpose of using packages?I can't reproduce this, neither with ruby-hmac nor with my own gem based ruby packages on aur (e.g. ruby-uuid or ruby-macaddr). Pacman says Installed/removed size for ruby-hmac is 0.42MB.
What's notable is that your gem version (1.3.6) is not the one currently shipped with arch's ruby package (1.3.1). Where does your gem installation come from?
On my system:
~$» pacman -Qo gem
/usr/bin/gem is owned by ruby 1.9.1_p429-1
~$» gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.1
- RUBY VERSION: 1.9.1 (2010-07-02 patchlevel 429) [i686-linux]
- INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.9.1
- RUBY EXECUTABLE: /usr/bin/ruby
- EXECUTABLE DIRECTORY: /usr/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /usr/lib/ruby/gems/1.9.1
- /home/chenno/.gem/ruby/1.9.1
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://gems.rubyforge.org/ -
When I start Firefox, the following message appears before the home page opens:
"COMMONSHELL: McShield.dll
The specified resource language ID cannot be found in the image file.
McShield.dll: The system cannot find the file specified."
I click OK, Firefox opens normally and everything seems to operate as expected, no further problems.hello, the error message is obviously coming from one of the installed mcafee extensions. please directly contact mcafee technical support - they can likely give you more detailed guidance and are the only ones who can fix bugs or make necessary adjustments in the addon.
-
[Solved] Ruby - Gem bundle install no longer works
Hi,
I am new to Linux, Arch and Ruby.
About 3 days ago I installed Arch on my virtualbox.
After I was happy with my installation (openbox as WM) I installed ruby.
I was able to install a project (Gemfile) using the command:
gem bundle install (from the terminal)
(That was after installing the bundle gem from within ruby: gem install bundle)
Today, after updating my Arch system, I had to install that project again (for reasons related to the project), and I cannot.
I write in the terminal:
gem bundle install
and get:
ERROR: While executing gem ... (RuntimeError)
Unknown command bundle
I searched the forums, but there's nothing relevant that I could find.
Can someone help?
Edit:
After more tries and searches I have found:
1. This has nothing to do with the Arch update as I feared.
2. The command to run is "bundle install" not as I initially did.
Apologies for cluttering the forum.
Last edited by Tronn (2012-07-24 06:07:18)bradmccormack wrote:
Hi mavenik,
Whilst it is not the best way to do it, the following worked for me
1) install gcc44 from AUR (you can probably use gcc45 too). If you are not sure how to do that please search the forums for installing from Aur or Aur wrappers (I use packer)
packer -S gcc44.
2) After it is installed temporarily rename your current gcc (4.7.x)
sudo mv /usr/bin/gcc /usr/bin/gcc4.7
3) create a symlink to gcc4.4.x
sudo ln -s /opt/gcc-4.4/gcc /usr/bin/gcc
Test gcc version by doing
gcc --version
It should say 4.4.6 or similar
4) install ruby1.8 or ruby-enterprise from Aur (if this is required for redmine)
packer -S ruby-enterprise
ruby will now be compiled using an older version of gcc and gems will install correctly.
5) delete the symlink
sudo unlink /usr/bin/gcc
6) rename gcc4.7 back to gcc
sudo mv /usr/bin/gcc4.7
Test the version again to make sure it has reverted.
Please note the proper way to do this would be to set ruby1.8 / ruby-enterprise to compile with the older gcc by setting CC in the pkgbuild.
I'm not sure how to do that (had no luck) so the hacky solution above worked for me.
Please check each command above before you use it to make sure it is safe and valid for you.
Enjoy !
You should be able to compile with the older gcc by putting CC=/path/to/your/compiler right before "make", like so:
CC=/opt/gcc-4.4/gcc make
YEAH! I got it working! Here's what I did: install "gcc45" from the AUR, then compile ruby-enterprise by downloading the AUR package and running:
CC=gcc-4.5 makepkg
... then install the package. IT WORKS!
Last edited by synthead (2012-04-23 13:52:39) -
I have restored one web application in SharePoint Server 2010 from a different domain and can complete successfully. Changed each users domain also to old to new one by using Move-SPUser. But While accessing the site collection it is showing an error
that "Could not load file or assembly 'A##.SP.Intranet, Version=1.0.0.0, Culture=neutral, PublicKeyToken=03b4f320ebedaffc' or one of its dependencies. The system cannot find the file specified."
What may be the reason? Please help me to solve this issue since I am stuck up on this .
Regards
Mine1981Hi Nico
Martens,
Thank you for your reply. But
how can I find out the custom solutions in the source farm. I didn't got any other details regarding this farm other than WSS_Content, Web application Database, SharePoint_Config database back ups.
Please help me to solve the
issue.
Regards
Mine -
Upgrading from MBAM 1.0 to 2.5 on the Administration and Monitoring server (database server already upgraded). To upgrade the administration server, I uninstalled MBAM 1.0 -> Deleted the MBAM website from IIS manually -> Reboot -> Installed MBAM
2.5. After upgrade if I go to selfservice portal via
https://myserver.mycompany.com/selfservice, I get this error:
Server Error in '/SelfService' Application.
Could not load file or assembly 'System.Web.WebPages.Razor,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its
dependencies. The system cannot find the file specified.
Description:
An unhandled exception occurred during the execution of the current web
request. Please review the stack trace for more information about the error and
where it originated in the code.
Exception Details:
System.IO.FileNotFoundException: Could not load file or assembly
'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot
find the file specified.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
Stack Trace:
[FileNotFoundException: Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.]
System.Web.Mvc.PreApplicationStartCode.Start() +0
[InvalidOperationException: The pre-application start initialization method Start on type System.Web.Mvc.PreApplicationStartCode threw an exception with the following error message: Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified..]
System.Web.Compilation.BuildManager.InvokePreStartInitMethodsCore(ICollection`1 methods, Func`1 setHostingEnvironmentCultures) +12980619
System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +12980328
System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +280
System.Web.Compilation.BuildManager.ExecutePreAppStart() +172
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +1151
[HttpException (0x80004005): The pre-application start initialization method Start on type System.Web.Mvc.PreApplicationStartCode threw an exception with the following error message: Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified..]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12979668
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12819261
Anyone know how to solve this? Thanks in advanceSorry for late response. I fixed the issue by installing the correct version of ASP .NET 4 from
here.
If .NET Framework 4.5 is already installed, also run aspnet_regiis -i from C:\windows\microsoft.net\Framework\v4.0.30319 -
I m getting this error on page load of visual webpart added to the sharepoint site.What could be the issue??I m getting this error like in dev and not in test environment..What could be the issue??
The system cannot find the file specified. (Exception from HRESULT: 0x80070002)could you please share complete stack trace of the error, there could be differnt reason for this error?
share the stack trace and also check the ULS logs.
did you try to redeploy the webpart( completely removing and re adding)?
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog -
The System cannot find the file specified (0x80070002) backing up
HP Pavillion G6, Win 7 Home Premium 64-Bit
When I try to set up Backup, I get the Error message " The system cannot find the file specified (0x80070002)", Using a 160GB External HDD, Tried backing up to DVD Drive.
I have tried tweaking the settings to just backup certain component, I am at a loss now, Really need to back up.
Thanks in advanceHi,
What program are you using to backup? Are you creating a system image or just some other files.
There is a Blog from the storage team at Microsoft that may have the answer to the issue. It covers common issues and solutions to backup problems.
I recommend using the free or paid version of Paragon Software's Backup & Recovery 2012. It is more reliable than the Windows built in backup program and simpler to use. Free backup programs .
Best regards,
erico
****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
2015 Microsoft MVP - Windows Experience Consumer -
DME Dowload file error "FILE SPECIFIED IS EMPTY"
Hi Guru,
I have run Payment program and i have generated payment medium for flat file also done all the config settings to generate Payment medium.It has created data medium for the payment run and found the entry.
When give download in DME admistration, It throughs message like "THE FILE SPECIFIED IS EMPTY"
Can any one suggest me any solution.
Moderator message - Cross post locked
Edited by: Rob Burbank on Sep 23, 2009 2:17 PMHi,
did u solve this problem?? how??
thank´s
Edited by: Anderson Martins on Nov 28, 2011 7:01 PM -
Error message "The system cannot find the file specified." when reinstalling C3180 drivers
Hello,
I experienced scanning problems with my C3180 and the error message indicated several solutions, including to reinstall the driver.
I worked my way through the list of fixes to this option. I uninstalled the drivers, downloaded
File name:
AIO_CDA_NonNet_Full_Win_WW_130_140.exe [1/1, 290.27M]
from www.hp.com/support and attempted to install.
Just after the accept licensing screen, the system begins a screen with four steps, the first of which is Checking System. Shortly after starting this, I receive the error message "The system cannot find the file specified.". The file name may be in the message header, but I cannot determine it due to the path length. It is off the displayed screen. (see screen image capture)
Closing the pop-up error message or clicking OK terminates the installation.
I am re-installing on a Dell Latitude E6510, running Windows 7 Professional, Service Pack 1, 64 bit. The printer was connected via USB, but I have disconnected for this stage of the install.
I appreciate any assistance/advice you can offer.
KellyHi justkelly,
Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
Sorry to hear that you are getting errors when attempting to install the printer to your computer.
I have a link that I would like you to click on. In the steps on the link, please do step 1 and step 2 seeing that you are using Windows 7.
Installation issues.
Please let me know if this resolved your issue. I will be more than happy to offer more assistance if the link does not resolve your issue.
Thanks for your time.
Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
W a t e r b o y 71
I work on behalf of HP -
Bitlocker "The system cannot find the file specified"
I am trying to get Bitlocker working on the C: drive of a Dell Venue 11 (5130) 32bit, running Windows 8.1Update Enterprise. I click Turn on BitLocker and the system checks the perrequisites and is happy. Then I type in a PIN (6 numbers) and confirm it and
hit Set PIN. At this point it fails with a message saying "The system cannot find the file specified".
I am an Admin on the machine. TPM is working fine. GPO is not setting either BitLocker or TPM to store on the AD DS. Secure Boot is turned on in BIOS. Plus I've tried the reverse of all of these.
I've spent hours reading through web articles without any joy, so I'm hoping someone can give me a pointer. Please.Hi guys,
Almost have the same problem, and still not able to solve it now [despite lots of search].
I used to have BitLocker working on my laptop, but I removed it before cloning [with Paragon] my SSD to a new and bigger one. When I replaced the SSD the system did not boot, and I had to create a new BCD store by copying UEFI boot files from the system
directory on fix the UEFI boot partition. When the boot problem was fixed, I used gParted to extend my C: partition and delete useless recovery partitons at the end of the drive. So actual partitioning is as follow [as per Diskpart]:
Partition ### Type Size Offset
Partition 1 Recovery 500 MB 1024 KB
Partition 2 System 300 MB 501 MB
Partition 3 Reserved 128 MB 801 MB
Partition 4 Primary 930 GB 929 MB
So I guess I made something wrong when I tried to repair the UEFI boot partition... Well, now it boots correctly, but I can't enable BitLocker anymore and get the not-so-explicit "The system cannot find the file specified" error you had. Here is
what I get with a "bcdedit.exe /enum ALL":
Firmware Boot Manager
identifier {fwbootmgr}
displayorder {bootmgr}
{d10304b6-5db7-11e4-bf1c-806e6f6e6963
{d10304b1-5db7-11e4-bf1c-806e6f6e6963
{d10304b2-5db7-11e4-bf1c-806e6f6e6963
{d10304b4-5db7-11e4-bf1c-806e6f6e6963
{d10304b3-5db7-11e4-bf1c-806e6f6e6963
{d10304b5-5db7-11e4-bf1c-806e6f6e6963
timeout 0
Windows Boot Manager
identifier {bootmgr}
device partition=\Device\HarddiskVolume2
path \EFI\Microsoft\Boot\bootmgfw.efi
description Windows Boot Manager
locale en-gb
inherit {globalsettings}
default {current}
resumeobject {4496c237-5dd0-11e4-be46-f1ba631dfb0b
displayorder {current}
toolsdisplayorder {memdiag}
timeout 30
Firmware Application (101fffff)
identifier {d10304ae-5db7-11e4-bf1c-806e6f6e6963
description Setup
Firmware Application (101fffff)
identifier {d10304af-5db7-11e4-bf1c-806e6f6e6963
description Boot Menu
Firmware Application (101fffff)
identifier {d10304b0-5db7-11e4-bf1c-806e6f6e6963
description Recovery
Firmware Application (101fffff)
identifier {d10304b1-5db7-11e4-bf1c-806e6f6e6963
description SATA HDD:
Firmware Application (101fffff)
identifier {d10304b2-5db7-11e4-bf1c-806e6f6e6963
description USB CD:
Firmware Application (101fffff)
identifier {d10304b3-5db7-11e4-bf1c-806e6f6e6963
description USB FDD:
Firmware Application (101fffff)
identifier {d10304b4-5db7-11e4-bf1c-806e6f6e6963
description USB HDD:
Firmware Application (101fffff)
identifier {d10304b5-5db7-11e4-bf1c-806e6f6e6963
description NETWORK:
Firmware Application (101fffff)
identifier {d10304b6-5db7-11e4-bf1c-806e6f6e6963
device partition=\Device\HarddiskVolume2
path \EFI\Microsoft\Boot\bootmgfw.efi
description Windows Boot Manager
Windows Boot Loader
identifier {current}
device partition=C:
path \Windows\system32\winload.efi
description Windows 8.1
locale en-gb
inherit {bootloadersettings}
isolatedcontext Yes
allowedinmemorysettings 0x15000075
osdevice partition=C:
systemroot \Windows
resumeobject {4496c237-5dd0-11e4-be46-f1ba631dfb0b
nx OptIn
bootmenupolicy Standard
detecthal Yes
Resume from Hibernate
identifier {4496c237-5dd0-11e4-be46-f1ba631dfb0b
device partition=C:
path \Windows\system32\winresume.efi
description Windows Resume Application
locale en-gb
inherit {resumeloadersettings}
isolatedcontext Yes
allowedinmemorysettings 0x15000075
filedevice partition=C:
filepath \hiberfil.sys
bootmenupolicy Standard
debugoptionenabled No
Windows Memory Tester
identifier {memdiag}
device partition=\Device\HarddiskVolume2
path \EFI\Microsoft\Boot\memtest.efi
description Windows Memory Diagnostic
locale en-gb
inherit {globalsettings}
badmemoryaccess Yes
EMS Settings
identifier {emssettings}
bootems No
Debugger Settings
identifier {dbgsettings}
debugtype Serial
debugport 1
baudrate 115200
RAM Defects
identifier {badmemory}
badmemorylist 0x10007
Global Settings
identifier {globalsettings}
inherit {dbgsettings}
{emssettings}
{badmemory}
Boot Loader Settings
identifier {bootloadersettings}
inherit {globalsettings}
{hypervisorsettings}
Hypervisor Settings
identifier {hypervisorsettings}
hypervisordebugtype Serial
hypervisordebugport 1
hypervisorbaudrate 115200
Resume Loader Settings
identifier {resumeloadersettings}
inherit {globalsettings}
I also enabled Fast Bios and ACHI Mode in my BIOS [along with enabling Secure Boot on UEFI mode], as well as tried to clear TPM and reinitialize it, but that didn't change anything. And thanks to your posts I had a look to C:\Windows\System32\Recovery\ReAgent.xml
but it does not seem to be populated with the any GUIDs:
<?xml version='1.0' encoding='utf-8'?>
<WindowsRE version="2.0">
<WinreBCD id="{24b2af92-fddf-11e1-bfa1-001377e67dbe}"/>
<WinreLocation path="\Recovery\WindowsRE" id="0" offset="254619418624" guid="{f2ebfdb1-aa8c-453d-9c40-68aed6c32395}"/>
<ImageLocation path="" id="0" offset="0" guid="{00000000-0000-0000-0000-000000000000}"/>
<PBRImageLocation path="" id="0" offset="0" guid="{00000000-0000-0000-0000-000000000000}" index="0"/>
<PBRCustomImageLocation path="" id="0" offset="0" guid="{00000000-0000-0000-0000-000000000000}" index="0"/>
<InstallState state="1"/>
<OsInstallAvailable state="0"/>
<CustomImageAvailable state="0"/>
<IsAutoRepairOn state="1"/>
<WinREStaged state="0"/>
<OperationParam path=""/>
<OsBuildVersion path="9600.16384.amd64fre.winblue_rtm.130821-1623"/>
<OemTool state="0"/>
<IsServer state="0"/>
<DownlevelWinreLocation path="\Recovery\WindowsRE" id="0" offset="1048576" guid="{f2ebfdb1-aa8c-453d-9c40-68aed6c32395}"/>
<IsWimBoot state="0"/>
<ScheduledOperation state="5"/>
</WindowsRE>
Nevertheless I have a ReAgent_Merged.xml1 file in that same folder, which contains:
<?xml version='1.0' encoding='utf-8'?>
<WindowsRE version="1.0">
<WinreBCD id="{24b2af8c-fddf-11e1-bfa1-001377e67dbe}"/>
<WinreLocation path="\Recovery\WindowsRE" id="0" offset="1048576" guid="{f2ebfdb1-aa8c-453d-9c40-68aed6c32395}"/>
<ImageLocation path="\recovery\WindowsRE" id="0" offset="1048576" guid="{f2ebfdb1-aa8c-453d-9c40-68aed6c32395}"/>
<OsInstallLocation path="\RecoveryImage" id="0" offset="231720616448" guid="{f2ebfdb1-aa8c-453d-9c40-68aed6c32395}" index="1"/>
<CustomImageLocation path="" id="0" offset="0" guid="{00000000-0000-0000-0000-000000000000}" index="0"/>
<InstallState state="1"/>
<OsInstallAvailable state="1"/>
<CustomImageAvailable state="0"/>
<IsAutoRepairOn state="1"/>
<WinREStaged state="0"/>
<OperationParam path=""/>
<OsBuildVersion path="9200.16384.amd64fre.win8_rtm.120725-1247"/>
<OemTool state="0"/>
<BootKey state="0"/>
<IsServer state="0"/>
<ScheduledOperation state="4"/>
</WindowsRE>
So I'm stuck, and any pointer would be greatly appreciated. :-/
Cheers,
Kwansetsu -
7-Zip 'system cannot find the file specified' not letting me download?
I'm about to throw my laptop to the other side of the room, run up to it and beat it with a baseball bat.
I had to reset my system because I got a virus earlier[completely annoying] and I tried re-downloading Firefox through IE.
First off, IE is complete cr*p.
Second, I've gone to a lot of forums and pages trying to solve this issue.
I keep getting this when I try to download. It hits a point and then:
"7-zip: The system cannot find the file specified"
and then "Your download was interrupted"
I'm running Windows 8 on an Asus laptop.
Please help me solve this or I'm going to do something drastic.
I can't live with Internet Explorer as my main browser. I just can't.
Thank you.I wonder if you've tried downloading from Mozilla's server.
*ftp://ftp.mozilla.org/pub/firefox/releases/29.0.1/win32/
Simply select your locale (en-US is default English) and download the "Firefox Setup 29.0.1.exe". Errors like this are generally solved by downloading from a different place. I don't have a Windows PC to test out if the files are okay. -
Dbms_scheduler - ORA-27301: system cannot find the file specified
Hi,
I'm having problems running an executable job via dbms_scheduler. The invoking code reads:
begin
dbms_scheduler.create_job(job_name => "fred",
job_type => "EXECUTABLE",
job_action => 'convert c:\wowtemp\test.jpg -thumbnail 155 c:\wowtemp\test.png',
enabled => TRUE
dbms_scheduler.run_job(job_name => "fred");
end;and running this in SQL*plus gives me:
ERROR at line 1:
ORA-27370: job slave failed to launch a job of type EXECUTABLE
ORA-27300: OS system dependent operation:accessing execution agent failed with status: 2
ORA-27301: OS failure message: The system cannot find the file specified.
ORA-27302: failure occurred at: sjsec 6a
ORA-27303: additional information: The system cannot find the file specified.
ORA-06512: at "SYS.DBMS_ISCHED", line 150
ORA-06512: at "SYS.DBMS_SCHEDULER", line 441
ORA-06512: at line 7This happens no matter what I put in the job_action, and despite the fact that if I paste the jpb_action into a command prompt window it executes successfully. The user has CREATE ANY JOB privilege.
Any ideas?
BTW, this is using XE on WinXP. (I'd post in the XP forum but it seems to have disappeared).
Thanks,
johnOK, problem #1 solved:
By default, XE on Windows sets up the scheduler service to disabled. Enable and start it, then we can move on to problem #2:
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
See http://www.adp-gmbh.ch/blog/2005/may/27.html for a workaround using a .bat file which sadly doesn't help me. How do I pass runtime switches and parameters?
DBMS_SCHEDULER is wonderfully powerful, but NOWHERE in the copious documentation can I find help on how to do something really SIMPLE.
I just want to run an unscheduled, ad hoc executable job which runs an OS command with parameters, as in:
'c:\mydir\convert.exe c:\mydir\test.jpg -thumbnail 155 c:\mydir\test.png'
Can the job_action parameter include command-line switches and parameters or not?
In the documentation for CREATE_JOB, 'For an executable, the action is the name of the external executable, including the full path name and any command-line arguments.', but this doesn't work for me.
Elsewhere (Error running executable job I read:
If the job_type is executable then the scheduler expects only the executable name and path as job_action (no command line arguments) e.g. ("c:\win32\cmd.exe")
For commandline arguments you should be setting number_of_arguments to the required value and then doing set_job_argument_value for each argument. (e.g. 3, "/q", "/c", "script.bat").
What's the real story?
Any and all assistance much appreciated
Thanks -
Hi Everyone.
I have configured GoldenGate on Win2008 R2, but when I start replicat, this fall.
Initially:
GGSCI (WIN-NKC50KUIT0G) 19> start replicat rep1
Sending START request to MANAGER ...
REPLICAT REP1 starting
GGSCI (WIN-NKC50KUIT0G) 20> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
REPLICAT STOPPED REP1 00:00:00 00:37:53
GGSCI (WIN-NKC50KUIT0G) 21> info replicat rep1
REPLICAT REP1 Initialized 2013-11-02 22:23 Status STOPPED
Checkpoint Lag 00:00:00 (updated 00:40:28 ago)
Log Read Checkpoint File C:\app\Oracle\product\gg\dirdat\tr000000
2013-11-02 22:23:55.000000
With VIEW GGSEVT:
2013-11-02 23:15:31 INFO OGG-01815 Oracle GoldenGate Delivery for Oracle, R
EP1.prm: Virtual Memory Facilities for: COM
anon alloc: MapViewOfFile anon free: UnmapViewOfFile
file alloc: MapViewOfFile file free: UnmapViewOfFile
target directories:
C:\app\Oracle\product\gg\dirtmp.
2013-11-02 23:15:31 ERROR OGG-00446 Oracle GoldenGate Delivery for Oracle, R
EP1.prm: Extract file not found or no records beyond begin time. why???
2013-11-02 23:15:31 ERROR OGG-01668 Oracle GoldenGate Delivery for Oracle, R
EP1.prm: PROCESS ABENDING.
After I tried with:
GGSCI (WIN-NKC50KUIT0G) 8>Alter rep1, EXTSEQNO 0
but
GGSCI (WIN-NKC50KUIT0G) 9> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
REPLICAT ABENDED REP1 00:00:00 01:11:50
why??? abended??
In logs:
2013-11-03 14:07:02 INFO OGG-00996 Oracle GoldenGate Delivery for Oracle, REP1.prm: REPLICAT REP1 started.
2013-11-03 14:07:02 ERROR OGG-01091 Oracle GoldenGate Delivery for Oracle, REP1.prm: Unable to open file ".\dirdat\tr000000" (error 2, The system cannot find the file specified.). why???
2013-11-03 14:07:02 ERROR OGG-01668 Oracle GoldenGate Delivery for Oracle, REP1.prm: PROCESS ABENDING.
GGSCI (WIN-NKC50KUIT0G) 12> info rep1, detail
REPLICAT REP1 Last Started 2013-11-03 14:30 Status ABENDED
Checkpoint Lag 00:00:00 (updated 01:19:03 ago)
Log Read Checkpoint File .\dirdat\tr000000
First Record
Extract Source Begin End
.\dirdat\tr000000 * Initialized * First Record
.\dirdat\tr000000 * Initialized * First Record
.\dirdat\tr000000 * Initialized * First Record
.\dirdat\tr000000 * Initialized * First Record
.\dirdat\tr000000 * Initialized * First Record
.\dirdat\tr000000 * Initialized * First Record
.\dirdat\tr000000 * Initialized * First Record
.\dirdat\tr000000 * Initialized * 2013-11-03 12:54
Current directory C:\app\Oracle\product\gg
Report file C:\app\Oracle\product\gg\dirrpt\REP1.rpt
Parameter file C:\app\Oracle\product\gg\dirprm\REP1.prm
Checkpoint file C:\app\Oracle\product\gg\dirchk\REP1.cpr
Checkpoint table target.checkpoint
Process file C:\app\Oracle\product\gg\dirpcs\REP1.pcr
Error log C:\app\Oracle\product\gg\ggserr.log
GGSCI (WIN-NKC50KUIT0G) 13> view param rep1
REPLICAT rep1
ASSUMETARGETDEFS
USERID target, PASSWORD oracle
discardfile .\discard\rep1_discard.txt, append, megabytes 10
DDL
map source.*, target target.*;
I don´t understand it, How I could solve?? Please help me!
Thank you.What steps did you use to add the Replicat? Can you list those commands out.
Also, does this file actually exist on the server where Replicat is running: C:\app\Oracle\product\gg\dirdat\tr000000
Maybe you are looking for
-
Records in table TABW (productiv)
Hello, in our productiv system there are some records which we consider to be trash and we want to delete it (transaction type not visible to customizing). We can do it in the development system in SE16 but the system is not creating a transport orde
-
Problem importing PDF to InDesign
I'm creating a document that uses snippets from a PDF file. When I import those PDF pieces (after cropping in Acrobat) into InDesign there is a lot of degradation. The snippets are all type, although they include a Hebrew font. The odd thing is, when
-
Can 1080p videos be watched on mobile devices?
When I export a video it asks me what resolution I want it to be. For the 1080p option iPhone and iPad arent checked. Does this mean when I upload it to youtube my video cant be viewed on mobile devices? Thanks in advance.
-
Guest Network Internet Not Working
Hi, I recently replaced the router on my network with a new AirPort Extreme. I use the AirPort utility to configure the AE, and turned on the guest network feature. My problem is that I can get internet access when I use the guest network instead of
-
gurus stock is zero , with no open documents still PF not changing....i checked material master in plant stock view 50 pieces were showing in previous period though stock is 0 in mmbe so i did 561 of 50 qty in prevous month date then i did 562 and ma