Amahi 7 alpha 2 release

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Amahi 7 alpha 2 release

Postby cpg » Thu Mar 28, 2013 11:18 pm

Hello, we have updated the repos with the latest bits on Amahi 7, and we call this alpha 2. Install instructions in the [wiki]Fedora 18[/wiki] wiki page.

This release has a TON of code changes in the platform and is expected to break in a grandiose explosion of issues and downright bugs that you have to report right here in this thread!

New on this release:
  • Brand new, way more flexible theme system. Themes may override any views for maximum control!
  • New plugin system to add new tabs to the setup area
  • Dynamic hierarchical subtab menus: go to any subtab by just hovering over a tab
  • Lots of markup cleanup to make it more compliant with browsers, mobile devices, etc.
  • Make their appearance as plugins: tab for disks and apps (thanks to slm4996!), tab for settings, servers (work in progress), multiple language support
  • Search page improvements, better looking
  • Support for installing on Fedora 18 Raspberry Pi Remix (thanks to dano5!)
Known issues: several areas are still in the process of being ported and populated, apps installation is probably really broken, language localization for the tab labels and subtab labels. Installation may break due to missing v8 dependency.

We can feel this release closer and closer we can almost touch it!

How to help

One of the easy ways to help that would be greatly appreciated is to review every single page and verify them in the WC3 validator. There are validator plugins for all popular browsers that make this a single click operation. Putting together a list of broken pages would be a nice, actionable

Develop a platform plugin, now it's easier than ever. If you are inclined to do web development this will allow you to learn a fun system (Ruby on Rails) and contribute to Amahi!

Juicy screenshot attached!
alpha-2.png
Amahi 7 alpha 2
alpha-2.png (70.45 KiB) Viewed 15079 times
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

slm4996
Posts: 8
Joined: Sun May 23, 2010 9:46 pm
Location: indiana

Re: Amahi 7 alpha 2 release

Postby slm4996 » Fri Mar 29, 2013 6:30 am

Following the wiki instructions up to the "yum -y install hda-ctl hda-platform" step results in the error "hda-platform requires: /this/will/be/overwritten/or/wrapped/anyways/do/not/worry/ruby" and cancels the installation.
u.png
Installation error
u.png (54.09 KiB) Viewed 15039 times

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Amahi 7 alpha 2 release

Postby cpg » Fri Mar 29, 2013 12:31 pm

Looks like this /this/will/be/overridden/... crap has filtered into some other gems.

I really wish they did not do this!

The reason we do not patching this at build time on all the gems is that it's time consuming (well over two minutes, more so on the rasp-pi), so we're only doing it for the gems that had the issue.

We should do it on all gems now to avoid surprises!

Fixed it for the 32bit rpm and updated the repo.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Amahi 7 alpha 2 release

Postby cpg » Fri Mar 29, 2013 1:22 pm

Ok, this has been fixed. A drive-by typo on a very simple commit went unnoticed .. just because it was a simple typo.

the 32bit and ARM rpms have been fixed and released to the repo!
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

aarondyck
Posts: 27
Joined: Sat Mar 30, 2013 1:15 pm

Re: Amahi 7 alpha 2 release

Postby aarondyck » Sat Mar 30, 2013 1:16 pm

I just tried to install on my Raspberry Pi and got the following error:
Activating your HDA's settings
ERROR 1146 (42S02) at line 1: Table 'hda_production.settings' doesn't exist
Initializing settings
/usr/bin/hda-install:212:in `query': Table 'hda_production.settings' doesn't exist (Mysql::Error)
from /usr/bin/hda-install:212:in `get_db_settings'
from /usr/bin/hda-install:832:in `do_full_install'
from /usr/bin/hda-install:1264:in `main'
from /usr/bin/hda-install:1267:in `<main>'

http://paste.fedoraproject.org/6357/13646741

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Amahi 7 alpha 2 release

Postby cpg » Sat Mar 30, 2013 1:37 pm

Thanks for the log. Did you install the mariadb packages *first*?

It would appear that those missing are what led to a conflict later on.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

aarondyck
Posts: 27
Joined: Sat Mar 30, 2013 1:15 pm

Re: Amahi 7 alpha 2 release

Postby aarondyck » Sat Mar 30, 2013 1:50 pm

I did install them first. I even went back, cleaned up the packages, and went through the maria package install again (as suggested by the Dev install Wiki).

Just to confirm, I tried again:
yum -y install mariadb-libs mariadb-server
Package mariadb-libs-5.5.29-4.fc18.armv5tel already installed and latest version
Package mariadb-server-5.5.29-4.fc18.armv5tel already installed and latest version
Nothing to do

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Amahi 7 alpha 2 release

Postby cpg » Sat Mar 30, 2013 2:35 pm

Your response is not precise enough for me to tell what went on (what does clean up the packages mean?).

HOWEVER, i just checked in one of the community rasp-pi for development and it would *seem* that mysql is installed as part of the base image install in the F18 for the rasp-pi. Can you check that?
rpm -qa | grep mysql
If so, I would suggest the following:

Code: Select all

rpm -e mysql-libs mysql-devel mysql
followed by the installation of mariadb and then the amahi packages.

We will tweak the installer to see if that helps, but i'd like to try this first.

Thanks for posting the details.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

aarondyck
Posts: 27
Joined: Sat Mar 30, 2013 1:15 pm

Re: Amahi 7 alpha 2 release

Postby aarondyck » Sat Mar 30, 2013 2:46 pm

[root@raspi aaron]# rpm -qa | grep mysql
ruby-mysql-2.8.2-7.fc18.armv5tel
php-mysql-5.4.12-1.fc18.armv5tel
[root@raspi aaron]# rpm -e mysql-libs mysql-devel mysql
error: package mysql-libs is not installed
error: package mysql-devel is not installed
error: package mysql is not installed
[root@raspi aaron]#

Looks like it isn't installed by default.

To clarify my earlier statement, the commands I executed to install initially were as follows:
rpm -Uvh http://f18.amahi.org/noarch/hda-release ... noarch.rpm
yum -y install mariadb-libs mariadb-server
yum -y install hda-ctl hda-platform
yum clean all
yum -y install mariadb-libs mariadb-server
yum -y install hda-ctl hda-platform
hda-install MY-INSTALL-CODE

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Amahi 7 alpha 2 release

Postby cpg » Sun Mar 31, 2013 3:16 am

Thanks for the clarification!

After revising the source code, there was one reference to mysql.

It's changed now to reference mariadb and a new update to the repo has been released.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

Who is online

Users browsing this forum: No registered users and 9 guests