Categories
Amazon Web Services Elastic Beanstalk Programming Technology

AWS: EB CLI Throws Exceptions VersionConflict and/or DistributionNotFound

When running EB CLI, do you run into the following error?

$ eb deploy
Traceback (most recent call last):
  File "C:Python34libsite-packagespkg_resources__init__.py", line 635, in _build_master
    ws.require(__requires__)
  File "C:Python34libsite-packagespkg_resources__init__.py", line 942, in require
    needed = self.resolve(parse_requirements(requirements))
  File "C:Python34libsite-packagespkg_resources__init__.py", line 834, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (colorama 0.3.3 (c:python34libsite-packages), Requirement.parse('colorama==0.3.7'), {'awsebcli'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:Python34Scriptseb-script.py", line 5, in <module>
    from pkg_resources import load_entry_point
  File "C:Python34libsite-packagespkg_resources__init__.py", line 2900, in <module>
    @_call_aside
  File "C:Python34libsite-packagespkg_resources__init__.py", line 2886, in _call_aside
    f(*args, **kwargs)
  File "C:Python34libsite-packagespkg_resources__init__.py", line 2913, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "C:Python34libsite-packagespkg_resources__init__.py", line 637, in _build_master
    return cls._build_from_requirements(__requires__)
  File "C:Python34libsite-packagespkg_resources__init__.py", line 650, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "C:Python34libsite-packagespkg_resources__init__.py", line 829, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'colorama==0.3.7' distribution was not found and is required by awsebcli

I ran into this error today. Apparently it was caused by installing AWS CLI after EB CLI:
pip install awscli
Reinstalling EB CLI solved the issue:
pip install awsebcli

Categories
Samsung Technology

PS3 Blu-ray Disc Remote Control: How to Make It Work With Your Samsung TV

PS3 Blu-ray Disc Remote Control

I can finally rejoice! I was happy with my new PS3 Blu-ray Disc Remote Control since I watch most of my media on my PS3. The only downside was I couldn’t get it to work with my Samsung TV (model LN52B610 52″ 1080P LCD HDTV), but after having read the manual I realized I can make it work… but I needed the programming code.

The manual lists the possible codes for Samsung TVs: 459, 460, 461, 462, 463, 464, 465, 466, 467, 468. I tried them all and gathered that both 464 and 465 worked. I was happy for a bit but realized that the remote didn’t work quite anything like the original Samsung remote: the directional buttons were used as volume/channel control, and some other buttons like Return didn’t do anything. I figured the features were just limited for universal remote controls.

After a few hours, I couldn’t stand the fact that I had limited control over my TV, so I started investigating. Considering both codes 464 and 465 work, there have got to be others, and maybe one of them will allow my remote control to give me full control.

I finally hit the jackpot when I ran into an Amazon review. The author suggested using code 304, and lo and behold, it worked!

Categories
Apple Computers Mac Technology

Help: My MacBook (Air/Pro) Won’t Charge!

I had a panic attack today. I had left my MacBook Air inside its sleeves and on my bookshelf for a week since I didn’t have an immediate need for it and I didn’t want someone stealing it. I took it out today to prepare it for a trip overseas, only to find that my MacBook Air wasn’t charging and the charger LED wasn’t turning on. I opted not to buy the extended AppleCare, and mine expired a few months ago. I looked up the cost for a new charger to find out it’ll cost me $79. $79!!! I knew of Apple and their premium prices, but I still found it shocking.

IMG_3255

Categories
Apple Random Technology

Number One Reason to Go With a Mac

Mac OS X vs Windows. This subject is talked to death on a daily basis, but what really sets them apart? Given that the only way to buy a Mac is to pay a premium to Apple as opposed to Windows being offered by multiple providers, one can see why Windows has the majority of the market. Even so, if you follow the trend these days, you will notice the Mac OS is eating away little chunks of the market month by month, with 10% being within sight. But why should you buy an expensive Mac over a Windows PC? Aside from the usual list of pros and cons, one major factor is overlooked by many: its resell value.

Categories
Apple iPhone Technology

How to fix your unresponsive iPhone 4 home button without opening it up

Do you have an iPhone 4 with an unresponsive home button? It’s quite frustrating isn’t it? It was for me, but after struggling with it using various fix methods over the last few months, I no longer have the problem. Rather than taking your iPhone apart to replace your home button, try this simple solution first and see if it fixes your problem.

Categories
Technology

IRQL_NOT_LESS_OR_EQUAL BSOD could be a memory-related issue

I recently built my wife a new computer, and right off the bat we started getting IRQL_NOT_LESS_OR_EQUAL BSOD (blue screen of death) problems. We researched high and low online for answers to fix this problem, but most sites accuse device drivers to be at fault, that most likely we installed the wrong driver for one of the installed devices or computer component. But the problem we were seeing was we’d get the bsod after a fresh new installation of windows, and one time even DURING the windows installation, so it couldn’t have been a device driver problem unless Windows 7 itself was installing a driver it should not have, which is usually not the case.

Categories
Apple Technology

Apple to Trump Microsoft?

Apple’s reports vs Microsoft’s reports show that Apple topped Microsoft in 3rd quarter revenue (source).

Back in May, it was announced the Apple surpassed Microsoft and became the 2nd largest U.S. company by market capitalization. I believe it won’t be long before Apple makes Microsoft the littler man it is like facebook did with myspace.

Categories
Apple Technology

Steve Jobs Documentary

Click here to watch a 48 minute documentary on Steve Jobs.

I never really cared for the Apple company or any of its products until I bought my first mobile device: the iPhone 3G.  The phone was amazing, there was no device like it at the time, and I’d spend a good chunk of my free time fiddling with it or playing games. With the release of the iPad, which I have yet to purchase, it further perked my interest in the company. With just a few months shy from the release of the iPhone 4, I started checking up on Apple news and conferences on a regular basis. I found myself reading a lot about the company (e.g. Macrumors) and before I knew I was headed to Apple fandom.