User talk:JackPotte
help pls :)
Hi! Sorry to bother you. How do you run a script pywikipediabot? What you write in PuTTY?
jsub -continuous -N jobname python $HOME/pywikipedia/script_name.py
Takes no action. What am I doing wrong? :) What you write?
Thanks in advance.--Iluvatar (talk) 12:23, 14 May 2013 (UTC)
- Automatically, I launch exactly what is written on my user page (
/usr/local/bin/jsub -mem 1G -once -N WP "$HOME/WP.sh"
), and it works (I can see the job withqstat
and the bot on the site). - Manually, I launch
qsub WP "$HOME/WP.sh"
to allow the script after my disconnection, or simply./WP.sh
to allow it only during my session.
- Automatically, I launch exactly what is written on my user page (
- Naturally the .sh is launchable (I had entered
chmod 755 WP.sh
). - JackPotte (talk) 12:38, 14 May 2013 (UTC)
- Hmm. I'm trying to run a standard welcome-script.
qsub "$HOME/welcome.sh"
- welcome.sh:
cd pywikipedia
python welcome.py
- It creates the file welcome.sh.o7785:
WARNING: Skipped '/data/project/iluvatarbot/pywikipedia/user-config.py': owned by someone else.
- and file welcome.sh.e7785:
Extended content |
---|
: File "welcome.py", line 189, in <module> import wikipedia as pywikibot File "/data/project/iluvatarbot/pywikipedia/wikipedia.py", line 9025, in <module> getSite(noLogin=True) File "/data/project/iluvatarbot/pywikipedia/wikipedia.py", line 8777, in getSite _sites[key] = Site(code=code, fam=fam, user=user) File "/data/project/iluvatarbot/pywikipedia/pywikibot/support.py", line 121, in wrapper return method(*__args, **__kw) File "/data/project/iluvatarbot/pywikipedia/wikipedia.py", line 5961, in __init__ % (self.__code, self.__family.name)) pywikibot.exceptions.NoSuchSite: Language language does not exist in family wikipedia |
- ...On toolserver everything worked. Wonder.--Iluvatar (talk) 13:18, 14 May 2013 (UTC)
- The copy between the two servers might have forgotten some files or changed some permissions. Have you launched a
chmod -R 755
from your parent directory? JackPotte (talk) 14:32, 14 May 2013 (UTC)local-iluvatarbot@tools-login:~$ chmod -R 755 $HOME/
- The copy between the two servers might have forgotten some files or changed some permissions. Have you launched a
- ...On toolserver everything worked. Wonder.--Iluvatar (talk) 13:18, 14 May 2013 (UTC)
chmod: changing permissions of `/data/project/iluvatarbot/pywikipedia/statistics_in_wikitable.py': Operation not permitted
chmod: changing permissions of `/data/project/iluvatarbot/pywikipedia/subster.py': Operation not permitted
- and etc.
- I changed the permissions manually (via WinSCP) to rwxrwxrwx for all files. No result :(.--Iluvatar (talk) 15:44, 14 May 2013 (UTC)
- But it seems good for me:
- I changed the permissions manually (via WinSCP) to rwxrwxrwx for all files. No result :(.--Iluvatar (talk) 15:44, 14 May 2013 (UTC)
Extended content |
---|
local-jackbot@tools-login:~$ /data/project/iluvatarbot/welcome.sh
Querying new user log from API....
[Skip ] KLMunkholm has been created automatically.
[Skip ] Hausbi has been created automatically.
[NoAct] Joleboss123 has no contributions.
[Skip ] ArashSafir has been created automatically.
[Skip ] Lebookbot has been created automatically.
[NoAct] Nahoum the pain has no contributions.
[NoAct] Bauduret has no contributions.
[Skip ] Utopenec has been created automatically.
[Skip ] Cor reez has been created automatically.
[NoAct] BigAvionneur has no contributions.
[Skip ] Arnoutvt has been created automatically.
[Match] Ivantakel has enough edits to be welcomed.
Copy of watchlist is one month old, reloading
Retrieving watchlist for wikipedia:fr via API.
Sleeping for 8.6 seconds, 2013-05-14 15:56:56
Creating page [[Discussion utilisateur:Ivantakel]] via API
[Done ] One user has been welcomed.
[Match] Tiphaine.muller has enough edits to be welcomed.
Sleeping for 8.6 seconds, 2013-05-14 15:57:06
[MSG ] Put welcomed users before quit...
|
JackPotte (talk) 15:58, 14 May 2013 (UTC)
- wikipedia:fr:Discussion utilisateur:Ivantakel.
- Si I believe that you must upgrade Pywikipedia. JackPotte (talk) 20:59, 14 May 2013 (UTC)
- Thank you so much! I asked at the IRC-channel and.. all works :). Thank you.--Iluvatar (talk) 22:55, 14 May 2013 (UTC)
X Tools
Hi. I currently host X's tools on Toolserver and we're getting ready to migrate them over to Labs. I noticed that you had created a project called "xtools" and we've created a project called "xstools." We should work together on this and do it as a single project.--Tparis (talk) 14:39, 29 May 2013 (UTC)
- I perused the contents of the project. Most of it seems to be outdated duplicates of what my bot does and What TParis hosts on toolserver. I agree we should get together on IRC. I'm not sure about you two, but since I'm familiar for the most part about how the replications servers work, I don't mind handling the database stuff of the code. Cyberpower678 (talk) 21:37, 29 May 2013 (UTC)
- @you, User:Tparis, and User:Darkdadaah: I created the channel #xlabs connect on irc. That can be our discussion portal and for users to report bugs to.Cyberpower678 (talk) 21:48, 29 May 2013 (UTC)
- Great, I'll be there at 21 pm UTC and this week-end. JackPotte (talk) 06:40, 30 May 2013 (UTC)
- You should stay signed on in that channel. I sent you two memos.Cyberpower678 (talk) 03:57, 31 May 2013 (UTC)
- Great, I'll be there at 21 pm UTC and this week-end. JackPotte (talk) 06:40, 30 May 2013 (UTC)
- @you, User:Tparis, and User:Darkdadaah: I created the channel #xlabs connect on irc. That can be our discussion portal and for users to report bugs to.Cyberpower678 (talk) 21:48, 29 May 2013 (UTC)
Completing project documentation
This is regarding the announcement (http://lists.wikimedia.org/pipermail/labs-l/2014-July/002762.html) if you have missed it.
We have added some fields in addition to description field which is already there on your projects. Please click "Edit Documentation" in your project page/ project pages and fill the blanks. It will only take few minutes from your valuable time.
If you have any comments or suggestion on the form please let me know.Thanks in advance!!--Sandaru (talk) 11:17, 26 July 2014 (UTC)
Deleting abandoned projects in Labs
Hi, Your project Wikitionary-tools has been identified as having "no running instances." We would like to know whether the project is still active and functional. Please reply to this post if they are still functioning. This will help the ongoing process to identify abandoned projects and delete them from Labs.--Sandaru (talk) 19:02, 13 November 2014 (UTC)
- Yes, it's a shared test platform so it's not always used but should be needed again. JackPotte (talk) 19:09, 13 November 2014 (UTC)