Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TurboGears 2.2.2 #11

Closed
2 of 8 tasks
amilworks opened this issue Nov 3, 2020 · 4 comments
Closed
2 of 8 tasks

TurboGears 2.2.2 #11

amilworks opened this issue Nov 3, 2020 · 4 comments
Assignees
Labels
dependencies Pull requests that update a dependency file no-issue-activity

Comments

@amilworks
Copy link
Member

amilworks commented Nov 3, 2020

TurboGears 2.2.2

This is the second upgrade in the process. If you have any questions, tag @amilworks on here.
Current Version: TurboGears2==2.2.0
Upgrade Version: TurboGears2==2.2.2

As you are going through, check off what Step you completed to make it easier for us to help, and for you to feel accomplished.

Getting Started

Step 1. Clone the Repo


GOAL

  • Start by cloning the branch from this current repo

git clone -b tg-upgrade --single-branch https://github.com/UCSB-VRL/bisqueUCSB.git

cd tg-upgrade and you should see a folder structure like this

.
├── boot
├── builder
├── COPYRIGHT
├── DOCKER-BUILD_LOG.md
├── Dockerfile.caffe.xenial
├── DOCKER-RUN_LOG.md
├── entry.sh
├── LICENSE
├── Makefile
├── modules
├── README.md
├── requirements.txt
├── run-bisque.sh
├── source
├── sources.list
├── start-bisque.sh
└── virtualenv.sh

4 directories, 13 files

Step 2. Verify Everything Works


GOAL

  • Establish a baseline that BisQue works on your local system before changing anything.

You have two choices to verify that the repo is working.

Option 1. Pull the Latest Docker Build (Recommended)

The repo is rebuilt and pushed automatically after a successful push/merge on GitHub. Download the latest image by running the following command:

docker pull amilworks/bisque-tg2-upgrade:git

You can run this image to verify BisQue is working and able to run locally on your system by running:

docker run -itp 8080:8080  --name bqdev-tg2 amilworks/bisque-tg2-upgrade:git

You should see BisQue on http://localhost:8080/ in your browser. If not, paste the logs below and we will take a look.

Option 2. Build the Image

Building the image from scratch is what you will end up doing throughout the upgrade process. Luckily, we automated it to where you run a Makefile.

make bisque05-caffe-xenial

If you vim Makefile, you will see it's a series of basic commands. I suggest you Edit this file and --tag the image something different and update the version you are upgrading instead of amilworks/bisque05-caffe-xenial:flour-tg2.2. You can leave it but it's kind of long. Once the build is done, verify that BisQue comes up on your local system just as above:

docker run -itp 8080:8080  --name bqdev-tg2 amilworks/bisque-tg2-upgrade:git

You should see BisQue on http://localhost:8080/ in your browser. If not, paste both the Build and Run Logs below and we will take a look.

Step 3. Make Changes/Break Stuff


GOAL

  • Upgrade TurboGears to TurboGears2==2.2.2, fix problems that arise, document changes.

Create a new branch
Creating a new branch will enable you to make changes, nuke your own branch over and over again, and maintain a clean copy of the original branch when you need to start fresh for the millionth time.

git checkout -b [name_of_your_new_branch]

Open source/requirements.txt with your favorite editor (hopefully Vim). Change the version to the one you are assigned, and save the file.

Here is the link to the line you will update.

TurboGears2==2.2   # <--- Update Version
TurboMail==3.0.3
WebError==0.10.3
WebFlash==0.1a9
WebHelpers==1.3
WebOb==1.1.1       # <--- Potential Update Needed, Check Build Logs

Push to GitHub
You made changes and you want to have version control. Push your new branch and changes to GitHub by running:

git push -u origin  [name_of_your_new_branch]

Step 4. Build and Run!


GOAL

  • Build and run your changes, fix any dependency issues, document changes, rebuild if necessary (most likely unless you are super lucky), trust the process, and always ask for help if you get stuck!

Once you made your changes, make sure you cd .. out of source/ and are back to the tree view displayed above. You should see a file called Makefile. You can Edit this file as mentioned in Option 2. or simply run the following command to build the image with your updated TurboGears2.

make bisque05-caffe-xenial

While its building, make sure that there are no errors during the pip installs. Typically errors are skipped over in favor of a successful build. I know, right?

Next, once the build is finished, run the image and verify BisQue comes up on your local system:

docker run -itp 8080:8080  --name bqdev-tg2 amilworks/bisque-tg2-upgrade:git

NOTE: There might be other packages that need updating when upgrading to different TurboGears2 versions. Sometimes there will be an error raised with the version required, or it simply will not run and you will have to do a logsdump here and we will have to sift through it together to track the failed step(s).

If everything is successful, push your branch to GitHub if you have not already, file a pull request, and pat yourself on the back. Job well done. We will review it and test it on our production-like setup and give feedback if any issues arise.

Post Upgrade

Use this issue to document any issues you faced during the upgrade process. Log dumps can be thrown here as well. Try to use the code syntax for large blocks of code so we can easily read through it. Otherwise, go crazy.

  • What broke, if anything? Just a simple list will suffice.
  • Were there any files significantly changed or that requires significant attention?
  • Can we move forward to the next upgrade?
  • Any blockers now or that you foresee?
@amilworks amilworks created this issue from a note in TurboGears2 Upgrade (In progress) Nov 3, 2020
@amilworks amilworks added the dependencies Pull requests that update a dependency file label Nov 3, 2020
@mcever
Copy link
Collaborator

mcever commented Nov 4, 2020

Now that I have pulled the repo, when I visit localhost:8080 I'm met with an error message in the browser saying

Requested resource does not exist: /services

`starting h1

20:34:47,663 INFO [bq.preference] FINISHED: http://127.0.0.1:8080/preference?view=deep
20:34:47,675 INFO [bq.root] [None] GET http://127.0.0.1:8080/data_service/dataset?offset=0&tag_query=welcome_page:true&tag_order=%22@ts%22:desc&wpublic=owner,shared&limit=700
20:34:47,675 INFO [bq.root] [None] GET http://127.0.0.1:8080/data_service/image/?offset=0&tag_order=%22@ts%22:desc&wpublic=owner,shared&limit=700
20:34:47,676 INFO [bq.data_service.bisquik_resource] DIR http://127.0.0.1:8080/data_service/image/?offset=0&tag_order=%22@ts%22:desc&wpublic=owner,shared&limit=700 http://127.0.0.1:8080/data_service/
20:34:47,676 INFO [bq.data_service.bisquik_resource] DIR http://127.0.0.1:8080/data_service/dataset?offset=0&tag_query=welcome_page:true&tag_order=%22@ts%22:desc&wpublic=owner,shared&limit=700 http://127.0.0.1:8080/data_service/
20:34:47,678 INFO [bq.root] [None] GET http://127.0.0.1:8080/module_service?offset=0&tag_order=%22@ts%22:desc&wpublic=owner,shared,public&limit=700
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'module'. (this warning may be suppressed after 10 occurrences)
(util.ellipses_string(value),))
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'dataset'. (this warning may be suppressed after 10 occurrences)
(util.ellipses_string(value),))
`

@mcever
Copy link
Collaborator

mcever commented Dec 9, 2020

I tried again today. Browser says same thing, and terminal has a lot of output. I'm actually gonna post the whole thing cause there seem to be some import errors and stuff going on before "starting h1"

