Talk:Phabricator/Help

Jump to navigation Jump to search

About this board

Not editable

Python 3.7: imagetransfer can only concat str (not "byte") to str

3
Summary by AKlapper (WMF)

Off-topic - This is for Phabricator. Please ask Pywikibot questions in a Pywikibot forum.

Chihaya~chan (talkcontribs)

I am using Python 3.7 and I tried to use imagetransfer but it returns error, for example:

>>> python pwb.py imagetransfer "File:Rifle is Beautiful volume 1 cover.jpg" -tolang:vi -dir:en


0. Found image: File:Rifle is Beautiful volume 1 cover.jpg

Traceback (most recent call last):

WARNING: .\scripts\imagetransfer.py:140: DeprecationWarning: pywikibot.page.FilePage.fileUrl is deprecated for 3 years and 4 months; use get_file_url instead.
  url = sourceImagePage.fileUrl().encode('utf-8')

Traceback (most recent call last):
  File "pwb.py", line 299, in <module>
    if not main():
  File "pwb.py", line 294, in main
    run_python_file(filename, [filename] + args, argvu, file_package)
  File "pwb.py", line 96, in run_python_file
    main_mod.__dict__)
  File ".\scripts\imagetransfer.py", line 329, in <module>
    main()
  File ".\scripts\imagetransfer.py", line 325, in main
    bot.run()
  File ".\scripts\imagetransfer.py", line 273, in run
    self.transferImage(imagelist[todo])
  File ".\scripts\imagetransfer.py", line 141, in transferImage
    pywikibot.output('URL should be: ' + url)
TypeError: can only concatenate str (not "bytes") to str
CRITICAL: Exiting due to uncaught exception <class 'TypeError'>

I also change url = sourceImagePage.fileUrl().encode('utf-8') to url = sourceImagePage.get_file_url().encode('utf-8') but still not working Any solution? Thanks a lot.

AKlapper (WMF) (talkcontribs)

This seems to be about "imagetransfer" (whatever that is) and not about Phabricator itself, hence closing this as off-topic. Please ask in a related support forum for whatever software you are referring to.

Framawiki (talkcontribs)

Can my Phab account (no activity) be deleted?

4
予弦 (talkcontribs)

I want to give up my account (Siuhkjit) . Thanks.

DannyS712 (talkcontribs)

I don't know if it can be deleted, but would you like me to disable it?

Masumrezarock100 (talkcontribs)

A phabricator admin can delete your account.

Masumrezarock100 (talkcontribs)

Disable my Phabricator account, please!

12
Summary by Masumrezarock100

Account renamed

In fact (talkcontribs)

Please disable my Phabricator account with no activity , so that I can create a new one.

Thanks in advanced.

Masumrezarock100 (talkcontribs)

Please also note that Phabricator accounts can be deleted. Do you want an admin to delete your account instead?

AKlapper (WMF) (talkcontribs)
In fact (talkcontribs)

All I want to do is to rename my Phabricator account. What is the best way to do it ?

Masumrezarock100 (talkcontribs)

I am guessing they want to create a new one because of the current one's username. If that's the case, renaming the account would suffice.

GZWDer (talkcontribs)

A question about phab:T108586: Does running Herald rules blocks every change to every task? Many rules should actually run asynchronously ("as a job").

Jdforrester (WMF) (talkcontribs)

Yes, Herald is synchronous (hence why we discourage new/more complex Herald rules). There's no such thing as asynchronous "jobs" in Phabricator, that's a MediaWiki concept.

GZWDer (talkcontribs)

So it may be meaningful to ask upstream to allow running some Herald rules asynchronously. This will optimize performance significantly, giving the low transaction rate (=frequency of actions) in Phabricator.

Jdforrester (WMF) (talkcontribs)

No, that's not a plausible request and I would not endorse it.

Viewing existing Herald rules

4
MBinder (WMF) (talkcontribs)

Hi!

I think I've actually asked this question before, but I can't recall the answer (nor find it), so apologies if this is redundant.

I'm trying to show https://phabricator.wikimedia.org/H260 to that team's Product Manager, but they can't view it even when logged in. What gives a Phab user the ability to simply view an existing Herald rule? Do they need to be granted membership to a group with permissions? They don't need to edit (they are happy to make requests) they just want to see what already is there.

Thanks!

This post was hidden by Masumrezarock100 (history)
Masumrezarock100 (talkcontribs)

Only members of the groups Trusted-Contributors, WMF-NDA, Triagers, and Phabricator admins can edit, create Herald rules. And those who are not in one of the above groups can not view Herald rules. Just add them to one of these groups to give them access to Herald. Who is that team's product manager?

MBinder (WMF) (talkcontribs)

That makes sense. They don't need to make Herald rules (and I think users with that access are many fewer than the ones in those groups), just view them in order to make requests now and again. I believe Triagers is the best fit. Thanks!

Phatality documentation out of place?

4
Jdforrester (WMF) (talkcontribs)

I'd have expected the documentation about Phatality to go on the pages about logstash (where it is installed and used), not here. @Lucas Werkmeister (WMDE), you feel it belongs here?

Lucas Werkmeister (WMDE) (talkcontribs)

Well, I thought it would be useful to have some link to it on both mw.org and wikitech, and as far as I’m aware mw.org doesn’t have dedicated logstash pages. A full documentation, if someone feels inspired to write it, should probably be closer to logstash, yes.

Lucas Werkmeister (WMDE) (talkcontribs)
Jdforrester (WMF) (talkcontribs)

Ah, yes, I don't have that on stalk. (We really should scrap wikitech, it's such a useless divergence). Maybe cross-link to wikitech where we'll put documentation(!?). @MModell (WMF), did you plan to document it?

New project/tag for wikijournals

2
Summary by DannyS712

Requests should be made on phabricator; requested at phab:T234178

Evolution and evolvability (talkcontribs)

I'm looking to create a project or tag to track phabricator tasks relevant to the meta:WikiJournal/Technical_wishlist (like this one). I don't have permission to create a new project from scratch on Phabricator. Would someone be able to assist?

DannyS712 (talkcontribs)

Filing phab request

Summary by AKlapper (WMF)

Off-topic as not about Phabricator; please see Manual:Pywikibot for Pywikibot

Valp (talkcontribs)

Hello, I want to begin with Pywikibot/Scripts. I speak French. Do you know any place where a french speaking person could help me, that is answers questions ?

AKlapper (WMF) (talkcontribs)
RhinosF1 (talkcontribs)
AKlapper (WMF) (talkcontribs)
RhinosF1 (talkcontribs)
Masumrezarock100 (talkcontribs)

Apparently Herald is currently restricted to members of the groups #Trusted-Contributors, #WMF-NDA, #Triagers, and Phabricator admins. But I would like a similar feature for my phabricator account. Would it be possible to get an exemption?

AKlapper (WMF) (talkcontribs)

What would you like to achieve / which underlying problem would you like to solve? :)

Masumrezarock100 (talkcontribs)

I'd like to get automatic updates for the tag "Advanced_Mobile_Contributions". When someone creates one task or bug report with this project tag. It is quite hard finding bug and tasks and commenting on them. I am a mobile user so I believe I can provide feedback this way.

AKlapper (WMF) (talkcontribs)