----- Original Nachricht ----
Von: Samat <[email protected]>
An: [email protected]
Datum: 20.10.2013 10:23
Betreff: Re: Re: [Pywikipedia-l] import module --> ImportError: No module
named ...
> Dear xqt,
>
> I got my core bot from github using TortoiseSVN, it should have been the
> latest repository.
> I followed the instructions on
> https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation page, so I
> used h <https://github.com/wikimedia/pywikibot-core/trunk>
> ttps://github.com/wikimedia/pywikibot-core/trunk<https://github.com/wikimedi
> a/pywikibot-core/trunk>
> (In fact I checked out into a pywikipedia folder instead of
> /pywikibot-coreor
> /svn-core, but it shouldn't cause this (path?) problem.)
>
> Best,
> Samat
>
I use TortoiseSVN too for my bot. You have to set external properties to the
svn working copy to include all needed externals as follows:
https://github.com/wikimedia/pywikibot-i18n/trunk scripts/i18n
https://github.com/wikimedia/pywikibot-externals-httplib2/trunk
externals/httplib2
(maybe I have to place the properties anywhere as file)
You can do it manually by
- right click onto the svn working copy
- choose "Properties" (last item of the pull down menu)
- click "Subversion" tab
- click "Properties" button
- click "New..." -> "Externals"
- click "New..."
- set "scripts/i18n" for the Local path
- set "https://github.com/wikimedia/pywikibot-i18n/trunk" for URL
- click "OK"
- Again click "New..." for the next external
- set "externals/httplib2" for the Local path
- set "https://github.com/wikimedia/pywikibot-externals-httplib2/trunk" for URL
- click "OK" to save
- click "OK" to leave property edit
- click "OK" to leave property
Now make "SVN update" to retrieve the externals.
For compat you need to include externals too as follows:
... (open properties, see above)
- set "i18n" for the Local path
- set "https://github.com/wikimedia/pywikibot-i18n/trunk" for URL
... (save it, see above)
Xqt
_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l