austin@keplerplatz:~$ docker run -itp 8080:8080  --name bqdev-tg2 amilworks/bisque-tg2-upgrade:git
+ CMD=bootstrap
+ shift
+ INDEX=https://biodev.ece.ucsb.edu/py/bisque/xenial/+simple
+ CONFIG=./config/site.cfg
+ export PIP_INDEX_URL=https://biodev.ece.ucsb.edu/py/bisque/xenial/+simple
+ PIP_INDEX_URL=https://biodev.ece.ucsb.edu/py/bisque/xenial/+simple
++ pwd
+ reports=/source/reports/
+ BUILD=/builder/
+ BQHOME=/source/
+ VENV=/usr/lib/bisque
+ '[' '!' -d /source/reports/ ']'
++ pwd
+ echo 'In ' /source 'BISQUE in' /source/ 'Reports in' /source/reports/
In  /source BISQUE in /source/ Reports in /source/reports/
+ cd /source/
+ '[' bootstrap = build ']'
+ source /usr/lib/bisque/bin/activate
++ deactivate nondestructive
++ unset -f pydoc
++ '[' -z '' ']'
++ '[' -z '' ']'
++ '[' -n /bin/bash ']'
++ hash -r
++ '[' -z '' ']'
++ unset VIRTUAL_ENV
++ '[' '!' nondestructive = nondestructive ']'
++ VIRTUAL_ENV=/usr/lib/bisque
++ export VIRTUAL_ENV
++ _OLD_VIRTUAL_PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
++ PATH=/usr/lib/bisque/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
++ export PATH
++ '[' -z '' ']'
++ '[' -z '' ']'
++ _OLD_VIRTUAL_PS1=
++ '[' x '!=' x ']'
+++ basename /usr/lib/bisque
++ PS1='(bisque) '
++ export PS1
++ alias pydoc
++ '[' -n /bin/bash ']'
++ hash -r
+ '[' bootstrap = bootstrap ']'
+ echo BOOTSTRAPPING
BOOTSTRAPPING
+ umask 0002
+ ls -l
total 136
drwxr-xr-x  1 root root  4096 Nov  4 08:23 bqapi
drwxr-xr-x  1 root root  4096 Nov  4 08:23 bqcore
drwxr-xr-x  1 root root  4096 Nov  4 08:23 bqengine
drwxr-xr-x  1 root root  4096 Nov  4 08:23 bqfeature
drwxr-xr-x  1 root root  4096 Nov  4 08:23 bqserver
drwxr-xr-x  2 root root  4096 Nov  4 08:23 config
drwxr-xr-x  3 root root  4096 Nov  4 08:21 config-defaults
drwxr-xr-x 29 root root  4096 Nov  4 08:21 contrib
-rw-r--r--  1 root root  3124 Nov  4 08:21 COPYRIGHT
drwxr-xr-x  2 root root  4096 Nov  4 08:23 data
-rw-r--r--  1 root root  1957 Nov  4 08:21 LICENSE
drwxr-xr-x  3 root root  4096 Nov  4 08:21 migrations
drwxr-xr-x  1 root root  4096 Nov  4 08:23 modules
-rw-r--r--  1 root root  9917 Nov  4 08:21 pavement.py
-rw-r--r--  1 root root 43589 Nov  4 08:21 paver-minilib.zip
drwxr-xr-x  2 root root  4096 Nov  4 08:23 plugins
drwxr-xr-x 15 root root  4096 Nov  4 08:23 public
drwxr-xr-x  2 root root  4096 Nov  4 08:21 pytest-bisque
-rw-r--r--  1 root root   187 Nov  4 08:21 pytest.ini
drwxr-xr-x  2 root root  4096 Nov  4 08:22 reports
-rw-r--r--  1 root root  2686 Nov  4 08:21 requirements.txt
-rw-r--r--  1 root root   225 Nov  4 08:21 setup.py
+ '[' -d /builder/boot-scripts.d ']'
+ ls -l /builder/boot-scripts.d
total 4
-rwxr-xr-x 1 root root 47 Nov  4 08:21 B10-fullconfig.sh
+ for f in '${BUILD}boot-scripts.d/B*.sh'
+ echo 'Executing **BOOT /builder/boot-scripts.d/B10-fullconfig.sh **'
Executing **BOOT /builder/boot-scripts.d/B10-fullconfig.sh **
+ '[' -f /builder/boot-scripts.d/B10-fullconfig.sh ']'
+ bash /builder/boot-scripts.d/B10-fullconfig.sh
+ bq-admin setup -y fullconfig
INFO:root:Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
INFO:root:Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
Developer installation
DIRS:  {'bin': '/usr/lib/bisque/bin', 'run': '.', 'share': '.', 'plugins': './plugins', 'packages': '/usr/lib/bisque/lib/python2.7/site-packages', 'data': './data', 'virtualenv': '/usr/lib/bisque', 'default': './config-defaults', 'jslocation': 'bqcore', 'modules': './modules', 'depot': './external', 'config': './config', 'public': './public'}
This is the main installer for Bisque

    The system will initialize and be ready for use after a succesfull
    setup has completed.

    Several questions must be answered to complete the install.  Each
    question is presented with default in brackets [].  Pressing
    <enter> means that you are accepting the default value. You may
    request more information by responding with single '?' and then <enter>.

    For example:
    What is postal abbreviation of Alaska [AK]?

    The default answer is AK and is chosen by simply entering <enter>

    
Beginning install of ['bisque', 'engine'] with ['fullconfig'] 
CALLING  <function install_server_defaults at 0x7fcbf93b6a28>
Server config
Top level site variables are:
  bisque.admin_email=YourEmail@YourOrganization
  bisque.admin_id=admin
  bisque.organization=Your Organization
  bisque.paths.root=.
  bisque.server=http://0.0.0.0:8080
  bisque.title=Image Repository
{'backend': 'paster',
 'e1.bisque.has_database': 'false',
 'e1.bisque.static_files': 'false',
 'e1.services_enabled': 'engine_service',
 'e1.url': 'http://0.0.0.0:27000',
 'h1.services_disabled': '',
 'h1.url': 'http://0.0.0.0:8080',
 'servers': 'h1'}
