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

[BUG]Import annotations through admin interface broken #2276

Open
Cervidellus opened this issue Nov 19, 2024 · 2 comments
Open

[BUG]Import annotations through admin interface broken #2276

Cervidellus opened this issue Nov 19, 2024 · 2 comments

Comments

@Cervidellus
Copy link

{{Delete or replace all double-braced text.}}

  • CATMAID version: 2021.12.21.dev336+geb6d70fa0
  • CATMAID instance: local instance
  • Browser: chrome/firefox
  • Operating system: Ubuntu 24.04.1

When trying to import traces through the admin interface, you are presented with a 3 step process. Step 2 does not present you with any options. Presumably, this is where you would enter the file to import the traces from.

To reproduce

-From the admin page click 'Import annotations and tracing data'
-Choose the local file radio button
-Select a project from the pulldown menu
-Click next step

More information

The step 2 page only provides options to navigate to the previous or next step. As this is where I expect you would enter the file path, going to step 3 gives you an empty list of items that would be imported.

@Cervidellus
Copy link
Author

I am wondering if this is showing up because my database is not correctly connecting? I've imported some traces using manage.py , and can see that the import into the database was successful, but I am unable to see or search for the traces in the catmaid client. The database itself seems fine, but I suspect I don't have something configured correctly for catmaid..

@Cervidellus
Copy link
Author

Cervidellus commented Nov 21, 2024

Fixed my issue with the database, it was unrelated. It looks like maybe it is just not implemented, as the html files for annotation import in DJANGO/applications/catmaid/templates/catmaid/import/annotations seem to be copied from those intended for project import(one directory higher). And where the form is defined, "annotationsadmin.py" the relevant form is defined as:
class FileBasedImportForm(forms.Form): pass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant