Giter Club home page Giter Club logo

packagebuilder's People

Contributors

benedwards44 avatar dependabot[bot] avatar ivannapanchenko avatar sfdcale avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

packagebuilder's Issues

Error Processing Request.

After i choose to run the pcakagebuilder app, its hsws querying components and give me the below error.

There was an error processing your request: Traceback (most recent call last): File "/app/buildpackage/tasks.py", line 175, in query_components_from_org for component in metadata_client.service.listMetadata(component_list,api_version): File "/app/.heroku/python/lib/python2.7/site-packages/suds/client.py", line 542, in call return client.invoke(args, kwargs) File "/app/.heroku/python/lib/python2.7/site-packages/suds/client.py", line 602, in invoke result = self.send(soapenv) File "/app/.heroku/python/lib/python2.7/site-packages/suds/client.py", line 649, in send result = self.failed(binding, e) File "/app/.heroku/python/lib/python2.7/site-packages/suds/client.py", line 702, in failed r, p = binding.get_fault(reply) File "/app/.heroku/python/lib/python2.7/site-packages/suds/bindings/binding.py", line 265, in get_fault raise WebFault(p, faultroot) WebFault: Server raised fault: 'UNKNOWN_EXCEPTION: An unexpected error occurred. Please include this ErrorId if you contact support: 937839121-236572 (1547760917)'
Please return to the home page and try again.

Any Idea what is causing this issue. Please provide a solution.

Labels are not retrieved

Hi,
When calling this, the package.xml generated contains Labels under CustomLabel.
When using this with ant retrieve no label is found.
I believe the type name should be CustomLabels, so the labels folder can be filled.
I'll stay available for any information required.

Thank you for your support.
Best regards,
Théo

Disable wildcards on types that do not support wildcards

FEATURE REQUEST: There are several caveats, exceptions, and other issues with wildcard usage, and the tool does not distinguish these exceptions or limitations.

Examples
CustomObject - Note how you work with the standard Account object by specifying it as a member of a CustomObject type. However, you cannot use an asterisk wildcard to work with all standard objects; each standard object must be specified by name.
AccountSettings - The wildcard character doesn’t apply to metadata types for feature settings, like AccountSettings.
AnalyticSnapshot - This metadata type doesn’t support the wildcard character * (asterisk) in the package.xml manifest file.

etc. I can list all the exceptions, not sure if that is worth it. At the present, the wildcard option is not particularly useful for those who want to scrape every last bit of data from the Metadata API.

Incorrect Retrieval of flow/flowDefinition

The implementation lists a "suffixless" version of a flow in the manifest, which wouldn't match a respective instance of the flow in an Org, or retrieve its metadata file. To fix this, a matching flowDefinition should be retrieved first, and parsed to determine a correct version number, which should then be appended to a stem of the "suffixless" file name.

OAuth authentication error

I'm hoping this isn't an issue with just my org, but this morning when I select the Component option in Package Builder (either "All Components" or "Exclude Managed") and click "Get Components", the next screen gives me the error,

"500 - Website Error
Doh
There appears to have been an error. The administrator has been notified."

Package Builder error related to missing version number

I tried using Package Builder in my Enterprise Production org, currently on the Spring '19 release, API version 45, and received this error:

There was an error processing your request:

Traceback (most recent call last): File "/app/buildpackage/tasks.py", line 218, in query_components_from_org appendVersionNumForMissingFlows(package,metadata_client) File "/app/buildpackage/tasks.py", line 237, in appendVersionNumForMissingFlows flowAndVersionNumObj = getActiveVersionNumForFlows(metadata_client,flowNamesList) File "/app/buildpackage/tasks.py", line 257, in getActiveVersionNumForFlows flowAndVersionNumObj[resultObj.fullName] = resultObj.activeVersionNumber AttributeError: FlowDefinition instance has no attribute 'activeVersionNumber'

Package.xml Builder Error

I'm getting the below error when using package.xml Builder. My org API version is 42.0

There was an error processing your request: Traceback (most recent call last): File "/app/buildpackage/tasks.py", line 103, in query_components_from_org for component in metadata_client.service.listMetadata(child_component_list,api_version): File "/app/.heroku/python/lib/python2.7/site-packages/suds/client.py", line 542, in call return client.invoke(args, kwargs) File "/app/.heroku/python/lib/python2.7/site-packages/suds/client.py", line 602, in invoke result = self.send(soapenv) File "/app/.heroku/python/lib/python2.7/site-packages/suds/client.py", line 649, in send result = self.failed(binding, e) File "/app/.heroku/python/lib/python2.7/site-packages/suds/client.py", line 702, in failed r, p = binding.get_fault(reply) File "/app/.heroku/python/lib/python2.7/site-packages/suds/bindings/binding.py", line 265, in get_fault raise WebFault(p, faultroot) WebFault: Server raised fault: 'UNKNOWN_EXCEPTION: invalid parameter value'
Please return to the home page and try again.

I have used this tool in other Sandboxes and it was working fine. Not sure what is different in the current Sandbox that the tool is not working.
Thanks for your help!