PARAMS {'e1.bisque.has_database': 'false', 'h1.url': 'http://0.0.0.0:8080', 'servers': 'h1', 'h1.services_disabled': '', 'e1.url': 'http://0.0.0.0:27000', 'e1.bisque.static_files': 'false', 'e1.services_enabled': 'engine_service', 'backend': 'paster'}
Created paster config:  ./config/h1_paster.cfg
CALLING  <function install_mail at 0x7fcbf93b6d70>
Please review/edit the mail.* settings in site.cfg for you site
CALLING  <function install_secrets at 0x7fcbf93b6ed8>
CALLING  <function install_database at 0x7fcbf93b5b90>
Trying to import driver sqlite3...
Driver successfully imported.
Checking whether database "data/bisque.db" already exists...
Yes, it exists.
17:52:13,722 INFO  [bq.config] DATABASE sqlite:///data/bisque.db
17:52:13,722 INFO  [bq.config] SQLLite special handling NullPool timoout
17:52:13,728 INFO  [bq.websetup] Creating all tables
17:52:15,657 INFO  [bq.websetup] found service engine_service = bq.engine.controllers.engine_service
17:52:15,822 INFO  [bq.websetup] Creating tables for engine_service = bq.engine.controllers.engine_service
17:52:15,823 INFO  [bq.websetup] found service core = bq.core.controllers.root
17:52:15,835 INFO  [bq.websetup] Creating tables for core = bq.core.controllers.root
17:52:15,835 INFO  [bq.websetup] found service data_service = bq.data_service.controllers.data_service
17:52:15,929 INFO  [bq.websetup] Creating tables for data_service = bq.data_service.controllers.data_service
17:52:15,939 INFO  [bq.websetup] found service blob_service = bq.blob_service.controllers.blobsrv
17:52:16,434 INFO  [bq.websetup] Creating tables for blob_service = bq.blob_service.controllers.blobsrv
17:52:16,434 INFO  [bq.websetup] found service pipeline = bq.pipeline.controllers.service
17:52:16,444 INFO  [bq.websetup] Creating tables for pipeline = bq.pipeline.controllers.service
17:52:16,444 INFO  [bq.websetup] found service ingest_service = bq.ingest.controllers.ingest_server
17:52:21,308 INFO  [bq.image_service.server] Available converters: openslide (1.1.1), imgcnv (2.4.3), ImarisConvert (8.0.2), bioformats (5.1.1)
17:52:21,315 INFO  [bq.websetup] Creating tables for ingest_service = bq.ingest.controllers.ingest_server
17:52:21,324 INFO  [bq.websetup] found service stats = bq.stats.controllers.stats_server
17:52:21,385 INFO  [bq.websetup] Creating tables for stats = bq.stats.controllers.stats_server
17:52:21,386 INFO  [bq.websetup] found service admin = bq.admin_service.controllers.service
17:52:21,418 INFO  [bq.websetup] Creating tables for admin = bq.admin_service.controllers.service
17:52:21,419 INFO  [bq.websetup] found service graph = bq.graph.controllers.graph
17:52:21,431 INFO  [bq.websetup] Creating tables for graph = bq.graph.controllers.graph
17:52:21,462 INFO  [bq.websetup] found service module_service = bq.module_service.controllers.module_server
17:52:21,505 INFO  [bq.websetup] Creating tables for module_service = bq.module_service.controllers.module_server
17:52:21,507 INFO  [bq.websetup] found service auth_service = bq.client_service.controllers.auth_service
17:52:21,527 INFO  [bq.websetup] Creating tables for auth_service = bq.client_service.controllers.auth_service
17:52:21,528 INFO  [bq.websetup] found service client_service = bq.client_service.controllers.service
17:52:21,531 INFO  [bq.websetup] Creating tables for client_service = bq.client_service.controllers.service
17:52:21,532 INFO  [bq.websetup] found service image_service = bq.image_service.controllers.service
17:52:21,534 INFO  [bq.websetup] Creating tables for image_service = bq.image_service.controllers.service
17:52:21,534 INFO  [bq.websetup] found service dataset_service = bq.dataset_service.controllers.dataset_service
17:52:21,538 INFO  [bq.websetup] Creating tables for dataset_service = bq.dataset_service.controllers.dataset_service
17:52:21,538 INFO  [bq.websetup] found service export = bq.export_service.controllers.export_service
17:52:21,739 INFO  [bq.websetup] Creating tables for export = bq.export_service.controllers.export_service
17:52:21,740 INFO  [bq.websetup] found service preference = bq.preference.controllers.service
17:52:21,754 INFO  [bq.websetup] Creating tables for preference = bq.preference.controllers.service
17:52:21,754 INFO  [bq.websetup] found service registration = bq.registration.controllers.registration_service
17:52:21,954 INFO  [bq.websetup] Creating tables for registration = bq.registration.controllers.registration_service
17:52:22,227 INFO  [bq.websetup] found service usage = bq.usage.controllers.usage
17:52:22,253 INFO  [bq.websetup] Creating tables for usage = bq.usage.controllers.usage
17:52:22,253 INFO  [bq.websetup] found service import = bq.import_service.controllers.import_service
17:52:22,274 INFO  [bq.websetup] Creating tables for import = bq.import_service.controllers.import_service
17:52:22,275 INFO  [bq.websetup] found service notebook_service = bq.client_service.controllers.dn_service
17:52:22,295 INFO  [bq.websetup] Creating tables for notebook_service = bq.client_service.controllers.dn_service
17:52:22,296 INFO  [bq.websetup] found service table = bq.table.controllers.service
17:52:23,067 INFO  [bq.websetup] Creating tables for table = bq.table.controllers.service
17:52:23,068 INFO  [bq.websetup] found service notify = bq.client_service.controllers.notify_service
17:52:23,071 INFO  [bq.websetup] Creating tables for notify = bq.client_service.controllers.notify_service
17:52:23,071 INFO  [bq.websetup] found service features = bq.features.controllers.service
17:52:23,467 WARNI [bq.features] Failed to import: MyFeatures reason No module named scipy.signal 
17:52:23,799 WARNI [bq.features] Failed to import: ScikitImage reason No module named skimage.feature 
17:52:23,823 INFO  [bq.websetup] Creating tables for features = bq.features.controllers.service
INFO  [alembic.migration] Context impl SQLiteImpl.
INFO  [alembic.migration] Will assume non-transactional DDL.
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'mex'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'initialization'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'user'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value '(root)'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'tag'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'display_name'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'admin'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
Running setup_config() from bq.websetup
CALLING  <function install_preferences at 0x7fcbf93b6de8>
CALLING  <function install_engine_defaults at 0x7fcbf93b6b18>
Engine config
Top level site variables are:
  bisque.engine=http://0.0.0.0:27000
  bisque.paths.root=.
{'e1.url': 'http://0.0.0.0:27000'}
Warning: Please review the [server] section of site.cfg after modifying site variables
CALLING  <function install_docker at 0x7fcbf93b5f50>
CALLING  <function install_matlab at 0x7fcbf93b5e60>
CONFIG ./config/runtime-bisque.cfg
WARNING: Matlab is required for many modules
CALLING  <function install_runtime at 0x7fcbf93b6cf8>
No condor was found. See bisque website for details on using condor
+ CMD=start
+ shift
+ '[' start = pylint ']'
+ '[' start = unit-tests ']'
+ '[' start = function-tests ']'
+ '[' start = start ']'
+ '[' '!' -f config/site.cfg ']'
+ '[' -d /builder/start-scripts.d ']'
+ ls -l /builder/start-scripts.d
total 4
-rwxr-xr-x 1 root root 78 Nov  4 08:21 R50-start-bisque.sh
+ for f in '${BUILD}start-scripts.d/R*.sh'
+ echo 'Executing ** START /builder/start-scripts.d/R50-start-bisque.sh **'
Executing ** START /builder/start-scripts.d/R50-start-bisque.sh **
+ '[' -f /builder/start-scripts.d/R50-start-bisque.sh ']'
+ bash /builder/start-scripts.d/R50-start-bisque.sh
starting h1
17:52:30,265 INFO  [bq.image_service.plugins] Available operation plugins: operations,roi,transform,rearrange3d,brightnesscontrast,textureatlas,localpath,intensityprojection,threshold,meta,frames,resize3d,slice,cleancache,sampleframes,negative,tile,thumbnail,remap,format,histogram,dims,levels,pixelcounter,resize,rotate,depth,fuse,formats,deinterlace,view
17:52:30,266 INFO  [bq.image_service.server] Setting OMP_NUM_THREADS = 4
17:52:30,266 INFO  [bq.usage] initialize /usage
17:52:30,283 INFO  [bq.table.plugins] Available import plugins: hdf,csv,excel
17:52:30,287 INFO  [bq.table.plugins] Available export plugins: xml,hdf,json,table,csv,extjs
17:52:30,288 INFO  [bq.table.plugins] Available operation plugins: filter,agg
17:52:30,288 INFO  [bq.table] Table service started...
17:52:30,289 INFO  [bq.features] initialize /features
17:52:30,289 INFO  [bq.config.middleware] Root-Controller: startup complete
serving on 0.0.0.0:8080 view at http://127.0.0.1:8080
17:52:50,943 INFO  [bq.root] [None] GET http://127.0.0.1:8080/client_service/
17:52:50,943 INFO  [bq.client_service] WELCOME http://127.0.0.1:8080/client_service/ {'_accessed_time': 1607536370.943209, '_creation_time': 1607536370.943209} 
17:52:51,084 INFO  [bq.core.statics] STATIC REQ /core/extjs/resources/css/ext-all.css
17:52:51,085 INFO  [bq.core.statics] STATIC REQ /core/css/all_css.css
17:52:51,085 INFO  [bq.core.statics] STATIC REQ /core/extjs/ext-all.js
17:52:51,086 INFO  [bq.core.statics] STATIC REQ /core/d3/d3.js
17:52:51,086 INFO  [bq.core.statics] STATIC REQ /core/threejs/three.js
17:52:51,087 INFO  [bq.core.statics] STATIC REQ /core/async/async.js
17:52:51,169 INFO  [bq.core.statics] STATIC REQ /core/js/carousel/carousel.css
17:52:51,191 INFO  [bq.core.statics] STATIC REQ /client_service/css/welcome.css
17:52:51,192 INFO  [bq.core.statics] STATIC REQ /core/jquery/jquery.min.js
17:52:51,206 INFO  [bq.core.statics] STATIC REQ /core/proj4js/proj4.js
17:52:51,225 INFO  [bq.core.statics] STATIC REQ /core/extjs/resources/ext-theme-classic/ext-theme-classic-all.css
17:52:51,288 INFO  [bq.core.statics] STATIC REQ /core/raphael/raphael.js
17:52:51,295 INFO  [bq.core.statics] STATIC REQ /core/js/viewer/kinetic-v5.1.0.js
17:52:51,316 INFO  [bq.core.statics] STATIC REQ /core/js/all_js.js
17:52:51,320 INFO  [bq.core.statics] STATIC REQ /core/js/carousel/Panel.js
17:52:51,403 INFO  [bq.core.statics] STATIC REQ /usage/bq_usage_stats.js
17:52:51,686 INFO  [bq.root] [None] GET http://127.0.0.1:8080/data_service/image/?gob_types=true&wpublic=true
17:52:51,687 INFO  [bq.data_service.bisquik_resource] DIR  http://127.0.0.1:8080/data_service/image/?gob_types=true&wpublic=true http://127.0.0.1:8080/data_service/
17:52:51,720 INFO  [bq.root] [None] GET http://127.0.0.1:8080/services
17:52:51,720 WARNI [bq.root] no service found services with ()
17:52:51,739 INFO  [bq.root] [None] GET http://127.0.0.1:8080/preference?view=deep
17:52:51,748 INFO  [bq.preference] STARTING: http://127.0.0.1:8080/preference?view=deep
17:52:51,761 INFO  [bq.root] [None] GET http://127.0.0.1:8080/client_service/welcomebackground?size=800,600
17:52:51,762 INFO  [bq.root] [None] GET http://127.0.0.1:8080/data_service/user?view=deep&wpublic=true
17:52:51,762 INFO  [bq.client_service] BACKGROUND {'_accessed_time': 1607536371.748293, '_creation_time': 1607536371.748293} 
17:52:51,763 INFO  [bq.data_service.bisquik_resource] DIR  http://127.0.0.1:8080/data_service/user?view=deep&wpublic=true http://127.0.0.1:8080/data_service/
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'image'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'system'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'gobject'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
17:52:51,779 INFO  [bq.root] [None] GET http://127.0.0.1:8080/data_service/
17:52:51,784 INFO  [bq.root] [None] GET http://127.0.0.1:8080/data_service/template/
17:52:51,786 INFO  [bq.data_service.bisquik_resource] DIR  http://127.0.0.1:8080/data_service/template/ http://127.0.0.1:8080/data_service/
17:52:51,794 INFO  [bq.core.statics] STATIC REQ /core/extjs/resources/ext-theme-classic/images/form/exclamation.gif
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'template'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
17:52:51,817 INFO  [bq.core.statics] STATIC REQ /core/extjs/resources/ext-theme-classic/images/button/arrow.gif
17:52:51,823 INFO  [bq.core.statics] STATIC REQ /core/images/icons_toolbar.svg
17:52:51,825 INFO  [bq.core.statics] STATIC REQ /core/images/bisque_logo_gray.svg
17:52:51,833 INFO  [bq.core.statics] STATIC REQ /core/extjs/resources/ext-theme-classic/images/toolbar/more.gif
17:52:51,902 INFO  [bq.root] [None] GET http://127.0.0.1:8080/usage/uploads
17:52:51,910 INFO  [bq.usage] uploads {}
17:52:51,912 INFO  [bq.root] [None] GET http://127.0.0.1:8080/usage/uploads_monthly
17:52:51,912 INFO  [bq.usage] uploads {}
17:52:51,913 INFO  [bq.root] [None] GET http://127.0.0.1:8080/usage/analysis_monthly
17:52:51,913 INFO  [bq.usage] uploads {}
17:52:51,914 INFO  [bq.root] [None] GET http://127.0.0.1:8080/usage/analysis
17:52:51,914 INFO  [bq.usage] uploads {}
17:52:51,914 INFO  [bq.preference] FINISHED: http://127.0.0.1:8080/preference?view=deep
17:52:51,941 INFO  [bq.root] [None] GET http://127.0.0.1:8080/usage/stats
17:52:51,943 INFO  [bq.usage] stats {}
17:52:51,978 INFO  [bq.usage] CALL EXPENSIVE
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'tag'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
17:52:52,205 INFO  [bq.core.statics] STATIC REQ /core/extjs/resources/ext-theme-classic/images/tools/tool-sprites.gif
17:52:52,233 INFO  [bq.core.statics] STATIC REQ /core/js/carousel/images/tabs_white.png
17:52:52,253 ERROR [bq.middleware] Error - <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'startswith'

