Coder Social home page Coder Social logo

Comments (7)

alex-ong avatar alex-ong commented on July 19, 2024 1

i.e. python toggl2clockify.py --skipClients --skipProjects --skipEntries --skipTags --skipTasks --doArchive

This has been added in the documentation in #21

I've catch a different error when doing the final step python toggl2clockify.py --skipClients --skipProjects --skipEntries --skipTags --skipTasks --doArchive

@Royedc4
Archiving API changed, requires PUT request. That's why it's failing. I've patched it in #21 . Hopefully this will be merged soon; otherwise try pulling my branch. If you're using the .exe you're out of luck since it hasn't been updated since 2 years ago.

API for deletion (you probably never used it, but anyway) also changed and requires archive before delete.

from toggl2clockify.

rdlagency avatar rdlagency commented on July 19, 2024

@epiclemon I had the same and reading through the code, seemed to be caused by importing tasks without projects and there's a flag available of --skipTasks. Adding that too, skips that block and the archiving runs.

i.e. python toggl2clockify.py --skipClients --skipProjects --skipEntries --skipTags --skipTasks --doArchive

from toggl2clockify.

dayaketu avatar dayaketu commented on July 19, 2024

@rdlagency Thanks, it worked :)

from toggl2clockify.

dayaketu avatar dayaketu commented on July 19, 2024

I wanted to report back that running that did something wrong. It archived projects on Clockify that were not archived on Toggl and it did not archive on Clockify projects that were archived in Toggl. No error happened or at least was mentioned in the logs.

from toggl2clockify.

rdlagency avatar rdlagency commented on July 19, 2024

@epiclemon Sorry to hear that - mine did work OK, but had to manually catch 50 or so projects at the end for some reason which seemed not to archive. Hope you manage to resolve.

from toggl2clockify.

Royedc4 avatar Royedc4 commented on July 19, 2024

I've catch a different error when doing the final step python toggl2clockify.py --skipClients --skipProjects --skipEntries --skipTags --skipTasks --doArchive

2020-04-01 13:20:41,158 - INFO - Clue - project 0 Androids is not active, trying to archive (5 of 127)
2020-04-01 13:20:42,468 - WARNING - ClockifyAPI - Archiving project 0 Androids failed, status code=404, msg=
2020-04-01 13:20:42,469 - INFO - Clue - project 0 Asd Migration is not active, trying to archive (6 of 127)
2020-04-01 13:20:43,577 - WARNING - ClockifyAPI - Archiving project 0 Asd Migration failed, status code=404, msg=

It is not archiving any project

from toggl2clockify.

alex-ong avatar alex-ong commented on July 19, 2024

This has been fixed, the issue can be closed

from toggl2clockify.

Related Issues (14)

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.