Giter Club home page Giter Club logo

Comments (6)

rralf avatar rralf commented on July 25, 2024 1

Yeah, I believe that this step is problematic with low bandwidth.

Try to only clone the alsa-devel public inbox. If you choose the alsa-minconfig branch, then the repository (resources/linux/repo) and the inbox (resources/linux/resources/mbox/pubin/alsa-project.org/alsa-devel/0.git) should be sufficient.

Hope that helps.

from pasta.

rralf avatar rralf commented on July 25, 2024 1

Hi,

select was replaced by set_config. Forgot to update the Readme. For the second error: We changed the format of the MailThread class. You have to delete your pickle caches before: rm resources/linux/resources/*.pkl

Thanks

from pasta.

ShubhamPandey28 avatar ShubhamPandey28 commented on July 25, 2024

There is no subcommand as select in ./pasta -h .

(lfd-pasta) dark_matter@DarkMatter ~/l/l/PaStA (master)> ./pasta -h
2020-07-20 13:27:05,420 PaStA           INFO     Cmdline: ./pasta -h
PaStA - The Patch Stack Analysis (PaStA 0.3)

usage: ./pasta [-d] [-c project_name] sub [-h|--help]
where sub is one of:
  analyse
  check_connectivity
  check_mbox
  compare
  form_patchwork_relations
  maintainers_stats
  optimise_cluster
  prepare_evaluation
  rate
  sync
  set_config
  show_cluster
  statistics
  compare_stacks
  compare_clusters
  patch_descriptions
  ripup
  upstream_history
  web

If -c is not provided, PaStA will choose ./config as config file

Copyright (c) OTH Regensburg, 2016-2017
Licensed under GPLv2 (See COPYING)
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Ralf Ramsauer.

Also although I can see it initiated in this line, ./pasta sync -mbox prompts the below error:

(lfd-pasta) dark_matter@DarkMatter ~/l/l/PaStA (master) [1]> ./pasta sync -mbox
2020-07-20 11:57:19,928 PaStA           INFO     Cmdline: ./pasta sync -mbox
2020-07-20 11:57:19,929 pypasta.Config  INFO     Loading configuration: linux
2020-07-20 11:57:20,046 Repository.Mbox INFO     Loading mailbox subsystem
2020-07-20 11:57:27,277 Repository.Mbox INFO       ↪ loaded invalid mail index: found 5469124 invalid mails
2020-07-20 11:57:27,277 Repository.Mbox INFO     Loading public inboxes
2020-07-20 11:57:32,263 Repository.Mbox INFO       ↪ loaded mail index for [email protected] (shard 0): found 214516 mails
2020-07-20 11:57:34,218 pypasta.Config  INFO     Renewing upstream commit hash file
2020-07-20 11:57:36,109 pypasta.Config  INFO       ↪ done
2020-07-20 11:57:36,123 Repository.Mbox INFO     Update list [email protected]
2020-07-20 11:57:40,098 Repository.Mbox INFO     Updating 1 emails
2020-07-20 11:57:40,100 Repository.Mbox WARNING  Unable to parse Message ID: 
2020-07-20 11:57:41,616 Repository.Mbox INFO     Loading mailbox subsystem
2020-07-20 11:57:48,804 Repository.Mbox INFO       ↪ loaded invalid mail index: found 5469124 invalid mails
2020-07-20 11:57:48,804 Repository.Mbox INFO     Loading public inboxes
2020-07-20 11:57:53,278 Repository.Mbox INFO       ↪ loaded mail index for [email protected] (shard 0): found 214516 mails
2020-07-20 11:57:54,703 tory.Repository INFO     Loading upstream commit cache
2020-07-20 11:58:06,093 tory.Repository INFO       ↪ Loaded 42358 commits from cache file
2020-07-20 11:58:06,138 tory.Repository INFO     Evicting 0 commits from cache
2020-07-20 11:58:08,609 tory.Repository INFO     Loading mbox commit cache
2020-07-20 11:58:09,041 tory.Repository INFO       ↪ Loaded 4649 commits from cache file
2020-07-20 11:58:09,044 tory.Repository INFO     Evicting 0 commits from cache
Traceback (most recent call last):
  File "./pasta", line 193, in <module>
    ret = main(deepcopy(sys.argv))
  File "./pasta", line 180, in main
    return sync(config, argv)
  File "/home/dark_matter/linux_work/lfd-pasta/PaStA/bin/pasta_sync.py", line 105, in sync
    repo.mbox.threads.update()
  File "/home/dark_matter/linux_work/lfd-pasta/PaStA/pypasta/Repository/MailThread.py", line 71, in update
    log.info('Updating mail thread cache', self.reply_to_dict)
AttributeError: 'MailThread' object has no attribute 'reply_to_dict'

from pasta.

ShubhamPandey28 avatar ShubhamPandey28 commented on July 25, 2024

@rralf Can I open a PR on these issues?

from pasta.

rralf avatar rralf commented on July 25, 2024

Yes, sure, patches welcome! 👍

from pasta.

ShubhamPandey28 avatar ShubhamPandey28 commented on July 25, 2024

Hi,

select was replaced by set_config. Forgot to update the Readme. For the second error: We changed the format of the MailThread class. You have to delete your pickle caches before: rm resources/linux/resources/*.pkl

Thanks

What was the cause of second error? because as I cloned and synced, did some operations and synced again it went fine and didn't result in any error.

from pasta.

Related Issues (20)

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.