17:52:52,254 ERROR [bq.middleware] URL: http://127.0.0.1:8080/client_service/welcomebackground?size=800,600
File '/usr/lib/bisque/local/lib/python2.7/site-packages/weberror/errormiddleware.py', line 242 in next
  return self.app_iterator.next()
File '/usr/lib/bisque/local/lib/python2.7/site-packages/repoze/tm/__init__.py', line 58 in __call__
  reraise(type_, value, tb)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/repoze/tm/__init__.py', line 51 in __call__
  for chunk in self.application(environ, save_status_and_headers):
File '/usr/lib/bisque/local/lib/python2.7/site-packages/repoze/who/middleware.py', line 107 in __call__
  app_iter = app(environ, wrapper.wrap_start_response)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/tw/core/middleware.py', line 46 in __call__
  return self.wsgi_app(environ, start_response)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/tw/core/middleware.py', line 72 in wsgi_app
  resp = req.get_response(self.application)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/webob/request.py', line 1086 in get_response
  application, catch_exc_info=False)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/webob/request.py', line 1055 in call_application
  app_iter = application(self.environ, start_response)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/tw/core/resource_injector.py', line 70 in _injector
  resp = req.get_response(app)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/webob/request.py', line 1086 in get_response
  application, catch_exc_info=False)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/webob/request.py', line 1055 in call_application
  app_iter = application(self.environ, start_response)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/beaker/middleware.py', line 73 in __call__
  return self.app(environ, start_response)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/beaker/middleware.py', line 155 in __call__
  return self.wrap_app(environ, session_start_response)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/routes/middleware.py', line 131 in __call__
  response = self.app(environ, start_response)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 107 in __call__
  response = self.dispatch(controller, environ, start_response)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 312 in dispatch
  return controller(environ, start_response)
File '/source/bqcore/bq/core/lib/base.py', line 37 in __call__
  return TGController.__call__(self, environ, start_response)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 211 in __call__
  response = self._dispatch_call()
File '/usr/lib/bisque/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 162 in _dispatch_call
  response = self._inspect_call(func)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 105 in _inspect_call
  result = self._perform_call(func, args)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/tg/controllers/dispatcher.py', line 127 in _perform_call
  r = self._call(func, params, remainder=remainder)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/tg/controllers/decoratedcontroller.py', line 133 in _call
  output = controller_callable(*remainder, **dict(params))
File '/source/bqcore/bq/config/app_cfg.py', line 60 in wrapped_controller
  return controller(*args, **kw)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/transaction/_manager.py', line 178 in __exit__
  return self._retry_or_raise(t, v, tb)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/transaction/_manager.py', line 166 in _retry_or_raise
  reraise(t, v, tb) # otherwise reraise the exception
File '/source/bqcore/bq/config/app_cfg.py', line 60 in wrapped_controller
  return controller(*args, **kw)
File '/source/bqserver/bq/client_service/controllers/client_service.py', line 169 in welcomebackground
  redirect (base_url=thumbnail)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/tg/controllers/util.py', line 167 in redirect
  new_url = url(base_url, params=params)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/tg/controllers/util.py', line 79 in url
  if base_url.startswith('/'):
AttributeError: 'NoneType' object has no attribute 'startswith'


CGI Variables
-------------
  CONTENT_LENGTH: '0'
  CONTENT_TYPE: '; charset=utf-8'
  HTTP_ACCEPT: 'image/webp,image/apng,image/*,*/*;q=0.8'
  HTTP_ACCEPT_ENCODING: 'gzip, deflate, br'
  HTTP_ACCEPT_LANGUAGE: 'en-US,en;q=0.9'
  HTTP_CONNECTION: 'keep-alive'
  HTTP_HOST: '127.0.0.1:8080'
  HTTP_REFERER: 'http://127.0.0.1:8080/client_service/'
  HTTP_SEC_FETCH_DEST: 'image'
  HTTP_SEC_FETCH_MODE: 'no-cors'
  HTTP_SEC_FETCH_SITE: 'same-origin'
  HTTP_USER_AGENT: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36'
  PATH_INFO: '/client_service/welcomebackground'
  QUERY_STRING: 'size=800,600'
  REMOTE_ADDR: '172.17.0.1'
  REQUEST_METHOD: 'GET'
  SERVER_NAME: '0.0.0.0'
  SERVER_PORT: '8080'
  SERVER_PROTOCOL: 'HTTP/1.1'


WSGI Variables
--------------
  application: <function remover at 0x7f217407ced8>
  beaker.cache: <beaker.cache.CacheManager object at 0x7f2180ac9cd0>
  beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x7f2178df61d0>>
  beaker.session: {'_accessed_time': 1607536371.748293, '_creation_time': 1607536371.748293}
  paste.cookies: (<SimpleCookie: >, '')
  paste.httpserver.proxy.host: 'dummy'
  paste.httpserver.proxy.scheme: 'http'
  paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at 0x7f213fdd8b90>
  paste.parsed_dict_querystring: (MultiDict([('size', '800,600')]), 'size=800,600')
  paste.parsed_querystring: ([('size', '800,600')], 'size=800,600')
  paste.registry: <paste.registry.Registry object at 0x7f213cda3a90>
  paste.throw_errors: True
  pylons.action_method: <bound method RootController.routes_placeholder of <bq.core.controllers.root.RootController object at 0x7f20f8fb2050>>
  pylons.controller: <bq.core.controllers.root.RootController object at 0x7f20f8fb2050>
  pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}
  pylons.pylons: <pylons.util.PylonsContext object at 0x7f20f8f97fd0>
  pylons.routes_dict: {'url': u'/client_service/welcomebackground', 'action': u'routes_placeholder', 'controller': u'root'}
  repoze.tm.active: True
  repoze.who.logger: <logging.Logger object at 0x7f218260e4d0>
  repoze.who.plugins: {'bq.core.lib.sqlauth:md_group_plugin': <repoze.what.middleware.AuthorizationMetadata object at 0x7f217406da10>, 'mexauth': <bq.core.lib.mex_auth.MexAuthenticatePlugin object at 0x7f217405d610>, 'bq.core.lib.sqlauth:md_plugin': <repoze.who.plugins.sa.SQLAlchemyUserMDPlugin object at 0x7f217406d450>, 'basicauth': <BasicAuthPlugin 139781657149392>, 'auth_tkt': <AuthTktCookiePlugin 139781657146000>, 'sqlauth': <repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin object at 0x7f217406d190>, 'friendlyform': <FriendlyFormPlugin 139781657094736>}
  routes.route: <routes.route.Route object at 0x7f21785cefd0>
  routes.url: <routes.util.URLGenerator object at 0x7f20f8f97e90>
  toscawidgets.framework: <tw.mods.base.HostFramework object at 0x7f217430fc10>
  toscawidgets.javascript.require_once: False
  toscawidgets.prefix: '/toscawidgets'
  webob._parsed_query_vars: (GET([('size', '800,600')]), 'size=800,600')
  webob.adhoc_attrs: {'start_response': <function repl_start_response at 0x7f20f8fd9c08>, 'controller_state': <crank.dispatchstate.DispatchState object at 0x7f20f8fb21d0>, 'identity': {}, 'language': 'en-us'}
  wsgi process: 'Multithreaded'
  wsgiorg.routing_args: (<routes.util.URLGenerator object at 0x7f20f8f97e90>, {'url': u'/client_service/welcomebackground', 'action': u'routes_placeholder', 'controller': u'root'})
