Git Product home page Git Product logo

redmine-migrator's People

Contributors

ilopmar avatar mariogarcia avatar xaviju avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

redmine-migrator's Issues

failed to delete migrated projects

I use version 1.0.1 jar and migrated some projects from redmine.
While I want to delete those projects from django /admin/projects/project/, it resulted in internal server error(500) as below error:

In /admin/projects/project/, project id=8 is the migrated project. It still there now.

ERROR:2016-08-26 11:18:46,917: Internal Server Error: /admin/projects/project/
Traceback (most recent call last):
  File "/home/devops/.virtualenvs/taiga/lib/python3.5/site-packages/django/db/backends/base/base.py", line 211, in _commit
    return self.connection.commit()
psycopg2.IntegrityError: insert or update on table "projects_points" violates foreign key constraint "projects_points_project_id_3b8f7b42_fk_projects_project_id"
DETAIL:  Key (project_id)=(8) is not present in table "projects_project".


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/devops/.virtualenvs/taiga/lib/python3.5/site-packages/django/core/handlers/base.py", line 149, in get_response
    response = self.process_exception_by_middleware(e, request)
  File "/home/devops/.virtualenvs/taiga/lib/python3.5/site-packages/django/core/handlers/base.py", line 147, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/devops/.virtualenvs/taiga/lib/python3.5/site-packages/django/contrib/admin/options.py", line 541, in wrapper
    return self.admin_site.admin_view(view)(*args, **kwargs)
  File "/home/devops/.virtualenvs/taiga/lib/python3.5/site-packages/django/utils/decorators.py", line 149, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/home/devops/.virtualenvs/taiga/lib/python3.5/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "/home/devops/.virtualenvs/taiga/lib/python3.5/site-packages/django/contrib/admin/sites.py", line 244, in inner
    return view(request, *args, **kwargs)
  File "/home/devops/.virtualenvs/taiga/lib/python3.5/site-packages/django/utils/decorators.py", line 67, in _wrapper
    return bound_func(*args, **kwargs)
  File "/home/devops/.virtualenvs/taiga/lib/python3.5/site-packages/django/utils/decorators.py", line 149, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/home/devops/.virtualenvs/taiga/lib/python3.5/site-packages/django/utils/decorators.py", line 63, in bound_func
    return func.__get__(self, type(self))(*args2, **kwargs2)
  File "/home/devops/.virtualenvs/taiga/lib/python3.5/site-packages/django/contrib/admin/options.py", line 1512, in changelist_view
    response = self.response_action(request, queryset=cl.get_queryset(request))
  File "/home/devops/.virtualenvs/taiga/lib/python3.5/site-packages/django/contrib/admin/options.py", line 1245, in response_action
    response = func(self, request, queryset)
  File "/home/devops/.virtualenvs/taiga/lib/python3.5/site-packages/django/contrib/admin/actions.py", line 49, in delete_selected
    queryset.delete()
  File "/home/devops/.virtualenvs/taiga/lib/python3.5/site-packages/django/db/models/query.py", line 600, in delete
    deleted, _rows_count = collector.delete()
  File "/home/devops/.virtualenvs/taiga/lib/python3.5/site-packages/django/db/models/deletion.py", line 316, in delete
    sender=model, instance=obj, using=self.using
  File "/home/devops/.virtualenvs/taiga/lib/python3.5/site-packages/django/db/transaction.py", line 223, in __exit__
    connection.commit()
  File "/home/devops/.virtualenvs/taiga/lib/python3.5/site-packages/django/db/backends/base/base.py", line 242, in commit
    self._commit()
  File "/home/devops/.virtualenvs/taiga/lib/python3.5/site-packages/django/db/backends/base/base.py", line 211, in _commit
    return self.connection.commit()
  File "/home/devops/.virtualenvs/taiga/lib/python3.5/site-packages/django/db/utils.py", line 95, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/home/devops/.virtualenvs/taiga/lib/python3.5/site-packages/django/utils/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "/home/devops/.virtualenvs/taiga/lib/python3.5/site-packages/django/db/backends/base/base.py", line 211, in _commit
    return self.connection.commit()
django.db.utils.IntegrityError: insert or update on table "projects_points" violates foreign key constraint "projects_points_project_id_3b8f7b42_fk_projects_project_id"
DETAIL:  Key (project_id)=(8) is not present in table "projects_project".

Errors on ubuntu linux

I can get this working within a Windows 7 VM under VirtualBox but on Ubuntu linux the projects aren't listed.

Messages during startup: redmine-migrator-1.0.1_startup.txt

... project listing: redmine-migrator-1.0.1_listredmine.txt (no projects get listed.)

java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)

Distributor ID: Ubuntu
Description: Ubuntu 15.10
Release: 15.10
Codename: wily

Unable to list Taiga projects or convert over SSL

I have Taiga 1.9.0 successfully installed and running with Apache 2.4 as a proxy to the back and front ends and SSL-enabled. I am trying to run the Redmine converter and cannot get it to work unless I disable SSL on the Taiga side.

The converter console shows an error message but it's not helpful:

Mon Nov 02 13:36:17 MST 2015    ERROR   gui.controller.MigrationProgressAwareController Exception while migrating: Cannot get property 'contentAsString' on null object

Feature Request: Migration/Synchronisation of Issues in Redmine

Hi,

I still need to use Redmine because it is managing my git repositories, and has tight integration between my issues and the code checked in for those issues. As far as i can tell, Taigaio cannot do this, or at least it does not manage git repositories.

But i would like to use taigaio for kanban etc too. So, can you adjust the tool to give 'tighter' integration with redmine, that is, there is a link between the redmine issue and taigaio issues, such that changes in one are reflected in the other?

cannot load projects

Hi,
on ubuntu(18.04) with openjdk version "1.8.0_171"
I get this exception when trying to load list of project from redmine.

2018-05-18 12:23:33.645 DEBUG - org.viewaframework.view.AbstractViewContainerSetting final UI state from view gui.redmine.RedmineProjectListView
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
2018-05-18 12:23:33.724 ERROR - org.apache.log4j.Category$error$1
2018-05-18 12:23:33.725 DEBUG - org.viewaframework.widget.view.ui.MasterViewModel[M:2 | V:2] gui.console.ConsoleViewEntry(ERROR, gui.redmine.RedmineProjectListController, Fri May 18 12:23:33 CEST 2018)

Cannot migrate from redmine to selfhosted taiga

Hello.
Redmine version : 2.0.2.stable

I see all the redmine projects in the migrator, but get an error when starting migration:

2018-06-27 16:00:21.050 ERROR - org.apache.log4j.Category$error$1Exception while migrating: Cannot get property 'contentAsString' on null object
2018-06-27 16:00:21.052 DEBUG - org.viewaframework.widget.view.ui.MasterViewModel[M:11 | V:11] gui.console.ConsoleViewEntry(ERROR, gui.controller.MigrationProgressAwareController, Exception while migrating: Cannot get property 'contentAsString' on null object, Wed Jun 27 16:00:21 MSK 2018)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.