migration

MigrationError during plone upgrading from 4.3.8 to 5.0.3

孤人 提交于 2019-12-25 16:04:53
问题 OS: debian 8.3 I upgraded partially from 4.3.8 to 5.0.3. I get stuck in migration error to Dexterity. The process I did before upgrade in 4.3.8: Disable all add-ons Add a sitecustomize.py in site-package director: import sys sys.setdefaultencoding('utf8') update and re-index all catalog in keti/portal_catalog/manage_main delete 'checkout_workflow_policy' in keti/portal_properties/site_properties/manage_propertiesForm delete all objects in /keti/reference_catalog/manage_catalogView The process

Generating Record Layouts for EBCDIC Data Files.

两盒软妹~` 提交于 2019-12-25 08:37:07
问题 We are attempting to write a tool in Perl which is expected to parse a fixed length EBCDIC data file and generate the record layout by looking at the hex value of each byte in the record. It is assumed that each data file, which is written by a Cobol program whose source code we do not have, can have multiple record layouts. The aim of this tool is to perform data migration (EBCDIC to ASCII) by generating layout which would then be fed to a converter. The problem is that there are hundreds of

Laravel: Cannot generate migration file with make:migration command

雨燕双飞 提交于 2019-12-25 07:59:04
问题 I've got an ongoing project and migrations were working fine. But I don't know if something has changed, now php artisan make:migration my_migration_name is not generating a migration file and not showing any errors as well. I've tried running it with -v verbosity flag but nothing is printed on terminal. My directory permissions seem to be fine; I've also tried running it with sudo but I got this error message; I've updated composer and tried to remove laravel and reinstall laravel/framework

How do I use Django South when my app is inside another directory?

▼魔方 西西 提交于 2019-12-25 06:39:10
问题 So by default, Django creates apps inside the root project dir. But I moved it inside "apps". py manage.py schemamigration ./apps/chat --initial This doesn't work. Instead of "chat", I put "chat" Inside another directory. 回答1: is apps python module or just directory? if apps python modue, add apps.chat to installed apps in settings.py and run py manage.py schemamigration chat --initial if apps is just directory, so you need to add this directory to your PYTHONPATH. add these lines at near top

After performing Oracle to SQL Server Migration I lost my SysDB database. How can I recreate it?

谁说胖子不能爱 提交于 2019-12-25 05:04:17
问题 I recently did a Oracle to SQL Server 2008 R2 Migration. The PL/SQL stored procedures were converted to T/SQL by SSMA. The converted T/SQL has many references to the sysdb database, for instance sysdb.ssma_oracle.db_check_init_package I then exported the SQL Server 2008 R2 database, and imported it to SQL Server 2012. However I forgot to copy the sysdb database. What is the easiest way of creating the sysdb database? Thank you! 回答1: Just install SSMA for Oracle 5.2 Extension Pack.exe

Django. South. Can't migrate field: relation already exists

╄→尐↘猪︶ㄣ 提交于 2019-12-25 03:54:34
问题 I've been having lots of problems with South, I just can't add new fields. So this is what I did: dropped the south_migrationhistory table from the database, deleted all the migration folders and uninstalled south "pip uninstall south". then, installed south again. ran syncdb to create the south table on the db. converted_to_south the app where I want to add the fields. (everything working fine till this point) ran schemamigration app --auto. And it gave me the regular message "+added field .

java.lang.NoSuchMethodError: javax.faces.component.UIComponent.getPassThroughAttributes(Z)Ljava/util/Map; after migrating to JSF 2.2

孤街浪徒 提交于 2019-12-25 03:41:13
问题 I am getting the below exception after migrating to JSF 2.2. Specifically, I'm upgrading Mojarra 2.1.17 to Mojarra 2.2.8. java.lang.NoSuchMethodError: javax.faces.component.UIComponent.getPassThroughAttributes(Z)Ljava/util/Map; at org.primefaces.renderkit.RendererUtils.renderPassThroughAttributes(RendererUtils.java:79) at org.primefaces.renderkit.CoreRenderer.renderDynamicPassThruAttributes(CoreRenderer.java:119) at org.primefaces.renderkit.CoreRenderer.renderPassThruAttributes(CoreRenderer

Django 1.7 migrations: django.db.utils.OperationalError: no such table: db_trans_language

三世轮回 提交于 2019-12-25 03:32:25
问题 I'm working on a django project and have had some migration troubles in my (test)prod setting and as a consequence have I dumped all relevant data and I am now in the process of setting up the database from scratch. Here is what happens: I remove all (potentially) faulty migrations from the app I run makemigrations I run migrate I am presented with the following error: Error: C:\Users\Sverker\Dropbox\Picrates>python manage.py makemigrations db_trans C:\Users\Sverker\Dropbox\Picrates\picrates

Core Data Migration: Extracting fields to an abstract entity child

帅比萌擦擦* 提交于 2019-12-25 03:27:02
问题 I have a migration where I'm moving fields from one entity into another entity which is a child of an abstract entity. My model has an entity, Thing , which is 1->M to an abstract entity, AbstractWidget , which is the parent for NewStuff . Something like this: +-------+ +----------------+ +----------+ | Thing |<--->>| AbstractWidget |<---| NewStuff | +-------+ +----------------+ +----------+ I am moving several attributes from Thing to NewStuff , and I've been following the instructions on a

Table creaction on doctrine migration for custom behavior

不羁岁月 提交于 2019-12-25 02:15:34
问题 I've created custom doctrine(1.2) behavior which should create tables for models (very simmilar to i18n behavior). I see this tables in schema.sql, and if i execute it everything is fine, but this is no such tables if my migrations diff (doctrine:generate-migrations-diff). What i'm doing wrong? class DescriptionableGenerator extends Doctrine_Record_Generator { protected $_options = array( 'className' => '%CLASS%Description', 'tableName' => '%TABLE%_description', 'fields' => array(),