------------------------------------------------------------

17:52:52,254 ERROR [bq.middleware] 
            <p>Additionally an error occurred while sending the &lt;weberror.reporter.EmailReporter object at 0x7f20f8dc63d0&gt; report:

            <pre>Traceback (most recent call last):
  File "/usr/lib/bisque/local/lib/python2.7/site-packages/weberror/errormiddleware.py", line 450, in send_report
    rep.report(exc_data)
  File "/usr/lib/bisque/local/lib/python2.7/site-packages/weberror/reporter.py", line 45, in report
    server = smtplib.SMTP(self.smtp_server)
  File "/usr/lib/python2.7/smtplib.py", line 256, in __init__
    (code, msg) = self.connect(host, port)
  File "/usr/lib/python2.7/smtplib.py", line 316, in connect
    self.sock = self._get_socket(host, port, self.timeout)
  File "/usr/lib/python2.7/smtplib.py", line 291, in _get_socket
    return socket.create_connection((host, port), timeout)
  File "/usr/lib/python2.7/socket.py", line 575, in create_connection
    raise err
error: [Errno 99] Cannot assign requested address
</pre>
            </p>
17:52:52,281 INFO  [bq.core.statics] STATIC REQ /core/images/browse_80.png
17:52:52,293 INFO  [bq.root] [None] GET http://127.0.0.1:8080/preference/user?view=deep
17:52:52,303 INFO  [bq.preference] STARTING: http://127.0.0.1:8080/preference/user?view=deep
17:52:52,308 INFO  [bq.preference] GET /preference/user -> fetching user level preference
17:52:52,315 INFO  [bq.core.statics] STATIC REQ /core/images/cancel.png
17:52:52,324 INFO  [bq.preference] FINISHED: http://127.0.0.1:8080/preference/user?view=deep
17:52:52,339 INFO  [bq.core.statics] STATIC REQ /core/extjs/resources/ext-theme-classic/images/tab-bar/default-scroll-left-top.gif
17:52:52,344 INFO  [bq.core.statics] STATIC REQ /core/extjs/resources/ext-theme-classic/images/tab-bar/default-scroll-right-top.gif
17:52:52,406 INFO  [bq.root] [None] GET http://127.0.0.1:8080/module_service?offset=0&tag_order=%22@ts%22:desc&wpublic=owner,shared,public&limit=700
17:52:52,408 INFO  [bq.root] [None] GET http://127.0.0.1:8080/data_service/image/?offset=0&tag_order=%22@ts%22:desc&wpublic=owner,shared&limit=700
17:52:52,409 INFO  [bq.data_service.bisquik_resource] DIR  http://127.0.0.1:8080/data_service/image/?offset=0&tag_order=%22@ts%22:desc&wpublic=owner,shared&limit=700 http://127.0.0.1:8080/data_service/
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'module'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
17:52:52,422 INFO  [bq.core.statics] STATIC REQ /core/js/ResourceBrowser/Images/loading.gif
17:52:52,429 INFO  [bq.root] [None] GET http://127.0.0.1:8080/data_service/dataset?offset=0&tag_query=welcome_page:true&tag_order=%22@ts%22:desc&wpublic=owner,shared&limit=700
17:52:52,430 INFO  [bq.data_service.bisquik_resource] DIR  http://127.0.0.1:8080/data_service/dataset?offset=0&tag_query=welcome_page:true&tag_order=%22@ts%22:desc&wpublic=owner,shared&limit=700 http://127.0.0.1:8080/data_service/
17:52:52,453 INFO  [bq.core.statics] STATIC REQ /core/images/progress_circles.gif
17:52:52,472 INFO  [bq.core.statics] STATIC REQ /core/images/bisque_icon.png
17:52:52,535 INFO  [bq.core.statics] STATIC REQ /core/js/ResourceBrowser/Images/no-results.png
17:52:52,543 INFO  [bq.core.statics] STATIC REQ /core/js/ResourceBrowser/Images/res-slider-bg.png
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'dataset'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))

@mcever
Copy link
Collaborator

mcever commented Jan 20, 2021

I pulled the github fresh this morning, and I pulled the container to make sure it's working. When I open Bisque, a red error box pops up telling me "requested resource does not exist: /services" or something along those lines. It goes away when I try to copy/paste. I'll paste the logs from my terminal.

austin@keplerplatz:~/tg-upgrade$ docker run -itp 8080:8080  --name bqdev-tg2 amilworks/bisque-tg2-upgrade:git
+ CMD=bootstrap
+ shift
+ INDEX=https://biodev.ece.ucsb.edu/py/bisque/xenial/+simple
+ CONFIG=./config/site.cfg
+ export PIP_INDEX_URL=https://biodev.ece.ucsb.edu/py/bisque/xenial/+simple
+ PIP_INDEX_URL=https://biodev.ece.ucsb.edu/py/bisque/xenial/+simple
++ pwd
+ reports=/source/reports/
+ BUILD=/builder/
+ BQHOME=/source/
+ VENV=/usr/lib/bisque
+ '[' '!' -d /source/reports/ ']'
++ pwd
+ echo 'In ' /source 'BISQUE in' /source/ 'Reports in' /source/reports/
In  /source BISQUE in /source/ Reports in /source/reports/
+ cd /source/
+ '[' bootstrap = build ']'
+ source /usr/lib/bisque/bin/activate
++ deactivate nondestructive
++ unset -f pydoc
++ '[' -z '' ']'
++ '[' -z '' ']'
++ '[' -n /bin/bash ']'
++ hash -r
++ '[' -z '' ']'
++ unset VIRTUAL_ENV
++ '[' '!' nondestructive = nondestructive ']'
++ VIRTUAL_ENV=/usr/lib/bisque
++ export VIRTUAL_ENV
++ _OLD_VIRTUAL_PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
++ PATH=/usr/lib/bisque/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
++ export PATH
++ '[' -z '' ']'
++ '[' -z '' ']'
++ _OLD_VIRTUAL_PS1=
++ '[' x '!=' x ']'
+++ basename /usr/lib/bisque
++ PS1='(bisque) '
++ export PS1
++ alias pydoc
++ '[' -n /bin/bash ']'
++ hash -r
+ '[' bootstrap = bootstrap ']'
+ echo BOOTSTRAPPING
BOOTSTRAPPING
+ umask 0002
+ ls -l
total 136
drwxr-xr-x  1 root root  4096 Nov  4 08:23 bqapi
drwxr-xr-x  1 root root  4096 Nov  4 08:23 bqcore
drwxr-xr-x  1 root root  4096 Nov  4 08:23 bqengine
drwxr-xr-x  1 root root  4096 Nov  4 08:23 bqfeature
drwxr-xr-x  1 root root  4096 Nov  4 08:23 bqserver
drwxr-xr-x  2 root root  4096 Nov  4 08:23 config
drwxr-xr-x  3 root root  4096 Nov  4 08:21 config-defaults
drwxr-xr-x 29 root root  4096 Nov  4 08:21 contrib
-rw-r--r--  1 root root  3124 Nov  4 08:21 COPYRIGHT
drwxr-xr-x  2 root root  4096 Nov  4 08:23 data
-rw-r--r--  1 root root  1957 Nov  4 08:21 LICENSE
drwxr-xr-x  3 root root  4096 Nov  4 08:21 migrations
drwxr-xr-x  1 root root  4096 Nov  4 08:23 modules
-rw-r--r--  1 root root  9917 Nov  4 08:21 pavement.py
-rw-r--r--  1 root root 43589 Nov  4 08:21 paver-minilib.zip
drwxr-xr-x  2 root root  4096 Nov  4 08:23 plugins
drwxr-xr-x 15 root root  4096 Nov  4 08:23 public
drwxr-xr-x  2 root root  4096 Nov  4 08:21 pytest-bisque
-rw-r--r--  1 root root   187 Nov  4 08:21 pytest.ini
drwxr-xr-x  2 root root  4096 Nov  4 08:22 reports
-rw-r--r--  1 root root  2686 Nov  4 08:21 requirements.txt
-rw-r--r--  1 root root   225 Nov  4 08:21 setup.py
+ '[' -d /builder/boot-scripts.d ']'
+ ls -l /builder/boot-scripts.d
total 4
-rwxr-xr-x 1 root root 47 Nov  4 08:21 B10-fullconfig.sh
+ for f in '${BUILD}boot-scripts.d/B*.sh'
+ echo 'Executing **BOOT /builder/boot-scripts.d/B10-fullconfig.sh **'
Executing **BOOT /builder/boot-scripts.d/B10-fullconfig.sh **
+ '[' -f /builder/boot-scripts.d/B10-fullconfig.sh ']'
+ bash /builder/boot-scripts.d/B10-fullconfig.sh
+ bq-admin setup -y fullconfig
INFO:root:Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
INFO:root:Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
Developer installation
DIRS:  {'bin': '/usr/lib/bisque/bin', 'run': '.', 'share': '.', 'plugins': './plugins', 'packages': '/usr/lib/bisque/lib/python2.7/site-packages', 'data': './data', 'virtualenv': '/usr/lib/bisque', 'default': './config-defaults', 'jslocation': 'bqcore', 'modules': './modules', 'depot': './external', 'config': './config', 'public': './public'}
This is the main installer for Bisque

    The system will initialize and be ready for use after a succesfull
    setup has completed.

    Several questions must be answered to complete the install.  Each
    question is presented with default in brackets [].  Pressing
    <enter> means that you are accepting the default value. You may
    request more information by responding with single '?' and then <enter>.

    For example:
    What is postal abbreviation of Alaska [AK]?

    The default answer is AK and is chosen by simply entering <enter>

    