Call via API

Hi,
Is it possible to call your great tool via API ?
I'd like to automatize via Jenkins the BackUp/Versionning of orgs , and your tool would help a lot , to get up to date package.xml then use it to do an ant Retrieve

Many thanks & best regards

Nicolas

Process is not Starting

Hey Folks,
I have started the process for fetching metadata like 15mins ago, but still the status is not started
{ "done": false, "error": "", "success": false, "status": "Not Started" }

Python error generating package.xml

Hi,
Very recently (since August 2021), I started to get a Python error everytime I try to generate a package.xml from a Sandbox (Summer 21), using the Component Option "Exclude Managed".
This happen when I use the website, I didn't try any other options nor the API.
And this started happening for sandboxes of 2 completely different orgs, same error is returned for both.

This is the returned error:
"There was an error processing your request: Traceback (most recent call last): File "/app/buildpackage/tasks.py", line 199, in query_components_from_org component_record.save() File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/base.py", line 545, in save force_update=force_update, update_fields=update_fields) File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/base.py", line 573, in save_base updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/base.py", line 654, in _save_table result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/base.py", line 687, in _do_insert using=using, raw=raw) File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/manager.py", line 232, in _insert return insert_query(self.model, objs, fields, **kwargs) File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/query.py", line 1514, in insert_query return query.get_compiler(using=using).execute_sql(return_id) File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 903, in execute_sql cursor.execute(sql, params) File "/app/.heroku/python/lib/python2.7/site-packages/django/db/backends/util.py", line 78, in execute logger.debug('(%.3f) %s; args=%s' % (duration, sql, params), UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 24: ordinal not in range(128)

Please return to the home page and try again."

Can anyone help?

Python error when in current release.

There was an error processing your request: Traceback (most recent call last): File "/app/buildpackage/tasks.py", line 100, in query_components_from_org for component in metadata_client.service.listMetadata(child_component_list,api_version): File "/app/.heroku/python/lib/python2.7/site-packages/suds/client.py", line 542, in call return client.invoke(args, kwargs) File "/app/.heroku/python/lib/python2.7/site-packages/suds/client.py", line 602, in invoke result = self.send(soapenv) File "/app/.heroku/python/lib/python2.7/site-packages/suds/client.py", line 649, in send result = self.failed(binding, e) File "/app/.heroku/python/lib/python2.7/site-packages/suds/client.py", line 702, in failed r, p = binding.get_fault(reply) File "/app/.heroku/python/lib/python2.7/site-packages/suds/bindings/binding.py", line 265, in get_fault raise WebFault(p, faultroot) WebFault: Server raised fault: 'UNKNOWN_EXCEPTION: invalid parameter value'

Package Builder Fails Silently in Large Org

When attempting to use Package Builder on a large org with multiple managed packages, it fails silently. It goes to query the metadata, starts spinning, says "this might take a few minutes" and then does nothing. Leaving it to run overnight does not create a package.xml file.

Package Builder no longer works

Package Builder just runs endlessly but no longer generates a package.xml. Been trying it for over a week now with no success.

There was an error processing your request

Traceback (most recent call last): File "/app/buildpackage/tasks.py", line 199, in query_components_from_org component_record.save() File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/base.py", line 545, in save force_update=force_update, update_fields=update_fields) File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/base.py", line 573, in save_base updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/base.py", line 654, in _save_table result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/base.py", line 687, in _do_insert using=using, raw=raw) File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/manager.py", line 232, in _insert return insert_query(self.model, objs, fields, **kwargs) File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/query.py", line 1514, in insert_query return query.get_compiler(using=using).execute_sql(return_id) File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 903, in execute_sql cursor.execute(sql, params) File "/app/.heroku/python/lib/python2.7/site-packages/django/db/backends/util.py", line 78, in execute logger.debug('(%.3f) %s; args=%s' % (duration, sql, params), UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 17: ordinal not in range(128)

Package Builder Exception

When I tried build package.xml from dev org, I am getting below errors.

There was an error processing your request: Traceback (most recent call last): File "/app/buildpackage/tasks.py", line 100, in query_components_from_org for component in metadata_client.service.listMetadata(child_component_list,api_version): File "/app/.heroku/python/lib/python2.7/site-packages/suds/client.py", line 542, in call return client.invoke(args, kwargs) File "/app/.heroku/python/lib/python2.7/site-packages/suds/client.py", line 602, in invoke result = self.send(soapenv) File "/app/.heroku/python/lib/python2.7/site-packages/suds/client.py", line 649, in send result = self.failed(binding, e) File "/app/.heroku/python/lib/python2.7/site-packages/suds/client.py", line 702, in failed r, p = binding.get_fault(reply) File "/app/.heroku/python/lib/python2.7/site-packages/suds/bindings/binding.py", line 265, in get_fault raise WebFault(p, faultroot) WebFault: Server raised fault: 'UNKNOWN_EXCEPTION: invalid parameter value'

Please return to the home page and try again.

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.