[IIAB] [XSCE] IIAB RPMs fixed for latest version

George Hunt georgejhunt at gmail.com
Wed Jul 10 16:59:25 PDT 2013


I apologize. I assumed that it would be an easy call


   - Traceback (most recent call last)
   -
      File "/usr/lib/python2.7/site-packages/flask/app.py", line *1701*, in
   __call__

   return self.wsgi_app(environ, start_response)

   - File "/usr/lib/python2.7/site-packages/flask/app.py", line *1689*, in
   wsgi_app

   response = self.make_response(self.handle_exception(e))

   - File "/usr/lib/python2.7/site-packages/flask/app.py", line *1687*, in
   wsgi_app

   response = self.full_dispatch_request()

   - File "/usr/lib/python2.7/site-packages/flask/app.py", line *1360*, in
   full_dispatch_request

   rv = self.handle_user_exception(e)

   - File "/usr/lib/python2.7/site-packages/flask/app.py", line *1358*, in
   full_dispatch_request

   rv = self.dispatch_request()

   - File "/usr/lib/python2.7/site-packages/flask/app.py", line *1344*, in
   dispatch_request

   return self.view_functions[rule.endpoint](**req.view_args)

   - File "/usr/lib/python2.7/site-packages/iiab/gutenberg.py", line *136*,
   in by_title

   pagination =
GutenbergBook.query.order_by(GutenbergBook.title_order).paginate(page,
per_page)

   - File "/usr/lib/python2.7/site-packages/flask_sqlalchemy.py", line *381*,
   in paginate

   items = self.limit(per_page).offset((page - 1) * per_page).all()

   - File "/usr/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line *
   2115*, in all

   return list(self)

   - File "/usr/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line *
   2227*, in __iter__

   return self._execute_and_instances(context)

   - File "/usr/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line *
   2240*, in _execute_and_instances

   close_with_result=True)

   - File "/usr/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line *
   2231*, in _connection_from_session

   **kw)

   - File "/usr/lib/python2.7/site-packages/sqlalchemy/orm/session.py",
   line *784*, in connection

   close_with_result=close_with_result)

   - File "/usr/lib/python2.7/site-packages/sqlalchemy/orm/session.py",
   line *788*, in _connection_for_bind

   return self.transaction._connection_for_bind(engine)

   - File "/usr/lib/python2.7/site-packages/sqlalchemy/orm/session.py",
   line *313*, in _connection_for_bind

   conn = bind.contextual_connect()

   - File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/base.py",
   line *2489*, in contextual_connect

   self.pool.connect(),

   - File "/usr/lib/python2.7/site-packages/sqlalchemy/pool.py", line *236*,
   in connect

   return _ConnectionFairy(self).checkout()

   - File "/usr/lib/python2.7/site-packages/sqlalchemy/pool.py", line *401*,
   in __init__

   rec = self._connection_record = pool._do_get()

   - File "/usr/lib/python2.7/site-packages/sqlalchemy/pool.py", line *822*,
   in _do_get

   return self._create_connection()

   - File "/usr/lib/python2.7/site-packages/sqlalchemy/pool.py", line *189*,
   in _create_connection

   return _ConnectionRecord(self)

   - File "/usr/lib/python2.7/site-packages/sqlalchemy/pool.py", line *282*,
   in __init__

   self.connection = self.__connect()

   - File "/usr/lib/python2.7/site-packages/sqlalchemy/pool.py", line *344*,
   in __connect

   connection = self.__pool._creator()

   - File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/strategies.py",
   line *80*, in connect

   return dialect.connect(*cargs, **cparams)

   - File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/default.py",
   line *281*, in connect

   return self.dbapi.connect(*cargs, **cparams)





On Wed, Jul 10, 2013 at 7:47 PM, James McDuffie <mcduffie at pitfall.org>wrote:

> **
> It would be helpful to get the full stack trace from your Apache error
> log. The snipped part you gave doesn't tell us where in our software the
> problem is occurring. You should have both the Wikipedia and Gutenberg
> errors in the error log. The reason you don't see the error for the
> Wikipedia page displayed on screen is because the Ajax portion of the
> interface is trying to load the page behind the scenes.
>
> If your /etc/iiab.conf file is wrong then the main page will tell you it
> can not find the knowledge directory. Make sure in your iiab.conf you point
> to the knowledge directory, not the modules directory under it. And if your
> just pointing to /mnt/usb0 in your iiab.conf then what you really need is
> /mnt/usb0/knowledge, or wherever the knowledge directory is located.
>
> On Wed, Jul 10, 2013, at 04:33 PM, George Hunt wrote:
>
> Advice?  We have been able to install the rpm, and we get the first page
> at 172.18.96.1:25000/iiab.
> The first page has numbers at the right side that I would infer
> corresponding to the number of items under each choice. Clicking on
> wikipedia gets an "error loading page".
>
> Click on gutenberg gets a page with search, and 2 list buttons. These all
> return a long tractback with default.py at the end.
> <snip>
>
>    - File "/usr/lib/python2.7/site-packages/sqlalchemy/pool.py", line *344
>    *, in __connect
>
>    connection = self.__pool._creator()
>
>    - File
>    "/usr/lib/python2.7/site-packages/sqlalchemy/engine/strategies.py",
>    line *80*, in connect
>
>    return dialect.connect(*cargs, **cparams)
>
>    - File "/usr/lib/python2.7/site-packages/sqlalchemy/engine/default.py",
>    line *281*, in connect
>
>    return self.dbapi.connect(*cargs, **cparams
>
>
>
> </snip>
>
> we tried putting /etc/iiab.conf file pointing to the mounted disk at
> /mnt/usb0, but it didn't help;
>
> Which direction to proceed?
>
> Thanks,
>
>  George
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sgvhak.org/mailman/private/iiab/attachments/20130710/1037b31b/attachment-0001.html>


More information about the IIAB mailing list