Beginning install of ['bisque', 'engine'] with ['fullconfig'] 
CALLING  <function install_server_defaults at 0x7f70122cba28>
Server config
Top level site variables are:
  bisque.admin_email=YourEmail@YourOrganization
  bisque.admin_id=admin
  bisque.organization=Your Organization
  bisque.paths.root=.
  bisque.server=http://0.0.0.0:8080
  bisque.title=Image Repository
{'backend': 'paster',
 'e1.bisque.has_database': 'false',
 'e1.bisque.static_files': 'false',
 'e1.services_enabled': 'engine_service',
 'e1.url': 'http://0.0.0.0:27000',
 'h1.services_disabled': '',
 'h1.url': 'http://0.0.0.0:8080',
 'servers': 'h1'}
PARAMS {'e1.bisque.has_database': 'false', 'h1.url': 'http://0.0.0.0:8080', 'servers': 'h1', 'h1.services_disabled': '', 'e1.url': 'http://0.0.0.0:27000', 'e1.bisque.static_files': 'false', 'e1.services_enabled': 'engine_service', 'backend': 'paster'}
Created paster config:  ./config/h1_paster.cfg
CALLING  <function install_mail at 0x7f70122cbd70>
Please review/edit the mail.* settings in site.cfg for you site
CALLING  <function install_secrets at 0x7f70122cbed8>
CALLING  <function install_database at 0x7f70122cab90>
Trying to import driver sqlite3...
Driver successfully imported.
Checking whether database "data/bisque.db" already exists...
Yes, it exists.
18:33:17,139 INFO  [bq.config] DATABASE sqlite:///data/bisque.db
18:33:17,141 INFO  [bq.config] SQLLite special handling NullPool timoout
18:33:17,165 INFO  [bq.websetup] Creating all tables
18:33:19,183 INFO  [bq.websetup] found service engine_service = bq.engine.controllers.engine_service
18:33:19,334 INFO  [bq.websetup] Creating tables for engine_service = bq.engine.controllers.engine_service
18:33:19,334 INFO  [bq.websetup] found service core = bq.core.controllers.root
18:33:19,345 INFO  [bq.websetup] Creating tables for core = bq.core.controllers.root
18:33:19,345 INFO  [bq.websetup] found service data_service = bq.data_service.controllers.data_service
18:33:19,431 INFO  [bq.websetup] Creating tables for data_service = bq.data_service.controllers.data_service
18:33:19,435 INFO  [bq.websetup] found service blob_service = bq.blob_service.controllers.blobsrv
18:33:19,917 INFO  [bq.websetup] Creating tables for blob_service = bq.blob_service.controllers.blobsrv
18:33:19,917 INFO  [bq.websetup] found service pipeline = bq.pipeline.controllers.service
18:33:19,925 INFO  [bq.websetup] Creating tables for pipeline = bq.pipeline.controllers.service
18:33:19,925 INFO  [bq.websetup] found service ingest_service = bq.ingest.controllers.ingest_server
18:33:24,453 INFO  [bq.image_service.server] Available converters: openslide (1.1.1), imgcnv (2.4.3), ImarisConvert (8.0.2), bioformats (5.1.1)
18:33:24,455 INFO  [bq.websetup] Creating tables for ingest_service = bq.ingest.controllers.ingest_server
18:33:24,457 INFO  [bq.websetup] found service stats = bq.stats.controllers.stats_server
18:33:24,484 INFO  [bq.websetup] Creating tables for stats = bq.stats.controllers.stats_server
18:33:24,484 INFO  [bq.websetup] found service admin = bq.admin_service.controllers.service
18:33:24,504 INFO  [bq.websetup] Creating tables for admin = bq.admin_service.controllers.service
18:33:24,504 INFO  [bq.websetup] found service graph = bq.graph.controllers.graph
18:33:24,507 INFO  [bq.websetup] Creating tables for graph = bq.graph.controllers.graph
18:33:24,513 INFO  [bq.websetup] found service module_service = bq.module_service.controllers.module_server
18:33:24,536 INFO  [bq.websetup] Creating tables for module_service = bq.module_service.controllers.module_server
18:33:24,538 INFO  [bq.websetup] found service auth_service = bq.client_service.controllers.auth_service
18:33:24,544 INFO  [bq.websetup] Creating tables for auth_service = bq.client_service.controllers.auth_service
18:33:24,544 INFO  [bq.websetup] found service client_service = bq.client_service.controllers.service
18:33:24,547 INFO  [bq.websetup] Creating tables for client_service = bq.client_service.controllers.service
18:33:24,548 INFO  [bq.websetup] found service image_service = bq.image_service.controllers.service
18:33:24,549 INFO  [bq.websetup] Creating tables for image_service = bq.image_service.controllers.service
18:33:24,549 INFO  [bq.websetup] found service dataset_service = bq.dataset_service.controllers.dataset_service
18:33:24,553 INFO  [bq.websetup] Creating tables for dataset_service = bq.dataset_service.controllers.dataset_service
18:33:24,553 INFO  [bq.websetup] found service export = bq.export_service.controllers.export_service
18:33:24,710 INFO  [bq.websetup] Creating tables for export = bq.export_service.controllers.export_service
18:33:24,710 INFO  [bq.websetup] found service preference = bq.preference.controllers.service
18:33:24,714 INFO  [bq.websetup] Creating tables for preference = bq.preference.controllers.service
18:33:24,714 INFO  [bq.websetup] found service registration = bq.registration.controllers.registration_service
18:33:24,839 INFO  [bq.websetup] Creating tables for registration = bq.registration.controllers.registration_service
18:33:25,102 INFO  [bq.websetup] found service usage = bq.usage.controllers.usage
18:33:25,105 INFO  [bq.websetup] Creating tables for usage = bq.usage.controllers.usage
18:33:25,106 INFO  [bq.websetup] found service import = bq.import_service.controllers.import_service
18:33:25,109 INFO  [bq.websetup] Creating tables for import = bq.import_service.controllers.import_service
18:33:25,110 INFO  [bq.websetup] found service notebook_service = bq.client_service.controllers.dn_service
18:33:25,128 INFO  [bq.websetup] Creating tables for notebook_service = bq.client_service.controllers.dn_service
18:33:25,128 INFO  [bq.websetup] found service table = bq.table.controllers.service
18:33:25,816 INFO  [bq.websetup] Creating tables for table = bq.table.controllers.service
18:33:25,817 INFO  [bq.websetup] found service notify = bq.client_service.controllers.notify_service
18:33:25,819 INFO  [bq.websetup] Creating tables for notify = bq.client_service.controllers.notify_service
18:33:25,820 INFO  [bq.websetup] found service features = bq.features.controllers.service
18:33:26,160 WARNI [bq.features] Failed to import: MyFeatures reason No module named scipy.signal 
18:33:26,473 WARNI [bq.features] Failed to import: ScikitImage reason No module named skimage.feature 
18:33:26,491 INFO  [bq.websetup] Creating tables for features = bq.features.controllers.service
INFO  [alembic.migration] Context impl SQLiteImpl.
INFO  [alembic.migration] Will assume non-transactional DDL.
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'mex'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'initialization'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'user'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value '(root)'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'tag'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'display_name'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'admin'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
Running setup_config() from bq.websetup
CALLING  <function install_preferences at 0x7f70122cbde8>
CALLING  <function install_engine_defaults at 0x7f70122cbb18>
Engine config
Top level site variables are:
  bisque.engine=http://0.0.0.0:27000
  bisque.paths.root=.
{'e1.url': 'http://0.0.0.0:27000'}
Warning: Please review the [server] section of site.cfg after modifying site variables
CALLING  <function install_docker at 0x7f70122caf50>
CALLING  <function install_matlab at 0x7f70122cae60>
CONFIG ./config/runtime-bisque.cfg
WARNING: Matlab is required for many modules
CALLING  <function install_runtime at 0x7f70122cbcf8>
No condor was found. See bisque website for details on using condor
+ CMD=start
+ shift
+ '[' start = pylint ']'
+ '[' start = unit-tests ']'
+ '[' start = function-tests ']'
+ '[' start = start ']'
+ '[' '!' -f config/site.cfg ']'
+ '[' -d /builder/start-scripts.d ']'
+ ls -l /builder/start-scripts.d
total 4
-rwxr-xr-x 1 root root 78 Nov  4 08:21 R50-start-bisque.sh
+ for f in '${BUILD}start-scripts.d/R*.sh'
+ echo 'Executing ** START /builder/start-scripts.d/R50-start-bisque.sh **'
Executing ** START /builder/start-scripts.d/R50-start-bisque.sh **
+ '[' -f /builder/start-scripts.d/R50-start-bisque.sh ']'
+ bash /builder/start-scripts.d/R50-start-bisque.sh
starting h1
18:33:39,369 INFO  [bq.core.statics] STATIC REQ /core/js/carousel/carousel.css
18:33:39,397 INFO  [bq.core.statics] STATIC REQ /client_service/css/welcome.css
18:33:39,399 INFO  [bq.core.statics] STATIC REQ /core/extjs/resources/ext-theme-classic/ext-theme-classic-all.css
18:33:39,427 INFO  [bq.core.statics] STATIC REQ /core/jquery/jquery.min.js
18:33:39,448 INFO  [bq.core.statics] STATIC REQ /core/proj4js/proj4.js
18:33:39,451 INFO  [bq.core.statics] STATIC REQ /core/raphael/raphael.js
18:33:39,453 INFO  [bq.core.statics] STATIC REQ /core/js/viewer/kinetic-v5.1.0.js
18:33:39,455 INFO  [bq.core.statics] STATIC REQ /core/js/all_js.js
18:33:39,534 INFO  [bq.core.statics] STATIC REQ /core/js/carousel/Panel.js
18:33:39,566 INFO  [bq.core.statics] STATIC REQ /usage/bq_usage_stats.js
18:33:39,817 INFO  [bq.root] [None] GET http://127.0.0.1:8080/data_service/image/?gob_types=true&wpublic=true
18:33:39,818 INFO  [bq.data_service.bisquik_resource] DIR  http://127.0.0.1:8080/data_service/image/?gob_types=true&wpublic=true http://127.0.0.1:8080/data_service/
18:33:39,847 INFO  [bq.root] [None] GET http://127.0.0.1:8080/services
18:33:39,847 WARNI [bq.root] no service found services with ()
18:33:39,888 INFO  [bq.root] [None] GET http://127.0.0.1:8080/preference?view=deep
18:33:39,889 INFO  [bq.preference] STARTING: http://127.0.0.1:8080/preference?view=deep
18:33:39,907 INFO  [bq.root] [None] GET http://127.0.0.1:8080/data_service/user?view=deep&wpublic=true
18:33:39,907 INFO  [bq.root] [None] GET http://127.0.0.1:8080/client_service/welcomebackground?size=800,600
18:33:39,908 INFO  [bq.client_service] BACKGROUND {'_accessed_time': 1611167619.889791, '_creation_time': 1611167619.889791} 
18:33:39,908 INFO  [bq.data_service.bisquik_resource] DIR  http://127.0.0.1:8080/data_service/user?view=deep&wpublic=true http://127.0.0.1:8080/data_service/
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'image'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'gobject'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'system'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
18:33:39,921 INFO  [bq.root] [None] GET http://127.0.0.1:8080/data_service/template/
18:33:39,921 INFO  [bq.data_service.bisquik_resource] DIR  http://127.0.0.1:8080/data_service/template/ http://127.0.0.1:8080/data_service/
18:33:39,921 INFO  [bq.root] [None] GET http://127.0.0.1:8080/data_service/
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'template'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
18:33:39,950 INFO  [bq.core.statics] STATIC REQ /core/extjs/resources/ext-theme-classic/images/toolbar/more.gif
18:33:39,950 INFO  [bq.core.statics] STATIC REQ /core/extjs/resources/ext-theme-classic/images/button/arrow.gif
18:33:39,951 INFO  [bq.core.statics] STATIC REQ /core/images/icons_toolbar.svg
18:33:39,981 INFO  [bq.core.statics] STATIC REQ /core/images/bisque_logo_gray.svg
18:33:40,007 INFO  [bq.root] [None] GET http://127.0.0.1:8080/usage/uploads
18:33:40,008 INFO  [bq.usage] uploads {}
18:33:40,063 INFO  [bq.root] [None] GET http://127.0.0.1:8080/usage/uploads_monthly
18:33:40,065 INFO  [bq.usage] uploads {}
18:33:40,069 INFO  [bq.root] [None] GET http://127.0.0.1:8080/usage/analysis_monthly
18:33:40,070 INFO  [bq.usage] uploads {}
18:33:40,071 INFO  [bq.root] [None] GET http://127.0.0.1:8080/usage/analysis
18:33:40,071 INFO  [bq.preference] FINISHED: http://127.0.0.1:8080/preference?view=deep
18:33:40,073 INFO  [bq.usage] uploads {}
18:33:40,126 INFO  [bq.root] [None] GET http://127.0.0.1:8080/usage/stats
18:33:40,130 INFO  [bq.usage] stats {}
18:33:40,175 INFO  [bq.usage] CALL EXPENSIVE
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'tag'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
18:33:40,337 INFO  [bq.core.statics] STATIC REQ /core/extjs/resources/ext-theme-classic/images/tools/tool-sprites.gif
18:33:40,366 INFO  [bq.core.statics] STATIC REQ /core/js/carousel/images/tabs_white.png
18:33:40,412 INFO  [bq.core.statics] STATIC REQ /core/images/cancel.png
18:33:40,478 INFO  [bq.core.statics] STATIC REQ /core/images/browse_80.png
18:33:40,504 ERROR [bq.middleware] Error - <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'startswith'

