Wednesday, February 27, 2013

Windows Update - error code 84bc0643

I have no idea what this mean. Neither Microsoft knows.

What's more interesting in logs it show another error number.

Installation Failure: Windows failed to install the following update with error 0x80070643: Cumulative update to SQL Server 2012 with service pack 1 (SP1) (KB2793634).

And you can be sure that online help doesn't help much.

Monday, February 25, 2013

SVN conflicts confusion and resolve

ok, tortoise use stupid words "mine" and "their" when resolving conflicted versions of files.

most of time I update MY files on server, so actually I can't figure out who the hell is "THEIR" because both server and code is MINE.

here's edited dialogue, where you can find what you need to resolve svn conflicts without breaking your brain.

(e) edit - change merged file in an editor
(df) diff-full - show all changes made to merged file
(r) resolved - accept merged version of file

(dc) display-conflict - show all conflicts (ignoring merged version)
(mc) mine-conflict - accept my version for all conflicts (same)
(tc) theirs-conflict - accept their version for all conflicts (same)

(mf) mine-full - accept my version of entire file (even non-conflicts)
(tf) theirs-full - accept their version of entire file (same)

(p) postpone - mark the conflict to be resolved later
(l) launch - launch external tool to resolve conflict
(s) show all - show this list


all cudos to nerkn

Wednesday, February 20, 2013

Package kernel.x86_64 0:3.2.38-5.48.amzn1 will be installed

[root@******** ec2-user]# yum update
Loaded plugins: priorities, security, update-motd, upgrade-helper
amzn-main                                                                                                                                                        | 2.1 kB     00:00
amzn-updates                                                                                                                                                     | 2.3 kB     00:00
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package aws-apitools-ec2.noarch 0:1.6.6.0-1.0.amzn1 will be updated
---> Package aws-apitools-ec2.noarch 0:1.6.6.4-1.0.amzn1 will be an update
---> Package aws-apitools-rds.noarch 0:1.12.001-1.0.amzn1 will be updated
---> Package aws-apitools-rds.noarch 0:1.12.002-1.0.amzn1 will be an update
---> Package java-1.6.0-openjdk.x86_64 1:1.6.0.0-53.1.11.5.47.amzn1 will be updated
---> Package java-1.6.0-openjdk.x86_64 1:1.6.0.0-54.1.11.6.48.amzn1 will be an update
---> Package kernel.x86_64 0:3.2.38-5.48.amzn1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================================================================
 Package                                       Arch                              Version                                                  Repository                               Size
========================================================================================================================================================================================
Installing:
 kernel                                        x86_64                            3.2.38-5.48.amzn1                                        amzn-updates                            9.2 M
Updating:
 aws-apitools-ec2                              noarch                            1.6.6.4-1.0.amzn1                                        amzn-updates                             13 M
 aws-apitools-rds                              noarch                            1.12.002-1.0.amzn1                                       amzn-updates                            6.4 M
 java-1.6.0-openjdk                            x86_64                            1:1.6.0.0-54.1.11.6.48.amzn1                             amzn-updates                             30 M

Transaction Summary
========================================================================================================================================================================================
Install       1 Package(s)
Upgrade       3 Package(s)

Total download size: 59 M

Friday, February 15, 2013

Import of external images doesn't work in PrestaShop 1.5.3.1

Ok if you try to import some items with images in prestashop, you will fail.

They just do not appear in imported products.

How to resolve this? Very simple.

There's a bug in presta that was fixed in repository, but do not released yet.
So you can 1. wait for next release, 2. head to this link and apply provided changes to your prestashop installation.

Here's a screenshot for fast review.
Import of external images doesn't work in PrestaShop 1.5.3.1

You have to locate the file controllers/admin/AdminImportController.php
Then yo have to replace the lines marked with - (red) with the one marked with + (green).
Left columns means line numbers.

Easy as pie.

Friday, February 8, 2013

kernel.i686 0:3.2.37-2.47.amzn1

[root@dom /]# yum update
Loaded plugins: priorities, security, update-motd, upgrade-helper
amzn-main                                      | 2.1 kB     00:00
amzn-updates                                   | 2.3 kB     00:00
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package aws-apitools-rds.noarch 0:1.10.003-1.0.amzn1 will be updated
---> Package aws-apitools-rds.noarch 0:1.12.001-1.0.amzn1 will be an update
---> Package freetype.i686 0:2.3.11-6.12.amzn1 will be updated
---> Package freetype.i686 0:2.3.11-14.13.amzn1 will be an update
---> Package kernel.i686 0:3.2.37-2.47.amzn1 will be installed
---> Package ncurses.i686 0:5.7-3.20090208.9.amzn1 will be updated
---> Package ncurses.i686 0:5.7-3.20090208.10.amzn1 will be an update
---> Package ncurses-base.i686 0:5.7-3.20090208.9.amzn1 will be updated
---> Package ncurses-base.i686 0:5.7-3.20090208.10.amzn1 will be an update
---> Package ncurses-libs.i686 0:5.7-3.20090208.9.amzn1 will be updated
---> Package ncurses-libs.i686 0:5.7-3.20090208.10.amzn1 will be an update
---> Package nspr.i686 0:4.9.1-2.14.amzn1 will be updated
---> Package nspr.i686 0:4.9.2-0.15.amzn1 will be an update
---> Package nss.i686 0:3.13.5-1.26.amzn1 will be updated
---> Package nss.i686 0:3.13.6-2.27.amzn1 will be an update
---> Package nss-sysinit.i686 0:3.13.5-1.26.amzn1 will be updated
---> Package nss-sysinit.i686 0:3.13.6-2.27.amzn1 will be an update
---> Package nss-tools.i686 0:3.13.5-1.26.amzn1 will be updated
---> Package nss-tools.i686 0:3.13.6-2.27.amzn1 will be an update
---> Package nss-util.i686 0:3.13.5-1.13.amzn1 will be updated
---> Package nss-util.i686 0:3.13.6-1.14.amzn1 will be an update
---> Package python-boto.noarch 0:2.7.0-1.3.amzn1 will be updated
---> Package python-boto.noarch 0:2.8.0-1.0.amzn1 will be an update
--> Finished Dependency Resolution
--> Running transaction check
---> Package kernel.i686 0:3.2.32-53.46.amzn1 will be erased
--> Finished Dependency Resolution

Dependencies Resolved