18:33:40,505 ERROR [bq.middleware] URL: http://127.0.0.1:8080/client_service/welcomebackground?size=800,600
File '/usr/lib/bisque/local/lib/python2.7/site-packages/weberror/errormiddleware.py', line 242 in next
  return self.app_iterator.next()
File '/usr/lib/bisque/local/lib/python2.7/site-packages/repoze/tm/__init__.py', line 58 in __call__
  reraise(type_, value, tb)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/repoze/tm/__init__.py', line 51 in __call__
  for chunk in self.application(environ, save_status_and_headers):
File '/usr/lib/bisque/local/lib/python2.7/site-packages/repoze/who/middleware.py', line 107 in __call__
  app_iter = app(environ, wrapper.wrap_start_response)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/tw/core/middleware.py', line 46 in __call__
  return self.wsgi_app(environ, start_response)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/tw/core/middleware.py', line 72 in wsgi_app
  resp = req.get_response(self.application)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/webob/request.py', line 1086 in get_response
  application, catch_exc_info=False)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/webob/request.py', line 1055 in call_application
  app_iter = application(self.environ, start_response)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/tw/core/resource_injector.py', line 70 in _injector
  resp = req.get_response(app)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/webob/request.py', line 1086 in get_response
  application, catch_exc_info=False)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/webob/request.py', line 1055 in call_application
  app_iter = application(self.environ, start_response)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/beaker/middleware.py', line 73 in __call__
  return self.app(environ, start_response)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/beaker/middleware.py', line 155 in __call__
  return self.wrap_app(environ, session_start_response)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/routes/middleware.py', line 131 in __call__
  response = self.app(environ, start_response)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 107 in __call__
  response = self.dispatch(controller, environ, start_response)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 312 in dispatch
  return controller(environ, start_response)
File '/source/bqcore/bq/core/lib/base.py', line 37 in __call__
  return TGController.__call__(self, environ, start_response)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 211 in __call__
  response = self._dispatch_call()
File '/usr/lib/bisque/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 162 in _dispatch_call
  response = self._inspect_call(func)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 105 in _inspect_call
  result = self._perform_call(func, args)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/tg/controllers/dispatcher.py', line 127 in _perform_call
  r = self._call(func, params, remainder=remainder)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/tg/controllers/decoratedcontroller.py', line 133 in _call
  output = controller_callable(*remainder, **dict(params))
File '/source/bqcore/bq/config/app_cfg.py', line 60 in wrapped_controller
  return controller(*args, **kw)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/transaction/_manager.py', line 178 in __exit__
  return self._retry_or_raise(t, v, tb)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/transaction/_manager.py', line 166 in _retry_or_raise
  reraise(t, v, tb) # otherwise reraise the exception
File '/source/bqcore/bq/config/app_cfg.py', line 60 in wrapped_controller
  return controller(*args, **kw)
File '/source/bqserver/bq/client_service/controllers/client_service.py', line 169 in welcomebackground
  redirect (base_url=thumbnail)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/tg/controllers/util.py', line 167 in redirect
  new_url = url(base_url, params=params)
File '/usr/lib/bisque/local/lib/python2.7/site-packages/tg/controllers/util.py', line 79 in url
  if base_url.startswith('/'):
AttributeError: 'NoneType' object has no attribute 'startswith'


CGI Variables
-------------
  CONTENT_LENGTH: '0'
  CONTENT_TYPE: '; charset=utf-8'
  HTTP_ACCEPT: 'image/webp,image/apng,image/*,*/*;q=0.8'
  HTTP_ACCEPT_ENCODING: 'gzip, deflate, br'
  HTTP_ACCEPT_LANGUAGE: 'en-US,en;q=0.9'
  HTTP_CONNECTION: 'keep-alive'
  HTTP_HOST: '127.0.0.1:8080'
  HTTP_REFERER: 'http://127.0.0.1:8080/client_service/'
  HTTP_SEC_FETCH_DEST: 'image'
  HTTP_SEC_FETCH_MODE: 'no-cors'
  HTTP_SEC_FETCH_SITE: 'same-origin'
  HTTP_USER_AGENT: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36'
  PATH_INFO: '/client_service/welcomebackground'
  QUERY_STRING: 'size=800,600'
  REMOTE_ADDR: '172.17.0.1'
  REQUEST_METHOD: 'GET'
  SERVER_NAME: '0.0.0.0'
  SERVER_PORT: '8080'
  SERVER_PROTOCOL: 'HTTP/1.1'


WSGI Variables
--------------
  application: <function remover at 0x7f451c0b4ed8>
  beaker.cache: <beaker.cache.CacheManager object at 0x7f45276e3cd0>
  beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x7f451fa101d0>>
  beaker.session: {'_accessed_time': 1611167619.889791, '_creation_time': 1611167619.889791}
  paste.cookies: (<SimpleCookie: >, '')
  paste.httpserver.proxy.host: 'dummy'
  paste.httpserver.proxy.scheme: 'http'
  paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at 0x7f44e68d6b90>
  paste.parsed_dict_querystring: (MultiDict([('size', '800,600')]), 'size=800,600')
  paste.parsed_querystring: ([('size', '800,600')], 'size=800,600')
  paste.registry: <paste.registry.Registry object at 0x7f44e4025710>
  paste.throw_errors: True
  pylons.action_method: <bound method RootController.routes_placeholder of <bq.core.controllers.root.RootController object at 0x7f44e1863f90>>
  pylons.controller: <bq.core.controllers.root.RootController object at 0x7f44e1863f90>
  pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}
  pylons.pylons: <pylons.util.PylonsContext object at 0x7f44e1863f50>
  pylons.routes_dict: {'url': u'/client_service/welcomebackground', 'action': u'routes_placeholder', 'controller': u'root'}
  repoze.tm.active: True
  repoze.who.logger: <logging.Logger object at 0x7f45292284d0>
  repoze.who.plugins: {'bq.core.lib.sqlauth:md_group_plugin': <repoze.what.middleware.AuthorizationMetadata object at 0x7f451c0a5a10>, 'mexauth': <bq.core.lib.mex_auth.MexAuthenticatePlugin object at 0x7f451c095610>, 'bq.core.lib.sqlauth:md_plugin': <repoze.who.plugins.sa.SQLAlchemyUserMDPlugin object at 0x7f451c0a5450>, 'basicauth': <BasicAuthPlugin 139934799806416>, 'auth_tkt': <AuthTktCookiePlugin 139934799803024>, 'sqlauth': <repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin object at 0x7f451c0a5190>, 'friendlyform': <FriendlyFormPlugin 139934799751760>}
  routes.route: <routes.route.Route object at 0x7f451f1e8fd0>
  routes.url: <routes.util.URLGenerator object at 0x7f44e1863e10>
  toscawidgets.framework: <tw.mods.base.HostFramework object at 0x7f451c12fc10>
  toscawidgets.javascript.require_once: False
  toscawidgets.prefix: '/toscawidgets'
  webob._parsed_query_vars: (GET([('size', '800,600')]), 'size=800,600')
  webob.adhoc_attrs: {'start_response': <function repl_start_response at 0x7f44e1844d70>, 'controller_state': <crank.dispatchstate.DispatchState object at 0x7f44e187a050>, 'identity': {}, 'language': 'en-us'}
  wsgi process: 'Multithreaded'
  wsgiorg.routing_args: (<routes.util.URLGenerator object at 0x7f44e1863e10>, {'url': u'/client_service/welcomebackground', 'action': u'routes_placeholder', 'controller': u'root'})
------------------------------------------------------------

18:33:40,505 INFO  [bq.root] [None] GET http://127.0.0.1:8080/preference/user?view=deep
18:33:40,505 ERROR [bq.middleware] 
            <p>Additionally an error occurred while sending the &lt;weberror.reporter.EmailReporter object at 0x7f44c017cb10&gt; report:

            <pre>Traceback (most recent call last):
  File "/usr/lib/bisque/local/lib/python2.7/site-packages/weberror/errormiddleware.py", line 450, in send_report
    rep.report(exc_data)
  File "/usr/lib/bisque/local/lib/python2.7/site-packages/weberror/reporter.py", line 45, in report
    server = smtplib.SMTP(self.smtp_server)
  File "/usr/lib/python2.7/smtplib.py", line 256, in __init__
    (code, msg) = self.connect(host, port)
  File "/usr/lib/python2.7/smtplib.py", line 316, in connect
    self.sock = self._get_socket(host, port, self.timeout)
  File "/usr/lib/python2.7/smtplib.py", line 291, in _get_socket
    return socket.create_connection((host, port), timeout)
  File "/usr/lib/python2.7/socket.py", line 575, in create_connection
    raise err
error: [Errno 99] Cannot assign requested address
</pre>
            </p>
18:33:40,506 INFO  [bq.preference] STARTING: http://127.0.0.1:8080/preference/user?view=deep
18:33:40,506 INFO  [bq.preference] GET /preference/user -> fetching user level preference
18:33:40,524 INFO  [bq.preference] FINISHED: http://127.0.0.1:8080/preference/user?view=deep
18:33:40,528 INFO  [bq.core.statics] STATIC REQ /core/extjs/resources/ext-theme-classic/images/form/exclamation.gif
18:33:40,536 INFO  [bq.core.statics] STATIC REQ /core/extjs/resources/ext-theme-classic/images/tab-bar/default-scroll-left-top.gif
18:33:40,563 INFO  [bq.root] [None] GET http://127.0.0.1:8080/module_service?offset=0&tag_order=%22@ts%22:desc&wpublic=owner,shared,public&limit=700
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'module'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
18:33:40,587 INFO  [bq.root] [None] GET http://127.0.0.1:8080/data_service/image/?offset=0&tag_order=%22@ts%22:desc&wpublic=owner,shared&limit=700
18:33:40,588 INFO  [bq.data_service.bisquik_resource] DIR  http://127.0.0.1:8080/data_service/image/?offset=0&tag_order=%22@ts%22:desc&wpublic=owner,shared&limit=700 http://127.0.0.1:8080/data_service/
18:33:40,595 INFO  [bq.core.statics] STATIC REQ /core/extjs/resources/ext-theme-classic/images/tab-bar/default-scroll-right-top.gif
18:33:40,603 INFO  [bq.root] [None] GET http://127.0.0.1:8080/data_service/dataset?offset=0&tag_query=welcome_page:true&tag_order=%22@ts%22:desc&wpublic=owner,shared&limit=700
18:33:40,604 INFO  [bq.data_service.bisquik_resource] DIR  http://127.0.0.1:8080/data_service/dataset?offset=0&tag_query=welcome_page:true&tag_order=%22@ts%22:desc&wpublic=owner,shared&limit=700 http://127.0.0.1:8080/data_service/
18:33:40,646 INFO  [bq.core.statics] STATIC REQ /core/images/progress_circles.gif
18:33:40,647 INFO  [bq.core.statics] STATIC REQ /core/js/ResourceBrowser/Images/loading.gif
18:33:40,693 INFO  [bq.core.statics] STATIC REQ /core/js/ResourceBrowser/Images/res-slider-bg.png
18:33:40,698 INFO  [bq.core.statics] STATIC REQ /core/js/ResourceBrowser/Images/no-results.png
18:33:40,724 INFO  [bq.core.statics] STATIC REQ /core/images/bisque_icon.png
/usr/lib/bisque/local/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:226: SAWarning: Unicode type received non-unicode bind param value 'dataset'. (this warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))

@github-actions
Copy link

Stale issue message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file no-issue-activity
Projects
No open projects
Development

No branches or pull requests

2 participants